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 ALTIDAltid parameter identifier.CALSCALECalscale parameter identifier.ENCODINGEncoding parameter identifier.EXTENDEDNon-standard parameter identifier.FMTTYPEFmttype parameter identifier.GEOGeo parameter identifier.LABELLANGUAGELanguage parameter identifier.PIDPID parameter identifier.PREFPref parameter identifier.SORT_ASSort-as parameter identifier.TYPEType parameter identifier.TZTz parameter identifier.VALUEValue parameter identifier.VERSIONVersion parameter identifier.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static ParameterNamevalueOf(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:
toStringin classEnum<ParameterName>
-
-