|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Subtag.Type> org.apache.abdera.i18n.rfc4646.Subtag.Type
public static enum Subtag.Type
Enum Constant Summary | |
---|---|
EXTENSION
Extension subtag |
|
EXTLANG
Extended Language subtag |
|
GRANDFATHERED
Grandfathered subtag |
|
PRIMARY
Primary language subtag |
|
PRIVATEUSE
Primary-use subtag |
|
REGION
Region subtag |
|
SCRIPT
Script subtag |
|
SIMPLE
Simple subtag (ranges) |
|
SINGLETON
Singleton subtag |
|
VARIANT
Variant subtag |
|
WILDCARD
Wildcard subtag ("*") |
Method Summary | |
---|---|
static Subtag.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Subtag.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Subtag.Type PRIMARY
public static final Subtag.Type EXTLANG
public static final Subtag.Type SCRIPT
public static final Subtag.Type REGION
public static final Subtag.Type VARIANT
public static final Subtag.Type SINGLETON
public static final Subtag.Type EXTENSION
public static final Subtag.Type PRIVATEUSE
public static final Subtag.Type GRANDFATHERED
public static final Subtag.Type WILDCARD
public static final Subtag.Type SIMPLE
Method Detail |
---|
public static Subtag.Type[] values()
for (Subtag.Type c : Subtag.Type.values()) System.out.println(c);
public static Subtag.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |