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_ESCAPERFields inherited from class XMLOutputFactory
IS_REPAIRING_NAMESPACESFields 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 TypeMethodDescriptionvoidvoidvoidprivate org.codehaus.stax2.XMLStreamWriter2createSW(OutputStream out, Writer w, String enc, boolean forceAutoClose) private org.codehaus.stax2.XMLStreamWriter2createXMLEventWriter(OutputStream out, String enc) createXMLEventWriter(Writer w, String enc) createXMLEventWriter(Result result) createXMLStreamWriter(OutputStream out, String enc) org.codehaus.stax2.XMLStreamWriter2createXMLStreamWriter(Writer w, String enc) createXMLStreamWriter(Result result) getProperty(String name) booleanisPropertySupported(String name) voidsetProperty(String name, Object value) Methods inherited from class XMLOutputFactory
newDefaultFactory, newFactory, newFactory, newInstance, newInstance
-
Field Details
-
_config
-
-
Constructor Details
-
OutputFactoryImpl
public OutputFactoryImpl()
-
-
Method Details
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(OutputStream out, String enc) throws XMLStreamException - Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
getProperty
- Specified by:
getPropertyin classXMLOutputFactory
-
isPropertySupported
- Specified by:
isPropertySupportedin classXMLOutputFactory
-
setProperty
- Specified by:
setPropertyin classXMLOutputFactory
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classorg.codehaus.stax2.XMLOutputFactory2- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classorg.codehaus.stax2.XMLOutputFactory2- Throws:
XMLStreamException
-
createXMLStreamWriter
public org.codehaus.stax2.XMLStreamWriter2 createXMLStreamWriter(Writer w, String enc) throws XMLStreamException - Specified by:
createXMLStreamWriterin classorg.codehaus.stax2.XMLOutputFactory2- Throws:
XMLStreamException
-
configureForXmlConformance
public void configureForXmlConformance()- Specified by:
configureForXmlConformancein classorg.codehaus.stax2.XMLOutputFactory2
-
configureForRobustness
public void configureForRobustness()- Specified by:
configureForRobustnessin classorg.codehaus.stax2.XMLOutputFactory2
-
configureForSpeed
public void configureForSpeed()- Specified by:
configureForSpeedin 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
-