public enum ShowNonPhraseChanges extends java.lang.Enum<ShowNonPhraseChanges> implements DitaCompareDisplayable
Enum Constant and Description |
---|
ALWAYS
If set to 'always' always wrap in the element set from 'phrase-element-name', defaulting to <ph>.
|
NEVER
If set to 'never' do not show change where a phrase element is not valid.
|
WHERE_VALID
If set to 'where-valid', uses -[[old-text]]- +[[new-text]]+ delimiters to show change where <ph> is not valid.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayDescription()
Returns the user friendly String description of the ShowNonPhraseChanges.
|
java.lang.String |
getDisplayName()
Returns the user friendly String name of the ShowNonPhraseChanges.
|
static ShowNonPhraseChanges |
getShowNonPhraseChanges(java.lang.String value)
Returns a ShowNonPhraseChanges object from the supplied String value if appropriate.
|
static ShowNonPhraseChanges |
parseValue(java.lang.String value)
Returns a ShowNonPhraseChanges object from the supplied String value if appropriate.
|
java.lang.String |
toString()
Returns a String representation of ShowNonPhraseChanges.
|
static ShowNonPhraseChanges |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShowNonPhraseChanges[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShowNonPhraseChanges WHERE_VALID
public static final ShowNonPhraseChanges ALWAYS
public static final ShowNonPhraseChanges NEVER
public static ShowNonPhraseChanges[] values()
for (ShowNonPhraseChanges c : ShowNonPhraseChanges.values()) System.out.println(c);
public static ShowNonPhraseChanges 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 ShowNonPhraseChanges.
getDisplayName
in interface DitaCompareDisplayable
public java.lang.String getDisplayDescription()
Returns the user friendly String description of the ShowNonPhraseChanges.
getDisplayDescription
in interface DitaCompareDisplayable
public java.lang.String toString()
Returns a String representation of ShowNonPhraseChanges.
toString
in class java.lang.Enum<ShowNonPhraseChanges>
public static ShowNonPhraseChanges getShowNonPhraseChanges(java.lang.String value)
Returns a ShowNonPhraseChanges 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 ShowNonPhraseChanges valuepublic static ShowNonPhraseChanges parseValue(java.lang.String value) throws java.lang.IllegalArgumentException
Returns a ShowNonPhraseChanges 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 ShowNonPhraseChanges valuejava.lang.IllegalArgumentException
- Whenever the provided string does not represent one of this enum's enumerated values.Copyright © 2001-2016 DeltaXML Ltd. All Rights Reserved.