net.fortuna.ical4j.model.parameter
Class AltRep

java.lang.Object
  extended bynet.fortuna.ical4j.model.Content
      extended bynet.fortuna.ical4j.model.Parameter
          extended bynet.fortuna.ical4j.model.parameter.AltRep
All Implemented Interfaces:
Serializable

public class AltRep
extends Parameter

Defines an Alternate Text Representation parameter.

Author:
benfortuna
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.fortuna.ical4j.model.Parameter
ALTREP, CN, CUTYPE, DELEGATED_FROM, DELEGATED_TO, DIR, ENCODING, EXPERIMENTAL_PREFIX, FBTYPE, FMTTYPE, LANGUAGE, MEMBER, PARTSTAT, RANGE, RELATED, RELTYPE, ROLE, RSVP, SENT_BY, TZID, VALUE
 
Constructor Summary
AltRep(String aValue)
           
AltRep(URI aUri)
           
 
Method Summary
 URI getUri()
           
 String getValue()
           
 
Methods inherited from class net.fortuna.ical4j.model.Parameter
equals, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AltRep

public AltRep(String aValue)
       throws URISyntaxException
Parameters:
aValue - a string representation of an alternate text represenation
Throws:
URISyntaxException - 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 Detail

getUri

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

getValue

public final String getValue()
Specified by:
getValue in class Parameter
Returns:
Returns the value.