public enum PatternStyle extends Enum<PatternStyle> implements Enumerator
SecurityPackage.getPatternStyle()
Enum Constant and Description |
---|
ANT
The 'ANT' literal object
|
EXACT
The 'EXACT' literal object
|
REGEX
The 'REGEX' literal object
|
TREE
The 'TREE' literal object
|
Modifier and Type | Field and Description |
---|---|
static int |
ANT_VALUE
The 'ANT' literal value
|
static int |
EXACT_VALUE
The 'EXACT' literal value
|
static int |
REGEX_VALUE
The 'REGEX' literal value
|
static int |
TREE_VALUE
The 'TREE' literal value
|
static List<PatternStyle> |
VALUES
A public read-only list of all the 'Pattern Style' enumerators
|
Modifier and Type | Method and Description |
---|---|
static PatternStyle |
get(int value)
Returns the 'Pattern Style' literal with the specified integer value
|
static PatternStyle |
get(String literal)
Returns the 'Pattern Style' literal with the specified literal value
|
static PatternStyle |
getByName(String name)
Returns the 'Pattern Style' literal with the specified name
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation
|
static PatternStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatternStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatternStyle EXACT
EXACT_VALUE
public static final PatternStyle TREE
TREE_VALUE
public static final PatternStyle ANT
ANT_VALUE
public static final PatternStyle REGEX
REGEX_VALUE
public static final int EXACT_VALUE
If the meaning of 'EXACT' literal object isn't clear, there really should be more of a description here...
EXACT
,
Constant Field Valuespublic static final int TREE_VALUE
If the meaning of 'TREE' literal object isn't clear, there really should be more of a description here...
TREE
,
Constant Field Valuespublic static final int ANT_VALUE
If the meaning of 'ANT' literal object isn't clear, there really should be more of a description here...
ANT
,
Constant Field Valuespublic static final int REGEX_VALUE
If the meaning of 'Regex' literal object isn't clear, there really should be more of a description here...
REGEX
,
Constant Field Valuespublic static final List<PatternStyle> VALUES
public static PatternStyle[] values()
for (PatternStyle c : PatternStyle.values()) System.out.println(c);
public static PatternStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static PatternStyle get(String literal)
public static PatternStyle getByName(String name)
public static PatternStyle get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<PatternStyle>
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.