public class SerializerFactoryPE extends SerializerFactory
| Constructor and Description |
|---|
SerializerFactoryPE(ProfessionalConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
Receiver |
addTextOutputFilter(Receiver next,
java.util.Properties properties)
Add a filter to the text output method pipeline.
|
protected void |
checkExtensions(java.lang.String key) |
java.lang.String |
checkOutputProperty(java.lang.String key,
java.lang.String value)
Check that a supplied output property is valid, and normalize the value (specifically in the case of boolean
values where yes|true|1 are normalized to "yes", and no|false|0 are normalized to "no").
|
protected SequenceReceiver |
createSaxonSerializationMethod(java.lang.String method,
java.util.Properties props,
PipelineConfiguration pipe,
CharacterMapExpander characterMapExpander,
ProxyReceiver normalizer) |
protected ProxyReceiver |
newAttributeSorter(Receiver next,
java.util.Properties outputProperties)
Create a new AttributeSorter, responsible for sorting of attributes into a specified order.
|
protected Emitter |
newHTMLEmitter(java.util.Properties properties)
Create a new HTML Emitter.
|
protected ProxyReceiver |
newHTMLIndenter(Receiver next,
java.util.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(java.util.Properties properties)
Create a new XHTML Emitter.
|
protected ProxyReceiver |
newXHTMLIndenter(Receiver next,
java.util.Properties outputProperties)
Create a new XHTML Indenter.
|
protected Emitter |
newXMLEmitter(java.util.Properties properties)
Create a new XML Emitter.
|
protected ProxyReceiver |
newXMLIndenter(XMLEmitter next,
java.util.Properties outputProperties)
Create a new XML Indenter.
|
SequenceReceiver |
prepareNextStylesheet(PipelineConfiguration pipe,
java.lang.String href,
java.lang.String baseURI,
javax.xml.transform.Result result)
Prepare another stylesheet to handle the output of this one.
|
addHtml5Component, checkListOfClarkNames, checkNonNegativeInteger, checkYesOrNo, createHTMLSerializer, createTextSerializer, createUserDefinedOutputMethod, createXHTMLSerializer, createXMLSerializer, customizeAdaptiveSerializer, customizeJSONSerializer, getConfiguration, getReceiver, getReceiver, getXMLStreamWriter, makeSequenceNormalizer, newAdaptiveEmitter, newCDATAFilter, newCharacterMapExpander, newContentHandlerProxy, newHTMLMetaTagAdjuster, newHTMLURIEscaper, newTEXTEmitter, newUncommittedSerializer, newUnicodeNormalizer, newXHTMLMetaTagAdjuster, newXHTMLURIEscaper, newXML10ContentChecker, parseListOfNodeNamespublic SerializerFactoryPE(ProfessionalConfiguration config)
protected SequenceReceiver createSaxonSerializationMethod(java.lang.String method, java.util.Properties props, PipelineConfiguration pipe, CharacterMapExpander characterMapExpander, ProxyReceiver normalizer) throws XPathException
createSaxonSerializationMethod in class SerializerFactoryXPathExceptionprotected ProxyReceiver newHTMLIndenter(Receiver next, java.util.Properties outputProperties)
SerializerFactorynewHTMLIndenter in class SerializerFactorynext - the next receiver in the pipelineoutputProperties - the serialization parametersprotected ProxyReceiver newXHTMLIndenter(Receiver next, java.util.Properties outputProperties)
SerializerFactorynewXHTMLIndenter in class SerializerFactorynext - the next receiver in the pipelineoutputProperties - the serialization parametersprotected ProxyReceiver newXMLIndenter(XMLEmitter next, java.util.Properties outputProperties)
SerializerFactorynewXMLIndenter in class SerializerFactorynext - the next receiver in the pipelineoutputProperties - the serialization parametersprotected Emitter newXMLEmitter(java.util.Properties properties)
SerializerFactorynewXMLEmitter in class SerializerFactoryproperties - the output propertiesprotected Emitter newHTMLEmitter(java.util.Properties properties)
SerializerFactorynewHTMLEmitter in class SerializerFactoryproperties - the output propertiesprotected ProxyReceiver newAttributeSorter(Receiver next, java.util.Properties outputProperties) throws XPathException
newAttributeSorter in class SerializerFactorynext - the next receiver in the pipelineoutputProperties - the serialization parametersXPathException - if an error occursprotected Emitter newXHTMLEmitter(java.util.Properties properties)
newXHTMLEmitter in class SerializerFactoryproperties - the output propertiespublic Receiver addTextOutputFilter(Receiver next, java.util.Properties properties) throws XPathException
addTextOutputFilter in class SerializerFactorynext - the next receiver (typically the TextEmitter)properties - the output propertiesXPathException - if the operation failspublic SequenceReceiver prepareNextStylesheet(PipelineConfiguration pipe, java.lang.String href, java.lang.String baseURI, javax.xml.transform.Result result) throws XPathException
saxon:next-in-chain extension.prepareNextStylesheet in class SerializerFactorypipe - the pipeline for 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 occurspublic SequenceWrapper newSequenceWrapper(Receiver destination)
newSequenceWrapper in class SerializerFactorydestination - the place where the wrapped sequence will be sentpublic java.lang.String checkOutputProperty(java.lang.String key,
java.lang.String value)
throws XPathException
checkOutputProperty in class SerializerFactorykey - the name of the property, in Clark formatvalue - the value of the property. This may be set to null, in which case no validation takes place.
The value must be in JAXP format, that is, with lexical QNames expanded to Clark namesXPathException - if the property name or value is invalidprotected void checkExtensions(java.lang.String key)
throws XPathException
checkExtensions in class SerializerFactoryXPathExceptionCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.