Package net.fortuna.ical4j.vcard
Enum ParameterName
- java.lang.Object
-
- java.lang.Enum<ParameterName>
-
- net.fortuna.ical4j.vcard.ParameterName
-
- All Implemented Interfaces:
Serializable
,Comparable<ParameterName>
public enum ParameterName extends Enum<ParameterName>
Enumeration of parameter identifiers.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALTID
Altid parameter identifier.CALSCALE
Calscale parameter identifier.ENCODING
Encoding parameter identifier.EXTENDED
Non-standard parameter identifier.FMTTYPE
Fmttype parameter identifier.GEO
Geo parameter identifier.LABEL
LANGUAGE
Language parameter identifier.PID
PID parameter identifier.PREF
Pref parameter identifier.SORT_AS
Sort-as parameter identifier.TYPE
Type parameter identifier.TZ
Tz parameter identifier.VALUE
Value parameter identifier.VERSION
Version parameter identifier.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static ParameterName
valueOf(String name)
Returns the enum constant of this type with the specified name.static ParameterName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LANGUAGE
public static final ParameterName LANGUAGE
Language parameter identifier.
-
LABEL
public static final ParameterName LABEL
-
ENCODING
public static final ParameterName ENCODING
Encoding parameter identifier.
-
VALUE
public static final ParameterName VALUE
Value parameter identifier.
-
PREF
public static final ParameterName PREF
Pref parameter identifier.
-
ALTID
public static final ParameterName ALTID
Altid parameter identifier.
-
PID
public static final ParameterName PID
PID parameter identifier.
-
TYPE
public static final ParameterName TYPE
Type parameter identifier.
-
CALSCALE
public static final ParameterName CALSCALE
Calscale parameter identifier.
-
SORT_AS
public static final ParameterName SORT_AS
Sort-as parameter identifier.
-
GEO
public static final ParameterName GEO
Geo parameter identifier.
-
TZ
public static final ParameterName TZ
Tz parameter identifier.
-
VERSION
public static final ParameterName VERSION
Version parameter identifier.
-
FMTTYPE
public static final ParameterName FMTTYPE
Fmttype parameter identifier.
-
EXTENDED
public static final ParameterName EXTENDED
Non-standard parameter identifier.
-
-
Method Detail
-
values
public static ParameterName[] 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 (ParameterName c : ParameterName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParameterName 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<ParameterName>
-
-