public enum IptcTerm extends Enum<IptcTerm> implements Term, AlternativeNames, Serializable
Enum Constant and Description |
---|
City |
CountryCode |
CountryName |
CVterm |
LocationCreated |
LocationShown |
ProvinceState |
Sublocation |
WorldRegion |
Modifier and Type | Field and Description |
---|---|
String[] |
alternatives |
Modifier and Type | Method and Description |
---|---|
String[] |
alternativeNames() |
boolean |
isClass()
Informs if a term is generally used as a class term, i.e.
|
URI |
namespace()
The namespace the terms are in.
|
String |
prefix()
A unique standard prefix representing the namespace.
|
String |
simpleName()
The simple term name without any namespace or paths.
|
String |
toString() |
static IptcTerm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IptcTerm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
prefixedName, qualifiedName
public static final IptcTerm CountryCode
public static final IptcTerm CountryName
public static final IptcTerm LocationCreated
public static final IptcTerm LocationShown
public static final IptcTerm ProvinceState
public static final IptcTerm Sublocation
public static final IptcTerm WorldRegion
public final String[] alternatives
public static IptcTerm[] values()
for (IptcTerm c : IptcTerm.values()) System.out.println(c);
public static IptcTerm 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 String simpleName()
Term
simpleName
in interface Term
public String[] alternativeNames()
alternativeNames
in interface AlternativeNames
public boolean isClass()
Term
public String prefix()
Term
Copyright © 2024 Global Biodiversity Information Facility. All rights reserved.