ezvcard.parameters
Class ValueParameter

java.lang.Object
  extended by ezvcard.parameters.VCardParameter
      extended by ezvcard.parameters.ValueParameter

public class ValueParameter
extends VCardParameter

Represents a VALUE parameter.

Author:
Michael Angstadt

Field Summary
static ValueParameter BINARY
          vCard versions: 3.0
static ValueParameter BOOLEAN
          vCard versions: 4.0
static ValueParameter CONTENT_ID
          vCard versions: 2.1 (p.8-9)
static ValueParameter DATE
          vCard versions: 3.0, 4.0
static ValueParameter DATE_AND_OR_TIME
          vCard versions: 4.0
static ValueParameter DATE_TIME
          vCard versions: 3.0, 4.0
static ValueParameter FLOAT
          vCard versions: 4.0
static ValueParameter INTEGER
          vCard versions: 4.0
static ValueParameter LANGUAGE_TAG
          vCard versions: 4.0
static String NAME
           
static ValueParameter TEXT
          vCard versions: 3.0, 4.0
static ValueParameter TIME
          vCard versions: 3.0, 4.0
static ValueParameter TIMESTAMP
          vCard versions: 4.0
static ValueParameter URI
          vCard versions: 3.0, 4.0
static ValueParameter URL
          vCard versions: 2.1 (p.18-9)
static ValueParameter UTC_OFFSET
          vCard versions: 4.0
 
Fields inherited from class ezvcard.parameters.VCardParameter
name, value
 
Constructor Summary
ValueParameter(String value)
          Use of this constructor is discouraged and should only be used for defining non-standard VALUEs.
 
Method Summary
static ValueParameter valueOf(String value)
          Searches the static objects in this class for one that has a certain type value.
 
Methods inherited from class ezvcard.parameters.VCardParameter
all, equals, findByValue, getName, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

URL

public static final ValueParameter URL
vCard versions: 2.1 (p.18-9)


CONTENT_ID

public static final ValueParameter CONTENT_ID
vCard versions: 2.1 (p.8-9)


BINARY

public static final ValueParameter BINARY
vCard versions: 3.0


URI

public static final ValueParameter URI
vCard versions: 3.0, 4.0


TEXT

public static final ValueParameter TEXT
vCard versions: 3.0, 4.0


DATE

public static final ValueParameter DATE
vCard versions: 3.0, 4.0


TIME

public static final ValueParameter TIME
vCard versions: 3.0, 4.0


DATE_TIME

public static final ValueParameter DATE_TIME
vCard versions: 3.0, 4.0


DATE_AND_OR_TIME

public static final ValueParameter DATE_AND_OR_TIME
vCard versions: 4.0


TIMESTAMP

public static final ValueParameter TIMESTAMP
vCard versions: 4.0


BOOLEAN

public static final ValueParameter BOOLEAN
vCard versions: 4.0


INTEGER

public static final ValueParameter INTEGER
vCard versions: 4.0


FLOAT

public static final ValueParameter FLOAT
vCard versions: 4.0


UTC_OFFSET

public static final ValueParameter UTC_OFFSET
vCard versions: 4.0


LANGUAGE_TAG

public static final ValueParameter LANGUAGE_TAG
vCard versions: 4.0

Constructor Detail

ValueParameter

public ValueParameter(String value)
Use of this constructor is discouraged and should only be used for defining non-standard VALUEs. Please use one of the predefined static objects.

Parameters:
value - the type value (e.g. "uri")
Method Detail

valueOf

public static ValueParameter valueOf(String value)
Searches the static objects in this class for one that has a certain type value.

Parameters:
value - the type value to search for (e.g. "text")
Returns:
the object or null if not found


Copyright © 2012-2013. All Rights Reserved.