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

java.lang.Objectorg.acmsl.regexpplugin.jakartaregexp.MatcherRegexpAdapter
- All Implemented Interfaces:
- org.acmsl.regexpplugin.Matcher
- public class MatcherRegexpAdapter
- extends java.lang.Object
- implements org.acmsl.regexpplugin.Matcher
- 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__RE
Private RE reference. |
static Version |
VERSION
Concrete version object updated everytime it's checked-in in a CVS repository. |
| Constructor Summary | |
MatcherRegexpAdapter()
Constructs an empty REMatcherRegexpAdapter. |
|
| Method Summary | |
boolean |
contains(java.lang.String text,
org.acmsl.regexpplugin.Pattern pattern)
Checks if given text contains specified pattern. |
org.apache.regexp.RE |
getAdaptee()
Retrieves the adapted instance. |
static Version |
getClassVersion()
Retrieves the current version of this class. |
org.acmsl.regexpplugin.MatchResult |
getMatch()
Retrieves the last match found due to a previous call to contains method. |
Version |
getVersion()
Retrieves the current version of this object. |
protected void |
setAdaptee(org.apache.regexp.RE adaptee)
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__RE
private org.apache.regexp.RE m__RE
- Private RE reference.
VERSION
public static final Version VERSION
- Concrete version object updated everytime it's checked-in in a CVS
repository.
| Constructor Detail |
MatcherRegexpAdapter
public MatcherRegexpAdapter()
- Constructs an empty REMatcherRegexpAdapter.
| Method Detail |
setAdaptee
protected void setAdaptee(org.apache.regexp.RE adaptee)
- Sets the instance to adapt.
getAdaptee
public org.apache.regexp.RE getAdaptee()
- Retrieves the adapted instance.
contains
public boolean contains(java.lang.String text, org.acmsl.regexpplugin.Pattern pattern)
- Checks if given text contains specified pattern.
- Specified by:
containsin interfaceorg.acmsl.regexpplugin.Matcher
getMatch
public org.acmsl.regexpplugin.MatchResult getMatch()
- Retrieves the last match found due to a previous call to
contains method.
- Specified by:
getMatchin interfaceorg.acmsl.regexpplugin.Matcher
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: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.acmsl.regexpplugin.jakartaregexp.MatcherRegexpAdapter