Package com.evolveum.axiom.lang.impl
Class ModelReactorContext
java.lang.Object
com.evolveum.axiom.reactor.BaseReactorContext<E,A>
com.evolveum.axiom.reactor.RuleReactorContext<AxiomSemanticException,ValueContext<?>,ValueActionImpl<?>,RuleContextImpl>
com.evolveum.axiom.lang.impl.ModelReactorContext
- All Implemented Interfaces:
AxiomNameResolver
public class ModelReactorContext
extends RuleReactorContext<AxiomSemanticException,ValueContext<?>,ValueActionImpl<?>,RuleContextImpl>
implements AxiomNameResolver
-
Field Summary
Fields inherited from interface com.evolveum.axiom.lang.spi.AxiomNameResolver
AXIOM_DEFAULT_NAMESPACE, BUILTIN_TYPES, BUILTINS, NULL_RESOLVER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addOutstanding
(ValueActionImpl<?> action) void
addRules
(AxiomStatementRule<?>... rules) void
addStatementFactory
(AxiomName statementType, AxiomValueFactory<?> factory) void
applyRuleDefinitions
(ValueContext<?> valueContext) static ModelReactorContext
protected AxiomSemanticException
static ModelReactorContext
void
exportIdentifierSpace
(AxiomValueIdentifier namespace, com.evolveum.axiom.lang.impl.IdentifierSpaceHolder localSpace) protected void
failOutstanding
(Collection<ValueActionImpl<?>> outstanding) <V> AxiomValue<V>
lazyValue
(ValueContext<V> valueContext) namespace
(AxiomName name, AxiomValueIdentifier namespaceId) static ModelReactorContext
reactor
(AxiomSchemaContext context) void
register
(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key, ValueContext<?> context) resolveIdentifier
(@Nullable String prefix, @NotNull String localName) rootDefinition
(AxiomName statement) protected Collection<RuleContextImpl>
rulesFor
(ValueContext<?> context) static Lazy<AxiomModelStatementSource>
sourceFromResource
(String axiomModelResource) space()
<V> AxiomValueFactory<V>
typeFactory
(AxiomTypeDefinition statementType) Methods inherited from class com.evolveum.axiom.reactor.RuleReactorContext
addActionsFor
Methods inherited from class com.evolveum.axiom.reactor.BaseReactorContext
addOutstanding, addSuppresed, compute, fail
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.axiom.lang.spi.AxiomNameResolver
or, orPrefix, resolve
-
Field Details
-
BASE_LANGUAGE
-
-
Constructor Details
-
ModelReactorContext
-
-
Method Details
-
reactor
-
sourceFromResource
-
boostrapReactor
-
defaultReactor
-
computeSchemaContext
- Throws:
AxiomSemanticException
-
failOutstanding
protected void failOutstanding(Collection<ValueActionImpl<?>> outstanding) throws AxiomSemanticException - Overrides:
failOutstanding
in classBaseReactorContext<AxiomSemanticException,
ValueActionImpl<?>> - Throws:
AxiomSemanticException
-
space
-
addOutstanding
- Overrides:
addOutstanding
in classBaseReactorContext<AxiomSemanticException,
ValueActionImpl<?>>
-
addRules
-
loadModelFromSource
-
resolveIdentifier
public AxiomName resolveIdentifier(@Nullable @Nullable String prefix, @NotNull @NotNull String localName) - Specified by:
resolveIdentifier
in interfaceAxiomNameResolver
-
addStatementFactory
-
typeFactory
-
exportIdentifierSpace
public void exportIdentifierSpace(AxiomValueIdentifier namespace, com.evolveum.axiom.lang.impl.IdentifierSpaceHolder localSpace) -
namespace
-
createException
- Specified by:
createException
in classBaseReactorContext<AxiomSemanticException,
ValueActionImpl<?>>
-
rulesFor
- Specified by:
rulesFor
in classRuleReactorContext<AxiomSemanticException,
ValueContext<?>, ValueActionImpl<?>, RuleContextImpl>
-
rootDefinition
-
applyRuleDefinitions
-
register
public void register(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key, ValueContext<?> context) -
lazyValue
-