Package com.evolveum.axiom.lang.impl
Class ValueContext<V>
java.lang.Object
com.evolveum.axiom.lang.impl.ValueContext<V>
- All Implemented Interfaces:
AxiomBuilderStreamTarget.ValueBuilder
,AxiomValueContext<V>
,Dependency<AxiomValue<V>>
public class ValueContext<V>
extends Object
implements AxiomValueContext<V>, AxiomBuilderStreamTarget.ValueBuilder, Dependency<AxiomValue<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>
-
Field Summary
Modifier and TypeFieldDescriptionValueContext<V>.com.evolveum.axiom.lang.impl.ValueContext.Reference
ValueContext<V>.com.evolveum.axiom.lang.impl.ValueContext.ReferenceDependency
-
Constructor Summary
ConstructorDescriptionValueContext
(ItemContext<V> itemContext, V value, SourceLocation loc) ValueContext
(SourceLocation loc, com.evolveum.axiom.lang.impl.IdentifierSpaceHolder space) -
Method Summary
Modifier and TypeMethodDescription<V> AxiomValueReference<V>
<T> ItemContext<T>
childItemDef
(AxiomName statement) protected ItemContext<?>
createItem
(AxiomName id, SourceLocation loc) void
dependsOnAction
(ValueActionImpl<V> action) void
endValue
(SourceLocation loc) get()
ValueContext<V>.com.evolveum.axiom.lang.impl.ValueContext.LookupImpl
infraItemDef
(AxiomName item) boolean
boolean
ValueContext<?>
lookup
(AxiomName space, AxiomValueIdentifier key) void
mergeCompletedIfEmpty
(Optional<AxiomItem<?>> item) void
protected ValueContext<V>.com.evolveum.axiom.lang.impl.ValueContext.Result
mutable()
name()
parent()
void
register
(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key) void
register
(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key, ValueContext<?> context) void
replace
(AxiomValue<?> axiomItemValue) void
replaceValue
(V object) <T> Dependency.Search<AxiomItem<T>>
requireChild
(AxiomName item) com.evolveum.axiom.lang.impl.SourceContext
root()
protected com.evolveum.axiom.lang.impl.SourceContext
rootImpl()
startInfra
(AxiomName identifier, SourceLocation loc) ItemContext<?>
startItem
(AxiomName identifier, SourceLocation loc) toString()
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.axiom.api.stream.AxiomBuilderStreamTarget.ValueBuilder
axiomAsConditionalDefault
Methods inherited from interface com.evolveum.axiom.lang.impl.AxiomValueContext
childItem, parent, parentValue
Methods inherited from interface com.evolveum.axiom.reactor.Dependency
flatMap, isRequired, map, unsatisfied
-
Field Details
-
referenceDependency
public ValueContext<V>.com.evolveum.axiom.lang.impl.ValueContext.ReferenceDependency referenceDependency -
reference
-
-
Constructor Details
-
ValueContext
-
ValueContext
-
-
Method Details
-
name
-
getLookup
-
childItemDef
- Specified by:
childItemDef
in interfaceAxiomBuilderStreamTarget.ValueBuilder
-
startItem
- Specified by:
startItem
in interfaceAxiomBuilderStreamTarget.ValueBuilder
-
endValue
- Specified by:
endValue
in interfaceAxiomBuilderStreamTarget.ValueBuilder
-
mutable
-
isSatisfied
public boolean isSatisfied()- Specified by:
isSatisfied
in interfaceDependency<V>
-
get
- Specified by:
get
in interfaceDependency<V>
-
errorMessage
- Specified by:
errorMessage
in interfaceDependency<V>
-
itemDefinition
-
currentType
-
addAction
-
createItem
-
replace
- Specified by:
replace
in interfaceAxiomValueContext<V>
-
childItem
- Specified by:
childItem
in interfaceAxiomValueContext<V>
-
currentValue
- Specified by:
currentValue
in interfaceAxiomValueContext<V>
-
mergeItem
- Specified by:
mergeItem
in interfaceAxiomValueContext<V>
-
register
public void register(AxiomName space, AxiomIdentifierDefinition.Scope scope, AxiomValueIdentifier key) - Specified by:
register
in interfaceAxiomValueContext<V>
-
newAction
- Specified by:
newAction
in interfaceAxiomValueContext<V>
-
root
public com.evolveum.axiom.lang.impl.SourceContext root()- Specified by:
root
in interfaceAxiomValueContext<V>
-
dependsOnAction
-
requireChild
-
asReference
- Specified by:
asReference
in interfaceAxiomValueContext<V>
-
replaceValue
- Specified by:
replaceValue
in interfaceAxiomValueContext<V>
-
isMutable
public boolean isMutable() -
toString
-
lazyValue
-
infraItemDef
- Specified by:
infraItemDef
in interfaceAxiomBuilderStreamTarget.ValueBuilder
-
startInfra
- Specified by:
startInfra
in interfaceAxiomBuilderStreamTarget.ValueBuilder
-
valueIdentifier
- Specified by:
valueIdentifier
in interfaceAxiomValueContext<V>
-
mergeCompletedIfEmpty
- Specified by:
mergeCompletedIfEmpty
in interfaceAxiomValueContext<V>
-
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
-