Package com.evolveum.axiom.api.stream
Class AxiomBuilderStreamTarget
- java.lang.Object
-
- com.evolveum.axiom.api.stream.AxiomBuilderStreamTarget
-
- All Implemented Interfaces:
AxiomItemStream.Target
,AxiomItemStream.TargetWithContext
,AxiomStreamTarget<AxiomName,Object>
,AxiomStreamTarget.WithContext<AxiomName,Object>
- Direct Known Subclasses:
AxiomItemTarget
public class AxiomBuilderStreamTarget extends Object implements AxiomItemStream.TargetWithContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AxiomBuilderStreamTarget.ItemBuilder
static interface
AxiomBuilderStreamTarget.ValueBuilder
-
Nested classes/interfaces inherited from interface com.evolveum.axiom.api.stream.AxiomStreamTarget
AxiomStreamTarget.WithContext<N,V>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AxiomBuilderStreamTarget()
AxiomBuilderStreamTarget(AxiomBuilderStreamTarget.ValueBuilder root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.evolveum.axiom.api.stream.AxiomBuilderStreamTarget.Builder
current()
AxiomTypeDefinition
currentInfra()
AxiomTypeDefinition
currentType()
void
endInfra(SourceLocation loc)
void
endItem(SourceLocation loc)
void
endValue(SourceLocation loc)
protected <V extends com.evolveum.axiom.api.stream.AxiomBuilderStreamTarget.Builder>
Voffer(V builder)
protected com.evolveum.axiom.api.stream.AxiomBuilderStreamTarget.Builder
poll()
void
startInfra(AxiomName item, SourceLocation loc)
void
startItem(AxiomName item, SourceLocation loc)
void
startValue(Object value, SourceLocation loc)
-
-
-
Constructor Detail
-
AxiomBuilderStreamTarget
protected AxiomBuilderStreamTarget()
-
AxiomBuilderStreamTarget
public AxiomBuilderStreamTarget(AxiomBuilderStreamTarget.ValueBuilder root)
-
-
Method Detail
-
offer
protected <V extends com.evolveum.axiom.api.stream.AxiomBuilderStreamTarget.Builder> V offer(V builder)
-
current
protected com.evolveum.axiom.api.stream.AxiomBuilderStreamTarget.Builder current()
-
poll
protected com.evolveum.axiom.api.stream.AxiomBuilderStreamTarget.Builder poll()
-
startValue
public void startValue(Object value, SourceLocation loc)
- Specified by:
startValue
in interfaceAxiomStreamTarget<AxiomName,Object>
-
endValue
public void endValue(SourceLocation loc)
- Specified by:
endValue
in interfaceAxiomStreamTarget<AxiomName,Object>
-
startItem
public void startItem(AxiomName item, SourceLocation loc)
- Specified by:
startItem
in interfaceAxiomStreamTarget<AxiomName,Object>
-
startInfra
public void startInfra(AxiomName item, SourceLocation loc)
- Specified by:
startInfra
in interfaceAxiomStreamTarget<AxiomName,Object>
-
endInfra
public void endInfra(SourceLocation loc)
- Specified by:
endInfra
in interfaceAxiomStreamTarget<AxiomName,Object>
-
endItem
public void endItem(SourceLocation loc)
- Specified by:
endItem
in interfaceAxiomStreamTarget<AxiomName,Object>
-
currentInfra
public AxiomTypeDefinition currentInfra()
- Specified by:
currentInfra
in interfaceAxiomStreamTarget.WithContext<AxiomName,Object>
-
currentType
public AxiomTypeDefinition currentType()
- Specified by:
currentType
in interfaceAxiomStreamTarget.WithContext<AxiomName,Object>
-
-