public interface Parameter<T> extends java.lang.Comparable<Parameter<T>>, VChild
Every parameter requires the following methods: toContentLine - make iCalendar string getValue - return parameters value isEqualsTo - checks equality between two parameters parse - convert string into parameter - this method is in ParameterEnum
Type | Property and Description |
---|---|
javafx.beans.property.ObjectProperty<T> |
value
object property of parameter’s value
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
extractName(java.lang.String content) |
static java.lang.String |
extractValue(java.lang.String content) |
T |
getValue()
The value of the parameter.
|
ParameterType |
parameterType()
Returns the enumerated type for the parameter as it would appear in the iCalendar content line
Examples:
VALUE
TZID
|
void |
setValue(T value)
Set the value of this parameter
|
java.lang.String |
toContent()
return parameter name-value pair string separated by an "="
for example:
LANGUAGE=en-US
|
javafx.beans.property.ObjectProperty<T> |
valueProperty()
object property of parameter’s value
|
errors, isValid, name, parseContent
javafx.beans.property.ObjectProperty<T> valueProperty
object property of parameter’s value
getValue()
,
setValue(T)
T getValue()
The value of the parameter.
For example, in the below parameter: CN=John Doe The value is the String "John Doe"
Note: the value’s object must have an overridden toString method that complies with iCalendar content line output.
javafx.beans.property.ObjectProperty<T> valueProperty()
object property of parameter’s value
getValue()
,
setValue(T)
void setValue(T value)
Set the value of this parameter
ParameterType parameterType()
Returns the enumerated type for the parameter as it would appear in the iCalendar content line Examples: VALUE TZID
java.lang.String toContent()
return parameter name-value pair string separated by an "=" for example: LANGUAGE=en-US
static java.lang.String extractValue(java.lang.String content)
static java.lang.String extractName(java.lang.String content)