Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acmsl.regexpplugin.jakartaregexp
Class PatternRegexpAdapter  view PatternRegexpAdapter download PatternRegexpAdapter.java

java.lang.Object
  extended byorg.acmsl.regexpplugin.jakartaregexp.PatternRegexpAdapter
All Implemented Interfaces:
org.acmsl.regexpplugin.Pattern

public class PatternRegexpAdapter
extends java.lang.Object
implements org.acmsl.regexpplugin.Pattern

Adapts Jakarta Regexp REProgram objects to follow the generic Pattern interface defined in this API.

Version:
$Revision: 1.4 $

Field Summary
private  org.apache.regexp.REProgram m__Instance
          Delegated instance.
private  org.apache.regexp.RE m__RE
          RE reference needed to pass compiler configuration to the mather.
static Version VERSION
          Concrete version object updated everytime it's checked-in in a CVS repository.
 
Constructor Summary
PatternRegexpAdapter(org.apache.regexp.REProgram adaptee, org.apache.regexp.RE re)
          Constructs a PatternRegexpAdapter for given object.
 
Method Summary
static Version getClassVersion()
          Retrieves the current version of this class.
protected  org.apache.regexp.REProgram getDelegatedInstance()
          Retrieves an instance of a REProgram class.
(package private)  org.apache.regexp.RE getRE()
          Retrieves the associated RE reference.
 Version getVersion()
          Retrieves the current version of this object.
protected  void setAdaptee(org.apache.regexp.REProgram adaptee)
          Sets the instance to adapt.
(package private)  void setRE(org.apache.regexp.RE re)
          Sets the RE reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m__Instance

private org.apache.regexp.REProgram m__Instance
Delegated instance.


m__RE

private org.apache.regexp.RE m__RE
RE reference needed to pass compiler configuration to the mather.


VERSION

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

Constructor Detail

PatternRegexpAdapter

public PatternRegexpAdapter(org.apache.regexp.REProgram adaptee,
                            org.apache.regexp.RE re)
Constructs a PatternRegexpAdapter for given object.

Method Detail

setAdaptee

protected void setAdaptee(org.apache.regexp.REProgram adaptee)
Sets the instance to adapt.


getDelegatedInstance

protected org.apache.regexp.REProgram getDelegatedInstance()
Retrieves an instance of a REProgram class.


setRE

void setRE(org.apache.regexp.RE re)
Sets the RE reference.


getRE

org.apache.regexp.RE getRE()
Retrieves the associated RE reference. Note: Other classes in this package can access this method.


getVersion

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


getClassVersion

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