public final class SequenceOutputter extends SequenceWriter
This class is not used to build temporary trees. For that, the ComplexContentOutputter is used.
pipelineConfiguration, previousAtomic, systemId
?????? |
---|
SequenceOutputter()
Create a new SequenceOutputter
|
SequenceOutputter(Controller controller) |
SequenceOutputter(Controller controller,
int estimatedSize) |
?????? | ????? |
---|---|
Item |
getFirstItem()
Get the first item in the sequence that has been built
|
java.util.ArrayList |
getList()
Get the list containing the sequence of items
|
ValueRepresentation |
getSequence()
Get the sequence that has been built
|
SequenceIterator |
iterate()
Get an iterator over the sequence of items that has been constructed
|
Item |
popLastItem()
Get the last item in the sequence that has been built, and remove it
|
void |
reset()
Clear the contents of the SequenceOutputter and make it available for reuse
|
void |
write(Item item)
Abstract method to be supplied by subclasses: output one item in the sequence.
|
adviseReuse, append, attribute, characters, close, comment, endDocument, endElement, namespace, processingInstruction, startContent, startDocument, startElement
getConfiguration, getNamePool, getPipelineConfiguration, getSystemId, open, setPipelineConfiguration, setSystemId, setUnparsedEntity
public SequenceOutputter()
public SequenceOutputter(Controller controller, int estimatedSize)
public SequenceOutputter(Controller controller)
public void reset()
public void write(Item item)
write
??? SequenceWriter
item
- the item to be written to the sequencepublic ValueRepresentation getSequence()
public SequenceIterator iterate()
public java.util.ArrayList getList()
public Item getFirstItem()
public Item popLastItem()