public class StAXOutputFactory extends javax.xml.stream.XMLOutputFactory
IS_REPAIRING_NAMESPACES| Constructor and Description |
|---|
StAXOutputFactory()
Creates a new instance of StAXOutputFactory
|
| Modifier and Type | Method and Description |
|---|---|
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(OutputStream outputStream) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(OutputStream outputStream,
String encoding) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(Result result) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(Writer writer) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(OutputStream outputStream) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(OutputStream outputStream,
String encoding) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(Result result) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(Writer writer)
this is assumed that user wants to write the file in xml format
|
Object |
getProperty(String name) |
boolean |
isPropertySupported(String name) |
void |
setProperty(String name,
Object value) |
newFactory, newFactory, newInstance, newInstancepublic StAXOutputFactory()
public javax.xml.stream.XMLEventWriter createXMLEventWriter(Result result) throws javax.xml.stream.XMLStreamException
createXMLEventWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventWriter createXMLEventWriter(Writer writer) throws javax.xml.stream.XMLStreamException
createXMLEventWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventWriter createXMLEventWriter(OutputStream outputStream) throws javax.xml.stream.XMLStreamException
createXMLEventWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventWriter createXMLEventWriter(OutputStream outputStream, String encoding) throws javax.xml.stream.XMLStreamException
createXMLEventWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamWriter createXMLStreamWriter(Result result) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamWriter createXMLStreamWriter(Writer writer) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamWriter createXMLStreamWriter(OutputStream outputStream) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamWriter createXMLStreamWriter(OutputStream outputStream, String encoding) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic Object getProperty(String name) throws IllegalArgumentException
getProperty in class javax.xml.stream.XMLOutputFactoryIllegalArgumentExceptionpublic boolean isPropertySupported(String name)
isPropertySupported in class javax.xml.stream.XMLOutputFactorypublic void setProperty(String name, Object value) throws IllegalArgumentException
setProperty in class javax.xml.stream.XMLOutputFactoryIllegalArgumentExceptionCopyright © 2012 Oracle Corpration. All Rights Reserved.