Modifier and Type | Field and Description |
---|---|
private boolean |
global |
private boolean |
icase |
private Directive |
inner |
private boolean |
match |
static int |
MODE_GLOBAL |
static int |
MODE_ICASE |
static int |
MODE_MATCH |
private java.util.regex.Pattern |
pattern |
private java.lang.String |
regex |
private java.lang.String |
replace |
private Locator |
role |
Constructor and Description |
---|
RegexDirective(Directive inner,
Locator role,
java.lang.String regex) |
RegexDirective(Directive inner,
Locator role,
java.lang.String regex,
java.lang.String replace) |
RegexDirective(Directive inner,
Locator role,
java.lang.String regex,
java.lang.String replace,
int mode) |
RegexDirective(Directive inner,
java.lang.String role,
java.lang.String regex) |
RegexDirective(Directive inner,
java.lang.String role,
java.lang.String regex,
java.lang.String replace) |
RegexDirective(Directive inner,
java.lang.String role,
java.lang.String regex,
java.lang.String replace,
int mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
isContextSensitive() |
private ResultRow |
makeRow(ResultRow original,
Locator role,
java.lang.String replacement) |
java.util.ArrayList<ResultRow> |
query(QueryContext context) |
public static final int MODE_MATCH
public static final int MODE_GLOBAL
public static final int MODE_ICASE
private Directive inner
private Locator role
private java.lang.String regex
private java.lang.String replace
private boolean match
private boolean global
private boolean icase
private java.util.regex.Pattern pattern
public RegexDirective(Directive inner, Locator role, java.lang.String regex, java.lang.String replace, int mode)
public RegexDirective(Directive inner, java.lang.String role, java.lang.String regex, java.lang.String replace, int mode)
public RegexDirective(Directive inner, Locator role, java.lang.String regex, java.lang.String replace)
public RegexDirective(Directive inner, java.lang.String role, java.lang.String regex, java.lang.String replace)
public RegexDirective(Directive inner, java.lang.String role, java.lang.String regex)
public java.util.ArrayList<ResultRow> query(QueryContext context) throws TopicMapException
query
in interface Directive
TopicMapException
public boolean isContextSensitive()
isContextSensitive
in interface Directive
Copyright 2004-2015 Wandora Team