public enum InvalidTableBehaviour extends java.lang.Enum<InvalidTableBehaviour> implements DocBookCompareDisplayable
Enum Constant and Description |
---|
COMPARE_AS_XML
Compare the table content as well-formed XML.
|
FAIL
Throw an exception.
|
PROPAGATE_UP
Propagate the changes to the table-level.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayDescription()
Returns the user friendly String description of the InvalidTableBehaviour.
|
java.lang.String |
getDisplayName()
Returns the user friendly String name of the InvalidTableBehaviour.
|
static InvalidTableBehaviour |
getInvalidTableBehaviour(java.lang.String value)
Returns a InvalidTableBehaviour object from the supplied String value if appropriate.
|
static InvalidTableBehaviour |
parseValue(java.lang.String value)
Returns a InvalidTableBehaviour object from the supplied String value if appropriate.
|
java.lang.String |
toString()
Returns a String representation of InvalidTableBehaviour.
|
static InvalidTableBehaviour |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvalidTableBehaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidTableBehaviour FAIL
public static final InvalidTableBehaviour PROPAGATE_UP
public static final InvalidTableBehaviour COMPARE_AS_XML
public static InvalidTableBehaviour[] values()
for (InvalidTableBehaviour c : InvalidTableBehaviour.values()) System.out.println(c);
public static InvalidTableBehaviour 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 InvalidTableBehaviour.
getDisplayName
in interface DocBookCompareDisplayable
public java.lang.String getDisplayDescription()
Returns the user friendly String description of the InvalidTableBehaviour.
getDisplayDescription
in interface DocBookCompareDisplayable
public java.lang.String toString()
Returns a String representation of InvalidTableBehaviour.
toString
in class java.lang.Enum<InvalidTableBehaviour>
public static InvalidTableBehaviour getInvalidTableBehaviour(java.lang.String value)
Returns a InvalidTableBehaviour 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 InvalidTableBehaviour valuepublic static InvalidTableBehaviour parseValue(java.lang.String value) throws java.lang.IllegalArgumentException
Returns a InvalidTableBehaviour 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 InvalidTableBehaviour 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.