Module ical4j.core

Class AltRep

All Implemented Interfaces:
Serializable, Comparable<Parameter>, Encodable

public class AltRep extends Parameter implements Encodable
$Id$ [18-Apr-2004]

Defines an Alternate Text Representation parameter.

See Also:
  • Constructor Details

    • AltRep

      public AltRep(String aValue)
      Parameters:
      aValue - a string representation of an alternate text represenation
      Throws:
      IllegalArgumentException - when the specified string is not a value (quoted) uri
    • AltRep

      public AltRep(URI aUri)
      Parameters:
      aUri - a URI representing an alternate text representation
  • Method Details

    • getUri

      public final URI getUri()
      Returns:
      Returns the uri.
    • getValue

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