Class DelegateXmlOutputFactory
java.lang.Object
javax.xml.stream.XMLOutputFactory
com.atlassian.confluence.content.render.xhtml.DelegateXmlOutputFactory
- All Implemented Interfaces:
XmlOutputFactory
- Direct Known Subclasses:
ConfluenceXmlOutputFactory
This class acts as an adapter between the StAX
XMLOutputFactory abstract class and the Confluence
XmlOutputFactory interface. Instances of this class are also instances of each of those other types.
It eraps an instance of the StAX XMLOutputFactory and delegates all methods to that.
Note that the StAX XMLOutputFactory and the Confluence XmlOutputFactory types declare the same
public methods, and so this class only needs to define them once, and delegate them all to the wrapped
XMLOutputFactory instance.
-
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
-
DelegateXmlOutputFactory
-
-
Method Details
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin interfaceXmlOutputFactory- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin interfaceXmlOutputFactory- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) throws XMLStreamException - Specified by:
createXMLStreamWriterin interfaceXmlOutputFactory- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin interfaceXmlOutputFactory- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin interfaceXmlOutputFactory- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin interfaceXmlOutputFactory- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws XMLStreamException - Specified by:
createXMLEventWriterin interfaceXmlOutputFactory- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin interfaceXmlOutputFactory- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
setProperty
- Specified by:
setPropertyin interfaceXmlOutputFactory- Specified by:
setPropertyin classXMLOutputFactory- Throws:
IllegalArgumentException
-
getProperty
- Specified by:
getPropertyin interfaceXmlOutputFactory- Specified by:
getPropertyin classXMLOutputFactory- Throws:
IllegalArgumentException
-
isPropertySupported
- Specified by:
isPropertySupportedin interfaceXmlOutputFactory- Specified by:
isPropertySupportedin classXMLOutputFactory
-