public class RegExpFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
APACHE_REGEXP_INST
The instance name to use for the Apache RegExp regular expression library.
|
static String |
GNU_INST
The instance name to use for the GNU regular expression library.
|
static String |
JAVA_INST
The instance name to use for the Java 1.4 (java.util.regex) regular expression library.
|
static String |
ORO_INST
The instance name to use for the ORO Apache regular expression library.
|
Constructor and Description |
---|
RegExpFactory(Query q) |
Modifier and Type | Method and Description |
---|---|
void |
addInstance(String name,
RegExp re,
boolean def) |
RegExp |
getDefaultInstance(Query q) |
String |
getDefaultInstanceName() |
RegExp |
getInstance(String type,
Query q) |
String |
getSupportedVersion(String instName) |
void |
setDefaultInstanceName(String n) |
public static final String JAVA_INST
public static final String ORO_INST
public static final String GNU_INST
public static final String APACHE_REGEXP_INST
public RegExpFactory(Query q)
public String getDefaultInstanceName()
public void setDefaultInstanceName(String n)
public RegExp getDefaultInstance(Query q) throws QueryExecutionException
QueryExecutionException
public RegExp getInstance(String type, Query q) throws QueryExecutionException
QueryExecutionException