public class HtmlUnitRegExpProxy
extends org.mozilla.javascript.regexp.RegExpImpl
| Constructor and Description |
|---|
HtmlUnitRegExpProxy(org.mozilla.javascript.RegExpProxy wrapped)
Wraps a proxy to enhance it
|
| Modifier and Type | Method and Description |
|---|---|
Object |
action(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
int actionType)
Use wrapped proxy except for replacement with string arg where it uses Java regular expression
|
Object |
compileRegExp(org.mozilla.javascript.Context cx,
String source,
String flags) |
int |
find_split(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
String target,
String separator,
org.mozilla.javascript.Scriptable re,
int[] ip,
int[] matchlen,
boolean[] matched,
String[][] parensp) |
protected org.apache.commons.logging.Log |
getLog()
Return the log object for this object.
|
boolean |
isRegExp(org.mozilla.javascript.Scriptable obj) |
org.mozilla.javascript.Scriptable |
wrapRegExp(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
Object compiled) |
public HtmlUnitRegExpProxy(org.mozilla.javascript.RegExpProxy wrapped)
wrapped - the original proxypublic Object action(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, Object[] args, int actionType)
action in interface org.mozilla.javascript.RegExpProxyaction in class org.mozilla.javascript.regexp.RegExpImplpublic Object compileRegExp(org.mozilla.javascript.Context cx, String source, String flags)
compileRegExp in interface org.mozilla.javascript.RegExpProxycompileRegExp in class org.mozilla.javascript.regexp.RegExpImplpublic int find_split(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
String target,
String separator,
org.mozilla.javascript.Scriptable re,
int[] ip,
int[] matchlen,
boolean[] matched,
String[][] parensp)
find_split in interface org.mozilla.javascript.RegExpProxyfind_split in class org.mozilla.javascript.regexp.RegExpImplpublic boolean isRegExp(org.mozilla.javascript.Scriptable obj)
isRegExp in interface org.mozilla.javascript.RegExpProxyisRegExp in class org.mozilla.javascript.regexp.RegExpImplpublic org.mozilla.javascript.Scriptable wrapRegExp(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
Object compiled)
wrapRegExp in interface org.mozilla.javascript.RegExpProxywrapRegExp in class org.mozilla.javascript.regexp.RegExpImplprotected final org.apache.commons.logging.Log getLog()
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.