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 interface
AxiomItemStreamTreeBuilder.ItemBuilder
static interface
AxiomItemStreamTreeBuilder.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.Builder
current()
void
endItem(SourceLocation loc)
void
endValue(SourceLocation loc)
protected <V extends com.evolveum.axiom.lang.spi.AxiomItemStreamTreeBuilder.Builder>
Voffer(V builder)
protected com.evolveum.axiom.lang.spi.AxiomItemStreamTreeBuilder.Builder
poll()
void
startItem(AxiomName item, SourceLocation loc)
void
startValue(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:
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>
-
endItem
public void endItem(SourceLocation loc)
- Specified by:
endItem
in interfaceAxiomStreamTarget<AxiomName,Object>
-
-