javanet.staxutils.helpers
Class FilterXMLOutputFactory
java.lang.Object
javax.xml.stream.XMLOutputFactory
javanet.staxutils.helpers.FilterXMLOutputFactory
- Direct Known Subclasses:
- StaxUtilsXMLOutputFactory
- public abstract class FilterXMLOutputFactory
- extends XMLOutputFactory
An output factory that transforms each writer from a contained factory.
Subclasses are required to implement the transformation.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
source
protected XMLOutputFactory source
FilterXMLOutputFactory
public FilterXMLOutputFactory()
FilterXMLOutputFactory
public FilterXMLOutputFactory(XMLOutputFactory source)
filter
protected abstract XMLEventWriter filter(XMLEventWriter writer)
- Transform the given writer.
filter
protected abstract XMLStreamWriter filter(XMLStreamWriter writer)
isPropertySupported
public boolean isPropertySupported(java.lang.String name)
- Delegates to source.
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws java.lang.IllegalArgumentException
- Delegates to source.
- Throws:
java.lang.IllegalArgumentException
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws java.lang.IllegalArgumentException
- Delegates to source.
- Throws:
java.lang.IllegalArgumentException
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(Result result)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(java.io.Writer writer)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(java.io.OutputStream stream)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(java.io.OutputStream stream,
java.lang.String encoding)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(Result result)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(java.io.Writer writer)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(java.io.OutputStream stream)
throws XMLStreamException
- Throws:
XMLStreamException
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(java.io.OutputStream stream,
java.lang.String encoding)
throws XMLStreamException
- Throws:
XMLStreamException
hashCode
public int hashCode()
hashCode
protected static int hashCode(java.lang.Object o)
equals
public boolean equals(java.lang.Object o)
equals
protected static boolean equals(java.lang.Object x,
java.lang.Object y)