public class ReconfigurableSerializer extends ProxyReceiver
nextReceiver
pipelineConfiguration, previousAtomic, systemId
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
ReconfigurableSerializer(Receiver next,
Properties apiDefinedProperties,
Result destination)
Create a reconfigurable serializer (that is, a gateway to a dynamically-constructed serialization
pipeline)
|
Modifier and Type | Method and Description |
---|---|
void |
reconfigure(Properties outputProperties,
CharacterMapIndex charMapIndex)
Create a new serialization pipeline and redirect future output to that pipeline.
|
append, attribute, characters, close, comment, endDocument, endElement, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, startElement, usesTypeAnnotations
append, getConfiguration, getPipelineConfiguration, getSystemId, isTrueSequenceReceiver
public ReconfigurableSerializer(Receiver next, Properties apiDefinedProperties, Result destination)
next
- the next receiver to receiver eventsapiDefinedProperties
- the output properties explicitly declared on the Serializer object.
These are defined to take precedence over any properties defined
within the stylesheet.destination
- the output destination.public void reconfigure(Properties outputProperties, CharacterMapIndex charMapIndex) throws XPathException
outputProperties
- serialization properties, typically the properties specified dynamically
in an xsl:result-document instruction, together with properties specified
statically in the named or unnamed output format that it references.charMapIndex
- character map indexXPathException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.