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.
|
sourceIS_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, hashCodenewFactory, newFactory, newInstance, newInstancepublic 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)
FilterXMLOutputFactoryfilter in class FilterXMLOutputFactoryprotected XMLStreamWriter filter(XMLStreamWriter writer)
filter in class FilterXMLOutputFactorypublic boolean isPropertySupported(String name)
FilterXMLOutputFactoryisPropertySupported in class FilterXMLOutputFactorypublic void setProperty(String name, Object value) throws IllegalArgumentException
FilterXMLOutputFactorysetProperty in class FilterXMLOutputFactoryIllegalArgumentExceptionpublic Object getProperty(String name) throws IllegalArgumentException
FilterXMLOutputFactorygetProperty in class FilterXMLOutputFactoryIllegalArgumentExceptionpublic int hashCode()
hashCode in class FilterXMLOutputFactorypublic boolean equals(Object o)
equals in class FilterXMLOutputFactoryCopyright © 2020. All rights reserved.