public class AdaptiveEmitter extends SequenceWriter
pipelineConfiguration, previousAtomic, systemId
Constructor and Description |
---|
AdaptiveEmitter(PipelineConfiguration pipe,
java.io.Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the output
|
java.util.Properties |
getOutputProperties() |
void |
setOutputProperties(java.util.Properties props) |
void |
write(Item item)
Abstract method to be supplied by subclasses: output one item in the sequence.
|
append, attribute, characters, comment, endDocument, endElement, getTreeModel, namespace, processingInstruction, setTreeModel, setUnparsedEntity, startContent, startDocument, startElement, usesTypeAnnotations
append, getConfiguration, getNamePool, getPipelineConfiguration, getSystemId, isTrueSequenceReceiver, open, setPipelineConfiguration, setSystemId
public AdaptiveEmitter(PipelineConfiguration pipe, java.io.Writer writer)
public void setOutputProperties(java.util.Properties props)
public java.util.Properties getOutputProperties()
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
SequenceWriter
close
in interface Receiver
close
in class SequenceWriter
XPathException
- if an error occursCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.