edu.cmu.minorthird.text
Class SubSpan

java.lang.Object
  extended by edu.cmu.minorthird.text.BasicSpan
      extended by 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

Field Summary
 
Fields inherited from class edu.cmu.minorthird.text.BasicSpan
hiCharIndex, loCharIndex, loTextTokenIndex
 
Constructor Summary
SubSpan(java.lang.String documentId, TextToken[] textTokens, int loTextTokenIndex, int spanLen, java.lang.String documentGroupId, int startIndex)
           
 
Method Summary
 int getStartIndex()
           
 
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
 

Constructor Detail

SubSpan

public SubSpan(java.lang.String documentId,
               TextToken[] textTokens,
               int loTextTokenIndex,
               int spanLen,
               java.lang.String documentGroupId,
               int startIndex)
Method Detail

getStartIndex

public int getStartIndex()