edu.cmu.andrew.icalendar.properties
Class UnknownSingleString

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

public class UnknownSingleString
extends UnknownString

A generic property that must contain a String value, without any siblings.


Fields inherited from class edu.cmu.andrew.icalendar.properties.UnknownString
name, value
 
Fields inherited from class edu.cmu.andrew.icalendar.Property
parameters
 
Constructor Summary
UnknownSingleString(String name, String value)
           
 
Method Summary
 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.properties.UnknownString
getName, getValue
 
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
 

Constructor Detail

UnknownSingleString

public UnknownSingleString(String name,
                           String value)
Method Detail

multipleOk

public boolean multipleOk()
Description copied from class: Property
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 UnknownString
Following copied from class: edu.cmu.andrew.icalendar.Property
Returns:
true if this property may appear multiple times in a single component