|
|||||||||
Home >> All >> org >> acmsl >> regexpplugin >> [ jakartaregexp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
org.acmsl.regexpplugin.jakartaregexp
Class MatchResultRegexpAdapter

java.lang.Objectorg.acmsl.regexpplugin.jakartaregexp.MatchResultRegexpAdapter
- All Implemented Interfaces:
- org.acmsl.regexpplugin.MatchResult
- public class MatchResultRegexpAdapter
- extends java.lang.Object
- implements org.acmsl.regexpplugin.MatchResult
- extends java.lang.Object
Represents the result of match in a regexp parsing process using Jakarta Regexp package.
- Version:
- $Revision: 1.5 $
Field Summary | |
private org.apache.regexp.RE |
m__Adaptee
Adapted object. |
static 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 Version |
getClassVersion()
Retrieves the current version of this class. |
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 |
m__Adaptee
private org.apache.regexp.RE m__Adaptee
- Adapted object.
VERSION
public static final Version VERSION
- Concrete version object updated everytime it's checked-in in a CVS
repository.
Constructor Detail |
MatchResultRegexpAdapter
public MatchResultRegexpAdapter(org.apache.regexp.RE matchResult)
- Constructs a REMatchResultRegexpAdapter from given Jakarta
Regexp-specific instance.
Method Detail |
setAdaptee
protected void setAdaptee(org.apache.regexp.RE matchResult)
- Sets the instance to adapt.
getAdaptee
public org.apache.regexp.RE getAdaptee()
- Retrieves the adapted instance.
group
public java.lang.String group(int group)
- Taken from Jakarta Regexp javadoc:
Gets the contents of a parenthesized subexpression after a
successful match.
- Specified by:
group
in interfaceorg.acmsl.regexpplugin.MatchResult
groups
public int groups()
- Taken from Jakarta Regexp 1.2 javadoc:
Returns the number of parenthesized subexpressions available
after a successful match..
- Specified by:
groups
in interfaceorg.acmsl.regexpplugin.MatchResult
getVersion
public Version getVersion()
- Retrieves the current version of this object.
getClassVersion
public static Version getClassVersion()
- Retrieves the current version of this class.
|
|||||||||
Home >> All >> org >> acmsl >> regexpplugin >> [ jakartaregexp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |