Package com.fasterxml.aalto.stax
Class OutputFactoryImpl
java.lang.Object
javax.xml.stream.XMLOutputFactory
org.codehaus.stax2.XMLOutputFactory2
com.fasterxml.aalto.stax.OutputFactoryImpl
- All Implemented Interfaces:
org.codehaus.stax2.XMLStreamProperties
public final class OutputFactoryImpl
extends org.codehaus.stax2.XMLOutputFactory2
Basic implementation of
XMLOutputFactory
.-
Field Summary
FieldsFields inherited from class org.codehaus.stax2.XMLOutputFactory2
P_ATTR_VALUE_ESCAPER, P_AUTO_CLOSE_OUTPUT, P_AUTOMATIC_EMPTY_ELEMENTS, P_AUTOMATIC_NS_PREFIX, P_TEXT_ESCAPER
Fields inherited from class javax.xml.stream.XMLOutputFactory
IS_REPAIRING_NAMESPACES
Fields inherited from interface org.codehaus.stax2.XMLStreamProperties
XSP_IMPLEMENTATION_NAME, XSP_IMPLEMENTATION_VERSION, XSP_NAMESPACE_AWARE, XSP_PROBLEM_REPORTER, XSP_SUPPORT_XMLID, XSP_SUPPORTS_XML11, XSP_V_XMLID_FULL, XSP_V_XMLID_NONE, XSP_V_XMLID_TYPING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
private org.codehaus.stax2.XMLStreamWriter2
createSW
(OutputStream out, Writer w, String enc, boolean forceAutoClose) private org.codehaus.stax2.XMLStreamWriter2
createXMLEventWriter
(OutputStream out, String enc) createXMLEventWriter
(Writer w, String enc) createXMLEventWriter
(Result result) createXMLStreamWriter
(OutputStream out, String enc) org.codehaus.stax2.XMLStreamWriter2
createXMLStreamWriter
(Writer w, String enc) createXMLStreamWriter
(Result result) getProperty
(String name) boolean
isPropertySupported
(String name) void
setProperty
(String name, Object value) Methods inherited from class javax.xml.stream.XMLOutputFactory
newDefaultFactory, newFactory, newFactory, newInstance, newInstance
-
Field Details
-
_config
-
-
Constructor Details
-
OutputFactoryImpl
public OutputFactoryImpl()
-
-
Method Details
-
createXMLEventWriter
- Specified by:
createXMLEventWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(OutputStream out, String enc) throws XMLStreamException - Specified by:
createXMLStreamWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
getProperty
- Specified by:
getProperty
in classXMLOutputFactory
-
isPropertySupported
- Specified by:
isPropertySupported
in classXMLOutputFactory
-
setProperty
- Specified by:
setProperty
in classXMLOutputFactory
-
createXMLEventWriter
- Specified by:
createXMLEventWriter
in classorg.codehaus.stax2.XMLOutputFactory2
- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriter
in classorg.codehaus.stax2.XMLOutputFactory2
- Throws:
XMLStreamException
-
createXMLStreamWriter
public org.codehaus.stax2.XMLStreamWriter2 createXMLStreamWriter(Writer w, String enc) throws XMLStreamException - Specified by:
createXMLStreamWriter
in classorg.codehaus.stax2.XMLOutputFactory2
- Throws:
XMLStreamException
-
configureForXmlConformance
public void configureForXmlConformance()- Specified by:
configureForXmlConformance
in classorg.codehaus.stax2.XMLOutputFactory2
-
configureForRobustness
public void configureForRobustness()- Specified by:
configureForRobustness
in classorg.codehaus.stax2.XMLOutputFactory2
-
configureForSpeed
public void configureForSpeed()- Specified by:
configureForSpeed
in classorg.codehaus.stax2.XMLOutputFactory2
-
createSW
private org.codehaus.stax2.XMLStreamWriter2 createSW(OutputStream out, Writer w, String enc, boolean forceAutoClose) throws XMLStreamException - Throws:
XMLStreamException
-
createSW
- Throws:
XMLStreamException
-