|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.fortuna.ical4j.model.Content
net.fortuna.ical4j.model.Property
Defines an iCalendar property. Subclasses of this class provide additional validation and typed values for specific iCalendar properties.
Field Summary | |
static String |
ACTION
|
static String |
ATTACH
the following are optional, and MAY occur more than once. |
static String |
ATTENDEE
|
static String |
CALSCALE
'calscale' and 'method' are optional, but MUST NOT occur more than once. |
static String |
CATEGORIES
|
static String |
CLASS
the following are optional, but MUST NOT occur more than once. |
static String |
COMMENT
|
static String |
COMPLETED
|
static String |
CONTACT
|
static String |
CREATED
|
static String |
DESCRIPTION
|
static String |
DTEND
either 'dtend' or 'duration' may appear in a 'eventprop', but 'dtend' and 'duration' MUST NOT occur in the same 'eventprop'. |
static String |
DTSTAMP
|
static String |
DTSTART
|
static String |
DUE
|
static String |
DURATION
|
static String |
EXDATE
|
static String |
EXPERIMENTAL_PREFIX
|
static String |
EXRULE
|
static String |
FREEBUSY
|
static String |
GEO
|
static String |
LAST_MODIFIED
|
static String |
LOCATION
|
static String |
METHOD
|
static String |
ORGANIZER
|
static String |
PERCENT_COMPLETE
|
static String |
PRIORITY
|
static String |
PRODID
'prodid' and 'version' are both REQUIRED, but MUST NOT occur more than once. |
static String |
RDATE
|
static String |
RECURRENCE_ID
|
static String |
RELATED_TO
|
static String |
REPEAT
|
static String |
REQUEST_STATUS
|
static String |
RESOURCES
|
static String |
RRULE
|
static String |
SEQUENCE
|
static String |
STATUS
|
static String |
SUMMARY
|
static String |
TRANSP
|
static String |
TRIGGER
|
static String |
TZID
|
static String |
TZNAME
|
static String |
TZOFFSETFROM
|
static String |
TZOFFSETTO
|
static String |
TZURL
|
static String |
UID
|
static String |
URL
|
static String |
VERSION
|
Constructor Summary | |
protected |
Property(Property property)
Creates a deep copy of the specified property. |
protected |
Property(String aName)
Constructor. |
protected |
Property(String aName,
ParameterList aList)
Constructor made protected to enforce the use of PropertyFactory for property instantiation. |
Method Summary | |
boolean |
equals(Object arg0)
Two properties are equal if and only if their name, value and parameter list are equal. |
String |
getName()
|
Parameter |
getParameter(String name)
Convenience method for retrieving a single parameter. |
ParameterList |
getParameters()
|
ParameterList |
getParameters(String name)
Convenience method for retrieving a list of named parameters. |
abstract String |
getValue()
|
int |
hashCode()
|
boolean |
isCalendarProperty()
Indicates whether this property is a calendar property. |
boolean |
isComponentProperty()
Indicates whether this property is a component property. |
abstract void |
setValue(String aValue)
Sets the current value of the property. |
String |
toString()
|
abstract void |
validate()
Perform validation on a property. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String PRODID
public static final String VERSION
public static final String CALSCALE
public static final String METHOD
public static final String CLASS
public static final String CREATED
public static final String DESCRIPTION
public static final String DTSTART
public static final String GEO
public static final String LAST_MODIFIED
public static final String LOCATION
public static final String ORGANIZER
public static final String PERCENT_COMPLETE
public static final String PRIORITY
public static final String DTSTAMP
public static final String SEQUENCE
public static final String STATUS
public static final String SUMMARY
public static final String TRANSP
public static final String UID
public static final String URL
public static final String RECURRENCE_ID
public static final String COMPLETED
public static final String DUE
public static final String FREEBUSY
public static final String TZID
public static final String TZNAME
public static final String TZOFFSETFROM
public static final String TZOFFSETTO
public static final String TZURL
public static final String ACTION
public static final String REPEAT
public static final String TRIGGER
public static final String REQUEST_STATUS
public static final String DTEND
public static final String DURATION
public static final String ATTACH
public static final String ATTENDEE
public static final String CATEGORIES
public static final String COMMENT
public static final String CONTACT
public static final String EXDATE
public static final String EXRULE
public static final String RELATED_TO
public static final String RESOURCES
public static final String RDATE
public static final String RRULE
public static final String EXPERIMENTAL_PREFIX
Constructor Detail |
protected Property(String aName)
aName
- property nameprotected Property(String aName, ParameterList aList)
PropertyFactory
for property instantiation.
aName
- property nameaList
- a list of parametersprotected Property(Property property) throws IOException, URISyntaxException, ParseException
property
- a property to copy
URISyntaxException
IOException
ParseException
Method Detail |
public final String toString()
Object.toString()
public boolean isCalendarProperty()
public final boolean isComponentProperty()
public final String getName()
public final ParameterList getParameters()
public final ParameterList getParameters(String name)
name
- name of parameters to retrieve
public final Parameter getParameter(String name)
name
- name of the parameter to retrieve
public abstract void setValue(String aValue) throws IOException, URISyntaxException, ParseException
aValue
- a string representation of the property
value
IOException
- possibly thrown by setting the value
of certain properties
URISyntaxException
- possibly thrown by setting the value
of certain properties
ParseException
- possibly thrown by setting the value
of certain propertiespublic abstract String getValue()
public abstract void validate() throws ValidationException
ValidationException
- where the property is not in a valid statepublic final boolean equals(Object arg0)
Object.equals(java.lang.Object)
public final int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |