public class SequenceWrapperPE extends SequenceWrapper
This class adds to the superclass the ability to serialize maps.
RESULT_NSpipelineConfiguration, previousAtomic, systemIdPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
SequenceWrapperPE(Receiver destination)
Create a sequence wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
append(Item item,
int locationId,
int copyNamespaces)
Output an item (atomic value or node) to the sequence
|
void |
open()
Start the output process
|
attribute, characters, close, comment, endDocument, endElement, getDestination, namespace, processingInstruction, startContent, startDocument, startElement, usesTypeAnnotationsappend, getConfiguration, getNamePool, getPipelineConfiguration, getSystemId, isTrueSequenceReceiver, setPipelineConfiguration, setSystemId, setUnparsedEntitypublic SequenceWrapperPE(Receiver destination)
destination - the sequence being wrappedpublic void open()
throws XPathException
SequenceReceiveropen in interface Receiveropen in class SequenceWrapperXPathException - if an error occurspublic void append(Item item, int locationId, int copyNamespaces) throws XPathException
append in class SequenceWrapperitem - the item to be appendedlocationId - the location of the calling instruction, for diagnosticscopyNamespaces - if the item is an element node, this indicates whether its namespaces
need to be copied. Values are NodeInfo.ALL_NAMESPACES,
NodeInfo.LOCAL_NAMESPACES, NodeInfo.NO_NAMESPACESXPathException - if the operation failsCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.