- All Implemented Interfaces:
Serializable
,Comparable<VParameterElement>
,Constable
For each VComponent property parameter (RFC 5545, 3.2, page 13) contains the following:
Parameter name
Parameter class
Method to parse parameter string into parent component
Method to get parameter from property
Method to copy parameter into new parent property
Parameter name
toString()
Parameter class
#getPropertyClass()
Method to parse parameter string into parent component
#parse(Property<?>, String)
Method to get parameter from property
#getParameter(Property<?>)
Method to copy parameter into new parent property
#copyParameter(VParameter, VProperty)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static Map<Class<? extends VParameter<?>>,
VParameterElement> private static Map<String,
VParameterElement> private Class<? extends VParameter<?>>
private String
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
VParameterElement
(String name, Class<? extends VParameter<?>> myClass) -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends VParameter<?>>
static VParameterElement
enumFromClass
(Class<? extends VElement> myClass) get enum from mapstatic VParameterElement
enumFromName
(String parameterName) (package private) static String
extractValue
(String content) Remove parameter name and equals sign, if present, otherwise returns input stringabstract <T> StringConverter<T>
return default String converter associated with property value typeprivate static Map<Class<? extends VParameter<?>>,
VParameterElement> private static Map<String,
VParameterElement> toString()
static VParameterElement
Returns the enum constant of this class with the specified name.static VParameterElement[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALTERNATE_TEXT_REPRESENTATION
-
COMMON_NAME
-
CALENDAR_USER_TYPE
-
DELEGATORS
-
DELEGATEES
-
DIRECTORY_ENTRY_REFERENCE
-
INLINE_ENCODING
-
FORMAT_TYPE
-
FREE_BUSY_TIME_TYPE
-
LANGUAGE
-
GROUP_OR_LIST_MEMBERSHIP
-
NON_STANDARD
-
PARTICIPATION_STATUS
-
RECURRENCE_IDENTIFIER_RANGE
-
ALARM_TRIGGER_RELATIONSHIP
-
RELATIONSHIP_TYPE
-
PARTICIPATION_ROLE
-
RSVP_EXPECTATION
-
SENT_BY
-
TIME_ZONE_IDENTIFIER
-
VALUE_DATA_TYPES
-
-
Field Details
-
enumFromNameMap
-
enumFromClassMap
-
name
-
myClass
-
-
Constructor Details
-
VParameterElement
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
makeEnumFromNameMap
-
enumFromName
-
makeEnumFromClassMap
-
enumFromClass
get enum from map -
elementClass
-
toString
- Overrides:
toString
in classEnum<VParameterElement>
-
extractValue
Remove parameter name and equals sign, if present, otherwise returns input string- Parameters:
input
- - parameter content with or without name and equals signname
- - name of parameter- Returns:
- - nameless string example input: ALTREP="CID:part3.msg.970415T083000@example.com" output: "CID:part3.msg.970415T083000@example.com"
-
getConverter
return default String converter associated with property value type
-