public class StaxUtilsXMLOutputFactory extends FilterXMLOutputFactory
INDENTING controls indentation of output.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INDENT
A String property whose value indents one level.
|
static java.lang.String |
INDENTING
A Boolean property controlling whether to indent output.
|
static java.lang.String |
NEW_LINE
A String property whose value introduces a new line for indentation.
|
source| Constructor and Description |
|---|
StaxUtilsXMLOutputFactory() |
StaxUtilsXMLOutputFactory(javax.xml.stream.XMLOutputFactory source) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
protected javax.xml.stream.XMLEventWriter |
filter(javax.xml.stream.XMLEventWriter writer)
Transform the given writer.
|
protected javax.xml.stream.XMLStreamWriter |
filter(javax.xml.stream.XMLStreamWriter writer) |
java.lang.Object |
getProperty(java.lang.String name)
Delegates to source.
|
int |
hashCode() |
boolean |
isPropertySupported(java.lang.String name)
Delegates to source.
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Delegates to source.
|
createXMLEventWriter, createXMLEventWriter, createXMLEventWriter, createXMLEventWriter, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, equals, hashCodepublic static final java.lang.String INDENTING
IndentingXMLEventWriter or
IndentingXMLStreamWriter. The default is false.public static final java.lang.String INDENT
Indentation.DEFAULT_INDENT.public static final java.lang.String NEW_LINE
Indentation.NORMAL_END_OF_LINE.public StaxUtilsXMLOutputFactory()
public StaxUtilsXMLOutputFactory(javax.xml.stream.XMLOutputFactory source)
protected javax.xml.stream.XMLEventWriter filter(javax.xml.stream.XMLEventWriter writer)
FilterXMLOutputFactoryfilter in class FilterXMLOutputFactoryprotected javax.xml.stream.XMLStreamWriter filter(javax.xml.stream.XMLStreamWriter writer)
filter in class FilterXMLOutputFactorypublic boolean isPropertySupported(java.lang.String name)
FilterXMLOutputFactoryisPropertySupported in class FilterXMLOutputFactorypublic void setProperty(java.lang.String name,
java.lang.Object value)
throws java.lang.IllegalArgumentException
FilterXMLOutputFactorysetProperty in class FilterXMLOutputFactoryjava.lang.IllegalArgumentExceptionpublic java.lang.Object getProperty(java.lang.String name)
throws java.lang.IllegalArgumentException
FilterXMLOutputFactorygetProperty in class FilterXMLOutputFactoryjava.lang.IllegalArgumentExceptionpublic int hashCode()
hashCode in class FilterXMLOutputFactorypublic boolean equals(java.lang.Object o)
equals in class FilterXMLOutputFactory