Package cdc.util.data.tools
Enum XmlNormalizer.MainArgs.Feature
- java.lang.Object
-
- java.lang.Enum<XmlNormalizer.MainArgs.Feature>
-
- cdc.util.data.tools.XmlNormalizer.MainArgs.Feature
-
- All Implemented Interfaces:
OptionEnum,Serializable,Comparable<XmlNormalizer.MainArgs.Feature>
- Enclosing class:
- XmlNormalizer.MainArgs
public static enum XmlNormalizer.MainArgs.Feature extends Enum<XmlNormalizer.MainArgs.Feature> implements OptionEnum
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()static XmlNormalizer.MainArgs.FeaturevalueOf(String name)Returns the enum constant of this type with the specified name.static XmlNormalizer.MainArgs.Feature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRETTY_PRINT
public static final XmlNormalizer.MainArgs.Feature PRETTY_PRINT
-
USE_XML_EOL
public static final XmlNormalizer.MainArgs.Feature USE_XML_EOL
-
APPEND_FINAL_EOL
public static final XmlNormalizer.MainArgs.Feature APPEND_FINAL_EOL
-
USE_SINGLE_QUOTE
public static final XmlNormalizer.MainArgs.Feature USE_SINGLE_QUOTE
-
ALWAYS_ENTITIZE_ATTRIBUTES
public static final XmlNormalizer.MainArgs.Feature ALWAYS_ENTITIZE_ATTRIBUTES
-
SORT_ATTRIBUTES
public static final XmlNormalizer.MainArgs.Feature SORT_ATTRIBUTES
-
SCRAMBLE_ATTRIBUTES
public static final XmlNormalizer.MainArgs.Feature SCRAMBLE_ATTRIBUTES
-
SORT_ELEMENTS
public static final XmlNormalizer.MainArgs.Feature SORT_ELEMENTS
-
SCRAMBLE_ELEMENTS
public static final XmlNormalizer.MainArgs.Feature SCRAMBLE_ELEMENTS
-
REMOVE_EMPTY_ATTRIBUTES
public static final XmlNormalizer.MainArgs.Feature REMOVE_EMPTY_ATTRIBUTES
-
REMOVE_PURE_ELEMENTS
public static final XmlNormalizer.MainArgs.Feature REMOVE_PURE_ELEMENTS
-
REMOVE_COMMENTS
public static final XmlNormalizer.MainArgs.Feature REMOVE_COMMENTS
-
DELAYED_PROCESSING
public static final XmlNormalizer.MainArgs.Feature DELAYED_PROCESSING
-
-
Method Detail
-
values
public static XmlNormalizer.MainArgs.Feature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (XmlNormalizer.MainArgs.Feature c : XmlNormalizer.MainArgs.Feature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XmlNormalizer.MainArgs.Feature valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public final String getName()
- Specified by:
getNamein interfaceOptionEnum
-
getDescription
public final String getDescription()
- Specified by:
getDescriptionin interfaceOptionEnum
-
-