|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.javascript.regexp.RegExpImpl
com.gargoylesoftware.htmlunit.javascript.regexp.HtmlUnitRegExpProxy
public class HtmlUnitRegExpProxy
Begins customisation of JavaScript RegExp base on JDK regular expression support.
Field Summary |
---|
Fields inherited from interface org.mozilla.javascript.RegExpProxy |
---|
RA_MATCH, RA_REPLACE, RA_SEARCH |
Constructor Summary | |
---|---|
HtmlUnitRegExpProxy(org.mozilla.javascript.RegExpProxy wrapped)
Wraps a proxy to enhance it |
Method Summary | |
---|---|
java.lang.Object |
action(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args,
int actionType)
Use wrapped proxy except for replacement with string arg where it uses Java regular expression |
java.lang.Object |
compileRegExp(org.mozilla.javascript.Context cx,
java.lang.String source,
java.lang.String flags)
|
int |
find_split(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
java.lang.String target,
java.lang.String separator,
org.mozilla.javascript.Scriptable re,
int[] ip,
int[] matchlen,
boolean[] matched,
java.lang.String[][] parensp)
|
boolean |
isRegExp(org.mozilla.javascript.Scriptable obj)
|
org.mozilla.javascript.Scriptable |
wrapRegExp(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
java.lang.Object compiled)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlUnitRegExpProxy(org.mozilla.javascript.RegExpProxy wrapped)
wrapped
- the original proxyMethod Detail |
---|
public java.lang.Object action(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] args, int actionType)
action
in interface org.mozilla.javascript.RegExpProxy
action
in class org.mozilla.javascript.regexp.RegExpImpl
public java.lang.Object compileRegExp(org.mozilla.javascript.Context cx, java.lang.String source, java.lang.String flags)
compileRegExp
in interface org.mozilla.javascript.RegExpProxy
compileRegExp
in class org.mozilla.javascript.regexp.RegExpImpl
public int find_split(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, java.lang.String target, java.lang.String separator, org.mozilla.javascript.Scriptable re, int[] ip, int[] matchlen, boolean[] matched, java.lang.String[][] parensp)
find_split
in interface org.mozilla.javascript.RegExpProxy
find_split
in class org.mozilla.javascript.regexp.RegExpImpl
public boolean isRegExp(org.mozilla.javascript.Scriptable obj)
isRegExp
in interface org.mozilla.javascript.RegExpProxy
isRegExp
in class org.mozilla.javascript.regexp.RegExpImpl
public org.mozilla.javascript.Scriptable wrapRegExp(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, java.lang.Object compiled)
wrapRegExp
in interface org.mozilla.javascript.RegExpProxy
wrapRegExp
in class org.mozilla.javascript.regexp.RegExpImpl
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |