org.acmsl.regexpplugin.gnuregexp
Class PatternGNUAdapter

java.lang.Object
  |
  +--org.acmsl.regexpplugin.gnuregexp.PatternGNUAdapter
All Implemented Interfaces:
Pattern, org.acmsl.version.Versionable

public class PatternGNUAdapter
extends java.lang.Object
implements Pattern

Adapts GNU Regexp 1.1.4 RE objects to follow the generic Pattern interface defined in this API.

Version:
$Revision: 1.3 $
Author:
Jose San Leandro Armend?riz

Field Summary
static org.acmsl.version.Version VERSION
          Concrete version object updated everytime it's checked-in in a CVS repository.
 
Constructor Summary
PatternGNUAdapter(gnu.regexp.RE adaptee)
          Constructs a PatternGNUAdapter for given object.
 
Method Summary
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.
protected  void setAdaptee(gnu.regexp.RE adaptee)
          Sets the adaptee.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final org.acmsl.version.Version VERSION
Concrete version object updated everytime it's checked-in in a CVS repository.

Constructor Detail

PatternGNUAdapter

public PatternGNUAdapter(gnu.regexp.RE adaptee)
Constructs a PatternGNUAdapter for given object.

Parameters:
adaptee - the instance to be adapted.
Method Detail

setAdaptee

protected void setAdaptee(gnu.regexp.RE adaptee)
Sets the adaptee.

Parameters:
adaptee - the instance to adapt.

getVersion

public org.acmsl.version.Version getVersion()
Retrieves the current version of this object.

Specified by:
getVersion in interface org.acmsl.version.Versionable
Returns:
the version object with such information.

getClassVersion

public static org.acmsl.version.Version getClassVersion()
Retrieves the current version of this class.

Returns:
the object with class version information.


Copyright © 2003 ACM S.L.. All Rights Reserved.