public class RegexFilter extends JSONDataFilter
DataFilter.Abort| Modifier and Type | Field and Description |
|---|---|
protected Pattern[] |
_patterns |
protected String[] |
_replaces |
protected String[] |
_templates |
| Constructor and Description |
|---|
RegexFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkPatterns() |
protected Object |
filterString(String string) |
void |
init(Object init)
Assumes the init object is an Array of 2 element Arrays:
[regex,replacement].
|
filter, filterArray, filterBoolean, filterMap, filterNumber, filterObjectprotected String[] _templates
protected String[] _replaces
protected transient Pattern[] _patterns
public void init(Object init)
init in class JSONDataFilterprotected void checkPatterns()
protected Object filterString(String string)
filterString in class JSONDataFilterCopyright © 2008-2013 Dojo Foundation. All Rights Reserved.