Package com.iizix.prop
Enum Class SelectorExpression.Token
- All Implemented Interfaces:
- Serializable,- Comparable<SelectorExpression.Token>,- Constable
- Enclosing class:
- SelectorExpression
The token enumeration.
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionSimple token: &&.Simple token: ).Device token: { dev: ""}.The Java class token: { java: className }.Language token: { lang: ""}.Simple token: !.Simple token: (.Simple token: ||.The regular expression token: { regexp: env: "string" }.The selector token: { sel: "ref:/path" }.The wild card token: { wc: env: "string" }.
- Field SummaryFields
- Method SummaryModifier and TypeMethodDescription- static SelectorExpression.TokenReturns the enum constant of this class with the specified name.- static SelectorExpression.Token[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- DEVICEDevice token: { dev: ""}.
- LANGUAGELanguage token: { lang: ""}.
- SELECTORThe selector token: { sel: "ref:/path" }.
- WILD_CARDThe wild card token: { wc: env: "string" }.
- REG_EXPThe regular expression token: { regexp: env: "string" }.
- JAVA_CLASSThe Java class token: { java: className }.
- OPENSimple token: (.
- CLOSESimple token: ).
- ORSimple token: ||.
- ANDSimple token: &&.
- NOTSimple token: !.
 
- Field Details- lengthpublic final int lengthThe length of the token, i.e. the text for e.g. JAVA_CLASS is "java" and is 4.
 
- Method Details- valuesReturns 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
 
- valueOfReturns 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 name
- NullPointerException- if the argument is null