Package com.evolveum.axiom.lang.spi
Class AxiomItemStreamTreeBuilder
- java.lang.Object
-
- com.evolveum.axiom.lang.spi.AxiomItemStreamTreeBuilder
-
- All Implemented Interfaces:
AxiomItemStream.Target,AxiomStreamTarget<AxiomName,Object>
public class AxiomItemStreamTreeBuilder extends Object implements AxiomItemStream.Target
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAxiomItemStreamTreeBuilder.ItemBuilderstatic interfaceAxiomItemStreamTreeBuilder.ValueBuilder-
Nested classes/interfaces inherited from interface com.evolveum.axiom.api.stream.AxiomStreamTarget
AxiomStreamTarget.WithContext<N,V>
-
-
Constructor Summary
Constructors Constructor Description AxiomItemStreamTreeBuilder(AxiomItemStreamTreeBuilder.ValueBuilder root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.evolveum.axiom.lang.spi.AxiomItemStreamTreeBuilder.Buildercurrent()voidendItem(SourceLocation loc)voidendValue(SourceLocation loc)protected <V extends com.evolveum.axiom.lang.spi.AxiomItemStreamTreeBuilder.Builder>
Voffer(V builder)protected com.evolveum.axiom.lang.spi.AxiomItemStreamTreeBuilder.Builderpoll()voidstartItem(AxiomName item, SourceLocation loc)voidstartValue(Object value, SourceLocation loc)-
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.api.stream.AxiomStreamTarget
endInfra, startInfra
-
-
-
-
Constructor Detail
-
AxiomItemStreamTreeBuilder
public AxiomItemStreamTreeBuilder(AxiomItemStreamTreeBuilder.ValueBuilder root)
-
-
Method Detail
-
offer
protected <V extends com.evolveum.axiom.lang.spi.AxiomItemStreamTreeBuilder.Builder> V offer(V builder)
-
current
protected com.evolveum.axiom.lang.spi.AxiomItemStreamTreeBuilder.Builder current()
-
poll
protected com.evolveum.axiom.lang.spi.AxiomItemStreamTreeBuilder.Builder poll()
-
startValue
public void startValue(Object value, SourceLocation loc)
- Specified by:
startValuein interfaceAxiomStreamTarget<AxiomName,Object>
-
endValue
public void endValue(SourceLocation loc)
- Specified by:
endValuein interfaceAxiomStreamTarget<AxiomName,Object>
-
startItem
public void startItem(AxiomName item, SourceLocation loc)
- Specified by:
startItemin interfaceAxiomStreamTarget<AxiomName,Object>
-
endItem
public void endItem(SourceLocation loc)
- Specified by:
endItemin interfaceAxiomStreamTarget<AxiomName,Object>
-
-