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

Quick Search    Search Deep

org.acmsl.regexpplugin.jakartaoro
Class AwkMatcherOROAdapter  view AwkMatcherOROAdapter download AwkMatcherOROAdapter.java

java.lang.Object
  extended byorg.acmsl.regexpplugin.jakartaoro.AwkMatcherOROAdapter
All Implemented Interfaces:
org.acmsl.regexpplugin.Matcher

public class AwkMatcherOROAdapter
extends java.lang.Object
implements org.acmsl.regexpplugin.Matcher

Jakarta ORO-specific regexp compiler adapter. This class makes possible the use of ORO compilers inside this API. A delegation is used because Perl5Compiler is a final class.

Version:
$Revision: 1.6 $

Field Summary
private  org.apache.oro.text.awk.AwkMatcher m__Instance
          Delegated instance.
static Version VERSION
          Concrete version object updated everytime it's checked-in in a CVS repository.
 
Constructor Summary
AwkMatcherOROAdapter()
          Constructs an AwkMatcherOROAdapter for given object.
 
Method Summary
 boolean contains(java.lang.String text, org.acmsl.regexpplugin.Pattern pattern)
          Checks if given text contains specified pattern.
static Version getClassVersion()
          Retrieves the current version of this class.
protected  org.apache.oro.text.awk.AwkMatcher getDelegatedInstance()
          Retrieves an instance of AwkMatcher 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.oro.text.awk.AwkMatcher adaptee)
          Sets the adaptee.
 
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.oro.text.awk.AwkMatcher 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

AwkMatcherOROAdapter

public AwkMatcherOROAdapter()
Constructs an AwkMatcherOROAdapter for given object.

Method Detail

contains

public boolean contains(java.lang.String text,
                        org.acmsl.regexpplugin.Pattern pattern)
Checks if given text contains specified pattern.

Specified by:
contains in interface org.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:
getMatch in interface org.acmsl.regexpplugin.Matcher

setAdaptee

protected void setAdaptee(org.apache.oro.text.awk.AwkMatcher adaptee)
Sets the adaptee.


getDelegatedInstance

protected org.apache.oro.text.awk.AwkMatcher getDelegatedInstance()
Retrieves an instance of AwkMatcher class.


getVersion

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


getClassVersion

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