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
level
Fields inherited from class net.sf.saxon.event.ProxyReceiver
nextReceiver
Fields inherited from class net.sf.saxon.event.SequenceReceiver
pipelineConfiguration, previousAtomic, systemId
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Append an arbitrary item (node or atomic value) to the outputprotected String
Methods inherited from class net.sf.saxon.event.SequenceNormalizer
characters, close, comment, endDocument, endElement, onClose, onClose, open, processingInstruction, startDocument, startElement
Methods inherited from class net.sf.saxon.event.ProxyReceiver
getNamePool, getNextReceiver, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, usesTypeAnnotations
Methods 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:
append
in interfaceReceiver
- Overrides:
append
in 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:
getErrorCodeForDecomposingFunctionItems
in classSequenceReceiver
-