Enum Class XMQColorName
- All Implemented Interfaces:
Serializable,Comparable<XMQColorName>,Constable
XMQSyntax:
SYNTAX_C: Comments
SYNTAX_Q: Standalone quote.
SYNTAX_E: Entity
SYNTAX_ENS: Element Namespace
SYNTAX_EN: Element Name
SYNTAX_EK: Element Key
SYNTAX_EKV: Element Key Value
SYNTAX_ANS: Attribute NameSpace
SYNTAX_AK: Attribute Key
SYNTAX_AKV: Attribute Key Value
SYNTAX_CP: Compound Parentheses
SYNTAX_NDC: Namespace declaration
SYNTAX_UW: Unicode Whitespace
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAttribute KeyAttribute Key ValueCommentCompound ParenthesesEntityElement KeyElement Key ValueElement NameName Space (both for element and attribute)Name Space Declaration xmlnsQuoteUnicode whitespaceOverride XLS element names with this color. -
Method Summary
Modifier and TypeMethodDescriptionstatic XMQColorNameReturns the enum constant of this class with the specified name.static XMQColorName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
XMQ_COLOR_C
Comment -
XMQ_COLOR_Q
Quote -
XMQ_COLOR_E
Entity -
XMQ_COLOR_NS
Name Space (both for element and attribute) -
XMQ_COLOR_EN
Element Name -
XMQ_COLOR_EK
Element Key -
XMQ_COLOR_EKV
Element Key Value -
XMQ_COLOR_AK
Attribute Key -
XMQ_COLOR_AKV
Attribute Key Value -
XMQ_COLOR_CP
Compound Parentheses -
XMQ_COLOR_NSD
Name Space Declaration xmlns -
XMQ_COLOR_UW
Unicode whitespace -
XMQ_COLOR_XLS
Override XLS element names with this color.
-
-
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
-