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
IS_REPAIRING_NAMESPACES
Constructor and Description |
---|
StaxUtilsXMLOutputFactory() |
StaxUtilsXMLOutputFactory(XMLOutputFactory source) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
protected XMLEventWriter |
filter(XMLEventWriter writer)
Transform the given writer.
|
protected XMLStreamWriter |
filter(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
newFactory, newFactory, newInstance, newInstance
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(XMLOutputFactory source)
protected XMLEventWriter filter(XMLEventWriter writer)
FilterXMLOutputFactory
filter
in class FilterXMLOutputFactory
protected XMLStreamWriter filter(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