public enum StandaloneDeclaration extends java.lang.Enum<StandaloneDeclaration> implements DocBookCompareDisplayable
Enum Constant and Description |
---|
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.
|
YES
Ensure the standalone attribute is set to 'yes' in the output XML declaration.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayDescription()
Returns the user friendly String description of the StandaloneDeclaration.
|
java.lang.String |
getDisplayName()
Returns the user friendly String name of the StandaloneDeclaration.
|
static StandaloneDeclaration |
getStandaloneDeclaration(java.lang.String value)
Returns a StandaloneDeclaration object from the supplied String value if appropriate.
|
static StandaloneDeclaration |
parseValue(java.lang.String value)
Returns a StandaloneDeclaration object from the supplied String value if appropriate.
|
java.lang.String |
toString()
Returns a String representation of StandaloneDeclaration.
|
static StandaloneDeclaration |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StandaloneDeclaration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandaloneDeclaration YES
public static final StandaloneDeclaration NO
public static final StandaloneDeclaration OMIT
public static final StandaloneDeclaration SYSTEM
public static StandaloneDeclaration[] values()
for (StandaloneDeclaration c : StandaloneDeclaration.values()) System.out.println(c);
public static StandaloneDeclaration 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 nullpublic java.lang.String getDisplayName()
Returns the user friendly String name of the StandaloneDeclaration.
getDisplayName
in interface DocBookCompareDisplayable
public java.lang.String getDisplayDescription()
Returns the user friendly String description of the StandaloneDeclaration.
getDisplayDescription
in interface DocBookCompareDisplayable
public java.lang.String toString()
Returns a String representation of StandaloneDeclaration.
toString
in class java.lang.Enum<StandaloneDeclaration>
public static StandaloneDeclaration getStandaloneDeclaration(java.lang.String value)
Returns a StandaloneDeclaration object from the supplied String value if appropriate.
This method should not be used under normal circumstances, enum instance values should be used instead.
value
- a String representation of a StandaloneDeclaration valuepublic static StandaloneDeclaration parseValue(java.lang.String value) throws java.lang.IllegalArgumentException
Returns a StandaloneDeclaration object from the supplied String value if appropriate.
This method should not be used under normal circumstances, enum instance values should be used instead.
value
- a String representation of a StandaloneDeclaration valuejava.lang.IllegalArgumentException
- Whenever the provided string does not represent one of this enum'e enumerated values.Copyright (c) 2010-2016 DeltaXML Ltd. All Rights Reserved.