Package com.deltaxml.docbook.config
Enum Class StandaloneDeclaration
- All Implemented Interfaces:
com.deltaxml.docbook.DocBookCompareDisplayable,Serializable,Comparable<StandaloneDeclaration>,Constable
public enum StandaloneDeclaration
extends Enum<StandaloneDeclaration>
implements com.deltaxml.docbook.DocBookCompareDisplayable
Represents the values for the standalone setting in the XML declaration.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnsure the standalone attribute is set to 'no' in the output XML declaration.Ensure there is no standalone attribute in the output XML declaration.Deprecated: has the same affect as the omit value.Ensure the standalone attribute is set to 'yes' in the output XML declaration. -
Method Summary
Modifier and TypeMethodDescriptionReturns the user friendly String description of the StandaloneDeclaration.Returns the user friendly String name of the StandaloneDeclaration.toString()static StandaloneDeclarationReturns the enum constant of this class with the specified name.static StandaloneDeclaration[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
YES
Ensure the standalone attribute is set to 'yes' in the output XML declaration. -
NO
Ensure the standalone attribute is set to 'no' in the output XML declaration. -
OMIT
Ensure there is no standalone attribute in the output XML declaration. -
SYSTEM
Deprecated: has the same affect as the omit value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getDisplayName
Returns the user friendly String name of the StandaloneDeclaration.
- Specified by:
getDisplayNamein interfacecom.deltaxml.docbook.DocBookCompareDisplayable- Returns:
- a user friendly String representing the StandaloneDeclaration object
-
getDisplayDescription
Returns the user friendly String description of the StandaloneDeclaration.
- Specified by:
getDisplayDescriptionin interfacecom.deltaxml.docbook.DocBookCompareDisplayable- Returns:
- a user friendly String description representing the StandaloneDeclaration object
-
toString
- Overrides:
toStringin classEnum<StandaloneDeclaration>
-