public class RegExpFactory extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
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 |
static String |
ORO_INST
The instance name to use for the ORO Apache regular expression library.
|
| 构造器和说明 |
|---|
RegExpFactory(Query q) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 ORO_INST
public static final String GNU_INST
public RegExpFactory(Query q)
public String getDefaultInstanceName()
public void setDefaultInstanceName(String n)
public RegExp getDefaultInstance(Query q) throws QueryExecutionException
public RegExp getInstance(String type, Query q) throws QueryExecutionException
Copyright © 2021. All rights reserved.