Class AbstractXMLOutputFactory
java.lang.Object
javax.xml.stream.XMLOutputFactory
org.apache.synapse.commons.staxon.core.base.AbstractXMLOutputFactory
- Direct Known Subclasses:
JsonXMLOutputFactory
Abstract XML output factory.
-
Field Summary
Fields inherited from class javax.xml.stream.XMLOutputFactory
IS_REPAIRING_NAMESPACES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateXMLEventWriter(OutputStream stream) createXMLEventWriter(OutputStream stream, String encoding) createXMLEventWriter(Writer stream) abstract XMLEventWritercreateXMLEventWriter(XMLStreamWriter writer) createXMLEventWriter(Result result) createXMLStreamWriter(Result result) getProperty(String name) booleanisPropertySupported(String name) voidsetProperty(String name, Object value) Methods inherited from class javax.xml.stream.XMLOutputFactory
createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, newDefaultFactory, newFactory, newFactory, newInstance, newInstance
-
Constructor Details
-
AbstractXMLOutputFactory
public AbstractXMLOutputFactory()
-
-
Method Details
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws XMLStreamException - Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
public abstract XMLEventWriter createXMLEventWriter(XMLStreamWriter writer) throws XMLStreamException - Throws:
XMLStreamException
-
isPropertySupported
- Specified by:
isPropertySupportedin classXMLOutputFactory
-
getProperty
- Specified by:
getPropertyin classXMLOutputFactory- Throws:
IllegalArgumentException
-
setProperty
- Specified by:
setPropertyin classXMLOutputFactory- Throws:
IllegalArgumentException
-