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 javax.xml.stream.XMLOutputFactory
An output factory that transforms each writer from a contained factory.
Subclasses are required to implement the transformation.
|
Field Summary |
protected javax.xml.stream.XMLOutputFactory |
source
|
| Fields inherited from class javax.xml.stream.XMLOutputFactory |
IS_REPAIRING_NAMESPACES |
|
Method Summary |
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.OutputStream stream)
|
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.OutputStream stream,
java.lang.String encoding)
|
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(javax.xml.transform.Result result)
|
javax.xml.stream.XMLEventWriter |
createXMLEventWriter(java.io.Writer writer)
|
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(java.io.OutputStream stream)
|
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(java.io.OutputStream stream,
java.lang.String encoding)
|
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(javax.xml.transform.Result result)
|
javax.xml.stream.XMLStreamWriter |
createXMLStreamWriter(java.io.Writer writer)
|
boolean |
equals(java.lang.Object o)
|
protected static boolean |
equals(java.lang.Object x,
java.lang.Object y)
|
protected abstract javax.xml.stream.XMLEventWriter |
filter(javax.xml.stream.XMLEventWriter writer)
Transform the given writer. |
protected abstract javax.xml.stream.XMLStreamWriter |
filter(javax.xml.stream.XMLStreamWriter writer)
|
java.lang.Object |
getProperty(java.lang.String name)
Delegates to source. |
int |
hashCode()
|
protected static int |
hashCode(java.lang.Object o)
|
boolean |
isPropertySupported(java.lang.String name)
Delegates to source. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Delegates to source. |
| Methods inherited from class javax.xml.stream.XMLOutputFactory |
newFactory, newFactory, newInstance, newInstance |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
source
protected javax.xml.stream.XMLOutputFactory source
FilterXMLOutputFactory
public FilterXMLOutputFactory()
FilterXMLOutputFactory
public FilterXMLOutputFactory(javax.xml.stream.XMLOutputFactory source)
filter
protected abstract javax.xml.stream.XMLEventWriter filter(javax.xml.stream.XMLEventWriter writer)
- Transform the given writer.
filter
protected abstract javax.xml.stream.XMLStreamWriter filter(javax.xml.stream.XMLStreamWriter writer)
isPropertySupported
public boolean isPropertySupported(java.lang.String name)
- Delegates to source.
- Specified by:
isPropertySupported in class javax.xml.stream.XMLOutputFactory
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws java.lang.IllegalArgumentException
- Delegates to source.
- Specified by:
setProperty in class javax.xml.stream.XMLOutputFactory
- Throws:
java.lang.IllegalArgumentException
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws java.lang.IllegalArgumentException
- Delegates to source.
- Specified by:
getProperty in class javax.xml.stream.XMLOutputFactory
- Throws:
java.lang.IllegalArgumentException
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(javax.xml.transform.Result result)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.Writer writer)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream stream)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLEventWriter
public javax.xml.stream.XMLEventWriter createXMLEventWriter(java.io.OutputStream stream,
java.lang.String encoding)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLEventWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(javax.xml.transform.Result result)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.Writer writer)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream stream)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
createXMLStreamWriter
public javax.xml.stream.XMLStreamWriter createXMLStreamWriter(java.io.OutputStream stream,
java.lang.String encoding)
throws javax.xml.stream.XMLStreamException
- Specified by:
createXMLStreamWriter in class javax.xml.stream.XMLOutputFactory
- Throws:
javax.xml.stream.XMLStreamException
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
hashCode
protected static int hashCode(java.lang.Object o)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
equals
protected static boolean equals(java.lang.Object x,
java.lang.Object y)
Copyright © 2013. All Rights Reserved.