Class ExRule

  • All Implemented Interfaces:
    Serializable

    public class ExRule
    extends Property
    $Id$

    Created: [Apr 6, 2004]

    Defines a EXRULE iCalendar component property.

    See Also:
    Serialized Form
    • Constructor Detail

      • ExRule

        public ExRule()
        Default constructor.
      • ExRule

        public ExRule​(ParameterList aList,
                      String aValue)
               throws ParseException
        Parameters:
        aList - a list of parameters for this component
        aValue - a value string for this component
        Throws:
        ParseException - thrown when the specified string is not a valid representaton of a recurrence
        See Also:
        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 component
        aRecur - a recurrence
    • Method Detail

      • 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.