|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FacetType>
org.gedcomx.types.FacetType
public enum FacetType
Enumeration of known facet types.
| Enum Constant Summary | |
|---|---|
City
A city. |
|
Country
A country. |
|
Date
A date. |
|
Gender
A gender. |
|
Name
A name. |
|
OTHER
Custom |
|
Page
A page. |
|
Parish
A parish |
|
Place
A place. |
|
Province
A province. |
|
State
A (geographic) state. |
|
Township
A township. |
|
Volume
A volume. |
|
Year
A year. |
|
| Method Summary | |
|---|---|
static FacetType |
fromQNameURI(URI qname)
Get the enumeration from the QName. |
URI |
toQNameURI()
Return the QName value for this enum. |
static FacetType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FacetType[] |
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 FacetType Year
public static final FacetType State
public static final FacetType Province
public static final FacetType Country
public static final FacetType City
public static final FacetType Parish
public static final FacetType Township
public static final FacetType Page
public static final FacetType Volume
public static final FacetType Date
public static final FacetType Place
public static final FacetType Name
public static final FacetType Gender
public static final FacetType OTHER
| Method Detail |
|---|
public static FacetType[] values()
for (FacetType c : FacetType.values()) System.out.println(c);
public static FacetType 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 nullpublic URI toQNameURI()
public static FacetType fromQNameURI(URI qname)
qname - The qname.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||