Class XMLOutputFactoryWrapper
java.lang.Object
javax.xml.stream.XMLOutputFactory
org.apache.axiom.util.stax.wrapper.XMLOutputFactoryWrapper
- Direct Known Subclasses:
ImmutableXMLOutputFactory
,WrappingXMLOutputFactory
Base class for
XMLOutputFactory
wrappers. The class provides default implementations for
all methods. Each of them calls the corresponding method in the parent 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) createXMLEventWriter
(Result result) createXMLStreamWriter
(OutputStream stream) createXMLStreamWriter
(OutputStream stream, String encoding) createXMLStreamWriter
(Writer stream) createXMLStreamWriter
(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
-
Constructor Details
-
XMLOutputFactoryWrapper
Constructor.- Parameters:
parent
- the parent factory
-
-
Method Details
-
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws XMLStreamException - Specified by:
createXMLEventWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) throws XMLStreamException - Specified by:
createXMLStreamWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriter
in classXMLOutputFactory
- Throws:
XMLStreamException
-
createXMLStreamWriter
- 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
-