public class AdaptiveEmitter extends SequenceWriter implements ReceiverWithOutputProperties
pipelineConfiguration, previousAtomic, systemId| Constructor and Description |
|---|
AdaptiveEmitter(PipelineConfiguration pipe,
UnicodeWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Notify the end of the event stream
|
java.util.Properties |
getOutputProperties()
Get the serialization properties maintained by this
Receiver |
void |
setCharacterMap(CharacterMap map)
Set the CharacterMap to be used, if any
|
void |
setNormalizationForm(java.text.Normalizer.Form normalizationForm)
Set the Unicode normalizer to be used for normalizing strings.
|
void |
setOutputProperties(java.util.Properties props) |
void |
write(Item item)
Abstract method to be supplied by subclasses: output one item in the sequence.
|
append, characters, comment, endDocument, endElement, getTreeModel, processingInstruction, setTreeModel, setUnparsedEntity, startDocument, startElement, usesTypeAnnotationsappend, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getNamePool, getPipelineConfiguration, getSystemId, handlesAppend, open, setPipelineConfiguration, setSystemIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, append, characters, comment, endDocument, endElement, getPipelineConfiguration, handlesAppend, open, processingInstruction, setPipelineConfiguration, setUnparsedEntity, startDocument, startElement, usesTypeAnnotationspublic AdaptiveEmitter(PipelineConfiguration pipe, UnicodeWriter writer)
public void setOutputProperties(java.util.Properties props)
public void setNormalizationForm(java.text.Normalizer.Form normalizationForm)
normalizationForm - the normalizationForm to be usedpublic void setCharacterMap(CharacterMap map)
map - the character mappublic java.util.Properties getOutputProperties()
ReceiverWithOutputPropertiesReceivergetOutputProperties in interface ReceiverWithOutputPropertiespublic 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
Receiverclose in interface Receiverclose in class SequenceWriterXPathException - if an error occursCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.