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) booleanisPropertySupported(String name) voidsetProperty(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:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) throws XMLStreamException - Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
getProperty
- Specified by:
getPropertyin classXMLOutputFactory- Throws:
IllegalArgumentException
-
isPropertySupported
- Specified by:
isPropertySupportedin classXMLOutputFactory
-
setProperty
- Specified by:
setPropertyin classXMLOutputFactory- Throws:
IllegalArgumentException
-