public class WstxOutputFactory extends org.codehaus.stax2.XMLOutputFactory2 implements OutputConfigFlags
XMLOutputFactory
for Wstx.
TODO:
Modifier and Type | Field and Description |
---|---|
protected WriterConfig |
mConfig |
P_ATTR_VALUE_ESCAPER, P_AUTO_CLOSE_OUTPUT, P_AUTOMATIC_EMPTY_ELEMENTS, P_AUTOMATIC_NS_PREFIX, P_TEXT_ESCAPER
IS_REPAIRING_NAMESPACES
CFG_ADD_SPACE_AFTER_EMPTY_ELEM, CFG_AUTO_CLOSE_OUTPUT, CFG_AUTOMATIC_EMPTY_ELEMENTS, CFG_AUTOMATIC_END_ELEMENTS, CFG_AUTOMATIC_NS, CFG_COPY_DEFAULT_ATTRS, CFG_ENABLE_NS, CFG_ESCAPE_CR, CFG_FIX_CONTENT, CFG_OUTPUT_CDATA_AS_TEXT, CFG_USE_DOUBLE_QUOTES_IN_XML_DECL, CFG_VALIDATE_ATTR, CFG_VALIDATE_CONTENT, CFG_VALIDATE_NAMES, CFG_VALIDATE_STRUCTURE
Constructor and Description |
---|
WstxOutputFactory() |
newFactory, newFactory, newInstance, newInstance
protected final WriterConfig mConfig
public XMLEventWriter createXMLEventWriter(OutputStream out) throws XMLStreamException
createXMLEventWriter
in class XMLOutputFactory
XMLStreamException
public XMLEventWriter createXMLEventWriter(OutputStream out, String enc) throws XMLStreamException
createXMLEventWriter
in class XMLOutputFactory
XMLStreamException
public XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException
createXMLEventWriter
in class XMLOutputFactory
XMLStreamException
public XMLEventWriter createXMLEventWriter(Writer w) throws XMLStreamException
createXMLEventWriter
in class XMLOutputFactory
XMLStreamException
public XMLStreamWriter createXMLStreamWriter(OutputStream out) throws XMLStreamException
createXMLStreamWriter
in class XMLOutputFactory
XMLStreamException
public XMLStreamWriter createXMLStreamWriter(OutputStream out, String enc) throws XMLStreamException
createXMLStreamWriter
in class XMLOutputFactory
XMLStreamException
public XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException
createXMLStreamWriter
in class XMLOutputFactory
XMLStreamException
public XMLStreamWriter createXMLStreamWriter(Writer w) throws XMLStreamException
createXMLStreamWriter
in class XMLOutputFactory
XMLStreamException
public Object getProperty(String name)
getProperty
in class XMLOutputFactory
public boolean isPropertySupported(String name)
isPropertySupported
in class XMLOutputFactory
public void setProperty(String name, Object value)
setProperty
in class XMLOutputFactory
public XMLEventWriter createXMLEventWriter(Writer w, String enc) throws XMLStreamException
createXMLEventWriter
in class org.codehaus.stax2.XMLOutputFactory2
XMLStreamException
public XMLEventWriter createXMLEventWriter(XMLStreamWriter sw) throws XMLStreamException
createXMLEventWriter
in class org.codehaus.stax2.XMLOutputFactory2
XMLStreamException
public org.codehaus.stax2.XMLStreamWriter2 createXMLStreamWriter(Writer w, String enc) throws XMLStreamException
createXMLStreamWriter
in class org.codehaus.stax2.XMLOutputFactory2
XMLStreamException
public void configureForXmlConformance()
configureForXmlConformance
in class org.codehaus.stax2.XMLOutputFactory2
public void configureForRobustness()
configureForRobustness
in class org.codehaus.stax2.XMLOutputFactory2
public void configureForSpeed()
configureForSpeed
in class org.codehaus.stax2.XMLOutputFactory2
public WriterConfig getConfig()
protected org.codehaus.stax2.XMLStreamWriter2 createSW(String enc, WriterConfig cfg, XmlWriter xw)
createSW(OutputStream, Writer, String, boolean)
after all of the nessesary configuration
logic is complete.Copyright © 2018 FasterXML. All rights reserved.