org.xwt.js
Class Regexp
java.lang.Object
org.xwt.js.JS
org.xwt.js.JS.Obj
org.xwt.js.Regexp
- public class Regexp
- extends JS.Obj
Method Summary |
java.lang.Object |
_get(java.lang.Object key)
|
void |
_put(java.lang.Object key,
java.lang.Object value)
|
java.lang.Object |
callMethod(java.lang.Object method,
JS.Array args,
boolean checkOnly)
|
java.lang.Object |
get(java.lang.Object key)
|
static RE |
newRE(java.lang.String pattern,
int flags)
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
static java.lang.Object |
stringMatch(java.lang.Object o,
JS.Array args)
|
static java.lang.Object |
stringReplace(java.lang.Object o,
JS.Array args)
|
static java.lang.Object |
stringSearch(java.lang.Object o,
JS.Array args)
|
static java.lang.Object |
stringSplit(java.lang.Object o,
JS.Array args)
|
java.lang.String |
toString()
|
java.lang.String |
typeName()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Regexp
public Regexp(JS.Array args)
throws JS.Exn
callMethod
public java.lang.Object callMethod(java.lang.Object method,
JS.Array args,
boolean checkOnly)
throws JS.Exn
- Overrides:
callMethod
in class JS
- Throws:
JS.Exn
get
public java.lang.Object get(java.lang.Object key)
- Overrides:
get
in class JS.Obj
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
- Overrides:
put
in class JS.Obj
_get
public java.lang.Object _get(java.lang.Object key)
_put
public void _put(java.lang.Object key,
java.lang.Object value)
toString
public java.lang.String toString()
stringMatch
public static java.lang.Object stringMatch(java.lang.Object o,
JS.Array args)
throws JS.Exn
- Throws:
JS.Exn
stringSearch
public static java.lang.Object stringSearch(java.lang.Object o,
JS.Array args)
throws JS.Exn
- Throws:
JS.Exn
stringReplace
public static java.lang.Object stringReplace(java.lang.Object o,
JS.Array args)
throws JS.Exn
- Throws:
JS.Exn
stringSplit
public static java.lang.Object stringSplit(java.lang.Object o,
JS.Array args)
newRE
public static RE newRE(java.lang.String pattern,
int flags)
throws JS.Exn
- Throws:
JS.Exn
typeName
public java.lang.String typeName()
- Overrides:
typeName
in class JS