| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.acmsl.regexpplugin.gnuregexp.MatchResultGNUAdapter
Represents the result of match in a regexp parsing process using GNU Regexp 1.1.4 package.
| Field Summary | |
| static org.acmsl.version.Version | VERSIONConcrete version object updated everytime it's checked-in in a CVS repository. | 
| Constructor Summary | |
| MatchResultGNUAdapter(gnu.regexp.REMatch adaptee,
                      int groups)Constructs a MatchResultGNUAdapter from given GNU Regexp 1.1.4 REMatch instance. | |
| Method Summary | |
| protected  gnu.regexp.REMatch | 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 JDK1.4 javadoc: Returns the string matching the given subexpression. | 
|  int | groups()Taken from GNU Regexp 1.4 javadoc: Returns the maximum number of subexpressions in this regular expression. | 
| protected  void | setAdaptee(gnu.regexp.REMatch adaptee)Sets the adaptee. | 
| protected  void | setGroups(int groups)Sets the group count. | 
| 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 MatchResultGNUAdapter(gnu.regexp.REMatch adaptee,
                             int groups)
adaptee - GNU Regexp 1.1.4 REMatch object to adapt.groups - the group count.| Method Detail | 
protected void setAdaptee(gnu.regexp.REMatch adaptee)
adaptee - the instance to adapt.protected gnu.regexp.REMatch getAdaptee()
public java.lang.String group(int group)
group in interface MatchResultgroup - Index of the subexpression.
public int groups()
groups in interface MatchResultprotected void setGroups(int groups)
groups - the number of groups.public org.acmsl.version.Version getVersion()
getVersion in interface org.acmsl.version.Versionablepublic static org.acmsl.version.Version getClassVersion()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||