Package net.sf.saxon.event
Class SequenceNormalizerWithSpaceSeparator
java.lang.Object
net.sf.saxon.event.SequenceReceiver
net.sf.saxon.event.ProxyReceiver
net.sf.saxon.event.SequenceNormalizer
net.sf.saxon.event.SequenceNormalizerWithSpaceSeparator
Implement the "sequence normalization" logic as defined in the XSLT 3.0/XQuery 3.0
serialization spec, for the case where there is no item-separator.
This class is used only if no ItemSeparator is specified. Its effect is to insert a single space as a separator between adjacent atomic values appearing in the top level sequence.
-
Field Summary
Fields inherited from class net.sf.saxon.event.SequenceNormalizer
levelFields inherited from class net.sf.saxon.event.ProxyReceiver
nextReceiverFields inherited from class net.sf.saxon.event.SequenceReceiver
pipelineConfiguration, previousAtomic, systemIdFields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAppend an arbitrary item (node or atomic value) to the outputprotected StringMethods inherited from class net.sf.saxon.event.SequenceNormalizer
characters, close, comment, endDocument, endElement, onClose, onClose, open, processingInstruction, startDocument, startElementMethods inherited from class net.sf.saxon.event.ProxyReceiver
getNamePool, getNextReceiver, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, usesTypeAnnotationsMethods inherited from class net.sf.saxon.event.SequenceReceiver
append, decompose, flatten, getConfiguration, getPipelineConfiguration, getSystemId, handlesAppend
-
Constructor Details
-
SequenceNormalizerWithSpaceSeparator
-
-
Method Details
-
append
Append an arbitrary item (node or atomic value) to the output- Specified by:
appendin interfaceReceiver- Overrides:
appendin classProxyReceiver- Parameters:
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 areReceiverOption.ALL_NAMESPACES; the default (0) means- Throws:
XPathException- if an error occurs
-
getErrorCodeForDecomposingFunctionItems
- Overrides:
getErrorCodeForDecomposingFunctionItemsin classSequenceReceiver
-