|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.uzh.ifi.attempto.preditor.text.RefTextElement
public class RefTextElement
This class represents a text element that is a reference to a preceding text element.
RefableTextElement
Constructor Summary | |
---|---|
RefTextElement(RefableTextElement refableTextElement,
java.lang.String category)
Creates a new reference text element that refers to the given referenceable text element. |
Method Summary | |
---|---|
void |
checkNeighborTextElements(TextElement precedingTextElement,
TextElement nextTextElement)
Checks the preceding and next text element. |
boolean |
equals(java.lang.Object obj)
|
Terminal |
getCategory()
Returns the grammatical category of this text element. |
java.lang.String |
getText()
Returns the text of this text element. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RefTextElement(RefableTextElement refableTextElement, java.lang.String category)
refableTextElement
- The referenceable text element occurring earlier in the text.category
- The category of the reference text element.Method Detail |
---|
public java.lang.String getText()
TextElement
getText
in interface TextElement
public Terminal getCategory()
TextElement
getCategory
in interface TextElement
public void checkNeighborTextElements(TextElement precedingTextElement, TextElement nextTextElement)
TextElement
checkNeighborTextElements
in interface TextElement
public boolean equals(java.lang.Object obj)
equals
in interface TextElement
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |