de.dfki.lt.tools.tokenizer.regexp
Class RegExpFactory

java.lang.Object
  extended byde.dfki.lt.tools.tokenizer.regexp.RegExpFactory
Direct Known Subclasses:
JavaRegExpFactory

public abstract class RegExpFactory
extends java.lang.Object

RegExpFactory is an abstract class for creating objects that fit the RegExp interface.

Version:
$Id: RegExpFactory.java,v 1.4 2005/04/12 08:47:37 steffen Exp $
Author:
Joerg Steffen, DFKI

Constructor Summary
RegExpFactory()
           
 
Method Summary
abstract  RegExp createRegExp(java.lang.String regExpString)
          This specifies a method signature that creates a regular expression object from an input string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegExpFactory

public RegExpFactory()
Method Detail

createRegExp

public abstract RegExp createRegExp(java.lang.String regExpString)
                             throws InitializationException
This specifies a method signature that creates a regular expression object from an input string.

Parameters:
regExpString - a String with a regular expression
Returns:
a RegExp build from the input string
Throws:
InitializationException - if regular expression is not well formed