|
|||||||||
| Home >> All >> org >> acmsl >> regexpplugin >> [ jdk14regexp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.acmsl.regexpplugin.jdk14regexp
Class MatchResultJDKAdapter

java.lang.Objectorg.acmsl.regexpplugin.jdk14regexp.MatchResultJDKAdapter
- All Implemented Interfaces:
- org.acmsl.regexpplugin.MatchResult
- public class MatchResultJDKAdapter
- extends java.lang.Object
- implements org.acmsl.regexpplugin.MatchResult
- extends java.lang.Object
Represents the result of match in a regexp parsing process using JDK1.4 regexp package.
- Version:
- $Revision: 1.5 $
| Field Summary | |
private java.util.regex.Matcher |
m__Adaptee
Adapted object. |
static Version |
VERSION
Concrete version object updated everytime it's checked-in in a CVS repository. |
| Constructor Summary | |
MatchResultJDKAdapter(java.util.regex.Matcher matcher)
Constructs a MatchResultJDKAdapter from given JDK1.4 Regexp-specific instance. |
|
| Method Summary | |
java.util.regex.Matcher |
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 JDK1.4 javadoc: Returns the input subsequence captured by the given group during the previous match operation.. |
int |
groups()
Taken from JDK 1.4 javadoc: Returns the number of capturing groups in this matcher's pattern.. |
protected void |
setAdaptee(java.util.regex.Matcher matcher)
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 java.util.regex.Matcher 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 |
MatchResultJDKAdapter
public MatchResultJDKAdapter(java.util.regex.Matcher matcher)
- Constructs a MatchResultJDKAdapter from given JDK1.4
Regexp-specific instance.
| Method Detail |
setAdaptee
protected void setAdaptee(java.util.regex.Matcher matcher)
- Sets the instance to adapt.
getAdaptee
public java.util.regex.Matcher getAdaptee()
- Retrieves the adapted instance.
group
public java.lang.String group(int group)
- Taken from JDK1.4 javadoc:
Returns the input subsequence captured by the given group
during the previous match operation..
- Specified by:
groupin interfaceorg.acmsl.regexpplugin.MatchResult
groups
public int groups()
- Taken from JDK 1.4 javadoc:
Returns the number of capturing groups in this matcher's
pattern..
- Specified by:
groupsin 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 >> [ jdk14regexp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.acmsl.regexpplugin.jdk14regexp.MatchResultJDKAdapter