Package org.gbif.api.vocabulary
Enum TagNamespace
- java.lang.Object
-
- java.lang.Enum<TagNamespace>
-
- org.gbif.api.vocabulary.TagNamespace
-
- All Implemented Interfaces:
Serializable
,Comparable<TagNamespace>
public enum TagNamespace extends Enum<TagNamespace>
Known namespaces for tags.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALA
The Atlas of Living Australia namespace.COL
The Catalogue of Life (COL) namespace.EOL
The Encyclopedia of Life (EOL) namespace.GBIF_CRAWLER
Used by the Crawler and related projects.GBIF_DEFAULT_TERM
The GBIF Default Term values namespace.GBIF_HARVESTING
The GBIF Harvesting and Indexing Toolkit (HIT) namespace.GBIF_METASYNC
The GBIF Registry Metasynchronizer namespace.GBIF_ORPHANS
The GBIF Orphans namespace.GBIF_VALIDATOR
The GBIF DwC-Archive Validator namespace.PUBLIC
The public namespace.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNamespace()
List<TagName>
getPredicates()
Gets the list ofTagName
which belongs to the namespace.static TagNamespace
valueOf(String name)
Returns the enum constant of this type with the specified name.static TagNamespace[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLIC
public static final TagNamespace PUBLIC
The public namespace.
-
GBIF_CRAWLER
public static final TagNamespace GBIF_CRAWLER
Used by the Crawler and related projects.
-
GBIF_VALIDATOR
public static final TagNamespace GBIF_VALIDATOR
The GBIF DwC-Archive Validator namespace.
-
GBIF_HARVESTING
public static final TagNamespace GBIF_HARVESTING
The GBIF Harvesting and Indexing Toolkit (HIT) namespace.
-
GBIF_METASYNC
public static final TagNamespace GBIF_METASYNC
The GBIF Registry Metasynchronizer namespace.
-
GBIF_ORPHANS
public static final TagNamespace GBIF_ORPHANS
The GBIF Orphans namespace.
-
GBIF_DEFAULT_TERM
public static final TagNamespace GBIF_DEFAULT_TERM
The GBIF Default Term values namespace.
-
EOL
public static final TagNamespace EOL
The Encyclopedia of Life (EOL) namespace.
-
COL
public static final TagNamespace COL
The Catalogue of Life (COL) namespace.
-
ALA
public static final TagNamespace ALA
The Atlas of Living Australia namespace.
-
-
Method Detail
-
values
public static TagNamespace[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TagNamespace c : TagNamespace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TagNamespace valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNamespace
public String getNamespace()
- Returns:
- the unique full namespace uri in lower case.
-
getPredicates
public List<TagName> getPredicates()
Gets the list ofTagName
which belongs to the namespace.
-
-