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
FieldsFields inherited from interface com.evolveum.axiom.lang.spi.AxiomNameResolver
AXIOM_DEFAULT_NAMESPACE, BUILTIN_TYPES, BUILTINS, NULL_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddOutstanding(ValueActionImpl<?> action) voidaddRules(AxiomStatementRule<?>... rules) voidaddStatementFactory(AxiomName statementType, AxiomValueFactory<?> factory) voidapplyRuleDefinitions(ValueContext<?> valueContext) static ModelReactorContextprotected AxiomSemanticExceptionstatic ModelReactorContextvoidexportIdentifierSpace(AxiomValueIdentifier namespace, com.evolveum.axiom.lang.impl.IdentifierSpaceHolder localSpace) protected voidfailOutstanding(Collection<ValueActionImpl<?>> outstanding) <V> AxiomValue<V>lazyValue(ValueContext<V> valueContext) namespace(AxiomName name, AxiomValueIdentifier namespaceId) static ModelReactorContextreactor(AxiomSchemaContext context) voidregister(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
addActionsForMethods inherited from class com.evolveum.axiom.reactor.BaseReactorContext
addOutstanding, addSuppresed, compute, failMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
failOutstandingin classBaseReactorContext<AxiomSemanticException,ValueActionImpl<?>> - Throws:
AxiomSemanticException
-
space
-
addOutstanding
- Overrides:
addOutstandingin classBaseReactorContext<AxiomSemanticException,ValueActionImpl<?>>
-
addRules
-
loadModelFromSource
-
resolveIdentifier
public AxiomName resolveIdentifier(@Nullable @Nullable String prefix, @NotNull @NotNull String localName) - Specified by:
resolveIdentifierin interfaceAxiomNameResolver
-
addStatementFactory
-
typeFactory
-
exportIdentifierSpace
public void exportIdentifierSpace(AxiomValueIdentifier namespace, com.evolveum.axiom.lang.impl.IdentifierSpaceHolder localSpace) -
namespace
-
createException
- Specified by:
createExceptionin classBaseReactorContext<AxiomSemanticException,ValueActionImpl<?>>
-
rulesFor
- Specified by:
rulesForin classRuleReactorContext<AxiomSemanticException,ValueContext<?>, ValueActionImpl<?>, RuleContextImpl>
-
rootDefinition
-
applyRuleDefinitions
-
register
public void register(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key, ValueContext<?> context) -
lazyValue
-