Class AbstractXMLOutputFactory
- java.lang.Object
-
- javax.xml.stream.XMLOutputFactory
-
- org.apache.synapse.commons.staxon.core.base.AbstractXMLOutputFactory
-
- Direct Known Subclasses:
JsonXMLOutputFactory
public abstract class AbstractXMLOutputFactory extends XMLOutputFactory
Abstract XML output factory.
-
-
Field Summary
-
Fields inherited from class javax.xml.stream.XMLOutputFactory
IS_REPAIRING_NAMESPACES
-
-
Constructor Summary
Constructors Constructor Description AbstractXMLOutputFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description XMLEventWritercreateXMLEventWriter(OutputStream stream)XMLEventWritercreateXMLEventWriter(OutputStream stream, String encoding)XMLEventWritercreateXMLEventWriter(Writer stream)abstract XMLEventWritercreateXMLEventWriter(XMLStreamWriter writer)XMLEventWritercreateXMLEventWriter(Result result)XMLStreamWritercreateXMLStreamWriter(Result result)ObjectgetProperty(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
-
-
-
-
Method Detail
-
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException
- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(OutputStream stream) throws XMLStreamException
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws XMLStreamException
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(Writer stream) throws XMLStreamException
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
public abstract XMLEventWriter createXMLEventWriter(XMLStreamWriter writer) throws XMLStreamException
- Throws:
XMLStreamException
-
isPropertySupported
public boolean isPropertySupported(String name)
- Specified by:
isPropertySupportedin classXMLOutputFactory
-
getProperty
public Object getProperty(String name) throws IllegalArgumentException
- Specified by:
getPropertyin classXMLOutputFactory- Throws:
IllegalArgumentException
-
setProperty
public void setProperty(String name, Object value) throws IllegalArgumentException
- Specified by:
setPropertyin classXMLOutputFactory- Throws:
IllegalArgumentException
-
-