Class Resources

All Implemented Interfaces:
Serializable, Comparable<Property>, FluentProperty

public class Resources extends Property
$Id$

Created: [Apr 6, 2004]

Defines a RESOURCES iCalendar component property.

See Also:
  • Constructor Details

    • Resources

      public Resources()
      Default constructor.
    • Resources

      public Resources(ParameterList aList, String aValue)
      Parameters:
      aList - a list of parameters for this component
      aValue - a value string for this component
    • Resources

      public Resources(TextList rList)
      Parameters:
      rList - a list of resources
    • Resources

      public Resources(ParameterList aList, TextList rList)
      Parameters:
      aList - a list of parameters for this component
      rList - a list of resources
  • Method Details

    • getResources

      public final TextList getResources()
      Returns:
      Returns the resources.
    • setValue

      public final void setValue(String aValue)
      Sets the current value of the property.
      Specified by:
      setValue in class Property
      Parameters:
      aValue - a string representation of the property value
    • getValue

      public final String getValue()
      Specified by:
      getValue in class Content
      Returns:
      the content value
    • validate

      public ValidationResult validate() throws ValidationException
      Description copied from class: Property
      Perform validation on a property.
      Specified by:
      validate in class Property
      Throws:
      ValidationException - where the property is not in a valid state