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, newInstance
public StAXOutputFactory()
public javax.xml.stream.XMLEventWriter createXMLEventWriter(Result result) throws javax.xml.stream.XMLStreamException
createXMLEventWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(Writer writer) throws javax.xml.stream.XMLStreamException
createXMLEventWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(OutputStream outputStream) throws javax.xml.stream.XMLStreamException
createXMLEventWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(OutputStream outputStream, String encoding) throws javax.xml.stream.XMLStreamException
createXMLEventWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(Result result) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(Writer writer) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(OutputStream outputStream) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(OutputStream outputStream, String encoding) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter
in class javax.xml.stream.XMLOutputFactory
javax.xml.stream.XMLStreamException
public Object getProperty(String name) throws IllegalArgumentException
getProperty
in class javax.xml.stream.XMLOutputFactory
IllegalArgumentException
public boolean isPropertySupported(String name)
isPropertySupported
in class javax.xml.stream.XMLOutputFactory
public void setProperty(String name, Object value) throws IllegalArgumentException
setProperty
in class javax.xml.stream.XMLOutputFactory
IllegalArgumentException
Copyright © 2023 Oracle Corpration. All rights reserved.