Module ical4j.core

Class Resources

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

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(VResource resource)
    • 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(List<String> rList)
      Parameters:
      rList - a list of resources
    • Resources

      public Resources(ParameterList aList, List<String> 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
    • newFactory

      protected PropertyFactory<Resources> newFactory()
      Description copied from class: Property
      Returns a new property factory used to create deep copies.
      Specified by:
      newFactory in class Property
      Returns:
      a property factory instance