public class WrappingXMLOutputFactory extends XMLOutputFactoryWrapper
XMLOutputFactory
wrapper that wraps all XMLEventWriter
and XMLStreamWriter
instances created from it.IS_REPAIRING_NAMESPACES
Constructor and Description |
---|
WrappingXMLOutputFactory(javax.xml.stream.XMLOutputFactory parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(OutputStream stream) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(OutputStream stream,
String encoding) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(Result result) |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(Writer stream) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(OutputStream stream) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(OutputStream stream,
String encoding) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(Result result) |
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(Writer stream) |
protected javax.xml.stream.XMLEventWriter |
wrap(javax.xml.stream.XMLEventWriter writer)
Wrap a writer created from this factory.
|
protected javax.xml.stream.XMLStreamWriter |
wrap(javax.xml.stream.XMLStreamWriter writer)
Wrap a writer created from this factory.
|
getProperty, isPropertySupported, setProperty
newFactory, newFactory, newInstance, newInstance
public WrappingXMLOutputFactory(javax.xml.stream.XMLOutputFactory parent)
parent
- the parent factoryprotected javax.xml.stream.XMLEventWriter wrap(javax.xml.stream.XMLEventWriter writer)
XMLEventWriter
instances created from the factory. The default
implementation simply returns the unwrapped writer.writer
- the writer to wrapprotected javax.xml.stream.XMLStreamWriter wrap(javax.xml.stream.XMLStreamWriter writer)
XMLStreamWriter
instances created from the factory. The default
implementation simply returns the unwrapped writer.writer
- the writer to wrappublic javax.xml.stream.XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws javax.xml.stream.XMLStreamException
createXMLEventWriter
in class XMLOutputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(OutputStream stream) throws javax.xml.stream.XMLStreamException
createXMLEventWriter
in class XMLOutputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(Result result) throws javax.xml.stream.XMLStreamException
createXMLEventWriter
in class XMLOutputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLEventWriter createXMLEventWriter(Writer stream) throws javax.xml.stream.XMLStreamException
createXMLEventWriter
in class XMLOutputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter
in class XMLOutputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(OutputStream stream) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter
in class XMLOutputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(Result result) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter
in class XMLOutputFactoryWrapper
javax.xml.stream.XMLStreamException
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(Writer stream) throws javax.xml.stream.XMLStreamException
createXMLStreamWriter
in class XMLOutputFactoryWrapper
javax.xml.stream.XMLStreamException
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.