|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.uzh.ifi.attempto.chartparser.Annotation
public class Annotation
This class represents a grammar annotation object.
Constructor Summary | |
---|---|
Annotation()
Creates a new annotation object. |
Method Summary | |
---|---|
Annotation |
deepCopy()
Creates a deep copy of this annotation object. |
java.lang.Object |
getItem(java.lang.String name)
Returns the value of an annotation item. |
void |
setItem(java.lang.String name,
java.lang.Object value)
Sets an annotation item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Annotation()
Method Detail |
---|
public void setItem(java.lang.String name, java.lang.Object value)
name
- The name of the annotation item.value
- The value of the annotation item.public java.lang.Object getItem(java.lang.String name)
name
- The name of the annotation item.
public Annotation deepCopy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |