public class StAXOutputFactory extends XMLOutputFactory
IS_REPAIRING_NAMESPACES| Constructor and Description |
|---|
StAXOutputFactory()
Creates a new instance of StAXOutputFactory
|
| Modifier and Type | Method and Description |
|---|---|
XMLEventWriter |
createXMLEventWriter(OutputStream outputStream) |
XMLEventWriter |
createXMLEventWriter(OutputStream outputStream,
String encoding) |
XMLEventWriter |
createXMLEventWriter(Result result) |
XMLEventWriter |
createXMLEventWriter(Writer writer) |
XMLStreamWriter |
createXMLStreamWriter(OutputStream outputStream) |
XMLStreamWriter |
createXMLStreamWriter(OutputStream outputStream,
String encoding) |
XMLStreamWriter |
createXMLStreamWriter(Result result) |
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 XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(Writer writer) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(OutputStream outputStream) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(OutputStream outputStream, String encoding) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(Writer writer) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(OutputStream outputStream) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(OutputStream outputStream, String encoding) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic Object getProperty(String name) throws IllegalArgumentException
getProperty in class XMLOutputFactoryIllegalArgumentExceptionpublic boolean isPropertySupported(String name)
isPropertySupported in class XMLOutputFactorypublic void setProperty(String name, Object value) throws IllegalArgumentException
setProperty in class XMLOutputFactoryIllegalArgumentExceptionCopyright © 2005–2017 Oracle Corporation. All rights reserved.