public class XMLOutputFactoryWrapper extends XMLOutputFactory
XMLOutputFactory wrappers. The class provides default implementations for
all methods. Each of them calls the corresponding method in the parent factory.IS_REPAIRING_NAMESPACES| Constructor and Description |
|---|
XMLOutputFactoryWrapper(XMLOutputFactory parent)
Constructor.
|
| 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 XMLOutputFactoryWrapper(XMLOutputFactory parent)
parent - the parent factorypublic XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(OutputStream stream) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(Writer stream) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(OutputStream stream) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(Writer stream) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryXMLStreamExceptionpublic Object getProperty(String name) throws IllegalArgumentException
getProperty in class XMLOutputFactoryIllegalArgumentExceptionpublic boolean isPropertySupported(String name)
isPropertySupported in class XMLOutputFactorypublic void setProperty(String name, Object value) throws IllegalArgumentException
setProperty in class XMLOutputFactoryIllegalArgumentExceptionCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.