com.simonstl.fragment
Class Regex4jMatch

java.lang.Object
  |
  +--com.simonstl.fragment.Regex4jMatch
All Implemented Interfaces:
RegExInt

public class Regex4jMatch
extends java.lang.Object
implements RegExInt

Regex4jMatch wraps the IBM com.ibm.regex.RegularExpression class for matching. Although the regex4j package is a superset of the Xerces regex classes, it is neither freely redistributable nor open source.

Version 0.01 is based on the similar XercesMatch.

Version:
0.01 11 July 2001
Author:
Simon St.Laurent

Constructor Summary
Regex4jMatch()
           
Regex4jMatch(java.lang.String _pattern)
           
 
Method Summary
 java.util.ArrayList divide(java.lang.String elementContent)
          This implementation uses the Apache Xerces regex engine to support the RegExInt interface.
 void setPattern(java.lang.String _pattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Regex4jMatch

public Regex4jMatch()

Regex4jMatch

public Regex4jMatch(java.lang.String _pattern)
Method Detail

setPattern

public void setPattern(java.lang.String _pattern)
Specified by:
setPattern in interface RegExInt

divide

public java.util.ArrayList divide(java.lang.String elementContent)
This implementation uses the Apache Xerces regex engine to support the RegExInt interface.
Specified by:
divide in interface RegExInt