public class SaxonStreamWriterFactory extends java.lang.Object implements XmlOutputFactoryBuilder
XmlOutputFactoryBuilder
implementation that uses net.sf.saxon.lib.SerializerFactory#getXMLStreamWriter()
.In the adapter configuration file this class is aliased as stax-saxon-stream-writer which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
SaxonStreamWriterFactory() |
SaxonStreamWriterFactory(KeyValuePair... outputProperties) |
SaxonStreamWriterFactory(KeyValuePairSet outputProperties) |
Modifier and Type | Method and Description |
---|---|
javax.xml.stream.XMLOutputFactory |
build()
Create an output factory.
|
KeyValuePairSet |
getOutputProperties() |
void |
setOutputProperties(KeyValuePairSet kvps)
Set any output properties required.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
close
public SaxonStreamWriterFactory()
public SaxonStreamWriterFactory(KeyValuePairSet outputProperties)
public SaxonStreamWriterFactory(KeyValuePair... outputProperties)
public javax.xml.stream.XMLOutputFactory build()
XmlOutputFactoryBuilder
build
in interface XmlOutputFactoryBuilder
XMLOutputFactory
instance.public KeyValuePairSet getOutputProperties()
public void setOutputProperties(KeyValuePairSet kvps)
The keys should match the properties specified by SaxonOutputKeys
; bear in mind no validation is done on the values or
the license required for those features.
kvps
- any output properties to set