org.eml.MMAX2.api
Interface DiscourseElementAPI

All Known Implementing Classes:
MMAX2DiscourseElement

public interface DiscourseElementAPI

This interface defines public methods for accessing MMAX2DiscourseElement objects.


Method Summary
 int getDiscoursePosition()
          (API) Returns the discourse position of this DiscourseElement.
 java.lang.String getID()
          (API) Returns the ID of this DiscourseElement.
 java.lang.String toString()
          (API) Returns the text string of this DiscourseElement.
 

Method Detail

getID

java.lang.String getID()
(API) Returns the ID of this DiscourseElement.

Returns:
The ID of this DiscourseElement (e.g. 'word_4').

toString

java.lang.String toString()
(API) Returns the text string of this DiscourseElement.

Overrides:
toString in class java.lang.Object
Returns:
The text string of this DiscourseElement.

getDiscoursePosition

int getDiscoursePosition()
(API) Returns the discourse position of this DiscourseElement.

Returns:
The numerical discourse position of this DiscourseElement. This is normally the base data element's position in the base data file.