|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.stream.XMLOutputFactory
javanet.staxutils.helpers.FilterXMLOutputFactory
javanet.staxutils.StaxUtilsXMLOutputFactory
public class StaxUtilsXMLOutputFactory
An output factory that optionally wraps a filter around each writer. The
property INDENTING controls indentation of output.
| Field Summary | |
|---|---|
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. |
| Fields inherited from class javanet.staxutils.helpers.FilterXMLOutputFactory |
|---|
source |
| Fields inherited from class javax.xml.stream.XMLOutputFactory |
|---|
IS_REPAIRING_NAMESPACES |
| Constructor Summary | |
|---|---|
StaxUtilsXMLOutputFactory()
|
|
StaxUtilsXMLOutputFactory(XMLOutputFactory source)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class javanet.staxutils.helpers.FilterXMLOutputFactory |
|---|
createXMLEventWriter, createXMLEventWriter, createXMLEventWriter, createXMLEventWriter, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, equals, hashCode |
| Methods inherited from class javax.xml.stream.XMLOutputFactory |
|---|
newFactory, newFactory, newInstance, newInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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.
| Constructor Detail |
|---|
public StaxUtilsXMLOutputFactory()
public StaxUtilsXMLOutputFactory(XMLOutputFactory source)
| Method Detail |
|---|
protected XMLEventWriter filter(XMLEventWriter writer)
FilterXMLOutputFactory
filter in class FilterXMLOutputFactoryprotected XMLStreamWriter filter(XMLStreamWriter writer)
filter in class FilterXMLOutputFactorypublic boolean isPropertySupported(String name)
FilterXMLOutputFactory
isPropertySupported in class FilterXMLOutputFactory
public void setProperty(String name,
Object value)
throws IllegalArgumentException
FilterXMLOutputFactory
setProperty in class FilterXMLOutputFactoryIllegalArgumentException
public Object getProperty(String name)
throws IllegalArgumentException
FilterXMLOutputFactory
getProperty in class FilterXMLOutputFactoryIllegalArgumentExceptionpublic int hashCode()
hashCode in class FilterXMLOutputFactorypublic boolean equals(Object o)
equals in class FilterXMLOutputFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||