public static enum XMLGeneratorVisitor.OutputBehavior extends Enum<XMLGeneratorVisitor.OutputBehavior>
Enum Constant and Description |
---|
INDENT_CHIlD_ELEMENTS
Output behavior controlling whether child elements should be indented or not
|
NEWLINE_AT_END
Output behavior controlling whether new lines should be added at the end or not
|
NEWLINE_FOR_EACH_ATTRIBUTE
Output behavior controlling whether new lines should be added for each attribute
|
NEWLINE_FOR_EACH_ELEMENT
Output behavior controlling whether new lines should be added for each child element
|
OUTPUT_OPTIONAL_ATTRIBUTES_WITH_DEFAULT_VALUES
Output behavior controlling whether optional attributes having default values should be generated or not
|
Modifier and Type | Method and Description |
---|---|
static XMLGeneratorVisitor.OutputBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMLGeneratorVisitor.OutputBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLGeneratorVisitor.OutputBehavior INDENT_CHIlD_ELEMENTS
public static final XMLGeneratorVisitor.OutputBehavior NEWLINE_FOR_EACH_ELEMENT
public static final XMLGeneratorVisitor.OutputBehavior NEWLINE_FOR_EACH_ATTRIBUTE
public static final XMLGeneratorVisitor.OutputBehavior OUTPUT_OPTIONAL_ATTRIBUTES_WITH_DEFAULT_VALUES
public static final XMLGeneratorVisitor.OutputBehavior NEWLINE_AT_END
public static XMLGeneratorVisitor.OutputBehavior[] values()
for (XMLGeneratorVisitor.OutputBehavior c : XMLGeneratorVisitor.OutputBehavior.values()) System.out.println(c);
public static XMLGeneratorVisitor.OutputBehavior valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2003–2016 Terracotta, Inc.. All rights reserved.