Package com.evolveum.axiom.api
Class AxiomValueBuilder<V>
- java.lang.Object
-
- com.evolveum.axiom.api.AxiomValueBuilder<V>
-
- All Implemented Interfaces:
Lazy.Supplier<AxiomValue<V>>
,Supplier<AxiomValue<V>>
public class AxiomValueBuilder<V> extends Object implements Lazy.Supplier<AxiomValue<V>>
-
-
Constructor Summary
Constructors Constructor Description AxiomValueBuilder(AxiomTypeDefinition type, AxiomValueFactory<V> factory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(AxiomName name, Supplier<? extends AxiomItem<?>> child)
static <V> AxiomValueBuilder<V>
create(AxiomTypeDefinition type, AxiomValueFactory<V> factory)
static <V> AxiomValueBuilder<V>
from(AxiomTypeDefinition type)
AxiomValue<V>
get()
Supplier<? extends AxiomItem<?>>
get(AxiomName name)
Supplier<? extends AxiomItem<?>>
get(AxiomName name, Function<AxiomName,? extends Supplier<? extends AxiomItem<?>>> child)
Supplier<? extends AxiomItem<?>>
getInfra(AxiomName name, Function<AxiomName,? extends Supplier<? extends AxiomItem<?>>> child)
V
getValue()
void
setFactory(AxiomValueFactory<V> factoryFor)
void
setType(AxiomTypeDefinition type)
void
setValue(V value)
AxiomTypeDefinition
type()
-
-
-
Constructor Detail
-
AxiomValueBuilder
public AxiomValueBuilder(AxiomTypeDefinition type, AxiomValueFactory<V> factory)
-
-
Method Detail
-
from
public static <V> AxiomValueBuilder<V> from(AxiomTypeDefinition type)
-
getValue
public V getValue()
-
setValue
public void setValue(V value)
-
get
public Supplier<? extends AxiomItem<?>> get(AxiomName name, Function<AxiomName,? extends Supplier<? extends AxiomItem<?>>> child)
-
getInfra
public Supplier<? extends AxiomItem<?>> getInfra(AxiomName name, Function<AxiomName,? extends Supplier<? extends AxiomItem<?>>> child)
-
get
public AxiomValue<V> get()
-
create
public static <V> AxiomValueBuilder<V> create(AxiomTypeDefinition type, AxiomValueFactory<V> factory)
-
setFactory
public void setFactory(AxiomValueFactory<V> factoryFor)
-
type
public AxiomTypeDefinition type()
-
setType
public void setType(AxiomTypeDefinition type)
-
-