java.lang.Object
javax.xml.stream.XMLOutputFactory
com.sun.xml.fastinfoset.stax.factory.StAXOutputFactory
-
Field Summary
FieldsFields inherited from class javax.xml.stream.XMLOutputFactory
IS_REPAIRING_NAMESPACES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateXMLEventWriter
(OutputStream outputStream) createXMLEventWriter
(OutputStream outputStream, String encoding) createXMLEventWriter
(Writer writer) createXMLEventWriter
(Result result) createXMLStreamWriter
(OutputStream outputStream) createXMLStreamWriter
(OutputStream outputStream, String encoding) createXMLStreamWriter
(Writer writer) this is assumed that user wants to write the file in xml formatcreateXMLStreamWriter
(Result result) getProperty
(String name) boolean
isPropertySupported
(String name) void
setProperty
(String name, Object value) Methods inherited from class javax.xml.stream.XMLOutputFactory
newDefaultFactory, newFactory, newFactory, newInstance, newInstance
-
Field Details
-
_manager
-
-
Constructor Details
-
StAXOutputFactory
public StAXOutputFactory()Creates a new instance of StAXOutputFactory
-
-
Method Details
-
createXMLEventWriter
- Specified by:
createXMLEventWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(OutputStream outputStream, String encoding) throws XMLStreamException - Specified by:
createXMLEventWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLStreamWriter
this is assumed that user wants to write the file in xml format- Specified by:
createXMLStreamWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(OutputStream outputStream, String encoding) throws XMLStreamException - Specified by:
createXMLStreamWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
getProperty
- Specified by:
getProperty
in classXMLOutputFactory
- Throws:
IllegalArgumentException
-
isPropertySupported
- Specified by:
isPropertySupported
in classXMLOutputFactory
-
setProperty
- Specified by:
setProperty
in classXMLOutputFactory
- Throws:
IllegalArgumentException
-