Package javanet.staxutils.helpers
Class FilterXMLOutputFactory
java.lang.Object
javax.xml.stream.XMLOutputFactory
javanet.staxutils.helpers.FilterXMLOutputFactory
- Direct Known Subclasses:
StaxUtilsXMLOutputFactory
An output factory that transforms each writer from a contained factory.
Subclasses are required to implement the transformation.
-
Field Summary
FieldsFields inherited from class javax.xml.stream.XMLOutputFactory
IS_REPAIRING_NAMESPACES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateXMLEventWriter(OutputStream stream) createXMLEventWriter(OutputStream stream, String encoding) createXMLEventWriter(Writer writer) createXMLEventWriter(Result result) createXMLStreamWriter(OutputStream stream) createXMLStreamWriter(OutputStream stream, String encoding) createXMLStreamWriter(Writer writer) createXMLStreamWriter(Result result) booleanprotected static booleanprotected abstract XMLEventWriterfilter(XMLEventWriter writer) Transform the given writer.protected abstract XMLStreamWriterfilter(XMLStreamWriter writer) getProperty(String name) Delegates to source.inthashCode()protected static intbooleanisPropertySupported(String name) Delegates to source.voidsetProperty(String name, Object value) Delegates to source.Methods inherited from class javax.xml.stream.XMLOutputFactory
newDefaultFactory, newFactory, newFactory, newInstance, newInstance
-
Field Details
-
source
-
-
Constructor Details
-
FilterXMLOutputFactory
public FilterXMLOutputFactory() -
FilterXMLOutputFactory
-
-
Method Details
-
filter
Transform the given writer. -
filter
-
isPropertySupported
Delegates to source.- Specified by:
isPropertySupportedin classXMLOutputFactory
-
setProperty
Delegates to source.- Specified by:
setPropertyin classXMLOutputFactory- Throws:
IllegalArgumentException
-
getProperty
Delegates to source.- Specified by:
getPropertyin classXMLOutputFactory- Throws:
IllegalArgumentException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
- Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLEventWriter
public XMLEventWriter createXMLEventWriter(OutputStream stream, String encoding) throws XMLStreamException - Specified by:
createXMLEventWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
- Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
createXMLStreamWriter
public XMLStreamWriter createXMLStreamWriter(OutputStream stream, String encoding) throws XMLStreamException - Specified by:
createXMLStreamWriterin classXMLOutputFactory- Throws:
XMLStreamException
-
hashCode
public int hashCode() -
hashCode
-
equals
-
equals
-