org.xwt.js
Class Regexp

java.lang.Object
  extended byorg.xwt.js.JS
      extended byorg.xwt.js.JS.Obj
          extended byorg.xwt.js.Regexp

public class Regexp
extends JS.Obj


Nested Class Summary
 
Nested classes inherited from class org.xwt.js.JS
JS.Array, JS.Callable, JS.Context, JS.Exn, JS.GlobalScope, JS.Graft, JS.Obj, JS.Scope, JS.TailCall
 
Constructor Summary
Regexp(JS.Array args)
           
 
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 org.xwt.js.JS.Obj
get, keys, put2, setSeal
 
Methods inherited from class org.xwt.js.JS
coerceToBoolean, coerceToNumber, coerceToString, parse, toBoolean, toDouble, toInt, toLong, toNumber, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Regexp

public Regexp(JS.Array args)
       throws JS.Exn
Method Detail

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