edu.cmu.minorthird.text
Class SubSpan
java.lang.Object
edu.cmu.minorthird.text.BasicSpan
edu.cmu.minorthird.text.SubSpan
- All Implemented Interfaces:
- Span, Visible, java.io.Serializable, java.lang.Comparable<Span>
public class SubSpan
- extends BasicSpan
A span that is a subset of another span
- Author:
- Cameron Williams
- See Also:
- Serialized Form
Constructor Summary |
SubSpan(java.lang.String documentId,
TextToken[] textTokens,
int loTextTokenIndex,
int spanLen,
java.lang.String documentGroupId,
int startIndex)
|
Methods inherited from class edu.cmu.minorthird.text.BasicSpan |
asString, charIndexProperSubSpan, charIndexSubSpan, compareTo, contains, documentSpan, documentSpanStartIndex, equals, getCharOffset, getDocumentContents, getDocumentGroupId, getDocumentId, getHiChar, getLeftBoundary, getLoChar, getLoTextToken, getRightBoundary, getTextToken, getToken, hashCode, overlaps, setCharOffset, size, subSpan, subSpan, toGUI, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SubSpan
public SubSpan(java.lang.String documentId,
TextToken[] textTokens,
int loTextTokenIndex,
int spanLen,
java.lang.String documentGroupId,
int startIndex)
getStartIndex
public int getStartIndex()