public class DelegateXmlOutputFactory extends XMLOutputFactory implements XmlOutputFactory
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.
IS_REPAIRING_NAMESPACES| Constructor and Description |
|---|
DelegateXmlOutputFactory(XMLOutputFactory staxXmlOutputFactory) |
| Modifier and Type | Method and Description |
|---|---|
XMLEventWriter |
createXMLEventWriter(OutputStream stream) |
XMLEventWriter |
createXMLEventWriter(OutputStream stream,
String encoding) |
XMLEventWriter |
createXMLEventWriter(Result result) |
XMLEventWriter |
createXMLEventWriter(Writer stream) |
XMLStreamWriter |
createXMLStreamWriter(OutputStream stream) |
XMLStreamWriter |
createXMLStreamWriter(OutputStream stream,
String encoding) |
XMLStreamWriter |
createXMLStreamWriter(Result result) |
XMLStreamWriter |
createXMLStreamWriter(Writer stream) |
Object |
getProperty(String name) |
boolean |
isPropertySupported(String name) |
void |
setProperty(String name,
Object value) |
newFactory, newFactory, newInstance, newInstancepublic DelegateXmlOutputFactory(XMLOutputFactory staxXmlOutputFactory)
public XMLStreamWriter createXMLStreamWriter(Writer stream) throws XMLStreamException
createXMLStreamWriter in interface XmlOutputFactorycreateXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(OutputStream stream) throws XMLStreamException
createXMLStreamWriter in interface XmlOutputFactorycreateXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) throws XMLStreamException
createXMLStreamWriter in interface XmlOutputFactorycreateXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException
createXMLStreamWriter in interface XmlOutputFactorycreateXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException
createXMLEventWriter in interface XmlOutputFactorycreateXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(OutputStream stream) throws XMLStreamException
createXMLEventWriter in interface XmlOutputFactorycreateXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws XMLStreamException
createXMLEventWriter in interface XmlOutputFactorycreateXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(Writer stream) throws XMLStreamException
createXMLEventWriter in interface XmlOutputFactorycreateXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic void setProperty(String name, Object value) throws IllegalArgumentException
setProperty in interface XmlOutputFactorysetProperty in class XMLOutputFactoryIllegalArgumentExceptionpublic Object getProperty(String name) throws IllegalArgumentException
getProperty in interface XmlOutputFactorygetProperty in class XMLOutputFactoryIllegalArgumentExceptionpublic boolean isPropertySupported(String name)
isPropertySupported in interface XmlOutputFactoryisPropertySupported in class XMLOutputFactoryCopyright © 2003–2021 Atlassian. All rights reserved.