biweekly.parameter
Class Value
java.lang.Object
biweekly.parameter.EnumParameterValue
biweekly.parameter.Value
public class Value
- extends EnumParameterValue
Defines the data type of a property's value.
- Author:
- Michael Angstadt
- See Also:
- RFC 5545
p.29-50
Method Summary |
static Value |
find(String value)
Searches for a parameter value that is defined as a static constant in
this class. |
static Value |
get(String value)
Searches for a parameter value and creates one if it cannot be found. |
BINARY
public static final Value BINARY
BOOLEAN
public static final Value BOOLEAN
CAL_ADDRESS
public static final Value CAL_ADDRESS
DATE
public static final Value DATE
DATE_TIME
public static final Value DATE_TIME
DURATION
public static final Value DURATION
FLOAT
public static final Value FLOAT
INTEGER
public static final Value INTEGER
PERIOD
public static final Value PERIOD
RECUR
public static final Value RECUR
TEXT
public static final Value TEXT
TIME
public static final Value TIME
URI
public static final Value URI
UTC_OFFSET
public static final Value UTC_OFFSET
find
public static Value find(String value)
- Searches for a parameter value that is defined as a static constant in
this class.
- Parameters:
value
- the parameter value
- Returns:
- the object or null if not found
get
public static Value get(String value)
- Searches for a parameter value and creates one if it cannot be found. All
objects are guaranteed to be unique, so they can be compared with
==
equality.
- Parameters:
value
- the parameter value
- Returns:
- the object
Copyright © 2013 Michael Angstadt. All Rights Reserved.