| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<XMLGeneratorVisitor.OutputBehavior>
net.sf.ehcache.config.generator.model.XMLGeneratorVisitor.OutputBehavior
public static enum XMLGeneratorVisitor.OutputBehavior
Enum controlling the generated XML output
| Enum Constant Summary | |
|---|---|
| INDENT_CHIlD_ELEMENTSOutput behavior controlling whether child elements should be indented or not | |
| NEWLINE_AT_ENDOutput behavior controlling whether new lines should be added at the end or not | |
| NEWLINE_FOR_EACH_ATTRIBUTEOutput behavior controlling whether new lines should be added for each attribute | |
| NEWLINE_FOR_EACH_ELEMENTOutput behavior controlling whether new lines should be added for each child element | |
| OUTPUT_OPTIONAL_ATTRIBUTES_WITH_DEFAULT_VALUESOutput behavior controlling whether optional attributes having default values should be generated or not | |
| Method Summary | |
|---|---|
| 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. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
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
| Method Detail | 
|---|
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 name
NullPointerException - if the argument is null| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||