|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.acmsl.regexpplugin.jakartaregexp.MatchResultRegexpAdapter
Represents the result of match in a regexp parsing process using Jakarta Regexp package.
Field Summary | |
static org.acmsl.version.Version |
VERSION
Concrete version object updated everytime it's checked-in in a CVS repository. |
Constructor Summary | |
MatchResultRegexpAdapter(org.apache.regexp.RE matchResult)
Constructs a REMatchResultRegexpAdapter from given Jakarta Regexp-specific instance. |
Method Summary | |
org.apache.regexp.RE |
getAdaptee()
Retrieves the adapted instance. |
static org.acmsl.version.Version |
getClassVersion()
Retrieves the current version of this class. |
org.acmsl.version.Version |
getVersion()
Retrieves the current version of this object. |
java.lang.String |
group(int group)
Taken from Jakarta Regexp javadoc: Gets the contents of a parenthesized subexpression after a successful match. |
int |
groups()
Taken from Jakarta Regexp 1.2 javadoc: Returns the number of parenthesized subexpressions available after a successful match.. |
protected void |
setAdaptee(org.apache.regexp.RE matchResult)
Sets the instance to adapt. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final org.acmsl.version.Version VERSION
Constructor Detail |
public MatchResultRegexpAdapter(org.apache.regexp.RE matchResult)
matchResult
- Jakarta Regexp match result object to adapt.Method Detail |
protected void setAdaptee(org.apache.regexp.RE matchResult)
matchResult
- the adaptee.public org.apache.regexp.RE getAdaptee()
public java.lang.String group(int group)
group
in interface MatchResult
group
- Nesting level of subexpression.
public int groups()
groups
in interface MatchResult
public org.acmsl.version.Version getVersion()
getVersion
in interface org.acmsl.version.Versionable
public static org.acmsl.version.Version getClassVersion()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |