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.XMLOutputFactory2Basic implementation ofXMLOutputFactory.
-
-
Field Summary
Fields Modifier and Type Field Description protected WriterConfig_config
-
Constructor Summary
Constructors Constructor Description OutputFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureForRobustness()voidconfigureForSpeed()voidconfigureForXmlConformance()private org.codehaus.stax2.XMLStreamWriter2createSW(java.io.OutputStream out, java.io.Writer w, java.lang.String enc, boolean forceAutoClose)private org.codehaus.stax2.XMLStreamWriter2createSW(javax.xml.transform.Result res)javax.xml.stream.XMLEventWritercreateXMLEventWriter(java.io.OutputStream out)javax.xml.stream.XMLEventWritercreateXMLEventWriter(java.io.OutputStream out, java.lang.String enc)javax.xml.stream.XMLEventWritercreateXMLEventWriter(java.io.Writer w)javax.xml.stream.XMLEventWritercreateXMLEventWriter(java.io.Writer w, java.lang.String enc)javax.xml.stream.XMLEventWritercreateXMLEventWriter(javax.xml.stream.XMLStreamWriter sw)javax.xml.stream.XMLEventWritercreateXMLEventWriter(javax.xml.transform.Result result)javax.xml.stream.XMLStreamWritercreateXMLStreamWriter(java.io.OutputStream out)javax.xml.stream.XMLStreamWritercreateXMLStreamWriter(java.io.OutputStream out, java.lang.String enc)javax.xml.stream.XMLStreamWritercreateXMLStreamWriter(java.io.Writer w)org.codehaus.stax2.XMLStreamWriter2createXMLStreamWriter(java.io.Writer w, java.lang.String enc)javax.xml.stream.XMLStreamWritercreateXMLStreamWriter(javax.xml.transform.Result result)java.lang.ObjectgetProperty(java.lang.String name)booleanisPropertySupported(java.lang.String name)voidsetProperty(java.lang.String name, java.lang.Object value)
-
-
-
Field Detail
-
_config
protected final WriterConfig _config
-
-
Method Detail
-
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream out) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLEventWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream out, java.lang.String enc) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLEventWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(javax.xml.transform.Result result) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLEventWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.Writer w) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLEventWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream out) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLStreamWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream out, java.lang.String enc) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLStreamWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(javax.xml.transform.Result result) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLStreamWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.Writer w) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLStreamWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getPropertyin classjavax.xml.stream.XMLOutputFactory
-
isPropertySupported
public boolean isPropertySupported(java.lang.String name)
- Specified by:
isPropertySupportedin classjavax.xml.stream.XMLOutputFactory
-
setProperty
public void setProperty(java.lang.String name, java.lang.Object value)- Specified by:
setPropertyin classjavax.xml.stream.XMLOutputFactory
-
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.Writer w, java.lang.String enc) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLEventWriterin classorg.codehaus.stax2.XMLOutputFactory2- Throws:
javax.xml.stream.XMLStreamException
-
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(javax.xml.stream.XMLStreamWriter sw) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLEventWriterin classorg.codehaus.stax2.XMLOutputFactory2- Throws:
javax.xml.stream.XMLStreamException
-
createXMLStreamWriter
public org.codehaus.stax2.XMLStreamWriter2 createXMLStreamWriter(java.io.Writer w, java.lang.String enc) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLStreamWriterin classorg.codehaus.stax2.XMLOutputFactory2- Throws:
javax.xml.stream.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(java.io.OutputStream out, java.io.Writer w, java.lang.String enc, boolean forceAutoClose) throws javax.xml.stream.XMLStreamException- Throws:
javax.xml.stream.XMLStreamException
-
createSW
private org.codehaus.stax2.XMLStreamWriter2 createSW(javax.xml.transform.Result res) throws javax.xml.stream.XMLStreamException- Throws:
javax.xml.stream.XMLStreamException
-
-