|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.acmsl.regexpplugin.jakartaoro.MatchResultOROAdapter
Represents the result of match in a regexp parsing process using Jakarta ORO package.
Field Summary | |
static org.acmsl.version.Version |
VERSION
Concrete version object updated everytime it's checked-in in a CVS repository. |
Constructor Summary | |
MatchResultOROAdapter(org.apache.oro.text.regex.MatchResult matchResult)
Constructs a MatchResultOROAdapter from given Jakarta ORO-specific instance. |
Method Summary | |
protected org.apache.oro.text.regex.MatchResult |
getAdaptee()
Retrieves the adaptee. |
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 ORO javadoc: Returns the contents of the parenthesized subgroups of a match, counting parentheses from left to right and starting from 1. |
int |
groups()
Taken from Jakarta ORO 2.0.6 javadoc: The number of groups contained in the result. |
protected void |
setAdaptee(org.apache.oro.text.regex.MatchResult adaptee)
Sets the adaptee. |
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 MatchResultOROAdapter(org.apache.oro.text.regex.MatchResult matchResult)
matchResult
- Jakarta ORO match result object to adapt.Method Detail |
protected void setAdaptee(org.apache.oro.text.regex.MatchResult adaptee)
adaptee
- the instance to adapt.protected org.apache.oro.text.regex.MatchResult getAdaptee()
public java.lang.String group(int group)
group
in interface MatchResult
group
- The pattern subgroup to return.
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 |