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, hashCode
public 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)
FilterXMLOutputFactory
filter
in class FilterXMLOutputFactory
protected javax.xml.stream.XMLStreamWriter filter(javax.xml.stream.XMLStreamWriter writer)
filter
in class FilterXMLOutputFactory
public boolean isPropertySupported(java.lang.String name)
FilterXMLOutputFactory
isPropertySupported
in class FilterXMLOutputFactory
public void setProperty(java.lang.String name, java.lang.Object value) throws java.lang.IllegalArgumentException
FilterXMLOutputFactory
setProperty
in class FilterXMLOutputFactory
java.lang.IllegalArgumentException
public java.lang.Object getProperty(java.lang.String name) throws java.lang.IllegalArgumentException
FilterXMLOutputFactory
getProperty
in class FilterXMLOutputFactory
java.lang.IllegalArgumentException
public int hashCode()
hashCode
in class FilterXMLOutputFactory
public boolean equals(java.lang.Object o)
equals
in class FilterXMLOutputFactory