Package com.evolveum.axiom.lang.impl
Class MapItemContext<V>
- java.lang.Object
-
- com.evolveum.axiom.lang.impl.ItemContext<V>
-
- com.evolveum.axiom.lang.impl.MapItemContext<V>
-
- All Implemented Interfaces:
AxiomBuilderStreamTarget.ItemBuilder
,AxiomItemContext<V>
,Dependency<AxiomItem<V>>
,Supplier<AxiomItem<V>>
public class MapItemContext<V> extends ItemContext<V>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.axiom.reactor.Dependency
Dependency.Immediate<V>, Dependency.OptionalDep<T>, Dependency.Search<T>, Dependency.Suppliable<V>, Dependency.Unsatified<V>
-
-
Constructor Summary
Constructors Constructor Description MapItemContext(ValueContext<?> sourceContext, AxiomName name, AxiomItemDefinition definition, SourceLocation loc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueContext<?>
lookup(AxiomName space, AxiomValueIdentifier key)
P
parent()
void
register(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key, ValueContext<?> context)
protected com.evolveum.axiom.lang.impl.SourceContext
rootImpl()
Map<AxiomValueIdentifier,ValueContext<?>>
space(AxiomName space)
SourceLocation
startLocation()
Optional<? extends AxiomValueContext<V>>
value(AxiomValueIdentifier id)
-
Methods inherited from class com.evolveum.axiom.lang.impl.ItemContext
addCompletedValue, addOperationalValue, addOperationalValue, addValue, childItemDef, currentInfra, currentType, definition, endNode, errorMessage, get, isSatisfied, merge, mergeCompleted, name, only, onlyValue, onlyValue0, startValue, type
-
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.impl.AxiomItemContext
parent
-
Methods inherited from interface com.evolveum.axiom.reactor.Dependency
flatMap, isRequired, map, unsatisfied
-
-
-
-
Constructor Detail
-
MapItemContext
public MapItemContext(ValueContext<?> sourceContext, AxiomName name, AxiomItemDefinition definition, SourceLocation loc)
-
-
Method Detail
-
value
public Optional<? extends AxiomValueContext<V>> value(AxiomValueIdentifier id)
- Specified by:
value
in interfaceAxiomItemContext<V>
- Overrides:
value
in classItemContext<V>
-
parent
public P parent()
-
rootImpl
protected com.evolveum.axiom.lang.impl.SourceContext rootImpl()
-
startLocation
public SourceLocation startLocation()
-
lookup
public ValueContext<?> lookup(AxiomName space, AxiomValueIdentifier key)
-
register
public void register(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key, ValueContext<?> context)
-
space
public Map<AxiomValueIdentifier,ValueContext<?>> space(AxiomName space)
-
-