public class SerializerFactoryPE extends SerializerFactory
Constructor and Description |
---|
SerializerFactoryPE(ProfessionalConfiguration config) |
Modifier and Type | Method and Description |
---|---|
Receiver |
addHtml5Component(Receiver target,
Properties outputProperties) |
Receiver |
addTextOutputFilter(Receiver next,
Properties properties)
Add a filter to the text output method pipeline.
|
protected Receiver |
createSaxonSerializationMethod(String method,
Properties props,
PipelineConfiguration pipe,
CharacterMapExpander characterMapExpander,
ProxyReceiver normalizer) |
protected Emitter |
newHTMLEmitter(Properties properties)
Create a new HTML Emitter.
|
protected ProxyReceiver |
newHTMLIndenter(Receiver next,
Properties outputProperties)
Create a new HTML Indenter.
|
SequenceWrapper |
newSequenceWrapper(Receiver destination)
Get a SequenceWrapper, a class that serializes an XDM sequence with full annotation of item types, node kinds,
etc.
|
protected Emitter |
newXHTMLEmitter(Properties properties)
Create a new XHTML Emitter.
|
protected ProxyReceiver |
newXHTMLIndenter(Receiver next,
Properties outputProperties)
Create a new XHTML Indenter.
|
protected Emitter |
newXMLEmitter(Properties properties)
Create a new XML Emitter.
|
protected ProxyReceiver |
newXMLIndenter(XMLEmitter next,
Properties outputProperties)
Create a new XML Indenter.
|
Result |
prepareNextStylesheet(Controller controller,
String href,
String baseURI,
Result result)
Prepare another stylesheet to handle the output of this one.
|
createHTMLSerializer, createTextSerializer, createUserDefinedOutputMethod, createXHTMLSerializer, createXMLSerializer, getReceiver, getReceiver, getXMLStreamWriter, newAttributeSorter, newCDATAFilter, newCharacterMapExpander, newContentHandlerProxy, newHTMLMetaTagAdjuster, newHTMLURIEscaper, newTEXTEmitter, newUncommittedSerializer, newUnicodeNormalizer, newXHTMLMetaTagAdjuster, newXHTMLURIEscaper, newXML10ContentChecker
public SerializerFactoryPE(ProfessionalConfiguration config)
protected Receiver createSaxonSerializationMethod(String method, Properties props, PipelineConfiguration pipe, CharacterMapExpander characterMapExpander, ProxyReceiver normalizer) throws XPathException
createSaxonSerializationMethod
in class SerializerFactory
XPathException
protected ProxyReceiver newHTMLIndenter(Receiver next, Properties outputProperties)
SerializerFactory
newHTMLIndenter
in class SerializerFactory
next
- the next receiver in the pipelineoutputProperties
- the serialization parameterspublic Receiver addHtml5Component(Receiver target, Properties outputProperties)
addHtml5Component
in class SerializerFactory
protected ProxyReceiver newXHTMLIndenter(Receiver next, Properties outputProperties)
SerializerFactory
newXHTMLIndenter
in class SerializerFactory
next
- the next receiver in the pipelineoutputProperties
- the serialization parametersprotected ProxyReceiver newXMLIndenter(XMLEmitter next, Properties outputProperties)
SerializerFactory
newXMLIndenter
in class SerializerFactory
next
- the next receiver in the pipelineoutputProperties
- the serialization parametersprotected Emitter newXMLEmitter(Properties properties)
SerializerFactory
newXMLEmitter
in class SerializerFactory
properties
- the output propertiesprotected Emitter newHTMLEmitter(Properties properties)
SerializerFactory
newHTMLEmitter
in class SerializerFactory
properties
- the output propertiesprotected Emitter newXHTMLEmitter(Properties properties)
SerializerFactory
newXHTMLEmitter
in class SerializerFactory
properties
- the output propertiespublic Receiver addTextOutputFilter(Receiver next, Properties properties) throws XPathException
addTextOutputFilter
in class SerializerFactory
next
- the next receiver (typically the TextEmitter)properties
- the output propertiesXPathException
public Result prepareNextStylesheet(Controller controller, String href, String baseURI, Result result) throws TransformerException
This method is intended for internal use, to support the
saxon:next-in-chain
extension.
prepareNextStylesheet
in class SerializerFactory
controller
- the current transformationhref
- URI of the next stylesheet to be appliedbaseURI
- base URI for resolving href if it's a relative
URIresult
- the output destination of the current stylesheetXPathException
- if any dynamic error occursTransformerException
public SequenceWrapper newSequenceWrapper(Receiver destination)
newSequenceWrapper
in class SerializerFactory
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.