public final class SequenceOutputter extends SequenceWriter
This class is not used to build temporary trees. For that, the ComplexContentOutputter is used.
pipelineConfiguration, previousAtomicPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
SequenceOutputter()
Create a new SequenceOutputter
|
SequenceOutputter(int estimatedSize) |
| Modifier and Type | Method and Description |
|---|---|
Item |
getFirstItem()
Get the first item in the sequence that has been built
|
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 |
write(Item item)
Abstract method to be supplied by subclasses: output one item in the sequence.
|
append, attribute, characters, close, comment, endDocument, endElement, getSystemId, hasOpenNodes, namespace, processingInstruction, setSystemId, startContent, startDocument, startElementgetConfiguration, getNamePool, getPipelineConfiguration, open, setPipelineConfiguration, setUnparsedEntitypublic SequenceOutputter()
public SequenceOutputter(int estimatedSize)
public void write(Item item)
write in class SequenceWriterpublic ValueRepresentation getSequence()
public SequenceIterator iterate()
public ArrayList getList()
public Item getFirstItem()
public Item popLastItem()