public static enum XmlWriter.WriterFlags extends java.lang.Enum<XmlWriter.WriterFlags>
Enum Constant and Description |
---|
EXPAND_EMPTY
Use start/end element pair format for empty elements
|
PRETTY_PRINT
Pretty print the XML document.
|
WRITE_HEADER
Output xml header
|
Modifier and Type | Method and Description |
---|---|
static XmlWriter.WriterFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XmlWriter.WriterFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XmlWriter.WriterFlags WRITE_HEADER
public static final XmlWriter.WriterFlags EXPAND_EMPTY
public static final XmlWriter.WriterFlags PRETTY_PRINT
public static XmlWriter.WriterFlags[] values()
for (XmlWriter.WriterFlags c : XmlWriter.WriterFlags.values()) System.out.println(c);
public static XmlWriter.WriterFlags valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null