|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.util.XPMatch
public class XPMatch
Represents A resulting object from a single regular expression match.
Constructor Summary | |
---|---|
XPMatch(MatchResult mr)
All matchers have the state used by Pattern during a match. |
Method Summary | |
---|---|
int |
GetIndex()
Returns the position in the original string where the first character of the matched substring was found. |
int |
GetLength()
Returns the length of the matched substring. |
java.lang.String |
GetValue()
Returns the matched substring from the input string. |
boolean |
Success()
Gets a value indicating whether the match is successful. |
java.lang.String |
ToString()
Gets the matched substring from the input string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPMatch(MatchResult mr)
mr
- Apache regex MatchResult.Method Detail |
---|
public java.lang.String ToString()
public int GetIndex()
public int GetLength()
public java.lang.String GetValue()
public boolean Success()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |