Class Categories
- All Implemented Interfaces:
PropLanguage<List<String>>, VProperty<List<String>>, VChild, VElement, VParent
3.8.1.2. Categories
Property Name: CATEGORIES
Purpose: This property defines the categories for a calendar component.
Value Type: TEXT
Property Parameters: IANA, non-standard, and language property
parameters can be specified on this property.
Conformance: The property can be specified within VEVENT, VTODO,
or VJOURNAL calendar components.
Description: This property is used to specify categories or subtypes
of the calendar component. The categories are useful in searching
for a calendar component of a particular type and category.
Within the VEVENT, VTODO, or VJOURNAL calendar components,
more than one category can be specified as a COMMA-separated list
of categories.
Format Definition: This property is defined by the following notation:
- categories
- "CATEGORIES" catparam ":" text *("," text) CRLF
- catparam
- The following are OPTIONAL, but MUST NOT occur more than once.
- The following are OPTIONAL, and MAY occur more than once.
- other-param
- ";"
NonStandardParameter - ";"
invalid reference
IANAParameter
- ";"
- other-param
Example: The following is an example of this property with formatted line breaks in the property value:
- CATEGORIES:APPOINTMENT,EDUCATION
- CATEGORIES:MEETING
-
Nested Class Summary
Nested classes/interfaces inherited from class VElementBase
VElementBase.Message, VElementBase.MessageEffect -
Field Summary
FieldsFields inherited from class VPropertyBase
actualValueContent, allowedValueTypes, defaultValueType, propertyNameFields inherited from class VParentBase
contentLineGenerator, ordererFields inherited from class VElementBase
BEGIN, END -
Constructor Summary
ConstructorsConstructorDescriptionCategories(String... values) Constructor with varargs of property values Note: Do not use to parse the content line.Categories(List<String> values) Categories(Categories source) -
Method Summary
Methods inherited from class PropBaseLanguage
getLanguage, setLanguage, setLanguage, withLanguage, withLanguageMethods inherited from class VPropertyBase
equals, errors, getConverter, getNonStandard, getParent, getUnknownValue, getValue, getValueType, hashCode, modifiedValue, name, parseContent, processInLineChild, setConverter, setConverterByClass, setNonStandard, setParent, setValue, setValueType, setValueType, toString, valueContent, withNonStandard, withNonStandard, withNonStandard, withValue, withValueTypeMethods inherited from class VParentBase
addChild, addChild, addChild, addChildInternal, checkChild, childrenUnmodifiable, collectGetterMap, collectSetterMap, copyChildrenInto, getGetter, getGetters, getSetter, getSetters, orderChild, orderChild, orderChild, parseContent, removeChild, removeChild, replaceChild, replaceChild, withChildMethods inherited from class VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptionsMethods inherited from interface VParent
addChild, addChild, addChild, childrenUnmodifiable, orderChild, orderChild, orderChild, removeChild, removeChild, replaceChild, replaceChildMethods inherited from interface VProperty
getNonStandard, getValue, getValueType, setNonStandard, setValue, setValueType
-
Field Details
-
CONVERTER
-
-
Constructor Details
-
Categories
-
Categories
Constructor with varargs of property values Note: Do not use to parse the content line. Use static parse method instead. -
Categories
-
Categories
public Categories()
-
-
Method Details
-
parse
-
copyValue
- Overrides:
copyValuein classVPropertyBase<List<String>, Categories>
-