public static class SequenceExchanger.SequencePusher extends SequenceWriter
pipelineConfiguration, previousAtomic, systemIdPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
SequenceExchanger.SequencePusher(Conduit si,
PipelineConfiguration pipe)
Create a SequencePusher
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the output
|
Conduit |
getConduit()
Get the Conduit to which the events are written
|
void |
write(Item item)
Output one item in the sequence.
|
adviseReuse, append, attribute, characters, comment, endDocument, endElement, namespace, processingInstruction, startContent, startDocument, startElement, usesTypeAnnotationsappend, getConfiguration, getNamePool, getPipelineConfiguration, getSystemId, open, setPipelineConfiguration, setSystemId, setUnparsedEntitypublic SequenceExchanger.SequencePusher(Conduit si, PipelineConfiguration pipe)
si - the Conduit to which the events are to be writtenpipe - the pipeline configurationpublic Conduit getConduit()
public void write(Item item) throws XPathException
write in class SequenceWriteritem - the item to be written to the sequenceXPathException - if any failure occurs while writing the itempublic void close()
throws XPathException
close in interface Receiverclose in class SequenceWriterXPathException - if an error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.