public final class OutputFactoryImpl
extends org.codehaus.stax2.XMLOutputFactory2
XMLOutputFactory.| Modifier and Type | Field and Description |
|---|---|
protected WriterConfig |
_config |
| Constructor and Description |
|---|
OutputFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureForRobustness() |
void |
configureForSpeed() |
void |
configureForXmlConformance() |
private org.codehaus.stax2.XMLStreamWriter2 |
createSW(java.io.OutputStream out,
java.io.Writer w,
java.lang.String enc,
boolean forceAutoClose)
Bottleneck factory method used internally; needs to take care of passing
proper settings to stream writer.
|
private org.codehaus.stax2.XMLStreamWriter2 |
createSW(javax.xml.transform.Result res) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.OutputStream out) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.OutputStream out,
java.lang.String enc) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(javax.xml.transform.Result result) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.Writer w) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.Writer w,
java.lang.String enc) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(javax.xml.stream.XMLStreamWriter sw) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(java.io.OutputStream out) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(java.io.OutputStream out,
java.lang.String enc) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(javax.xml.transform.Result result) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(java.io.Writer w) |
org.codehaus.stax2.XMLStreamWriter2 |
createXMLStreamWriter(java.io.Writer w,
java.lang.String enc) |
java.lang.Object |
getProperty(java.lang.String name) |
boolean |
isPropertySupported(java.lang.String name) |
void |
setProperty(java.lang.String name,
java.lang.Object value) |
protected final WriterConfig _config
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream out)
throws javax.xml.stream.XMLStreamException
createXMLEventWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream out,
java.lang.String enc)
throws javax.xml.stream.XMLStreamException
createXMLEventWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventWriter createXMLEventWriter(javax.xml.transform.Result result)
throws javax.xml.stream.XMLStreamException
createXMLEventWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.Writer w)
throws javax.xml.stream.XMLStreamException
createXMLEventWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream out)
throws javax.xml.stream.XMLStreamException
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream out,
java.lang.String enc)
throws javax.xml.stream.XMLStreamException
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamWriter createXMLStreamWriter(javax.xml.transform.Result result)
throws javax.xml.stream.XMLStreamException
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.Writer w)
throws javax.xml.stream.XMLStreamException
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic java.lang.Object getProperty(java.lang.String name)
getProperty in class javax.xml.stream.XMLOutputFactorypublic boolean isPropertySupported(java.lang.String name)
isPropertySupported in class javax.xml.stream.XMLOutputFactorypublic void setProperty(java.lang.String name,
java.lang.Object value)
setProperty in class javax.xml.stream.XMLOutputFactorypublic javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.Writer w,
java.lang.String enc)
throws javax.xml.stream.XMLStreamException
createXMLEventWriter in class org.codehaus.stax2.XMLOutputFactory2javax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventWriter createXMLEventWriter(javax.xml.stream.XMLStreamWriter sw)
throws javax.xml.stream.XMLStreamException
createXMLEventWriter in class org.codehaus.stax2.XMLOutputFactory2javax.xml.stream.XMLStreamExceptionpublic org.codehaus.stax2.XMLStreamWriter2 createXMLStreamWriter(java.io.Writer w,
java.lang.String enc)
throws javax.xml.stream.XMLStreamException
createXMLStreamWriter in class org.codehaus.stax2.XMLOutputFactory2javax.xml.stream.XMLStreamExceptionpublic 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.XMLOutputFactory2private org.codehaus.stax2.XMLStreamWriter2 createSW(java.io.OutputStream out,
java.io.Writer w,
java.lang.String enc,
boolean forceAutoClose)
throws javax.xml.stream.XMLStreamException
autoCloseOutput - Whether writer should automatically close the
output stream or Writer, when close() is called on stream writer.javax.xml.stream.XMLStreamExceptionprivate org.codehaus.stax2.XMLStreamWriter2 createSW(javax.xml.transform.Result res)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException