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

Quick Search    Search Deep

org.acmsl.regexpplugin.jdk14regexp
Class PatternJDKAdapter  view PatternJDKAdapter download PatternJDKAdapter.java

java.lang.Object
  extended byorg.acmsl.regexpplugin.jdk14regexp.PatternJDKAdapter
All Implemented Interfaces:
org.acmsl.regexpplugin.Pattern

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

Adapts JDK1.4 pattern objects to follow the generic Pattern interface defined in this API.

Version:
$Revision: 1.4 $

Field Summary
private  java.util.regex.Pattern m__Instance
          Delegated instance.
static Version VERSION
          Concrete version object updated everytime it's checked-in in a CVS repository.
 
Constructor Summary
PatternJDKAdapter(java.util.regex.Pattern adaptee)
          Constructs a PatternJDKAdapter for given object.
 
Method Summary
static Version getClassVersion()
          Retrieves the current version of this class.
(package private)  java.util.regex.Pattern getDelegatedInstance()
          Retrieves an instance of the Pattern class.
 Version getVersion()
          Retrieves the current version of this object.
(package private)  void setDelegatedInstance(java.util.regex.Pattern adaptee)
          Sets the pattern to adapt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m__Instance

private java.util.regex.Pattern m__Instance
Delegated instance.


VERSION

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

Constructor Detail

PatternJDKAdapter

public PatternJDKAdapter(java.util.regex.Pattern adaptee)
Constructs a PatternJDKAdapter for given object.

Method Detail

setDelegatedInstance

void setDelegatedInstance(java.util.regex.Pattern adaptee)
Sets the pattern to adapt. Note: This method has package private access rights.


getDelegatedInstance

java.util.regex.Pattern getDelegatedInstance()
Retrieves an instance of the Pattern class. Note: This method has package private access rights.


getVersion

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


getClassVersion

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