com.sun.xml.fastinfoset.stax.factory
Class StAXOutputFactory
java.lang.Object
javax.xml.stream.XMLOutputFactory
com.sun.xml.fastinfoset.stax.factory.StAXOutputFactory
public class StAXOutputFactory
- extends XMLOutputFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StAXOutputFactory
public StAXOutputFactory()
- Creates a new instance of StAXOutputFactory
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(Result result)
throws XMLStreamException
- Specified by:
createXMLEventWriter in class XMLOutputFactory
- Throws:
XMLStreamException
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(Writer writer)
throws XMLStreamException
- Specified by:
createXMLEventWriter in class XMLOutputFactory
- Throws:
XMLStreamException
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(OutputStream outputStream)
throws XMLStreamException
- Specified by:
createXMLEventWriter in class XMLOutputFactory
- Throws:
XMLStreamException
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(OutputStream outputStream,
String encoding)
throws XMLStreamException
- Specified by:
createXMLEventWriter in class XMLOutputFactory
- Throws:
XMLStreamException
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(Result result)
throws XMLStreamException
- Specified by:
createXMLStreamWriter in class XMLOutputFactory
- Throws:
XMLStreamException
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(Writer writer)
throws XMLStreamException
- this is assumed that user wants to write the file in xml format
- Specified by:
createXMLStreamWriter in class XMLOutputFactory
- Throws:
XMLStreamException
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(OutputStream outputStream)
throws XMLStreamException
- Specified by:
createXMLStreamWriter in class XMLOutputFactory
- Throws:
XMLStreamException
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(OutputStream outputStream,
String encoding)
throws XMLStreamException
- Specified by:
createXMLStreamWriter in class XMLOutputFactory
- Throws:
XMLStreamException
getProperty
public Object getProperty(String name)
throws IllegalArgumentException
- Specified by:
getProperty in class XMLOutputFactory
- Throws:
IllegalArgumentException
isPropertySupported
public boolean isPropertySupported(String name)
- Specified by:
isPropertySupported in class XMLOutputFactory
setProperty
public void setProperty(String name,
Object value)
throws IllegalArgumentException
- Specified by:
setProperty in class XMLOutputFactory
- Throws:
IllegalArgumentException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.