public class StAXOutputFactory
extends javax.xml.stream.XMLOutputFactory
| Constructor | Description |
|---|---|
StAXOutputFactory() |
Creates a new instance of StAXOutputFactory
|
| Modifier and Type | Method | Description |
|---|---|---|
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.OutputStream outputStream) |
|
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.OutputStream outputStream,
java.lang.String encoding) |
|
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.Writer writer) |
|
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(javax.xml.transform.Result result) |
|
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(java.io.OutputStream outputStream) |
|
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(java.io.OutputStream outputStream,
java.lang.String encoding) |
|
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(java.io.Writer writer) |
this is assumed that user wants to write the file in xml format
|
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(javax.xml.transform.Result result) |
|
java.lang.Object |
getProperty(java.lang.String name) |
|
boolean |
isPropertySupported(java.lang.String name) |
|
void |
setProperty(java.lang.String name,
java.lang.Object value) |
public StAXOutputFactory()
public 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 writer)
throws javax.xml.stream.XMLStreamException
createXMLEventWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream outputStream)
throws javax.xml.stream.XMLStreamException
createXMLEventWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream outputStream,
java.lang.String encoding)
throws javax.xml.stream.XMLStreamException
createXMLEventWriter 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 writer)
throws javax.xml.stream.XMLStreamException
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream outputStream)
throws javax.xml.stream.XMLStreamException
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream outputStream,
java.lang.String encoding)
throws javax.xml.stream.XMLStreamException
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactoryjavax.xml.stream.XMLStreamExceptionpublic java.lang.Object getProperty(java.lang.String name)
throws java.lang.IllegalArgumentException
getProperty in class javax.xml.stream.XMLOutputFactoryjava.lang.IllegalArgumentExceptionpublic boolean isPropertySupported(java.lang.String name)
isPropertySupported in class javax.xml.stream.XMLOutputFactorypublic void setProperty(java.lang.String name,
java.lang.Object value)
throws java.lang.IllegalArgumentException
setProperty in class javax.xml.stream.XMLOutputFactoryjava.lang.IllegalArgumentExceptionCopyright © 2018 Oracle Corporation. All rights reserved.