|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfki.lt.hog.Annotation
public class Annotation
Provides methods to handle an annotation during a session.
Constructor Summary | |
---|---|
Annotation(java.lang.String sessId,
java.lang.String annCollId,
java.lang.String annotation,
java.lang.String language,
java.lang.String anId)
Creates a new Annotation object for given session
and language. |
Method Summary | |
---|---|
java.lang.String |
getAnnotationCollectionId()
Returns an identification of the collection this Annotation belongs to. |
org.w3c.dom.Node |
getAnnotationDOMTree()
Returns unprocessed annotation as a DOM tree |
java.lang.String |
getAnnotationId()
Returns an identification of this Annotation object |
java.lang.String |
getAnnotationLanguage()
Returns language of this Annotation |
java.lang.String |
getAnnotationSessionId()
Returns a identification of the session this Annotation belongs to. |
java.lang.String |
getAnnotationXml()
Returns unprocessed annotation as an XML string |
int |
getDepth()
Returns the depth of the module that created this annotation. |
void |
setDepth(int depth)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Annotation(java.lang.String sessId, java.lang.String annCollId, java.lang.String annotation, java.lang.String language, java.lang.String anId)
Annotation
object for given session
and language.
annotation
- actual annotationlanguage
- language of this Annotation
Method Detail |
---|
public java.lang.String getAnnotationId()
Annotation
object
Annotation
public java.lang.String getAnnotationCollectionId()
Annotation
belongs to.
Annotation
belongs to.public java.lang.String getAnnotationSessionId()
Annotation
belongs to.
Annotation
belongs to.public java.lang.String getAnnotationXml()
public org.w3c.dom.Node getAnnotationDOMTree()
public java.lang.String getAnnotationLanguage()
Annotation
public int getDepth()
public void setDepth(int depth)
depth
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |