edu.cmu.andrew.icalendar.properties
Class UnknownProperty

java.lang.Object
  |
  +--edu.cmu.andrew.icalendar.Property
        |
        +--edu.cmu.andrew.icalendar.properties.UnknownProperty

public class UnknownProperty
extends Property

A generic property of unknown type.


Field Summary
private  String name
           
private  String value
           
 
Fields inherited from class edu.cmu.andrew.icalendar.Property
parameters
 
Constructor Summary
UnknownProperty(String name, String value)
          Standard constructor taking the name and value.
 
Method Summary
 String getName()
          Returns the name of this property.
 String getValue()
          Returns the value of this property.
 boolean multipleOk()
          Returns whether or not multiple instances of these properties may appear in a single component.
 
Methods inherited from class edu.cmu.andrew.icalendar.Property
getInstance, getParameter, output, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

name

private String name

value

private String value
Constructor Detail

UnknownProperty

public UnknownProperty(String name,
                       String value)
Standard constructor taking the name and value. Values are prohibited from having NUL characters.
Parameters:
name - the iCalendar name
value - the value in string form
Method Detail

multipleOk

public boolean multipleOk()
Returns whether or not multiple instances of these properties may appear in a single component. The UnknownProperty class allows them, since some properties do so.
Overrides:
multipleOk in class Property
Returns:
true if this property may appear multiple times in a single component

getName

public String getName()
Returns the name of this property.
Overrides:
getName in class Property
Following copied from class: edu.cmu.andrew.icalendar.Property
Returns:
the name of this property

getValue

public String getValue()
Returns the value of this property.
Overrides:
getValue in class Property
Following copied from class: edu.cmu.andrew.icalendar.Property
Returns:
the string form of the value of this property