|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.annotator.regex.impl.Position_impl
public class Position_impl
Field Summary |
---|
Fields inherited from interface org.apache.uima.annotator.regex.Position |
---|
END_LOCATION, START_LOCATION |
Constructor Summary | |
---|---|
Position_impl(int matchGroup,
int location)
|
Method Summary | |
---|---|
int |
getMatchGroup()
Get the match group number of this position. |
int |
getMatchPosition(java.util.regex.Matcher matcher)
Returns the index of the first or last character of the subsequence this position's match group covers, dependent on whether this position denotes the begin or end of the match group. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Position_impl(int matchGroup, int location)
matchGroup
- location
- Method Detail |
---|
public int getMatchGroup()
Position
getMatchGroup
in interface Position
public int getMatchPosition(java.util.regex.Matcher matcher)
Position
getMatchPosition
in interface Position
matcher
- The matcher that matched the subsequence.
Matcher.start(int)
,
Matcher.end(int)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |