public static class SequenceExchanger.SequencePusher extends SequenceWriter
pipelineConfiguration, previousAtomic, systemId
PI_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, usesTypeAnnotations
append, getConfiguration, getNamePool, getPipelineConfiguration, getSystemId, open, setPipelineConfiguration, setSystemId, setUnparsedEntity
public 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 SequenceWriter
item
- the item to be written to the sequenceXPathException
- if any failure occurs while writing the itempublic void close() throws XPathException
close
in interface Receiver
close
in class SequenceWriter
XPathException
- if an error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.