public abstract class FilterXMLOutputFactory extends XMLOutputFactory
Modifier and Type | Field and Description |
---|---|
protected XMLOutputFactory |
source |
IS_REPAIRING_NAMESPACES
Constructor and Description |
---|
FilterXMLOutputFactory() |
FilterXMLOutputFactory(XMLOutputFactory source) |
Modifier and Type | Method and Description |
---|---|
XMLEventWriter |
createXMLEventWriter(OutputStream stream) |
XMLEventWriter |
createXMLEventWriter(OutputStream stream,
String encoding) |
XMLEventWriter |
createXMLEventWriter(Result result) |
XMLEventWriter |
createXMLEventWriter(Writer writer) |
XMLStreamWriter |
createXMLStreamWriter(OutputStream stream) |
XMLStreamWriter |
createXMLStreamWriter(OutputStream stream,
String encoding) |
XMLStreamWriter |
createXMLStreamWriter(Result result) |
XMLStreamWriter |
createXMLStreamWriter(Writer writer) |
boolean |
equals(Object o) |
protected static boolean |
equals(Object x,
Object y) |
protected abstract XMLEventWriter |
filter(XMLEventWriter writer)
Transform the given writer.
|
protected abstract XMLStreamWriter |
filter(XMLStreamWriter writer) |
Object |
getProperty(String name)
Delegates to source.
|
int |
hashCode() |
protected static int |
hashCode(Object o) |
boolean |
isPropertySupported(String name)
Delegates to source.
|
void |
setProperty(String name,
Object value)
Delegates to source.
|
newFactory, newFactory, newInstance, newInstance
protected XMLOutputFactory source
public FilterXMLOutputFactory()
public FilterXMLOutputFactory(XMLOutputFactory source)
protected abstract XMLEventWriter filter(XMLEventWriter writer)
protected abstract XMLStreamWriter filter(XMLStreamWriter writer)
public boolean isPropertySupported(String name)
isPropertySupported
in class XMLOutputFactory
public void setProperty(String name, Object value) throws IllegalArgumentException
setProperty
in class XMLOutputFactory
IllegalArgumentException
public Object getProperty(String name) throws IllegalArgumentException
getProperty
in class XMLOutputFactory
IllegalArgumentException
public XMLEventWriter createXMLEventWriter(Result result) throws XMLStreamException
createXMLEventWriter
in class XMLOutputFactory
XMLStreamException
public XMLEventWriter createXMLEventWriter(Writer writer) throws XMLStreamException
createXMLEventWriter
in class XMLOutputFactory
XMLStreamException
public XMLEventWriter createXMLEventWriter(OutputStream stream) throws XMLStreamException
createXMLEventWriter
in class XMLOutputFactory
XMLStreamException
public XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws XMLStreamException
createXMLEventWriter
in class XMLOutputFactory
XMLStreamException
public XMLStreamWriter createXMLStreamWriter(Result result) throws XMLStreamException
createXMLStreamWriter
in class XMLOutputFactory
XMLStreamException
public XMLStreamWriter createXMLStreamWriter(Writer writer) throws XMLStreamException
createXMLStreamWriter
in class XMLOutputFactory
XMLStreamException
public XMLStreamWriter createXMLStreamWriter(OutputStream stream) throws XMLStreamException
createXMLStreamWriter
in class XMLOutputFactory
XMLStreamException
public XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) throws XMLStreamException
createXMLStreamWriter
in class XMLOutputFactory
XMLStreamException
protected static int hashCode(Object o)