public enum FacetType extends Enum<FacetType> implements ControlledVocabulary
| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
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 nameNullPointerException - if the argument is nullpublic URI toQNameURI()
toQNameURI in interface ControlledVocabularyCopyright © 2016. All rights reserved.