public class StaxUtilsXMLOutputFactory extends FilterXMLOutputFactory
INDENTING
controls indentation of output.Modifier and Type | Field and Description |
---|---|
static String |
INDENT
A String property whose value indents one level.
|
static String |
INDENTING
A Boolean property controlling whether to indent output.
|
static 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(Object o) |
protected XMLEventWriter |
filter(XMLEventWriter writer)
Transform the given writer.
|
protected XMLStreamWriter |
filter(XMLStreamWriter writer) |
Object |
getProperty(String name)
Delegates to source.
|
int |
hashCode() |
boolean |
isPropertySupported(String name)
Delegates to source.
|
void |
setProperty(String name,
Object value)
Delegates to source.
|
createXMLEventWriter, createXMLEventWriter, createXMLEventWriter, createXMLEventWriter, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, equals, hashCode
newFactory, newFactory, newInstance, newInstance
public static final String INDENTING
IndentingXMLEventWriter
or
IndentingXMLStreamWriter
. The default is false.public static final String INDENT
Indentation.DEFAULT_INDENT
.public static final 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(String name)
FilterXMLOutputFactory
isPropertySupported
in class FilterXMLOutputFactory
public void setProperty(String name, Object value) throws IllegalArgumentException
FilterXMLOutputFactory
setProperty
in class FilterXMLOutputFactory
IllegalArgumentException
public Object getProperty(String name) throws IllegalArgumentException
FilterXMLOutputFactory
getProperty
in class FilterXMLOutputFactory
IllegalArgumentException
public int hashCode()
hashCode
in class FilterXMLOutputFactory
public boolean equals(Object o)
equals
in class FilterXMLOutputFactory