Created: [Apr 6, 2004]
Defines a CATEGORIES iCalendar component property.
4.8.1.2 Categories
Property Name: CATEGORIES
Purpose: This property defines the categories for a calendar
component.
Value Type: TEXT
Property Parameters: 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 list of categories separated by the
COMMA character (US-ASCII decimal 44).
Format Definition: The property is defined by the following notation:
categories = "CATEGORIES" catparam ":" text *("," text)
CRLF
catparam = *(
; the following is optional,
; but MUST NOT occur more than once
(";" languageparam ) /
; the following is optional,
; and MAY occur more than once
(";" xparam)
)
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private TextList | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | Categories(final ParameterList
a list of parameters for this component aList, final String a value string for this component aValue)
|
| public | |
| public | Categories(final ParameterList
a list of parameters for this component aList, TextList a list of categories cList)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public TextList | |
| public String | |
| protected PropertyFactory | newFactory()
Implements abstract net. Returns a new property factory used to create deep copies. |
| public void | |
| public void | setValue(final String
a string representation of the property value aValue)Implements abstract net. Sets the current value of the property. |
| public ValidationResult | validate()
Implements abstract net. Perform validation on a property. |
| categories | back to summary |
|---|---|
| private TextList categories | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Categories | back to summary |
|---|---|
| public Categories() Default constructor. | |
| Categories | back to summary |
|---|---|
public Categories(final String aValue)
| |
| Categories | back to summary |
|---|---|
public Categories(final ParameterList aList, final String aValue)
| |
| Categories | back to summary |
|---|---|
public Categories(final TextList cList)
| |
| Categories | back to summary |
|---|---|
public Categories(final ParameterList aList, TextList cList)
| |
| addCategory | back to summary |
|---|---|
| public void addCategory(String category) | |
| getCategories | back to summary |
|---|---|
public TextList getCategories()
| |
| getValue | back to summary |
|---|---|
| public String getValue() Implements abstract net.
| |
| newFactory | back to summary |
|---|---|
| protected PropertyFactory Implements abstract net. Doc from net. Returns a new property factory used to create deep copies.
| |
| removeCategory | back to summary |
|---|---|
| public void removeCategory(String category) | |
| setValue | back to summary |
|---|---|
| public void setValue(final String aValue) Implements abstract net. Doc from net. Sets the current value of the property. | |
| validate | back to summary |
|---|---|
| public ValidationResult validate() throws ValidationException Implements abstract net. Doc from net. Perform validation on a property.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Categories | createProperty(final ParameterList
a list of property parameters parameters, final String a property value value)Implements net.
|
| public Categories |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Factory | back to summary |
|---|---|
| public Factory() | |
| createProperty | back to summary |
|---|---|
| public Categories createProperty(final ParameterList parameters, final String value) Implements net.
| |
| createProperty | back to summary |
|---|---|
| public Categories createProperty() Implements net.
| |