Class StAXOutputFactory
- java.lang.Object
-
- javax.xml.stream.XMLOutputFactory
-
- com.sun.xml.fastinfoset.stax.factory.StAXOutputFactory
-
public class StAXOutputFactory extends javax.xml.stream.XMLOutputFactory
-
-
Field Summary
Fields Modifier and Type Field Description private StAXManager_manager
-
Constructor Summary
Constructors Constructor Description StAXOutputFactory()Creates a new instance of StAXOutputFactory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.stream.XMLEventWritercreateXMLEventWriter(java.io.OutputStream outputStream)javax.xml.stream.XMLEventWritercreateXMLEventWriter(java.io.OutputStream outputStream, java.lang.String encoding)javax.xml.stream.XMLEventWritercreateXMLEventWriter(java.io.Writer writer)javax.xml.stream.XMLEventWritercreateXMLEventWriter(javax.xml.transform.Result result)javax.xml.stream.XMLStreamWritercreateXMLStreamWriter(java.io.OutputStream outputStream)javax.xml.stream.XMLStreamWritercreateXMLStreamWriter(java.io.OutputStream outputStream, java.lang.String encoding)javax.xml.stream.XMLStreamWritercreateXMLStreamWriter(java.io.Writer writer)this is assumed that user wants to write the file in xml formatjavax.xml.stream.XMLStreamWritercreateXMLStreamWriter(javax.xml.transform.Result result)java.lang.ObjectgetProperty(java.lang.String name)booleanisPropertySupported(java.lang.String name)voidsetProperty(java.lang.String name, java.lang.Object value)
-
-
-
Field Detail
-
_manager
private StAXManager _manager
-
-
Method Detail
-
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(javax.xml.transform.Result result) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLEventWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.Writer writer) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLEventWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream outputStream) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLEventWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream outputStream, java.lang.String encoding) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLEventWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(javax.xml.transform.Result result) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLStreamWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.Writer writer) throws javax.xml.stream.XMLStreamExceptionthis is assumed that user wants to write the file in xml format- Specified by:
createXMLStreamWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream outputStream) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLStreamWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream outputStream, java.lang.String encoding) throws javax.xml.stream.XMLStreamException- Specified by:
createXMLStreamWriterin classjavax.xml.stream.XMLOutputFactory- Throws:
javax.xml.stream.XMLStreamException
-
getProperty
public java.lang.Object getProperty(java.lang.String name) throws java.lang.IllegalArgumentException- Specified by:
getPropertyin classjavax.xml.stream.XMLOutputFactory- Throws:
java.lang.IllegalArgumentException
-
isPropertySupported
public boolean isPropertySupported(java.lang.String name)
- Specified by:
isPropertySupportedin classjavax.xml.stream.XMLOutputFactory
-
setProperty
public void setProperty(java.lang.String name, java.lang.Object value) throws java.lang.IllegalArgumentException- Specified by:
setPropertyin classjavax.xml.stream.XMLOutputFactory- Throws:
java.lang.IllegalArgumentException
-
-