net.fortuna.ical4j.model.property
Class ExRule
java.lang.Object
net.fortuna.ical4j.model.Content
net.fortuna.ical4j.model.Property
net.fortuna.ical4j.model.property.ExRule
- All Implemented Interfaces:
- Serializable
public class ExRule
- extends Property
$Id$
Created: [Apr 6, 2004]
Defines a EXRULE iCalendar component property.
- Author:
- benf
- See Also:
- Serialized Form
Fields inherited from class net.fortuna.ical4j.model.Property |
ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALSCALE, CATEGORIES, CLASS, COMMENT, COMPLETED, CONTACT, COUNTRY, CREATED, DESCRIPTION, DTEND, DTSTAMP, DTSTART, DUE, DURATION, EXDATE, EXPERIMENTAL_PREFIX, EXRULE, EXTENDED_ADDRESS, FREEBUSY, GEO, LAST_MODIFIED, LOCALITY, LOCATION, LOCATION_TYPE, METHOD, NAME, ORGANIZER, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZURL, UID, URL, VERSION |
ExRule
public ExRule()
- Default constructor.
ExRule
public ExRule(ParameterList aList,
String aValue)
throws ParseException
- Parameters:
aList
- a list of parameters for this componentaValue
- a value string for this component
- Throws:
ParseException
- thrown when the specified string is not a valid representaton of a recurrence- See Also:
Recur.Recur(String)
ExRule
public ExRule(Recur aRecur)
- Parameters:
aRecur
- a recurrence
ExRule
public ExRule(ParameterList aList,
Recur aRecur)
- Parameters:
aList
- a list of parameters for this componentaRecur
- a recurrence
getRecur
public final Recur getRecur()
- Returns:
- Returns the recur.
setValue
public final void setValue(String aValue)
throws ParseException
- Sets the current value of the property.
- Specified by:
setValue
in class Property
- Parameters:
aValue
- a string representation of the property value
- Throws:
ParseException
- possibly thrown by setting the value of certain properties
getValue
public final String getValue()
-
- Specified by:
getValue
in class Content
- Returns:
- the content value
setRecur
public final void setRecur(Recur recur)
- Parameters:
recur
- The recur to set.
validate
public final void validate()
throws ValidationException
- Perform validation on a property.
- Specified by:
validate
in class Property
- Throws:
ValidationException
- where the property is not in a valid state
Copyright © 2004-2012 Micronode. All Rights Reserved.