public class WrappingXMLOutputFactory extends XMLOutputFactoryWrapper
XMLOutputFactory wrapper that wraps all XMLEventWriter and XMLStreamWriter
instances created from it.IS_REPAIRING_NAMESPACES| Constructor and Description |
|---|
WrappingXMLOutputFactory(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) |
protected XMLEventWriter |
wrap(XMLEventWriter writer)
Wrap a writer created from this factory.
|
protected XMLStreamWriter |
wrap(XMLStreamWriter writer)
Wrap a writer created from this factory.
|
getProperty, isPropertySupported, setPropertynewFactory, newFactory, newInstance, newInstancepublic WrappingXMLOutputFactory(XMLOutputFactory parent)
parent - the parent factoryprotected XMLEventWriter wrap(XMLEventWriter writer)
XMLEventWriter instances created from the factory. The default
implementation simply returns the unwrapped writer.writer - the writer to wrapprotected XMLStreamWriter wrap(XMLStreamWriter writer)
XMLStreamWriter instances created from the factory. The default
implementation simply returns the unwrapped writer.writer - the writer to wrappublic XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryWrapperXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(OutputStream stream) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryWrapperXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryWrapperXMLStreamExceptionpublic XMLEventWriter createXMLEventWriter(Writer stream) throws XMLStreamException
createXMLEventWriter in class XMLOutputFactoryWrapperXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryWrapperXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(OutputStream stream) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryWrapperXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryWrapperXMLStreamExceptionpublic XMLStreamWriter createXMLStreamWriter(Writer stream) throws XMLStreamException
createXMLStreamWriter in class XMLOutputFactoryWrapperXMLStreamExceptionCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.