public interface Span
| Modifier and Type | Method and Description |
|---|---|
Object |
getDocument() |
int |
getEndIdx()
Returns an integer index identifying the end of this span.
|
int |
getStartIdx()
Returns an integer index identifying the start of this span.
|
String |
getText()
Returns a textual representatio of the span, suitable for XML output, e.g.
|
Span |
intersection(Span r)
Returns a new span that is the intersection of this span and another.
|
boolean |
intersects(Span r) |
boolean |
isSubspan(Span r) |
String getText()
Span intersection(Span r)
Object getDocument()
boolean intersects(Span r)
boolean isSubspan(Span r)
int getStartIdx()
int getEndIdx()
Copyright © 2019 JULIE Lab, Germany. All rights reserved.