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_ESCAPERIS_REPAIRING_NAMESPACESCFG_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, newInstanceprotected final WriterConfig mConfig
public XMLEventWriter createXMLEventWriter(OutputStream out) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(OutputStream out, String enc) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(Writer w) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(OutputStream out) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(OutputStream out, String enc) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(Writer w) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic Object getProperty(String name)
getProperty in class XMLOutputFactorypublic boolean isPropertySupported(String name)
isPropertySupported in class XMLOutputFactorypublic void setProperty(String name, Object value)
setProperty in class XMLOutputFactorypublic XMLEventWriter createXMLEventWriter(Writer w, String enc) throws XMLStreamException
createXMLEventWriter in class org.codehaus.stax2.XMLOutputFactory2XMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(XMLStreamWriter sw) throws XMLStreamException
createXMLEventWriter in class org.codehaus.stax2.XMLOutputFactory2XMLStreamExceptionpublic org.codehaus.stax2.XMLStreamWriter2 createXMLStreamWriter(Writer w, String enc) throws XMLStreamException
createXMLStreamWriter in class org.codehaus.stax2.XMLOutputFactory2XMLStreamExceptionpublic void configureForXmlConformance()
configureForXmlConformance in class org.codehaus.stax2.XMLOutputFactory2public void configureForRobustness()
configureForRobustness in class org.codehaus.stax2.XMLOutputFactory2public void configureForSpeed()
configureForSpeed in class org.codehaus.stax2.XMLOutputFactory2public WriterConfig getConfig()
protected org.codehaus.stax2.XMLStreamWriter2 createSW(String enc, WriterConfig cfg, XmlWriter xw)
Copyright © 2022 FasterXML. All rights reserved.