net.wimpi.text.std
Class PatternMatchingResource

java.lang.Object
  |
  +--net.wimpi.text.std.PatternMatchingResource
All Implemented Interfaces:
ProcessingResource

public class PatternMatchingResource
extends java.lang.Object
implements ProcessingResource

A class that implements a processing resource encapsulating a jakarata-oro pattern matcher for regular expressions.

Version:
0.2 19/11/2002
Author:
Dieter Wimberger
See Also:
ProcessingResource

Constructor Summary
PatternMatchingResource()
           
 
Method Summary
 ProcessingResource createResource()
          Returns a reference to a ProcessingResource.
 org.apache.oro.text.regex.PatternMatcher getPatternMatcher()
          Returns a reference to the encapsulated PatternMatcher instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternMatchingResource

public PatternMatchingResource()
Method Detail

getPatternMatcher

public org.apache.oro.text.regex.PatternMatcher getPatternMatcher()
Returns a reference to the encapsulated PatternMatcher instance.
Returns:
the reference to the encapsulated PatternMatcher.

createResource

public ProcessingResource createResource()
Description copied from interface: ProcessingResource
Returns a reference to a ProcessingResource. This resource can be either newly created or cloned, however the implementation wishes to handle it.
Specified by:
createResource in interface ProcessingResource
Following copied from interface: net.wimpi.text.ProcessingResource
Returns:
the newly created or cloned ProcessingResource instance.


Copyright © 2001,2002 Dieter Wimberger. All Rights Reserved.