Package com.evolveum.axiom.lang.impl
Class ItemContext<V>
java.lang.Object
com.evolveum.axiom.lang.impl.ItemContext<V>
- All Implemented Interfaces:
AxiomBuilderStreamTarget.ItemBuilder
,AxiomItemContext<V>
,Dependency<AxiomItem<V>>
,Supplier<AxiomItem<V>>
- Direct Known Subclasses:
MapItemContext
public class ItemContext<V>
extends Object
implements AxiomItemContext<V>, Supplier<AxiomItem<V>>, Dependency<AxiomItem<V>>, AxiomBuilderStreamTarget.ItemBuilder
-
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
ConstructorDescriptionItemContext
(ValueContext<?> sourceContext, AxiomName name, AxiomItemDefinition definition, SourceLocation loc) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCompletedValue
(AxiomValue<?> value) void
addOperationalValue
(AxiomValueContext<?> value) void
addOperationalValue
(AxiomValueReference<V> value) protected Optional<AxiomItemDefinition>
void
endNode
(SourceLocation loc) get()
boolean
ValueContext<?>
lookup
(AxiomName space, AxiomValueIdentifier key) void
merge
(Collection<? extends AxiomValue<?>> values) void
mergeCompleted
(Collection<? extends AxiomValue<?>> values) name()
only()
ValueContext<?>
parent()
void
register
(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key, ValueContext<?> context) protected com.evolveum.axiom.lang.impl.SourceContext
rootImpl()
startValue
(Object value, SourceLocation loc) type()
Optional<? extends AxiomValueContext<V>>
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 Details
-
ItemContext
public ItemContext(ValueContext<?> sourceContext, AxiomName name, AxiomItemDefinition definition, SourceLocation loc)
-
-
Method Details
-
name
-
startValue
- Specified by:
startValue
in interfaceAxiomBuilderStreamTarget.ItemBuilder
-
endNode
- Specified by:
endNode
in interfaceAxiomBuilderStreamTarget.ItemBuilder
-
type
-
childItemDef
-
isSatisfied
public boolean isSatisfied()- Specified by:
isSatisfied
in interfaceDependency<V>
-
get
-
errorMessage
- Specified by:
errorMessage
in interfaceDependency<V>
-
definition
-
addValue
- Specified by:
addValue
in interfaceAxiomItemContext<V>
-
addOperationalValue
- Specified by:
addOperationalValue
in interfaceAxiomItemContext<V>
-
addOperationalValue
- Specified by:
addOperationalValue
in interfaceAxiomItemContext<V>
-
onlyValue
- Specified by:
onlyValue
in interfaceAxiomItemContext<V>
-
only
- Specified by:
only
in interfaceAxiomItemContext<V>
-
onlyValue0
-
merge
-
addCompletedValue
- Specified by:
addCompletedValue
in interfaceAxiomItemContext<V>
-
value
- Specified by:
value
in interfaceAxiomItemContext<V>
-
mergeCompleted
-
currentType
-
currentInfra
-
parent
-
rootImpl
protected com.evolveum.axiom.lang.impl.SourceContext rootImpl() -
startLocation
-
lookup
-
register
public void register(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key, ValueContext<?> context) -
space
-