public class SequenceWrapperPE extends SequenceWrapper
This class adds to the superclass the ability to serialize maps.
RESULT_NS
pipelineConfiguration, previousAtomic, systemId
Constructor and Description |
---|
SequenceWrapperPE(Receiver destination)
Create a sequence wrapper.
|
Modifier and Type | Method and Description |
---|---|
void |
append(Item item,
Location 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, usesTypeAnnotations
append, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getNamePool, getPipelineConfiguration, getSystemId, handlesAppend, setPipelineConfiguration, setSystemId, setUnparsedEntity
public SequenceWrapperPE(Receiver destination)
destination
- the sequence being wrappedpublic void open() throws XPathException
SequenceReceiver
open
in interface Receiver
open
in class SequenceWrapper
XPathException
- if an error occurspublic void append(Item item, Location locationId, int copyNamespaces) throws XPathException
append
in interface Receiver
append
in class SequenceWrapper
item
- 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 ReceiverOptions.ALL_NAMESPACES
,
ReceiverOptions.LOCAL_NAMESPACES
; the default (0) means
no namespacesXPathException
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.