diff options
author | Egil Moeller <egil.moller@freecode.no> | 2010-03-21 23:33:06 +0100 |
---|---|---|
committer | Egil Moeller <egil.moller@freecode.no> | 2010-03-21 23:33:06 +0100 |
commit | d56b9b3b82cdebcaeb00eec0fcb4326ad21adaa8 (patch) | |
tree | b1dfe31956f3fc86e3408f1efac5e12acf65b11a /infrastructure/rhino1_7R1/javadoc | |
parent | c1894c8e0a52f4e3d2f89fa92f0066bbf0fcf1b1 (diff) | |
parent | 103d4926ae6c61824dc0b48be7bf66f08830ed47 (diff) | |
download | etherpad-d56b9b3b82cdebcaeb00eec0fcb4326ad21adaa8.tar.gz etherpad-d56b9b3b82cdebcaeb00eec0fcb4326ad21adaa8.tar.xz etherpad-d56b9b3b82cdebcaeb00eec0fcb4326ad21adaa8.zip |
Merge branch 'master' of git@github.com:ether/pad
Diffstat (limited to 'infrastructure/rhino1_7R1/javadoc')
56 files changed, 24375 insertions, 0 deletions
diff --git a/infrastructure/rhino1_7R1/javadoc/allclasses-frame.html b/infrastructure/rhino1_7R1/javadoc/allclasses-frame.html new file mode 100644 index 0000000..073b251 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/allclasses-frame.html @@ -0,0 +1,89 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +All Classes (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + + +</HEAD> + +<BODY BGCOLOR="white"> +<FONT size="+1" CLASS="FrameHeadingFont"> +<B>All Classes</B></FONT> +<BR> + +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript" target="classFrame"><I>Callable</I></A> +<BR> +<A HREF="org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript" target="classFrame">ClassCache</A> +<BR> +<A HREF="org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer" target="classFrame">ClassCompiler</A> +<BR> +<A HREF="org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript" target="classFrame"><I>ClassShutter</I></A> +<BR> +<A HREF="org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript" target="classFrame">CompilerEnvirons</A> +<BR> +<A HREF="org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript" target="classFrame">Context</A> +<BR> +<A HREF="org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript" target="classFrame"><I>ContextAction</I></A> +<BR> +<A HREF="org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript" target="classFrame">ContextFactory</A> +<BR> +<A HREF="org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript" target="classFrame"><I>ContextFactory.Listener</I></A> +<BR> +<A HREF="org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug" target="classFrame"><I>DebuggableScript</I></A> +<BR> +<A HREF="org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript" target="classFrame">EcmaError</A> +<BR> +<A HREF="org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript" target="classFrame"><I>ErrorReporter</I></A> +<BR> +<A HREF="org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript" target="classFrame">EvaluatorException</A> +<BR> +<A HREF="org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript" target="classFrame"><I>Function</I></A> +<BR> +<A HREF="org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript" target="classFrame">FunctionObject</A> +<BR> +<A HREF="org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript" target="classFrame"><I>GeneratedClassLoader</I></A> +<BR> +<A HREF="org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript" target="classFrame">ImporterTopLevel</A> +<BR> +<A HREF="org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript" target="classFrame">JavaScriptException</A> +<BR> +<A HREF="org/mozilla/javascript/RefCallable.html" title="interface in org.mozilla.javascript" target="classFrame"><I>RefCallable</I></A> +<BR> +<A HREF="org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript" target="classFrame">RhinoException</A> +<BR> +<A HREF="org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript" target="classFrame"><I>Script</I></A> +<BR> +<A HREF="org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript" target="classFrame"><I>Scriptable</I></A> +<BR> +<A HREF="org/mozilla/javascript/serialize/ScriptableInputStream.html" title="class in org.mozilla.javascript.serialize" target="classFrame">ScriptableInputStream</A> +<BR> +<A HREF="org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript" target="classFrame">ScriptableObject</A> +<BR> +<A HREF="org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize" target="classFrame">ScriptableOutputStream</A> +<BR> +<A HREF="org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript" target="classFrame">SecurityController</A> +<BR> +<A HREF="org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript" target="classFrame">Synchronizer</A> +<BR> +<A HREF="org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript" target="classFrame">WrapFactory</A> +<BR> +<A HREF="org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript" target="classFrame">WrappedException</A> +<BR> +<A HREF="org/mozilla/javascript/Wrapper.html" title="interface in org.mozilla.javascript" target="classFrame"><I>Wrapper</I></A> +<BR> +</FONT></TD> +</TR> +</TABLE> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/allclasses-noframe.html b/infrastructure/rhino1_7R1/javadoc/allclasses-noframe.html new file mode 100644 index 0000000..48536b4 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/allclasses-noframe.html @@ -0,0 +1,89 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +All Classes (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + + +</HEAD> + +<BODY BGCOLOR="white"> +<FONT size="+1" CLASS="FrameHeadingFont"> +<B>All Classes</B></FONT> +<BR> + +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript"><I>Callable</I></A> +<BR> +<A HREF="org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A> +<BR> +<A HREF="org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer">ClassCompiler</A> +<BR> +<A HREF="org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript"><I>ClassShutter</I></A> +<BR> +<A HREF="org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<BR> +<A HREF="org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<BR> +<A HREF="org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript"><I>ContextAction</I></A> +<BR> +<A HREF="org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<BR> +<A HREF="org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript"><I>ContextFactory.Listener</I></A> +<BR> +<A HREF="org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug"><I>DebuggableScript</I></A> +<BR> +<A HREF="org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A> +<BR> +<A HREF="org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><I>ErrorReporter</I></A> +<BR> +<A HREF="org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A> +<BR> +<A HREF="org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript"><I>Function</I></A> +<BR> +<A HREF="org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<BR> +<A HREF="org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript"><I>GeneratedClassLoader</I></A> +<BR> +<A HREF="org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<BR> +<A HREF="org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript">JavaScriptException</A> +<BR> +<A HREF="org/mozilla/javascript/RefCallable.html" title="interface in org.mozilla.javascript"><I>RefCallable</I></A> +<BR> +<A HREF="org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<BR> +<A HREF="org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript"><I>Script</I></A> +<BR> +<A HREF="org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><I>Scriptable</I></A> +<BR> +<A HREF="org/mozilla/javascript/serialize/ScriptableInputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableInputStream</A> +<BR> +<A HREF="org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<BR> +<A HREF="org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableOutputStream</A> +<BR> +<A HREF="org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> +<BR> +<A HREF="org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript">Synchronizer</A> +<BR> +<A HREF="org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript">WrapFactory</A> +<BR> +<A HREF="org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript">WrappedException</A> +<BR> +<A HREF="org/mozilla/javascript/Wrapper.html" title="interface in org.mozilla.javascript"><I>Wrapper</I></A> +<BR> +</FONT></TD> +</TR> +</TABLE> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/constant-values.html b/infrastructure/rhino1_7R1/javadoc/constant-values.html new file mode 100644 index 0000000..b29b7ba --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/constant-values.html @@ -0,0 +1,424 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +Constant Field Values (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Constant Field Values (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A> + <A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H1> +Constant Field Values</H1> +</CENTER> +<HR SIZE="4" NOSHADE> +<B>Contents</B><UL> +<LI><A HREF="#org.mozilla">org.mozilla.*</A> +</UL> + +<A NAME="org.mozilla"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left"><FONT SIZE="+2"> +org.mozilla.*</FONT></TH> +</TR> +</TABLE> + +<P> + +<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="3">org.mozilla.javascript.<A HREF="org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.errorReporterProperty"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final java.lang.String</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#errorReporterProperty">errorReporterProperty</A></CODE></TD> +<TD ALIGN="right"><CODE>"error reporter"</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_DYNAMIC_SCOPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_DYNAMIC_SCOPE">FEATURE_DYNAMIC_SCOPE</A></CODE></TD> +<TD ALIGN="right"><CODE>7</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_E4X"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_E4X">FEATURE_E4X</A></CODE></TD> +<TD ALIGN="right"><CODE>6</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_ENHANCED_JAVA_ACCESS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_ENHANCED_JAVA_ACCESS">FEATURE_ENHANCED_JAVA_ACCESS</A></CODE></TD> +<TD ALIGN="right"><CODE>13</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_LOCATION_INFORMATION_IN_ERROR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_LOCATION_INFORMATION_IN_ERROR">FEATURE_LOCATION_INFORMATION_IN_ERROR</A></CODE></TD> +<TD ALIGN="right"><CODE>10</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME">FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME</A></CODE></TD> +<TD ALIGN="right"><CODE>2</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_NON_ECMA_GET_YEAR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_NON_ECMA_GET_YEAR">FEATURE_NON_ECMA_GET_YEAR</A></CODE></TD> +<TD ALIGN="right"><CODE>1</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_PARENT_PROTO_PROPERTIES"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_PARENT_PROTO_PROPERTIES">FEATURE_PARENT_PROTO_PROPERTIES</A></CODE></TD> +<TD ALIGN="right"><CODE>5</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_PARENT_PROTO_PROPRTIES"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_PARENT_PROTO_PROPRTIES">FEATURE_PARENT_PROTO_PROPRTIES</A></CODE></TD> +<TD ALIGN="right"><CODE>5</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER">FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER</A></CODE></TD> +<TD ALIGN="right"><CODE>3</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_STRICT_EVAL"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_STRICT_EVAL">FEATURE_STRICT_EVAL</A></CODE></TD> +<TD ALIGN="right"><CODE>9</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_STRICT_MODE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_STRICT_MODE">FEATURE_STRICT_MODE</A></CODE></TD> +<TD ALIGN="right"><CODE>11</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_STRICT_VARS"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_STRICT_VARS">FEATURE_STRICT_VARS</A></CODE></TD> +<TD ALIGN="right"><CODE>8</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_TO_STRING_AS_SOURCE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_TO_STRING_AS_SOURCE">FEATURE_TO_STRING_AS_SOURCE</A></CODE></TD> +<TD ALIGN="right"><CODE>4</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.FEATURE_WARNING_AS_ERROR"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#FEATURE_WARNING_AS_ERROR">FEATURE_WARNING_AS_ERROR</A></CODE></TD> +<TD ALIGN="right"><CODE>12</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.languageVersionProperty"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final java.lang.String</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#languageVersionProperty">languageVersionProperty</A></CODE></TD> +<TD ALIGN="right"><CODE>"language version"</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.VERSION_1_0"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#VERSION_1_0">VERSION_1_0</A></CODE></TD> +<TD ALIGN="right"><CODE>100</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.VERSION_1_1"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#VERSION_1_1">VERSION_1_1</A></CODE></TD> +<TD ALIGN="right"><CODE>110</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.VERSION_1_2"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#VERSION_1_2">VERSION_1_2</A></CODE></TD> +<TD ALIGN="right"><CODE>120</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.VERSION_1_3"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#VERSION_1_3">VERSION_1_3</A></CODE></TD> +<TD ALIGN="right"><CODE>130</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.VERSION_1_4"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#VERSION_1_4">VERSION_1_4</A></CODE></TD> +<TD ALIGN="right"><CODE>140</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.VERSION_1_5"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#VERSION_1_5">VERSION_1_5</A></CODE></TD> +<TD ALIGN="right"><CODE>150</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.VERSION_1_6"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#VERSION_1_6">VERSION_1_6</A></CODE></TD> +<TD ALIGN="right"><CODE>160</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.VERSION_1_7"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#VERSION_1_7">VERSION_1_7</A></CODE></TD> +<TD ALIGN="right"><CODE>170</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.VERSION_DEFAULT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#VERSION_DEFAULT">VERSION_DEFAULT</A></CODE></TD> +<TD ALIGN="right"><CODE>0</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.Context.VERSION_UNKNOWN"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/Context.html#VERSION_UNKNOWN">VERSION_UNKNOWN</A></CODE></TD> +<TD ALIGN="right"><CODE>-1</CODE></TD> +</TR> +</FONT></TD> +</TR> +</TABLE> + +<P> + +<P> + +<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="3">org.mozilla.javascript.<A HREF="org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.FunctionObject.JAVA_BOOLEAN_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/FunctionObject.html#JAVA_BOOLEAN_TYPE">JAVA_BOOLEAN_TYPE</A></CODE></TD> +<TD ALIGN="right"><CODE>3</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.FunctionObject.JAVA_DOUBLE_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/FunctionObject.html#JAVA_DOUBLE_TYPE">JAVA_DOUBLE_TYPE</A></CODE></TD> +<TD ALIGN="right"><CODE>4</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.FunctionObject.JAVA_INT_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/FunctionObject.html#JAVA_INT_TYPE">JAVA_INT_TYPE</A></CODE></TD> +<TD ALIGN="right"><CODE>2</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.FunctionObject.JAVA_OBJECT_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/FunctionObject.html#JAVA_OBJECT_TYPE">JAVA_OBJECT_TYPE</A></CODE></TD> +<TD ALIGN="right"><CODE>6</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.FunctionObject.JAVA_SCRIPTABLE_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/FunctionObject.html#JAVA_SCRIPTABLE_TYPE">JAVA_SCRIPTABLE_TYPE</A></CODE></TD> +<TD ALIGN="right"><CODE>5</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.FunctionObject.JAVA_STRING_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/FunctionObject.html#JAVA_STRING_TYPE">JAVA_STRING_TYPE</A></CODE></TD> +<TD ALIGN="right"><CODE>1</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.FunctionObject.JAVA_UNSUPPORTED_TYPE"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/FunctionObject.html#JAVA_UNSUPPORTED_TYPE">JAVA_UNSUPPORTED_TYPE</A></CODE></TD> +<TD ALIGN="right"><CODE>0</CODE></TD> +</TR> +</FONT></TD> +</TR> +</TABLE> + +<P> + +<P> + +<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="3">org.mozilla.javascript.<A HREF="org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.ScriptableObject.CONST"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/ScriptableObject.html#CONST">CONST</A></CODE></TD> +<TD ALIGN="right"><CODE>13</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.ScriptableObject.DONTENUM"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/ScriptableObject.html#DONTENUM">DONTENUM</A></CODE></TD> +<TD ALIGN="right"><CODE>2</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.ScriptableObject.EMPTY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/ScriptableObject.html#EMPTY">EMPTY</A></CODE></TD> +<TD ALIGN="right"><CODE>0</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.ScriptableObject.PERMANENT"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/ScriptableObject.html#PERMANENT">PERMANENT</A></CODE></TD> +<TD ALIGN="right"><CODE>4</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.ScriptableObject.READONLY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/ScriptableObject.html#READONLY">READONLY</A></CODE></TD> +<TD ALIGN="right"><CODE>1</CODE></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<A NAME="org.mozilla.javascript.ScriptableObject.UNINITIALIZED_CONST"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1"> +<CODE>public static final int</CODE></FONT></TD> +<TD ALIGN="left"><CODE><A HREF="org/mozilla/javascript/ScriptableObject.html#UNINITIALIZED_CONST">UNINITIALIZED_CONST</A></CODE></TD> +<TD ALIGN="right"><CODE>8</CODE></TD> +</TR> +</FONT></TD> +</TR> +</TABLE> + +<P> + +<P> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A> + <A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/deprecated-list.html b/infrastructure/rhino1_7R1/javadoc/deprecated-list.html new file mode 100644 index 0000000..923cc54 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/deprecated-list.html @@ -0,0 +1,386 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +Deprecated List (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Deprecated List (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A> + <A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H2> +<B>Deprecated API</B></H2> +</CENTER> +<HR SIZE="4" NOSHADE> +<B>Contents</B><UL> +<LI><A HREF="#field">Deprecated Fields</A> +<LI><A HREF="#method">Deprecated Methods</A> +<LI><A HREF="#constructor">Deprecated Constructors</A> +</UL> + +<A NAME="field"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Deprecated Fields</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#FEATURE_PARENT_PROTO_PROPRTIES">org.mozilla.javascript.Context.FEATURE_PARENT_PROTO_PROPRTIES</A> +<BR> + <I>In previous releases, this name was given to + FEATURE_PARENT_PROTO_PROPERTIES.</I> </TD> +</TR> +</TABLE> + +<P> +<A NAME="method"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Deprecated Methods</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#addContextListener(org.mozilla.javascript.ContextListener)">org.mozilla.javascript.Context.addContextListener(ContextListener)</A> +<BR> + <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#call(org.mozilla.javascript.ContextAction)">org.mozilla.javascript.Context.call(ContextAction)</A> +<BR> + <I>use <A HREF="org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A> instead as + this method relies on usage of a static singleton "global" + ContextFactory.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#compileReader(org.mozilla.javascript.Scriptable, java.io.Reader, java.lang.String, int, java.lang.Object)">org.mozilla.javascript.Context.compileReader(Scriptable, Reader, String, int, Object)</A> +<BR> + <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/FunctionObject.html#convertArg(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, java.lang.Class)">org.mozilla.javascript.FunctionObject.convertArg(Context, Scriptable, Object, Class)</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/FunctionObject.html#getTypeTag(java.lang.Class)"><CODE>FunctionObject.getTypeTag(Class)</CODE></A> + and <A HREF="org/mozilla/javascript/FunctionObject.html#convertArg(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, int)"><CODE>FunctionObject.convertArg(Context, Scriptable, Object, int)</CODE></A> + for type convertion.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#enter()">org.mozilla.javascript.Context.enter()</A> +<BR> + <I>use <A HREF="org/mozilla/javascript/ContextFactory.html#enter()"><CODE>ContextFactory.enter()</CODE></A> or + <A HREF="org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A> instead as this method relies + on usage of a static singleton "global" ContextFactory.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/ContextFactory.html#enter()">org.mozilla.javascript.ContextFactory.enter()</A> +<BR> + <I>use <A HREF="org/mozilla/javascript/ContextFactory.html#enterContext()"><CODE>ContextFactory.enterContext()</CODE></A> instead</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#enter(org.mozilla.javascript.Context)">org.mozilla.javascript.Context.enter(Context)</A> +<BR> + <I>use <A HREF="org/mozilla/javascript/ContextFactory.html#enterContext(org.mozilla.javascript.Context)"><CODE>ContextFactory.enterContext(Context)</CODE></A> instead as + this method relies on usage of a static singleton "global" ContextFactory.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/SecurityController.html#execWithDomain(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Script, java.lang.Object)">org.mozilla.javascript.SecurityController.execWithDomain(Context, Scriptable, Script, Object)</A> +<BR> + <I>The application should not override this method and instead + override + <A HREF="org/mozilla/javascript/SecurityController.html#callWithDomain(java.lang.Object, org.mozilla.javascript.Context, org.mozilla.javascript.Callable, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args)</CODE></A>.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/ContextFactory.html#exit()">org.mozilla.javascript.ContextFactory.exit()</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/Context.html#exit()"><CODE>Context.exit()</CODE></A> instead.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/ScriptableObject.html#getAttributes(int, org.mozilla.javascript.Scriptable)">org.mozilla.javascript.ScriptableObject.getAttributes(int, Scriptable)</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/ScriptableObject.html#getAttributes(int)"><CODE>ScriptableObject.getAttributes(int index)</CODE></A>. The engine always + ignored the start argument.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String, org.mozilla.javascript.Scriptable)">org.mozilla.javascript.ScriptableObject.getAttributes(String, Scriptable)</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String)"><CODE>ScriptableObject.getAttributes(String name)</CODE></A>. The engine always + ignored the start argument.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/EcmaError.html#getColumnNumber()">org.mozilla.javascript.EcmaError.getColumnNumber()</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/RhinoException.html#columnNumber()"><CODE>RhinoException.columnNumber()</CODE></A> from the super class.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/EvaluatorException.html#getColumnNumber()">org.mozilla.javascript.EvaluatorException.getColumnNumber()</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/RhinoException.html#columnNumber()"><CODE>RhinoException.columnNumber()</CODE></A> from the super class.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/EcmaError.html#getErrorObject()">org.mozilla.javascript.EcmaError.getErrorObject()</A> +<BR> + <I>Always returns <b>null</b>.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/EcmaError.html#getLineNumber()">org.mozilla.javascript.EcmaError.getLineNumber()</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/RhinoException.html#lineNumber()"><CODE>RhinoException.lineNumber()</CODE></A> from the super class.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/EvaluatorException.html#getLineNumber()">org.mozilla.javascript.EvaluatorException.getLineNumber()</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/RhinoException.html#lineNumber()"><CODE>RhinoException.lineNumber()</CODE></A> from the super class.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/JavaScriptException.html#getLineNumber()">org.mozilla.javascript.JavaScriptException.getLineNumber()</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/RhinoException.html#lineNumber()"><CODE>RhinoException.lineNumber()</CODE></A> from the super class.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/EcmaError.html#getLineSource()">org.mozilla.javascript.EcmaError.getLineSource()</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/RhinoException.html#lineSource()"><CODE>RhinoException.lineSource()</CODE></A> from the super class.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/EvaluatorException.html#getLineSource()">org.mozilla.javascript.EvaluatorException.getLineSource()</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/RhinoException.html#lineSource()"><CODE>RhinoException.lineSource()</CODE></A> from the super class.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/EcmaError.html#getSourceName()">org.mozilla.javascript.EcmaError.getSourceName()</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/RhinoException.html#sourceName()"><CODE>RhinoException.sourceName()</CODE></A> from the super class.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/EvaluatorException.html#getSourceName()">org.mozilla.javascript.EvaluatorException.getSourceName()</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/RhinoException.html#sourceName()"><CODE>RhinoException.sourceName()</CODE></A> from the super class.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/JavaScriptException.html#getSourceName()">org.mozilla.javascript.JavaScriptException.getSourceName()</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/RhinoException.html#sourceName()"><CODE>RhinoException.sourceName()</CODE></A> from the super class.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#hasCompileFunctionsWithDynamicScope()">org.mozilla.javascript.Context.hasCompileFunctionsWithDynamicScope()</A> +<BR> + <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/ImporterTopLevel.html#importPackage(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object[], org.mozilla.javascript.Function)">org.mozilla.javascript.ImporterTopLevel.importPackage(Context, Scriptable, Object[], Function)</A> +<BR> + <I>Kept only for compatibility.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/ClassCache.html#isInvokerOptimizationEnabled()">org.mozilla.javascript.ClassCache.isInvokerOptimizationEnabled()</A> +<BR> + <I>The method always returns false.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#removeContextListener(org.mozilla.javascript.ContextListener)">org.mozilla.javascript.Context.removeContextListener(ContextListener)</A> +<BR> + <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/ScriptableObject.html#setAttributes(int, org.mozilla.javascript.Scriptable, int)">org.mozilla.javascript.ScriptableObject.setAttributes(int, Scriptable, int)</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/ScriptableObject.html#setAttributes(int, int)"><CODE>ScriptableObject.setAttributes(int index, int attributes)</CODE></A>. + The engine always ignored the start argument.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, org.mozilla.javascript.Scriptable, int)">org.mozilla.javascript.ScriptableObject.setAttributes(String, Scriptable, int)</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, int)"><CODE>ScriptableObject.setAttributes(String name, int attributes)</CODE></A>. + The engine always ignored the start argument.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#setCachingEnabled(boolean)">org.mozilla.javascript.Context.setCachingEnabled(boolean)</A> +<BR> + <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#setCompileFunctionsWithDynamicScope(boolean)">org.mozilla.javascript.Context.setCompileFunctionsWithDynamicScope(boolean)</A> +<BR> + <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/ClassCache.html#setInvokerOptimizationEnabled(boolean)">org.mozilla.javascript.ClassCache.setInvokerOptimizationEnabled(boolean)</A> +<BR> + <I>The method does nothing. + Invoker optimization is no longer used by Rhino. + On modern JDK like 1.4 or 1.5 the disadvantages of the optimization + like increased memory usage or longer initialization time overweight + small speed increase that can be gained using generated proxy class + to replace reflection.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#toObject(java.lang.Object, org.mozilla.javascript.Scriptable, java.lang.Class)">org.mozilla.javascript.Context.toObject(Object, Scriptable, Class)</A> +<BR> + <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#toType(java.lang.Object, java.lang.Class)">org.mozilla.javascript.Context.toType(Object, Class)</A> +<BR> + <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/WrappedException.html#unwrap()">org.mozilla.javascript.WrappedException.unwrap()</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/WrappedException.html#getWrappedException()"><CODE>WrappedException.getWrappedException()</CODE></A> instead.</I> </TD> +</TR> +</TABLE> + +<P> +<A NAME="constructor"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Deprecated Constructors</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/Context.html#Context()">org.mozilla.javascript.Context()</A> +<BR> + <I>use <A HREF="org/mozilla/javascript/ContextFactory.html#enter()"><CODE>ContextFactory.enter()</CODE></A> or + <A HREF="org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A> instead.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/EcmaError.html#EcmaError(org.mozilla.javascript.Scriptable, java.lang.String, int, int, java.lang.String)">org.mozilla.javascript.EcmaError(Scriptable, String, int, int, String)</A> +<BR> + <I>EcmaError error instances should not be constructed + explicitly since they are generated by the engine.</I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><A HREF="org/mozilla/javascript/JavaScriptException.html#JavaScriptException(java.lang.Object)">org.mozilla.javascript.JavaScriptException(Object)</A> +<BR> + <I>Use <A HREF="org/mozilla/javascript/WrappedException.html#WrappedException(java.lang.Throwable)"><CODE>WrappedException.WrappedException(Throwable)</CODE></A> to report + exceptions in Java code.</I> </TD> +</TR> +</TABLE> + +<P> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A> + <A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/help-doc.html b/infrastructure/rhino1_7R1/javadoc/help-doc.html new file mode 100644 index 0000000..7a2e353 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/help-doc.html @@ -0,0 +1,217 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +API Help (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="API Help (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A> + <A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H1> +How This API Document Is Organized</H1> +</CENTER> +This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.<H3> +Overview</H3> +<BLOCKQUOTE> + +<P> +The <A HREF="overview-summary.html">Overview</A> page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.</BLOCKQUOTE> +<H3> +Package</H3> +<BLOCKQUOTE> + +<P> +Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:<UL> +<LI>Interfaces (italic)<LI>Classes<LI>Enums<LI>Exceptions<LI>Errors<LI>Annotation Types</UL> +</BLOCKQUOTE> +<H3> +Class/Interface</H3> +<BLOCKQUOTE> + +<P> +Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:<UL> +<LI>Class inheritance diagram<LI>Direct Subclasses<LI>All Known Subinterfaces<LI>All Known Implementing Classes<LI>Class/interface declaration<LI>Class/interface description +<P> +<LI>Nested Class Summary<LI>Field Summary<LI>Constructor Summary<LI>Method Summary +<P> +<LI>Field Detail<LI>Constructor Detail<LI>Method Detail</UL> +Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</BLOCKQUOTE> +</BLOCKQUOTE> +<H3> +Annotation Type</H3> +<BLOCKQUOTE> + +<P> +Each annotation type has its own separate page with the following sections:<UL> +<LI>Annotation Type declaration<LI>Annotation Type description<LI>Required Element Summary<LI>Optional Element Summary<LI>Element Detail</UL> +</BLOCKQUOTE> +</BLOCKQUOTE> +<H3> +Enum</H3> +<BLOCKQUOTE> + +<P> +Each enum has its own separate page with the following sections:<UL> +<LI>Enum declaration<LI>Enum description<LI>Enum Constant Summary<LI>Enum Constant Detail</UL> +</BLOCKQUOTE> +<H3> +Tree (Class Hierarchy)</H3> +<BLOCKQUOTE> +There is a <A HREF="overview-tree.html">Class Hierarchy</A> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.<UL> +<LI>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.<LI>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</UL> +</BLOCKQUOTE> +<H3> +Deprecated API</H3> +<BLOCKQUOTE> +The <A HREF="deprecated-list.html">Deprecated API</A> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</BLOCKQUOTE> +<H3> +Index</H3> +<BLOCKQUOTE> +The <A HREF="index-all.html">Index</A> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</BLOCKQUOTE> +<H3> +Prev/Next</H3> +These links take you to the next or previous class, interface, package, or related page.<H3> +Frames/No Frames</H3> +These links show and hide the HTML frames. All pages are available with or without frames. +<P> +<H3> +Serialized Form</H3> +Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +<P> +<H3> +Constant Field Values</H3> +The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values. +<P> +<FONT SIZE="-1"> +<EM> +This help file applies to API documentation generated using the standard doclet.</EM> +</FONT> +<BR> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A> + <A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/index-all.html b/infrastructure/rhino1_7R1/javadoc/index-all.html new file mode 100644 index 0000000..15ba433 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/index-all.html @@ -0,0 +1,1566 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +Index (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="./stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Index (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A> + <A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="./allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<A HREF="#_A_">A</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_J_">J</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_P_">P</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_V_">V</A> <A HREF="#_W_">W</A> <HR> +<A NAME="_A_"><!-- --></A><H2> +<B>A</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/Context.html#addActivationName(java.lang.String)"><B>addActivationName(String)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Add a name to the list of names forcing the creation of real + activation objects for functions. +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#addAsConstructor(org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable)"><B>addAsConstructor(Scriptable, Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD>Define this function as a JavaScript constructor. +<DT><A HREF="./org/mozilla/javascript/Context.html#addContextListener(org.mozilla.javascript.ContextListener)"><B>addContextListener(ContextListener)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I></I> +<DT><A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html#addExcludedName(java.lang.String)"><B>addExcludedName(String)</B></A> - +Method in class org.mozilla.javascript.serialize.<A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableOutputStream</A> +<DD>Adds a qualified name to the list of object to be excluded from + serialization. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#addListener(org.mozilla.javascript.ContextFactory.Listener)"><B>addListener(ContextFactory.Listener)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html#addOptionalExcludedName(java.lang.String)"><B>addOptionalExcludedName(String)</B></A> - +Method in class org.mozilla.javascript.serialize.<A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableOutputStream</A> +<DD>Adds a qualified name to the list of object to be excluded from + serialization. +<DT><A HREF="./org/mozilla/javascript/Context.html#addPropertyChangeListener(java.beans.PropertyChangeListener)"><B>addPropertyChangeListener(PropertyChangeListener)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Register an object to receive notifications when a bound property + has changed +<DT><A HREF="./org/mozilla/javascript/ClassCache.html#associate(org.mozilla.javascript.ScriptableObject)"><B>associate(ScriptableObject)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A> +<DD>Associate ClassCache object with the given top-level scope. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#associateValue(java.lang.Object, java.lang.Object)"><B>associateValue(Object, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Associate arbitrary application-specific value with this object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#avoidObjectDetection()"><B>avoidObjectDetection()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Emulate the SpiderMonkey (and Firefox) feature of allowing + custom objects to avoid detection by normal "object detection" + code patterns. +</DL> +<HR> +<A NAME="_C_"><!-- --></A><H2> +<B>C</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/Callable.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><B>call(Context, Scriptable, Scriptable, Object[])</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A> +<DD>Perform the call. +<DT><A HREF="./org/mozilla/javascript/Context.html#call(org.mozilla.javascript.ContextAction)"><B>call(ContextAction)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I>use <A HREF="./org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A> instead as + this method relies on usage of a static singleton "global" + ContextFactory.</I> +<DT><A HREF="./org/mozilla/javascript/Context.html#call(org.mozilla.javascript.ContextFactory, org.mozilla.javascript.Callable, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><B>call(ContextFactory, Callable, Scriptable, Scriptable, Object[])</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Call <A HREF="./org/mozilla/javascript/Callable.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>Callable.call(Context cx, Scriptable scope, Scriptable thisObj, + Object[] args)</CODE></A> + using the Context instance associated with the current thread. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><B>call(ContextAction)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Call <A HREF="./org/mozilla/javascript/ContextAction.html#run(org.mozilla.javascript.Context)"><CODE>ContextAction.run(Context cx)</CODE></A> + using the <A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> instance associated with the current thread. +<DT><A HREF="./org/mozilla/javascript/Function.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><B>call(Context, Scriptable, Scriptable, Object[])</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A> +<DD>Call the function. +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><B>call(Context, Scriptable, Scriptable, Object[])</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD>Performs conversions on argument types if needed and + invokes the underlying Java method or constructor. +<DT><A HREF="./org/mozilla/javascript/Synchronizer.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><B>call(Context, Scriptable, Scriptable, Object[])</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript">Synchronizer</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript"><B>Callable</B></A> - Interface in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>Generic notion of callable object that can execute some script-related code + upon request with specified values for script scope and this objects.<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#callMethod(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])"><B>callMethod(Scriptable, String, Object[])</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Call a method of an object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#callMethod(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])"><B>callMethod(Context, Scriptable, String, Object[])</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Call a method of an object. +<DT><A HREF="./org/mozilla/javascript/SecurityController.html#callWithDomain(java.lang.Object, org.mozilla.javascript.Context, org.mozilla.javascript.Callable, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><B>callWithDomain(Object, Context, Callable, Scriptable, Scriptable, Object[])</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> +<DD>Call <A HREF="./org/mozilla/javascript/Callable.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>Callable.call(Context cx, Scriptable scope, Scriptable thisObj, + Object[] args)</CODE></A> + of <i>callable</i> under restricted security domain where an action is + allowed only if it is allowed according to the Java stack on the + moment of the <i>execWithDomain</i> call and <i>securityDomain</i>. +<DT><A HREF="./org/mozilla/javascript/Context.html#checkLanguageVersion(int)"><B>checkLanguageVersion(int)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#checkNotSealed()"><B>checkNotSealed()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#checkOptimizationLevel(int)"><B>checkOptimizationLevel(int)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript"><B>ClassCache</B></A> - Class in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>Cache of generated classes and data structures to access Java runtime + from JavaScript.<DT><A HREF="./org/mozilla/javascript/ClassCache.html#ClassCache()"><B>ClassCache()</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer"><B>ClassCompiler</B></A> - Class in <A HREF="./org/mozilla/javascript/optimizer/package-summary.html">org.mozilla.javascript.optimizer</A><DD>Generates class files from script sources.<DT><A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html#ClassCompiler(org.mozilla.javascript.CompilerEnvirons)"><B>ClassCompiler(CompilerEnvirons)</B></A> - +Constructor for class org.mozilla.javascript.optimizer.<A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer">ClassCompiler</A> +<DD>Construct ClassCompiler that uses the specified compiler environment + when generating classes. +<DT><A HREF="./org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript"><B>ClassShutter</B></A> - Interface in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>Embeddings that wish to filter Java classes that are visible to scripts +through the LiveConnect, should implement this interface.<DT><A HREF="./org/mozilla/javascript/ClassCache.html#clearCaches()"><B>clearCaches()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A> +<DD>Empty caches of generated Java classes and Java reflection information. +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#columnNumber()"><B>columnNumber()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD>The column number of the location of the error, or zero if unknown. +<DT><A HREF="./org/mozilla/javascript/Context.html#compileFunction(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.String, int, java.lang.Object)"><B>compileFunction(Scriptable, String, String, int, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Compile a JavaScript function. +<DT><A HREF="./org/mozilla/javascript/Context.html#compileReader(org.mozilla.javascript.Scriptable, java.io.Reader, java.lang.String, int, java.lang.Object)"><B>compileReader(Scriptable, Reader, String, int, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I></I> +<DT><A HREF="./org/mozilla/javascript/Context.html#compileReader(java.io.Reader, java.lang.String, int, java.lang.Object)"><B>compileReader(Reader, String, int, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Compiles the source in the given reader. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript"><B>CompilerEnvirons</B></A> - Class in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD> <DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#CompilerEnvirons()"><B>CompilerEnvirons()</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#compileString(java.lang.String, java.lang.String, int, java.lang.Object)"><B>compileString(String, String, int, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Compiles the source in the given string. +<DT><A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html#compileToClassFiles(java.lang.String, java.lang.String, int, java.lang.String)"><B>compileToClassFiles(String, String, int, String)</B></A> - +Method in class org.mozilla.javascript.optimizer.<A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer">ClassCompiler</A> +<DD>Compile JavaScript source into one or more Java class files. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#CONST"><B>CONST</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Function.html#construct(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object[])"><B>construct(Context, Scriptable, Object[])</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A> +<DD>Call the function as a constructor. +<DT><A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><B>Context</B></A> - Class in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>This class represents the runtime context of an executing script.<DT><A HREF="./org/mozilla/javascript/Context.html#Context()"><B>Context()</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I>use <A HREF="./org/mozilla/javascript/ContextFactory.html#enter()"><CODE>ContextFactory.enter()</CODE></A> or + <A HREF="./org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A> instead.</I> +<DT><A HREF="./org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript"><B>ContextAction</B></A> - Interface in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>Interface to represent arbitrary action that requires to have Context + object associated with the current thread for its execution.<DT><A HREF="./org/mozilla/javascript/ContextFactory.Listener.html#contextCreated(org.mozilla.javascript.Context)"><B>contextCreated(Context)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript">ContextFactory.Listener</A> +<DD>Notify about newly created <A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> object. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript"><B>ContextFactory</B></A> - Class in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>Factory class that Rhino runtime uses to create new <A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> + instances.<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#ContextFactory()"><B>ContextFactory()</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript"><B>ContextFactory.Listener</B></A> - Interface in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>Listener of <A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> creation and release events.<DT><A HREF="./org/mozilla/javascript/ContextFactory.Listener.html#contextReleased(org.mozilla.javascript.Context)"><B>contextReleased(Context)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript">ContextFactory.Listener</A> +<DD>Notify that the specified <A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> instance is no longer + associated with the current thread. +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#convertArg(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, int)"><B>convertArg(Context, Scriptable, Object, int)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#convertArg(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, java.lang.Class)"><B>convertArg(Context, Scriptable, Object, Class)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/FunctionObject.html#getTypeTag(java.lang.Class)"><CODE>FunctionObject.getTypeTag(Class)</CODE></A> + and <A HREF="./org/mozilla/javascript/FunctionObject.html#convertArg(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, int)"><CODE>FunctionObject.convertArg(Context, Scriptable, Object, int)</CODE></A> + for type convertion.</I> +<DT><A HREF="./org/mozilla/javascript/Context.html#createClassLoader(java.lang.ClassLoader)"><B>createClassLoader(ClassLoader)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Create class loader for generated classes. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#createClassLoader(java.lang.ClassLoader)"><B>createClassLoader(ClassLoader)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Create class loader for generated classes. +<DT><A HREF="./org/mozilla/javascript/SecurityController.html#createClassLoader(java.lang.ClassLoader, java.lang.Object)"><B>createClassLoader(ClassLoader, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> +<DD>Get class loader-like object that can be used + to define classes with the given security context. +<DT><A HREF="./org/mozilla/javascript/SecurityController.html#createLoader(java.lang.ClassLoader, java.lang.Object)"><B>createLoader(ClassLoader, Object)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> +<DD>Create <A HREF="./org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript"><CODE>GeneratedClassLoader</CODE></A> with restrictions imposed by + staticDomain and all current stack frames. +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#createObject(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable)"><B>createObject(Context, Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD>Return new <A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><CODE>Scriptable</CODE></A> instance using the default + constructor for the class of the underlying Java method. +</DL> +<HR> +<A NAME="_D_"><!-- --></A><H2> +<B>D</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug"><B>DebuggableScript</B></A> - Interface in <A HREF="./org/mozilla/javascript/debug/package-summary.html">org.mozilla.javascript.debug</A><DD>This interface exposes debugging information from executable + code (either functions or top-level scripts).<DT><A HREF="./org/mozilla/javascript/Context.html#decompileFunction(org.mozilla.javascript.Function, int)"><B>decompileFunction(Function, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Decompile a JavaScript Function. +<DT><A HREF="./org/mozilla/javascript/Context.html#decompileFunctionBody(org.mozilla.javascript.Function, int)"><B>decompileFunctionBody(Function, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Decompile the body of a JavaScript Function. +<DT><A HREF="./org/mozilla/javascript/Context.html#decompileScript(org.mozilla.javascript.Script, int)"><B>decompileScript(Script, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Decompile the script. +<DT><A HREF="./org/mozilla/javascript/GeneratedClassLoader.html#defineClass(java.lang.String, byte[])"><B>defineClass(String, byte[])</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript">GeneratedClassLoader</A> +<DD>Define a new Java class. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#defineClass(org.mozilla.javascript.Scriptable, java.lang.Class)"><B>defineClass(Scriptable, Class)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Defines JavaScript objects from a Java class that implements Scriptable. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#defineClass(org.mozilla.javascript.Scriptable, java.lang.Class, boolean)"><B>defineClass(Scriptable, Class, boolean)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Defines JavaScript objects from a Java class, optionally + allowing sealing. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#defineClass(org.mozilla.javascript.Scriptable, java.lang.Class, boolean, boolean)"><B>defineClass(Scriptable, Class, boolean, boolean)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Defines JavaScript objects from a Java class, optionally + allowing sealing and mapping of Java inheritance to JavaScript + prototype-based inheritance. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#defineConst(java.lang.String, org.mozilla.javascript.Scriptable)"><B>defineConst(String, Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#defineConstProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><B>defineConstProperty(Scriptable, String)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Utility method to add properties to arbitrary Scriptable object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#defineFunctionProperties(java.lang.String[], java.lang.Class, int)"><B>defineFunctionProperties(String[], Class, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Search for names in a class, adding the resulting methods + as properties. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#defineProperty(java.lang.String, java.lang.Object, int)"><B>defineProperty(String, Object, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Define a JavaScript property. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#defineProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object, int)"><B>defineProperty(Scriptable, String, Object, int)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Utility method to add properties to arbitrary Scriptable object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#defineProperty(java.lang.String, java.lang.Class, int)"><B>defineProperty(String, Class, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Define a JavaScript property with getter and setter side effects. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#defineProperty(java.lang.String, java.lang.Object, java.lang.reflect.Method, java.lang.reflect.Method, int)"><B>defineProperty(String, Object, Method, Method, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Define a JavaScript property. +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#delete(java.lang.String)"><B>delete(String)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Removes a property from this object. +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#delete(int)"><B>delete(int)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Removes a property from this object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#delete(java.lang.String)"><B>delete(String)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Removes a named property from the object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#delete(int)"><B>delete(int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Removes the indexed property from the object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#deleteProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><B>deleteProperty(Scriptable, String)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Removes the property from an object or its prototype chain. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#deleteProperty(org.mozilla.javascript.Scriptable, int)"><B>deleteProperty(Scriptable, int)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Removes the property from an object or its prototype chain. +<DT><A HREF="./org/mozilla/javascript/EcmaError.html#details()"><B>details()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/JavaScriptException.html#details()"><B>details()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript">JavaScriptException</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#details()"><B>details()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#DONTENUM"><B>DONTENUM</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Property attribute indicating property is not enumerated. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#doTopCall(org.mozilla.javascript.Callable, org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><B>doTopCall(Callable, Context, Scriptable, Scriptable, Object[])</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Execute top call to script or function. +</DL> +<HR> +<A NAME="_E_"><!-- --></A><H2> +<B>E</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript"><B>EcmaError</B></A> - Exception in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>The class of exceptions raised by the engine as described in + ECMA edition 3.<DT><A HREF="./org/mozilla/javascript/EcmaError.html#EcmaError(org.mozilla.javascript.Scriptable, java.lang.String, int, int, java.lang.String)"><B>EcmaError(Scriptable, String, int, int, String)</B></A> - +Constructor for exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A> +<DD><B>Deprecated.</B> <I>EcmaError error instances should not be constructed + explicitly since they are generated by the engine.</I> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#EMPTY"><B>EMPTY</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>The empty property attribute. +<DT><A HREF="./org/mozilla/javascript/Context.html#emptyArgs"><B>emptyArgs</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Convenient value to use as zero-length array of objects. +<DT><A HREF="./org/mozilla/javascript/Context.html#enter()"><B>enter()</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I>use <A HREF="./org/mozilla/javascript/ContextFactory.html#enter()"><CODE>ContextFactory.enter()</CODE></A> or + <A HREF="./org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A> instead as this method relies + on usage of a static singleton "global" ContextFactory.</I> +<DT><A HREF="./org/mozilla/javascript/Context.html#enter(org.mozilla.javascript.Context)"><B>enter(Context)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I>use <A HREF="./org/mozilla/javascript/ContextFactory.html#enterContext(org.mozilla.javascript.Context)"><CODE>ContextFactory.enterContext(Context)</CODE></A> instead as + this method relies on usage of a static singleton "global" ContextFactory.</I> +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#enter()"><B>enter()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD><B>Deprecated.</B> <I>use <A HREF="./org/mozilla/javascript/ContextFactory.html#enterContext()"><CODE>ContextFactory.enterContext()</CODE></A> instead</I> +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#enterContext()"><B>enterContext()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Get a context associated with the current thread, creating one if need + be. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#enterContext(org.mozilla.javascript.Context)"><B>enterContext(Context)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Get a Context associated with the current thread, using the given + Context if need be. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#equivalentValues(java.lang.Object)"><B>equivalentValues(Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Custom <tt>==</tt> operator. +<DT><A HREF="./org/mozilla/javascript/ErrorReporter.html#error(java.lang.String, java.lang.String, int, java.lang.String, int)"><B>error(String, String, int, String, int)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A> +<DD>Report an error. +<DT><A HREF="./org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><B>ErrorReporter</B></A> - Interface in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>This is interface defines a protocol for the reporting of + errors during JavaScript translation or execution.<DT><A HREF="./org/mozilla/javascript/Context.html#errorReporterProperty"><B>errorReporterProperty</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#evaluateReader(org.mozilla.javascript.Scriptable, java.io.Reader, java.lang.String, int, java.lang.Object)"><B>evaluateReader(Scriptable, Reader, String, int, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Evaluate a reader as JavaScript source. +<DT><A HREF="./org/mozilla/javascript/Context.html#evaluateString(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.String, int, java.lang.Object)"><B>evaluateString(Scriptable, String, String, int, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Evaluate a JavaScript source string. +<DT><A HREF="./org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><B>EvaluatorException</B></A> - Exception in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>The class of exceptions thrown by the JavaScript engine.<DT><A HREF="./org/mozilla/javascript/EvaluatorException.html#EvaluatorException(java.lang.String)"><B>EvaluatorException(String)</B></A> - +Constructor for exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/EvaluatorException.html#EvaluatorException(java.lang.String, java.lang.String, int)"><B>EvaluatorException(String, String, int)</B></A> - +Constructor for exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A> +<DD>Create an exception with the specified detail message. +<DT><A HREF="./org/mozilla/javascript/EvaluatorException.html#EvaluatorException(java.lang.String, java.lang.String, int, java.lang.String, int)"><B>EvaluatorException(String, String, int, String, int)</B></A> - +Constructor for exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A> +<DD>Create an exception with the specified detail message. +<DT><A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html#excludeStandardObjectNames()"><B>excludeStandardObjectNames()</B></A> - +Method in class org.mozilla.javascript.serialize.<A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableOutputStream</A> +<DD>Adds the names of the standard objects and their + prototypes to the list of excluded names. +<DT><A HREF="./org/mozilla/javascript/Script.html#exec(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable)"><B>exec(Context, Scriptable)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A> +<DD>Execute the script. +<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html#execIdCall(org.mozilla.javascript.IdFunctionObject, org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><B>execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[])</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/SecurityController.html#execWithDomain(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Script, java.lang.Object)"><B>execWithDomain(Context, Scriptable, Script, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> +<DD><B>Deprecated.</B> <I>The application should not override this method and instead + override + <A HREF="./org/mozilla/javascript/SecurityController.html#callWithDomain(java.lang.Object, org.mozilla.javascript.Context, org.mozilla.javascript.Callable, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args)</CODE></A>.</I> +<DT><A HREF="./org/mozilla/javascript/Context.html#exit()"><B>exit()</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Exit a block of code requiring a Context. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#exit()"><B>exit()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/Context.html#exit()"><CODE>Context.exit()</CODE></A> instead.</I> +</DL> +<HR> +<A NAME="_F_"><!-- --></A><H2> +<B>F</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_DYNAMIC_SCOPE"><B>FEATURE_DYNAMIC_SCOPE</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Control if dynamic scope should be used for name access. +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_E4X"><B>FEATURE_E4X</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Control if support for E4X(ECMAScript for XML) extension is available. +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_ENHANCED_JAVA_ACCESS"><B>FEATURE_ENHANCED_JAVA_ACCESS</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Enables enhanced access to Java. +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_LOCATION_INFORMATION_IN_ERROR"><B>FEATURE_LOCATION_INFORMATION_IN_ERROR</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>When the feature is on Rhino will add a "fileName" and "lineNumber" + properties to Error objects automatically. +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME"><B>FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Control if member expression as function name extension is available. +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_NON_ECMA_GET_YEAR"><B>FEATURE_NON_ECMA_GET_YEAR</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Controls behaviour of <tt>Date.prototype.getYear()</tt>. +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_PARENT_PROTO_PROPERTIES"><B>FEATURE_PARENT_PROTO_PROPERTIES</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Control if properties <tt>__proto__</tt> and <tt>__parent__</tt> + are treated specially. +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_PARENT_PROTO_PROPRTIES"><B>FEATURE_PARENT_PROTO_PROPRTIES</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I>In previous releases, this name was given to + FEATURE_PARENT_PROTO_PROPERTIES.</I> +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER"><B>FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Control if reserved keywords are treated as identifiers. +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_STRICT_EVAL"><B>FEATURE_STRICT_EVAL</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Control if strict eval mode is enabled. +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_STRICT_MODE"><B>FEATURE_STRICT_MODE</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Controls whether JS 1.5 'strict mode' is enabled. +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_STRICT_VARS"><B>FEATURE_STRICT_VARS</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Control if strict variable mode is enabled. +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_TO_STRING_AS_SOURCE"><B>FEATURE_TO_STRING_AS_SOURCE</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Control if <tt>toString()</tt> should returns the same result + as <tt>toSource()</tt> when applied to objects and arrays. +<DT><A HREF="./org/mozilla/javascript/Context.html#FEATURE_WARNING_AS_ERROR"><B>FEATURE_WARNING_AS_ERROR</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Controls whether a warning should be treated as an error. +<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html#findPrototypeId(java.lang.String)"><B>findPrototypeId(String)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript"><B>Function</B></A> - Interface in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>This is interface that all functions in JavaScript must implement.<DT><A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript"><B>FunctionObject</B></A> - Class in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD> <DT><A HREF="./org/mozilla/javascript/FunctionObject.html#FunctionObject(java.lang.String, java.lang.reflect.Member, org.mozilla.javascript.Scriptable)"><B>FunctionObject(String, Member, Scriptable)</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD>Create a JavaScript function object from a Java method. +</DL> +<HR> +<A NAME="_G_"><!-- --></A><H2> +<B>G</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript"><B>GeneratedClassLoader</B></A> - Interface in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>Interface to define classes from generated byte code.<DT><A HREF="./org/mozilla/javascript/Context.html#generateObserverCount"><B>generateObserverCount</B></A> - +Variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ClassCache.html#get(org.mozilla.javascript.Scriptable)"><B>get(Scriptable)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A> +<DD>Search for ClassCache object in the given scope. +<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><B>get(String, Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><B>get(String, Scriptable)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Get a named property from the object. +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#get(int, org.mozilla.javascript.Scriptable)"><B>get(int, Scriptable)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Get a property from the object selected by an integral index. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><B>get(String, Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns the value of the named property or NOT_FOUND. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#get(int, org.mozilla.javascript.Scriptable)"><B>get(int, Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns the value of the indexed property or NOT_FOUND. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getAllIds()"><B>getAllIds()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns an array of ids for the properties of the object. +<DT><A HREF="./org/mozilla/javascript/Context.html#getApplicationClassLoader()"><B>getApplicationClassLoader()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#getApplicationClassLoader()"><B>getApplicationClassLoader()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Get ClassLoader to use when searching for Java classes. +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#getArity()"><B>getArity()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD>Return the value defined by the method used to construct the object + (number of parameters of the method, or 1 if the method is a "varargs" + form). +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getAssociatedValue(java.lang.Object)"><B>getAssociatedValue(Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Get arbitrary application-specific value associated with this object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String, org.mozilla.javascript.Scriptable)"><B>getAttributes(String, Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String)"><CODE>ScriptableObject.getAttributes(String name)</CODE></A>. The engine always + ignored the start argument.</I> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getAttributes(int, org.mozilla.javascript.Scriptable)"><B>getAttributes(int, Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/ScriptableObject.html#getAttributes(int)"><CODE>ScriptableObject.getAttributes(int index)</CODE></A>. The engine always + ignored the start argument.</I> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String)"><B>getAttributes(String)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Get the attributes of a named property. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getAttributes(int)"><B>getAttributes(int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Get the attributes of an indexed property. +<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html#getClassName()"><B>getClassName()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#getClassName()"><B>getClassName()</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Get the name of the set of objects implemented by this Java class. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getClassName()"><B>getClassName()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Return the name of the class. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getClassPrototype(org.mozilla.javascript.Scriptable, java.lang.String)"><B>getClassPrototype(Scriptable, String)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Get the prototype for the named class. +<DT><A HREF="./org/mozilla/javascript/EcmaError.html#getColumnNumber()"><B>getColumnNumber()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/RhinoException.html#columnNumber()"><CODE>RhinoException.columnNumber()</CODE></A> from the super class.</I> +<DT><A HREF="./org/mozilla/javascript/EvaluatorException.html#getColumnNumber()"><B>getColumnNumber()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/RhinoException.html#columnNumber()"><CODE>RhinoException.columnNumber()</CODE></A> from the super class.</I> +<DT><A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html#getCompilerEnv()"><B>getCompilerEnv()</B></A> - +Method in class org.mozilla.javascript.optimizer.<A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer">ClassCompiler</A> +<DD>Get the compiler environment the compiler uses. +<DT><A HREF="./org/mozilla/javascript/Context.html#getCurrentContext()"><B>getCurrentContext()</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Get the current Context. +<DT><A HREF="./org/mozilla/javascript/Context.html#getDebuggableView(org.mozilla.javascript.Script)"><B>getDebuggableView(Script)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Return DebuggableScript instance if any associated with the script. +<DT><A HREF="./org/mozilla/javascript/Context.html#getDebugger()"><B>getDebugger()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Return the current debugger. +<DT><A HREF="./org/mozilla/javascript/Context.html#getDebuggerContextData()"><B>getDebuggerContextData()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Return the debugger context data associated with current context. +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#getDefaultValue(java.lang.Class)"><B>getDefaultValue(Class)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Get the default value of the object with a given hint. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getDefaultValue(java.lang.Class)"><B>getDefaultValue(Class)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Implements the [[DefaultValue]] internal method. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getDefaultValue(org.mozilla.javascript.Scriptable, java.lang.Class)"><B>getDefaultValue(Scriptable, Class)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/SecurityController.html#getDynamicSecurityDomain(java.lang.Object)"><B>getDynamicSecurityDomain(Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> +<DD>Get dynamic security domain that allows an action only if it is allowed + by the current Java stack and <i>securityDomain</i>. +<DT><A HREF="./org/mozilla/javascript/Context.html#getE4xImplementationFactory()"><B>getE4xImplementationFactory()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Returns an object which specifies an E4X implementation to use within + this <code>Context</code>. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#getE4xImplementationFactory()"><B>getE4xImplementationFactory()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Provides a default + <CODE>XMLLib.Factory</CODE> + to be used by the <code>Context</code> instances produced by this + factory. +<DT><A HREF="./org/mozilla/javascript/Context.html#getElements(org.mozilla.javascript.Scriptable)"><B>getElements(Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Get the elements of a JavaScript array. +<DT><A HREF="./org/mozilla/javascript/EcmaError.html#getErrorMessage()"><B>getErrorMessage()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A> +<DD>Gets the message corresponding to the error. +<DT><A HREF="./org/mozilla/javascript/EcmaError.html#getErrorObject()"><B>getErrorObject()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A> +<DD><B>Deprecated.</B> <I>Always returns <b>null</b>.</I> +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#getErrorReporter()"><B>getErrorReporter()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#getErrorReporter()"><B>getErrorReporter()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Get the current error reporter. +<DT><A HREF="./org/mozilla/javascript/Context.html#getFactory()"><B>getFactory()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Return <A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript"><CODE>ContextFactory</CODE></A> instance used to create this Context. +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html#getFunction(int)"><B>getFunction(int)</B></A> - +Method in interface org.mozilla.javascript.debug.<A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html#getFunctionCount()"><B>getFunctionCount()</B></A> - +Method in interface org.mozilla.javascript.debug.<A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html#getFunctionName()"><B>getFunctionName()</B></A> - +Method in interface org.mozilla.javascript.debug.<A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> +<DD>Get name of the function described by this script. +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#getFunctionName()"><B>getFunctionName()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getFunctionPrototype(org.mozilla.javascript.Scriptable)"><B>getFunctionPrototype(Scriptable)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Get the Function.prototype property. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getGetterOrSetter(java.lang.String, int, boolean)"><B>getGetterOrSetter(String, int, boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Get the getter or setter for a given property. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#getGlobal()"><B>getGlobal()</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Get global ContextFactory. +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#getIds()"><B>getIds()</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Get an array of property ids. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getIds()"><B>getIds()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns an array of ids for the properties of the object. +<DT><A HREF="./org/mozilla/javascript/Context.html#getImplementationVersion()"><B>getImplementationVersion()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Get the implementation version. +<DT><A HREF="./org/mozilla/javascript/Context.html#getInstructionObserverThreshold()"><B>getInstructionObserverThreshold()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Get threshold of executed instructions counter that triggers call to + <code>observeInstructionCount()</code>. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#getLanguageVersion()"><B>getLanguageVersion()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#getLanguageVersion()"><B>getLanguageVersion()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Get the current language version. +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#getLength()"><B>getLength()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD>Return the same value as <A HREF="./org/mozilla/javascript/FunctionObject.html#getArity()"><CODE>FunctionObject.getArity()</CODE></A>. +<DT><A HREF="./org/mozilla/javascript/EcmaError.html#getLineNumber()"><B>getLineNumber()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/RhinoException.html#lineNumber()"><CODE>RhinoException.lineNumber()</CODE></A> from the super class.</I> +<DT><A HREF="./org/mozilla/javascript/EvaluatorException.html#getLineNumber()"><B>getLineNumber()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/RhinoException.html#lineNumber()"><CODE>RhinoException.lineNumber()</CODE></A> from the super class.</I> +<DT><A HREF="./org/mozilla/javascript/JavaScriptException.html#getLineNumber()"><B>getLineNumber()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript">JavaScriptException</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/RhinoException.html#lineNumber()"><CODE>RhinoException.lineNumber()</CODE></A> from the super class.</I> +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html#getLineNumbers()"><B>getLineNumbers()</B></A> - +Method in interface org.mozilla.javascript.debug.<A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> +<DD>Get array containing the line numbers that + that can be passed to <code>DebugFrame.onLineChange()<code>. +<DT><A HREF="./org/mozilla/javascript/EcmaError.html#getLineSource()"><B>getLineSource()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/RhinoException.html#lineSource()"><CODE>RhinoException.lineSource()</CODE></A> from the super class.</I> +<DT><A HREF="./org/mozilla/javascript/EvaluatorException.html#getLineSource()"><B>getLineSource()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/RhinoException.html#lineSource()"><CODE>RhinoException.lineSource()</CODE></A> from the super class.</I> +<DT><A HREF="./org/mozilla/javascript/Context.html#getLocale()"><B>getLocale()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Get the current locale. +<DT><A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html#getMainMethodClass()"><B>getMainMethodClass()</B></A> - +Method in class org.mozilla.javascript.optimizer.<A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer">ClassCompiler</A> +<DD>Get the name of the class for main method implementation. +<DT><A HREF="./org/mozilla/javascript/Context.html#getMaximumInterpreterStackDepth()"><B>getMaximumInterpreterStackDepth()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Returns the maximum stack depth (in terms of number of call frames) + allowed in a single invocation of interpreter. +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#getMessage()"><B>getMessage()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#getMethodOrConstructor()"><B>getMethodOrConstructor()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD>Get Java method or constructor this function represent. +<DT><A HREF="./org/mozilla/javascript/EcmaError.html#getName()"><B>getName()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A> +<DD>Gets the name of the error. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getObjectPrototype(org.mozilla.javascript.Scriptable)"><B>getObjectPrototype(Scriptable)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Get the Object.prototype property. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#getOptimizationLevel()"><B>getOptimizationLevel()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#getOptimizationLevel()"><B>getOptimizationLevel()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Get the current optimization level. +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html#getParamAndVarCount()"><B>getParamAndVarCount()</B></A> - +Method in interface org.mozilla.javascript.debug.<A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> +<DD>Get number of declared parameters and local variables. +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html#getParamCount()"><B>getParamCount()</B></A> - +Method in interface org.mozilla.javascript.debug.<A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> +<DD>Get number of declared parameters in the function. +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html#getParamOrVarName(int)"><B>getParamOrVarName(int)</B></A> - +Method in interface org.mozilla.javascript.debug.<A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> +<DD>Get name of a declared parameter or local variable. +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html#getParent()"><B>getParent()</B></A> - +Method in interface org.mozilla.javascript.debug.<A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#getParentScope()"><B>getParentScope()</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Get the parent scope of the object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getParentScope()"><B>getParentScope()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns the parent (enclosing) scope of the object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><B>getProperty(Scriptable, String)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Gets a named property from an object or any object in its prototype chain. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, int)"><B>getProperty(Scriptable, int)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Gets an indexed property from an object or any object in its prototype chain. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getPropertyIds(org.mozilla.javascript.Scriptable)"><B>getPropertyIds(Scriptable)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns an array of all ids from an object and its prototypes. +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#getPrototype()"><B>getPrototype()</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Get the prototype of the object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getPrototype()"><B>getPrototype()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns the prototype of the object. +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#getScriptStackTrace()"><B>getScriptStackTrace()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD>Get a string representing the script stack of this exception. +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#getScriptStackTrace(java.io.FilenameFilter)"><B>getScriptStackTrace(FilenameFilter)</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD>Get a string representing the script stack of this exception. +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html#getSourceName()"><B>getSourceName()</B></A> - +Method in interface org.mozilla.javascript.debug.<A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> +<DD>Get the name of the source (usually filename or URL) + of the script. +<DT><A HREF="./org/mozilla/javascript/EcmaError.html#getSourceName()"><B>getSourceName()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/RhinoException.html#sourceName()"><CODE>RhinoException.sourceName()</CODE></A> from the super class.</I> +<DT><A HREF="./org/mozilla/javascript/EvaluatorException.html#getSourceName()"><B>getSourceName()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/RhinoException.html#sourceName()"><CODE>RhinoException.sourceName()</CODE></A> from the super class.</I> +<DT><A HREF="./org/mozilla/javascript/JavaScriptException.html#getSourceName()"><B>getSourceName()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript">JavaScriptException</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/RhinoException.html#sourceName()"><CODE>RhinoException.sourceName()</CODE></A> from the super class.</I> +<DT><A HREF="./org/mozilla/javascript/SecurityController.html#getStaticSecurityDomainClass()"><B>getStaticSecurityDomainClass()</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/SecurityController.html#getStaticSecurityDomainClassInternal()"><B>getStaticSecurityDomainClassInternal()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html#getTargetExtends()"><B>getTargetExtends()</B></A> - +Method in class org.mozilla.javascript.optimizer.<A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer">ClassCompiler</A> +<DD>Get the class that the generated target will extend. +<DT><A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html#getTargetImplements()"><B>getTargetImplements()</B></A> - +Method in class org.mozilla.javascript.optimizer.<A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer">ClassCompiler</A> +<DD>Get the interfaces that the generated target will implement. +<DT><A HREF="./org/mozilla/javascript/Context.html#getThreadLocal(java.lang.Object)"><B>getThreadLocal(Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Get a value corresponding to a key. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getTopLevelScope(org.mozilla.javascript.Scriptable)"><B>getTopLevelScope(Scriptable)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Get the global scope. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#getTopScopeValue(org.mozilla.javascript.Scriptable, java.lang.Object)"><B>getTopScopeValue(Scriptable, Object)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Get arbitrary application-specific value associated with the top scope + of the given scope. +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#getTypeTag(java.lang.Class)"><B>getTypeTag(Class)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#getUndefinedValue()"><B>getUndefinedValue()</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Get the singleton object that represents the JavaScript Undefined value. +<DT><A HREF="./org/mozilla/javascript/JavaScriptException.html#getValue()"><B>getValue()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript">JavaScriptException</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#getWrapFactory()"><B>getWrapFactory()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Return the current WrapFactory, or null if none is defined. +<DT><A HREF="./org/mozilla/javascript/WrappedException.html#getWrappedException()"><B>getWrappedException()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript">WrappedException</A> +<DD>Get the wrapped exception. +</DL> +<HR> +<A NAME="_H_"><!-- --></A><H2> +<B>H</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html#has(java.lang.String, org.mozilla.javascript.Scriptable)"><B>has(String, Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#has(java.lang.String, org.mozilla.javascript.Scriptable)"><B>has(String, Scriptable)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Indicates whether or not a named property is defined in an object. +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#has(int, org.mozilla.javascript.Scriptable)"><B>has(int, Scriptable)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Indicates whether or not an indexed property is defined in an object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#has(java.lang.String, org.mozilla.javascript.Scriptable)"><B>has(String, Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns true if the named property is defined. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#has(int, org.mozilla.javascript.Scriptable)"><B>has(int, Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns true if the property index is defined. +<DT><A HREF="./org/mozilla/javascript/Context.html#hasCompileFunctionsWithDynamicScope()"><B>hasCompileFunctionsWithDynamicScope()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I></I> +<DT><A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html#hasExcludedName(java.lang.String)"><B>hasExcludedName(String)</B></A> - +Method in class org.mozilla.javascript.serialize.<A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableOutputStream</A> +<DD>Returns true if the name is excluded from serialization. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#hasExplicitGlobal()"><B>hasExplicitGlobal()</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Check if global factory was set. +<DT><A HREF="./org/mozilla/javascript/Context.html#hasFeature(int)"><B>hasFeature(int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Controls certain aspects of script semantics. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#hasFeature(org.mozilla.javascript.Context, int)"><B>hasFeature(Context, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Implementation of <A HREF="./org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>Context.hasFeature(int featureIndex)</CODE></A>. +<DT><A HREF="./org/mozilla/javascript/SecurityController.html#hasGlobal()"><B>hasGlobal()</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> +<DD>Check if global <A HREF="./org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript"><CODE>SecurityController</CODE></A> was already installed. +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#hasInstance(org.mozilla.javascript.Scriptable)"><B>hasInstance(Scriptable)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>The instanceof operator. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#hasInstance(org.mozilla.javascript.Scriptable)"><B>hasInstance(Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Implements the instanceof operator. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#hasProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><B>hasProperty(Scriptable, String)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns whether a named property is defined in an object or any object + in its prototype chain. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#hasProperty(org.mozilla.javascript.Scriptable, int)"><B>hasProperty(Scriptable, int)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns whether an indexed property is defined in an object or any object + in its prototype chain. +</DL> +<HR> +<A NAME="_I_"><!-- --></A><H2> +<B>I</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript"><B>ImporterTopLevel</B></A> - Class in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>Class ImporterTopLevel + + This class defines a ScriptableObject that can be instantiated + as a top-level ("global") object to provide functionality similar + to Java's "import" statement.<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html#ImporterTopLevel()"><B>ImporterTopLevel()</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html#ImporterTopLevel(org.mozilla.javascript.Context)"><B>ImporterTopLevel(Context)</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html#ImporterTopLevel(org.mozilla.javascript.Context, boolean)"><B>ImporterTopLevel(Context, boolean)</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html#importPackage(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object[], org.mozilla.javascript.Function)"><B>importPackage(Context, Scriptable, Object[], Function)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<DD><B>Deprecated.</B> <I>Kept only for compatibility.</I> +<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html#init(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, boolean)"><B>init(Context, Scriptable, boolean)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#initApplicationClassLoader(java.lang.ClassLoader)"><B>initApplicationClassLoader(ClassLoader)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Set explicit class loader to use when searching for Java classes. +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#initColumnNumber(int)"><B>initColumnNumber(int)</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD>Initialize the column number of the script statement causing the error. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#initFromContext(org.mozilla.javascript.Context)"><B>initFromContext(Context)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#initGlobal(org.mozilla.javascript.ContextFactory)"><B>initGlobal(ContextFactory)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Set global ContextFactory. +<DT><A HREF="./org/mozilla/javascript/SecurityController.html#initGlobal(org.mozilla.javascript.SecurityController)"><B>initGlobal(SecurityController)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> +<DD>Initialize global controller that will be used for all + security-related operations. +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#initLineNumber(int)"><B>initLineNumber(int)</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD>Initialize the line number of the script statement causing the error. +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#initLineSource(java.lang.String)"><B>initLineSource(String)</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD>Initialize the text of the source line containing the error. +<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html#initPrototypeId(int)"><B>initPrototypeId(int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#initSourceName(java.lang.String)"><B>initSourceName(String)</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD>Initialize the uri of the script source containing the error. +<DT><A HREF="./org/mozilla/javascript/Context.html#initStandardObjects()"><B>initStandardObjects()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Initialize the standard objects. +<DT><A HREF="./org/mozilla/javascript/Context.html#initStandardObjects(org.mozilla.javascript.ScriptableObject)"><B>initStandardObjects(ScriptableObject)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Initialize the standard objects. +<DT><A HREF="./org/mozilla/javascript/Context.html#initStandardObjects(org.mozilla.javascript.ScriptableObject, boolean)"><B>initStandardObjects(ScriptableObject, boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Initialize the standard objects. +<DT><A HREF="./org/mozilla/javascript/ImporterTopLevel.html#initStandardObjects(org.mozilla.javascript.Context, boolean)"><B>initStandardObjects(Context, boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#isActivationNeeded(java.lang.String)"><B>isActivationNeeded(String)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Check whether the name is in the list of names of objects + forcing the creation of activation objects. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#isAllowMemberExprAsFunctionName()"><B>isAllowMemberExprAsFunctionName()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ClassCache.html#isCachingEnabled()"><B>isCachingEnabled()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A> +<DD>Check if generated Java classes and Java reflection information + is cached. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#isConst(java.lang.String)"><B>isConst(String)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns true if the named property is defined as a const on this object. +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html#isFunction()"><B>isFunction()</B></A> - +Method in interface org.mozilla.javascript.debug.<A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> +<DD>Returns true if this is a function, false if it is a script. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#isGenerateDebugInfo()"><B>isGenerateDebugInfo()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html#isGeneratedScript()"><B>isGeneratedScript()</B></A> - +Method in interface org.mozilla.javascript.debug.<A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> +<DD>Returns true if this script or function were runtime-generated + from JavaScript using <tt>eval</tt> function or <tt>Function</tt> + or <tt>Script</tt> constructors. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#isGenerateObserverCount()"><B>isGenerateObserverCount()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#isGeneratingDebug()"><B>isGeneratingDebug()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Tell whether debug information is being generated. +<DT><A HREF="./org/mozilla/javascript/Context.html#isGeneratingDebugChanged()"><B>isGeneratingDebugChanged()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#isGeneratingSource()"><B>isGeneratingSource()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#isGeneratingSource()"><B>isGeneratingSource()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Tell whether source information is being generated. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#isGetterOrSetter(java.lang.String, int, boolean)"><B>isGetterOrSetter(String, int, boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Returns whether a property is a getter or a setter +<DT><A HREF="./org/mozilla/javascript/ClassCache.html#isInvokerOptimizationEnabled()"><B>isInvokerOptimizationEnabled()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A> +<DD><B>Deprecated.</B> <I>The method always returns false.</I> +<DT><A HREF="./org/mozilla/javascript/WrapFactory.html#isJavaPrimitiveWrap()"><B>isJavaPrimitiveWrap()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript">WrapFactory</A> +<DD>Return <code>false</code> if result of Java method, which is instance of + <code>String</code>, <code>Number</code>, <code>Boolean</code> and + <code>Character</code>, should be used directly as JavaScript primitive + type. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#isReservedKeywordAsIdentifier()"><B>isReservedKeywordAsIdentifier()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#isSealed()"><B>isSealed()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Checks if this is a sealed Context. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#isSealed()"><B>isSealed()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Checks if this is a sealed ContextFactory. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#isSealed()"><B>isSealed()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Return true if this object is sealed. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#isStrictMode()"><B>isStrictMode()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/debug/DebuggableScript.html#isTopLevel()"><B>isTopLevel()</B></A> - +Method in interface org.mozilla.javascript.debug.<A HREF="./org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#isUseDynamicScope()"><B>isUseDynamicScope()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#isValidLanguageVersion(int)"><B>isValidLanguageVersion(int)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#isValidOptimizationLevel(int)"><B>isValidOptimizationLevel(int)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#isXmlAvailable()"><B>isXmlAvailable()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +</DL> +<HR> +<A NAME="_J_"><!-- --></A><H2> +<B>J</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#JAVA_BOOLEAN_TYPE"><B>JAVA_BOOLEAN_TYPE</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#JAVA_DOUBLE_TYPE"><B>JAVA_DOUBLE_TYPE</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#JAVA_INT_TYPE"><B>JAVA_INT_TYPE</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#JAVA_OBJECT_TYPE"><B>JAVA_OBJECT_TYPE</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#JAVA_SCRIPTABLE_TYPE"><B>JAVA_SCRIPTABLE_TYPE</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#JAVA_STRING_TYPE"><B>JAVA_STRING_TYPE</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/FunctionObject.html#JAVA_UNSUPPORTED_TYPE"><B>JAVA_UNSUPPORTED_TYPE</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript"><B>JavaScriptException</B></A> - Exception in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>Java reflection of JavaScript exceptions.<DT><A HREF="./org/mozilla/javascript/JavaScriptException.html#JavaScriptException(java.lang.Object)"><B>JavaScriptException(Object)</B></A> - +Constructor for exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript">JavaScriptException</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/WrappedException.html#WrappedException(java.lang.Throwable)"><CODE>WrappedException.WrappedException(Throwable)</CODE></A> to report + exceptions in Java code.</I> +<DT><A HREF="./org/mozilla/javascript/JavaScriptException.html#JavaScriptException(java.lang.Object, java.lang.String, int)"><B>JavaScriptException(Object, String, int)</B></A> - +Constructor for exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript">JavaScriptException</A> +<DD>Create a JavaScript exception wrapping the given JavaScript value +<DT><A HREF="./org/mozilla/javascript/Context.html#javaToJS(java.lang.Object, org.mozilla.javascript.Scriptable)"><B>javaToJS(Object, Scriptable)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Convenient method to convert java value to its closest representation + in JavaScript. +<DT><A HREF="./org/mozilla/javascript/Context.html#jsToJava(java.lang.Object, java.lang.Class)"><B>jsToJava(Object, Class)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Convert a JavaScript value into the desired type. +</DL> +<HR> +<A NAME="_L_"><!-- --></A><H2> +<B>L</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/Context.html#languageVersionProperty"><B>languageVersionProperty</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#lineNumber()"><B>lineNumber()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD>Returns the line number of the statement causing the error, + or zero if not available. +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#lineSource()"><B>lineSource()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD>The source text of the line causing the error, or null if unknown. +<DT><A HREF="./org/mozilla/javascript/GeneratedClassLoader.html#linkClass(java.lang.Class)"><B>linkClass(Class)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript">GeneratedClassLoader</A> +<DD>Link the given class. +</DL> +<HR> +<A NAME="_M_"><!-- --></A><H2> +<B>M</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html#makeAuxiliaryClassName(java.lang.String, java.lang.String)"><B>makeAuxiliaryClassName(String, String)</B></A> - +Method in class org.mozilla.javascript.optimizer.<A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer">ClassCompiler</A> +<DD>Build class name for a auxiliary class generated by compiler. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#makeContext()"><B>makeContext()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Create new <A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> instance to be associated with the current + thread. +</DL> +<HR> +<A NAME="_N_"><!-- --></A><H2> +<B>N</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/Context.html#newArray(org.mozilla.javascript.Scriptable, int)"><B>newArray(Scriptable, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Create an array with a specified initial length. +<DT><A HREF="./org/mozilla/javascript/Context.html#newArray(org.mozilla.javascript.Scriptable, java.lang.Object[])"><B>newArray(Scriptable, Object[])</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Create an array with a set of initial elements. +<DT><A HREF="./org/mozilla/javascript/ClassCache.html#newClassSerialNumber()"><B>newClassSerialNumber()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A> +<DD>Internal engine method to return serial number for generated classes + to ensure name uniqueness. +<DT><A HREF="./org/mozilla/javascript/Context.html#newObject(org.mozilla.javascript.Scriptable)"><B>newObject(Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Create a new JavaScript object. +<DT><A HREF="./org/mozilla/javascript/Context.html#newObject(org.mozilla.javascript.Scriptable, java.lang.String)"><B>newObject(Scriptable, String)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Create a new JavaScript object by executing the named constructor. +<DT><A HREF="./org/mozilla/javascript/Context.html#newObject(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])"><B>newObject(Scriptable, String, Object[])</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Creates a new JavaScript object by executing the named constructor. +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#NOT_FOUND"><B>NOT_FOUND</B></A> - +Static variable in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Value returned from <code>get</code> if the property is not + found. +</DL> +<HR> +<A NAME="_O_"><!-- --></A><H2> +<B>O</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/Context.html#observeInstructionCount(int)"><B>observeInstructionCount(int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Allow application to monitor counter of executed script instructions + in Context subclasses. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#observeInstructionCount(org.mozilla.javascript.Context, int)"><B>observeInstructionCount(Context, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Implementation of + <A HREF="./org/mozilla/javascript/Context.html#observeInstructionCount(int)"><CODE>Context.observeInstructionCount(int instructionCount)</CODE></A>. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#onContextCreated(org.mozilla.javascript.Context)"><B>onContextCreated(Context)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#onContextReleased(org.mozilla.javascript.Context)"><B>onContextReleased(Context)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/package-summary.html"><B>org.mozilla.javascript</B></A> - package org.mozilla.javascript<DD> <DT><A HREF="./org/mozilla/javascript/debug/package-summary.html"><B>org.mozilla.javascript.debug</B></A> - package org.mozilla.javascript.debug<DD> <DT><A HREF="./org/mozilla/javascript/optimizer/package-summary.html"><B>org.mozilla.javascript.optimizer</B></A> - package org.mozilla.javascript.optimizer<DD> <DT><A HREF="./org/mozilla/javascript/serialize/package-summary.html"><B>org.mozilla.javascript.serialize</B></A> - package org.mozilla.javascript.serialize<DD> </DL> +<HR> +<A NAME="_P_"><!-- --></A><H2> +<B>P</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#PERMANENT"><B>PERMANENT</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Property attribute indicating property cannot be deleted. +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#printStackTrace(java.io.PrintWriter)"><B>printStackTrace(PrintWriter)</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#printStackTrace(java.io.PrintStream)"><B>printStackTrace(PrintStream)</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)"><B>put(String, Scriptable, Object)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Sets a named property in this object. +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#put(int, org.mozilla.javascript.Scriptable, java.lang.Object)"><B>put(int, Scriptable, Object)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Sets an indexed property in this object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)"><B>put(String, Scriptable, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Sets the value of the named property, creating it if need be. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#put(int, org.mozilla.javascript.Scriptable, java.lang.Object)"><B>put(int, Scriptable, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Sets the value of the indexed property, creating it if need be. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#putConst(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)"><B>putConst(String, Scriptable, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Sets the value of the named const property, creating it if need be. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#putConstProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)"><B>putConstProperty(Scriptable, String, Object)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Puts a named property in an object or in an object in its prototype chain. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)"><B>putProperty(Scriptable, String, Object)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Puts a named property in an object or in an object in its prototype chain. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, int, java.lang.Object)"><B>putProperty(Scriptable, int, Object)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Puts an indexed property in an object or in an object in its prototype chain. +<DT><A HREF="./org/mozilla/javascript/Context.html#putThreadLocal(java.lang.Object, java.lang.Object)"><B>putThreadLocal(Object, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Put a value that can later be retrieved using a given key. +</DL> +<HR> +<A NAME="_R_"><!-- --></A><H2> +<B>R</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#READONLY"><B>READONLY</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Property attribute indicating assignment to this property is ignored. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#redefineProperty(org.mozilla.javascript.Scriptable, java.lang.String, boolean)"><B>redefineProperty(Scriptable, String, boolean)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>If hasProperty(obj, name) would return true, then if the property that + was found is compatible with the new property, this method just returns. +<DT><A HREF="./org/mozilla/javascript/RefCallable.html#refCall(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object[])"><B>refCall(Context, Scriptable, Object[])</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RefCallable.html" title="interface in org.mozilla.javascript">RefCallable</A> +<DD>Perform function call in reference context. +<DT><A HREF="./org/mozilla/javascript/RefCallable.html" title="interface in org.mozilla.javascript"><B>RefCallable</B></A> - Interface in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>Object that can allows assignments to the result of function calls.<DT><A HREF="./org/mozilla/javascript/Context.html#removeActivationName(java.lang.String)"><B>removeActivationName(String)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Remove a name from the list of names forcing the creation of real + activation objects for functions. +<DT><A HREF="./org/mozilla/javascript/Context.html#removeContextListener(org.mozilla.javascript.ContextListener)"><B>removeContextListener(ContextListener)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I></I> +<DT><A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html#removeExcludedName(java.lang.String)"><B>removeExcludedName(String)</B></A> - +Method in class org.mozilla.javascript.serialize.<A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableOutputStream</A> +<DD>Removes a name from the list of names to exclude. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#removeListener(org.mozilla.javascript.ContextFactory.Listener)"><B>removeListener(ContextFactory.Listener)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#removePropertyChangeListener(java.beans.PropertyChangeListener)"><B>removePropertyChangeListener(PropertyChangeListener)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Remove an object from the list of objects registered to receive + notification of changes to a bounded property +<DT><A HREF="./org/mozilla/javascript/Context.html#removeThreadLocal(java.lang.Object)"><B>removeThreadLocal(Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Remove values from thread-local storage. +<DT><A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html#replaceObject(java.lang.Object)"><B>replaceObject(Object)</B></A> - +Method in class org.mozilla.javascript.serialize.<A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableOutputStream</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#reportError(java.lang.String, java.lang.String, int, java.lang.String, int)"><B>reportError(String, String, int, String, int)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Report an error using the error reporter for the current thread. +<DT><A HREF="./org/mozilla/javascript/Context.html#reportError(java.lang.String)"><B>reportError(String)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Report an error using the error reporter for the current thread. +<DT><A HREF="./org/mozilla/javascript/Context.html#reportRuntimeError(java.lang.String, java.lang.String, int, java.lang.String, int)"><B>reportRuntimeError(String, String, int, String, int)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Report a runtime error using the error reporter for the current thread. +<DT><A HREF="./org/mozilla/javascript/Context.html#reportRuntimeError(java.lang.String)"><B>reportRuntimeError(String)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Report a runtime error using the error reporter for the current thread. +<DT><A HREF="./org/mozilla/javascript/Context.html#reportWarning(java.lang.String, java.lang.String, int, java.lang.String, int)"><B>reportWarning(String, String, int, String, int)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Report a warning using the error reporter for the current thread. +<DT><A HREF="./org/mozilla/javascript/Context.html#reportWarning(java.lang.String)"><B>reportWarning(String)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Report a warning using the error reporter for the current thread. +<DT><A HREF="./org/mozilla/javascript/Context.html#reportWarning(java.lang.String, java.lang.Throwable)"><B>reportWarning(String, Throwable)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#reportWarningAsError()"><B>reportWarningAsError()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/serialize/ScriptableInputStream.html#resolveClass(java.io.ObjectStreamClass)"><B>resolveClass(ObjectStreamClass)</B></A> - +Method in class org.mozilla.javascript.serialize.<A HREF="./org/mozilla/javascript/serialize/ScriptableInputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableInputStream</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/serialize/ScriptableInputStream.html#resolveObject(java.lang.Object)"><B>resolveObject(Object)</B></A> - +Method in class org.mozilla.javascript.serialize.<A HREF="./org/mozilla/javascript/serialize/ScriptableInputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableInputStream</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript"><B>RhinoException</B></A> - Exception in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>The class of exceptions thrown by the JavaScript engine.<DT><A HREF="./org/mozilla/javascript/ContextAction.html#run(org.mozilla.javascript.Context)"><B>run(Context)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript">ContextAction</A> +<DD>Execute action using the supplied Context instance. +<DT><A HREF="./org/mozilla/javascript/ErrorReporter.html#runtimeError(java.lang.String, java.lang.String, int, java.lang.String, int)"><B>runtimeError(String, String, int, String, int)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A> +<DD>Creates an EvaluatorException that may be thrown. +</DL> +<HR> +<A NAME="_S_"><!-- --></A><H2> +<B>S</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript"><B>Script</B></A> - Interface in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>All compiled scripts implement this interface.<DT><A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><B>Scriptable</B></A> - Interface in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>This is interface that all objects in JavaScript must implement.<DT><A HREF="./org/mozilla/javascript/serialize/ScriptableInputStream.html" title="class in org.mozilla.javascript.serialize"><B>ScriptableInputStream</B></A> - Class in <A HREF="./org/mozilla/javascript/serialize/package-summary.html">org.mozilla.javascript.serialize</A><DD>Class ScriptableInputStream is used to read in a JavaScript + object or function previously serialized with a ScriptableOutputStream.<DT><A HREF="./org/mozilla/javascript/serialize/ScriptableInputStream.html#ScriptableInputStream(java.io.InputStream, org.mozilla.javascript.Scriptable)"><B>ScriptableInputStream(InputStream, Scriptable)</B></A> - +Constructor for class org.mozilla.javascript.serialize.<A HREF="./org/mozilla/javascript/serialize/ScriptableInputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableInputStream</A> +<DD>Create a ScriptableInputStream. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript"><B>ScriptableObject</B></A> - Class in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>This is the default implementation of the Scriptable interface.<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#ScriptableObject()"><B>ScriptableObject()</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#ScriptableObject(org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable)"><B>ScriptableObject(Scriptable, Scriptable)</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize"><B>ScriptableOutputStream</B></A> - Class in <A HREF="./org/mozilla/javascript/serialize/package-summary.html">org.mozilla.javascript.serialize</A><DD>Class ScriptableOutputStream is an ObjectOutputStream used + to serialize JavaScript objects and functions.<DT><A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html#ScriptableOutputStream(java.io.OutputStream, org.mozilla.javascript.Scriptable)"><B>ScriptableOutputStream(OutputStream, Scriptable)</B></A> - +Constructor for class org.mozilla.javascript.serialize.<A HREF="./org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableOutputStream</A> +<DD>ScriptableOutputStream constructor. +<DT><A HREF="./org/mozilla/javascript/Context.html#seal(java.lang.Object)"><B>seal(Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Seal this Context object so any attempt to modify any of its properties + including calling <A HREF="./org/mozilla/javascript/Context.html#enter()"><CODE>Context.enter()</CODE></A> and <A HREF="./org/mozilla/javascript/Context.html#exit()"><CODE>Context.exit()</CODE></A> methods will + throw an exception. +<DT><A HREF="./org/mozilla/javascript/ContextFactory.html#seal()"><B>seal()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> +<DD>Seal this ContextFactory so any attempt to modify it like to add or + remove its listeners will throw an exception. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#sealObject()"><B>sealObject()</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Seal this object. +<DT><A HREF="./org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript"><B>SecurityController</B></A> - Class in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>This class describes the support needed to implement security.<DT><A HREF="./org/mozilla/javascript/SecurityController.html#SecurityController()"><B>SecurityController()</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#setAllowMemberExprAsFunctionName(boolean)"><B>setAllowMemberExprAsFunctionName(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#setApplicationClassLoader(java.lang.ClassLoader)"><B>setApplicationClassLoader(ClassLoader)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, org.mozilla.javascript.Scriptable, int)"><B>setAttributes(String, Scriptable, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, int)"><CODE>ScriptableObject.setAttributes(String name, int attributes)</CODE></A>. + The engine always ignored the start argument.</I> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#setAttributes(int, org.mozilla.javascript.Scriptable, int)"><B>setAttributes(int, Scriptable, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/ScriptableObject.html#setAttributes(int, int)"><CODE>ScriptableObject.setAttributes(int index, int attributes)</CODE></A>. + The engine always ignored the start argument.</I> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, int)"><B>setAttributes(String, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Set the attributes of a named property. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#setAttributes(int, int)"><B>setAttributes(int, int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Set the attributes of an indexed property. +<DT><A HREF="./org/mozilla/javascript/ClassCache.html#setCachingEnabled(boolean)"><B>setCachingEnabled(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A> +<DD>Set whether to cache some values. +<DT><A HREF="./org/mozilla/javascript/Context.html#setCachingEnabled(boolean)"><B>setCachingEnabled(boolean)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I></I> +<DT><A HREF="./org/mozilla/javascript/Context.html#setClassShutter(org.mozilla.javascript.ClassShutter)"><B>setClassShutter(ClassShutter)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Set the LiveConnect access filter for this context. +<DT><A HREF="./org/mozilla/javascript/Context.html#setCompileFunctionsWithDynamicScope(boolean)"><B>setCompileFunctionsWithDynamicScope(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I></I> +<DT><A HREF="./org/mozilla/javascript/Context.html#setDebugger(org.mozilla.javascript.debug.Debugger, java.lang.Object)"><B>setDebugger(Debugger, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Set the associated debugger. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#setErrorReporter(org.mozilla.javascript.ErrorReporter)"><B>setErrorReporter(ErrorReporter)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#setErrorReporter(org.mozilla.javascript.ErrorReporter)"><B>setErrorReporter(ErrorReporter)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Change the current error reporter. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#setGenerateDebugInfo(boolean)"><B>setGenerateDebugInfo(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#setGenerateObserverCount(boolean)"><B>setGenerateObserverCount(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD>Turn on or off generation of code with callbacks to + track the count of executed instructions. +<DT><A HREF="./org/mozilla/javascript/Context.html#setGenerateObserverCount(boolean)"><B>setGenerateObserverCount(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Turn on or off generation of code with callbacks to + track the count of executed instructions. +<DT><A HREF="./org/mozilla/javascript/Context.html#setGeneratingDebug(boolean)"><B>setGeneratingDebug(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Specify whether or not debug information should be generated. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#setGeneratingSource(boolean)"><B>setGeneratingSource(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD>Specify whether or not source information should be generated. +<DT><A HREF="./org/mozilla/javascript/Context.html#setGeneratingSource(boolean)"><B>setGeneratingSource(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Specify whether or not source information should be generated. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#setGetterOrSetter(java.lang.String, int, org.mozilla.javascript.Callable, boolean)"><B>setGetterOrSetter(String, int, Callable, boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>XXX: write docs. +<DT><A HREF="./org/mozilla/javascript/Context.html#setInstructionObserverThreshold(int)"><B>setInstructionObserverThreshold(int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Set threshold of executed instructions counter that triggers call to + <code>observeInstructionCount()</code>. +<DT><A HREF="./org/mozilla/javascript/ClassCache.html#setInvokerOptimizationEnabled(boolean)"><B>setInvokerOptimizationEnabled(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A> +<DD><B>Deprecated.</B> <I>The method does nothing. + Invoker optimization is no longer used by Rhino. + On modern JDK like 1.4 or 1.5 the disadvantages of the optimization + like increased memory usage or longer initialization time overweight + small speed increase that can be gained using generated proxy class + to replace reflection.</I> +<DT><A HREF="./org/mozilla/javascript/WrapFactory.html#setJavaPrimitiveWrap(boolean)"><B>setJavaPrimitiveWrap(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript">WrapFactory</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#setLanguageVersion(int)"><B>setLanguageVersion(int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#setLanguageVersion(int)"><B>setLanguageVersion(int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Set the language version. +<DT><A HREF="./org/mozilla/javascript/Context.html#setLocale(java.util.Locale)"><B>setLocale(Locale)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Set the current locale. +<DT><A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html#setMainMethodClass(java.lang.String)"><B>setMainMethodClass(String)</B></A> - +Method in class org.mozilla.javascript.optimizer.<A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer">ClassCompiler</A> +<DD>Set the class name to use for main method implementation. +<DT><A HREF="./org/mozilla/javascript/Context.html#setMaximumInterpreterStackDepth(int)"><B>setMaximumInterpreterStackDepth(int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Sets the maximum stack depth (in terms of number of call frames) + allowed in a single invocation of interpreter. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#setOptimizationLevel(int)"><B>setOptimizationLevel(int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#setOptimizationLevel(int)"><B>setOptimizationLevel(int)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Set the current optimization level. +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#setParentScope(org.mozilla.javascript.Scriptable)"><B>setParentScope(Scriptable)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Set the parent scope of the object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#setParentScope(org.mozilla.javascript.Scriptable)"><B>setParentScope(Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Sets the parent (enclosing) scope of the object. +<DT><A HREF="./org/mozilla/javascript/Scriptable.html#setPrototype(org.mozilla.javascript.Scriptable)"><B>setPrototype(Scriptable)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> +<DD>Set the prototype of the object. +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#setPrototype(org.mozilla.javascript.Scriptable)"><B>setPrototype(Scriptable)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Sets the prototype of the object. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#setReservedKeywordAsIdentifier(boolean)"><B>setReservedKeywordAsIdentifier(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Context.html#setSecurityController(org.mozilla.javascript.SecurityController)"><B>setSecurityController(SecurityController)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Set the security controller for this context. +<DT><A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html#setTargetExtends(java.lang.Class)"><B>setTargetExtends(Class)</B></A> - +Method in class org.mozilla.javascript.optimizer.<A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer">ClassCompiler</A> +<DD>Set the class that the generated target will extend. +<DT><A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html#setTargetImplements(java.lang.Class[])"><B>setTargetImplements(Class[])</B></A> - +Method in class org.mozilla.javascript.optimizer.<A HREF="./org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer">ClassCompiler</A> +<DD>Set the interfaces that the generated target will implement. +<DT><A HREF="./org/mozilla/javascript/Context.html#setWrapFactory(org.mozilla.javascript.WrapFactory)"><B>setWrapFactory(WrapFactory)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Set a WrapFactory for this Context. +<DT><A HREF="./org/mozilla/javascript/CompilerEnvirons.html#setXmlAvailable(boolean)"><B>setXmlAvailable(boolean)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/RhinoException.html#sourceName()"><B>sourceName()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> +<DD>Get the uri of the script source containing the error, or null + if that information is not available. +<DT><A HREF="./org/mozilla/javascript/Context.html#stringIsCompilableUnit(java.lang.String)"><B>stringIsCompilableUnit(String)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Check whether a string is ready to be compiled. +<DT><A HREF="./org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript"><B>Synchronizer</B></A> - Class in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>This class provides support for implementing Java-style synchronized + methods in Javascript.<DT><A HREF="./org/mozilla/javascript/Synchronizer.html#Synchronizer(org.mozilla.javascript.Scriptable)"><B>Synchronizer(Scriptable)</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript">Synchronizer</A> +<DD>Create a new synchronized function from an existing one. +</DL> +<HR> +<A NAME="_T_"><!-- --></A><H2> +<B>T</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/Context.html#throwAsScriptRuntimeEx(java.lang.Throwable)"><B>throwAsScriptRuntimeEx(Throwable)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Rethrow the exception wrapping it as the script runtime exception. +<DT><A HREF="./org/mozilla/javascript/Context.html#toBoolean(java.lang.Object)"><B>toBoolean(Object)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Convert the value to a JavaScript boolean value. +<DT><A HREF="./org/mozilla/javascript/Context.html#toNumber(java.lang.Object)"><B>toNumber(Object)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Convert the value to a JavaScript Number value. +<DT><A HREF="./org/mozilla/javascript/Context.html#toObject(java.lang.Object, org.mozilla.javascript.Scriptable)"><B>toObject(Object, Scriptable)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Convert the value to an JavaScript object value. +<DT><A HREF="./org/mozilla/javascript/Context.html#toObject(java.lang.Object, org.mozilla.javascript.Scriptable, java.lang.Class)"><B>toObject(Object, Scriptable, Class)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I></I> +<DT><A HREF="./org/mozilla/javascript/Context.html#toString(java.lang.Object)"><B>toString(Object)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Convert the value to a JavaScript String value. +<DT><A HREF="./org/mozilla/javascript/Context.html#toType(java.lang.Object, java.lang.Class)"><B>toType(Object, Class)</B></A> - +Static method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD><B>Deprecated.</B> <I></I> +</DL> +<HR> +<A NAME="_U_"><!-- --></A><H2> +<B>U</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/ScriptableObject.html#UNINITIALIZED_CONST"><B>UNINITIALIZED_CONST</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> +<DD>Property attribute indicating that this is a const property that has not + been assigned yet. +<DT><A HREF="./org/mozilla/javascript/Context.html#unseal(java.lang.Object)"><B>unseal(Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>Unseal previously sealed Context object. +<DT><A HREF="./org/mozilla/javascript/WrappedException.html#unwrap()"><B>unwrap()</B></A> - +Method in exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript">WrappedException</A> +<DD><B>Deprecated.</B> <I>Use <A HREF="./org/mozilla/javascript/WrappedException.html#getWrappedException()"><CODE>WrappedException.getWrappedException()</CODE></A> instead.</I> +<DT><A HREF="./org/mozilla/javascript/Wrapper.html#unwrap()"><B>unwrap()</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Wrapper.html" title="interface in org.mozilla.javascript">Wrapper</A> +<DD>Unwrap the object by returning the wrapped value. +</DL> +<HR> +<A NAME="_V_"><!-- --></A><H2> +<B>V</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/Context.html#VERSION_1_0"><B>VERSION_1_0</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>JavaScript 1.0 +<DT><A HREF="./org/mozilla/javascript/Context.html#VERSION_1_1"><B>VERSION_1_1</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>JavaScript 1.1 +<DT><A HREF="./org/mozilla/javascript/Context.html#VERSION_1_2"><B>VERSION_1_2</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>JavaScript 1.2 +<DT><A HREF="./org/mozilla/javascript/Context.html#VERSION_1_3"><B>VERSION_1_3</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>JavaScript 1.3 +<DT><A HREF="./org/mozilla/javascript/Context.html#VERSION_1_4"><B>VERSION_1_4</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>JavaScript 1.4 +<DT><A HREF="./org/mozilla/javascript/Context.html#VERSION_1_5"><B>VERSION_1_5</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>JavaScript 1.5 +<DT><A HREF="./org/mozilla/javascript/Context.html#VERSION_1_6"><B>VERSION_1_6</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>JavaScript 1.6 +<DT><A HREF="./org/mozilla/javascript/Context.html#VERSION_1_7"><B>VERSION_1_7</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>JavaScript 1.7 +<DT><A HREF="./org/mozilla/javascript/Context.html#VERSION_DEFAULT"><B>VERSION_DEFAULT</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>The default version. +<DT><A HREF="./org/mozilla/javascript/Context.html#VERSION_UNKNOWN"><B>VERSION_UNKNOWN</B></A> - +Static variable in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> +<DD>The unknown version. +<DT><A HREF="./org/mozilla/javascript/ClassShutter.html#visibleToScripts(java.lang.String)"><B>visibleToScripts(String)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript">ClassShutter</A> +<DD>Return true iff the Java class with the given name should be exposed + to scripts. +</DL> +<HR> +<A NAME="_W_"><!-- --></A><H2> +<B>W</B></H2> +<DL> +<DT><A HREF="./org/mozilla/javascript/ErrorReporter.html#warning(java.lang.String, java.lang.String, int, java.lang.String, int)"><B>warning(String, String, int, String, int)</B></A> - +Method in interface org.mozilla.javascript.<A HREF="./org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A> +<DD>Report a warning. +<DT><A HREF="./org/mozilla/javascript/WrapFactory.html#wrap(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, java.lang.Class)"><B>wrap(Context, Scriptable, Object, Class)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript">WrapFactory</A> +<DD>Wrap the object. +<DT><A HREF="./org/mozilla/javascript/WrapFactory.html#wrapAsJavaObject(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, java.lang.Class)"><B>wrapAsJavaObject(Context, Scriptable, Object, Class)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript">WrapFactory</A> +<DD>Wrap Java object as Scriptable instance to allow full access to its + methods and fields from JavaScript. +<DT><A HREF="./org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript"><B>WrapFactory</B></A> - Class in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>Embeddings that wish to provide their own custom wrappings for Java + objects may extend this class and call + <A HREF="./org/mozilla/javascript/Context.html#setWrapFactory(org.mozilla.javascript.WrapFactory)"><CODE>Context.setWrapFactory(WrapFactory)</CODE></A> + Once an instance of this class or an extension of this class is enabled + for a given context (by calling setWrapFactory on that context), Rhino + will call the methods of this class whenever it needs to wrap a value + resulting from a call to a Java method or an access to a Java field.<DT><A HREF="./org/mozilla/javascript/WrapFactory.html#WrapFactory()"><B>WrapFactory()</B></A> - +Constructor for class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript">WrapFactory</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/WrapFactory.html#wrapNewObject(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object)"><B>wrapNewObject(Context, Scriptable, Object)</B></A> - +Method in class org.mozilla.javascript.<A HREF="./org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript">WrapFactory</A> +<DD>Wrap an object newly created by a constructor call. +<DT><A HREF="./org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript"><B>WrappedException</B></A> - Exception in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>A wrapper for runtime exceptions.<DT><A HREF="./org/mozilla/javascript/WrappedException.html#WrappedException(java.lang.Throwable)"><B>WrappedException(Throwable)</B></A> - +Constructor for exception org.mozilla.javascript.<A HREF="./org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript">WrappedException</A> +<DD> +<DT><A HREF="./org/mozilla/javascript/Wrapper.html" title="interface in org.mozilla.javascript"><B>Wrapper</B></A> - Interface in <A HREF="./org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A><DD>Objects that can wrap other values for reflection in the JS environment + will implement Wrapper.</DL> +<HR> +<A HREF="#_A_">A</A> <A HREF="#_C_">C</A> <A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_F_">F</A> <A HREF="#_G_">G</A> <A HREF="#_H_">H</A> <A HREF="#_I_">I</A> <A HREF="#_J_">J</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_O_">O</A> <A HREF="#_P_">P</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <A HREF="#_U_">U</A> <A HREF="#_V_">V</A> <A HREF="#_W_">W</A> + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A> + <A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="./allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/index.html b/infrastructure/rhino1_7R1/javadoc/index.html new file mode 100644 index 0000000..fa48043 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/index.html @@ -0,0 +1,37 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc on Thu Mar 06 17:19:16 EST 2008--> +<TITLE> +Rhino +</TITLE> +<SCRIPT type="text/javascript"> + targetPage = "" + window.location.search; + if (targetPage != "" && targetPage != "undefined") + targetPage = targetPage.substring(1); + function loadFrames() { + if (targetPage != "" && targetPage != "undefined") + top.classFrame.location = top.targetPage; + } +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> +</HEAD> +<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()"> +<FRAMESET rows="30%,70%" title="" onLoad="top.loadFrames()"> +<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages"> +<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)"> +</FRAMESET> +<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes"> +<NOFRAMES> +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> +</NOFRAMES> +</FRAMESET> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Callable.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Callable.html new file mode 100644 index 0000000..07c38c5 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Callable.html @@ -0,0 +1,224 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:14 EST 2008 --> +<TITLE> +Callable (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Callable (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV CLASS + <A HREF="../../../org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Callable.html" target="_top"><B>FRAMES</B></A> + <A HREF="Callable.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Interface Callable</H2> +<DL> +<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A>, <A HREF="../../../org/mozilla/javascript/RefCallable.html" title="interface in org.mozilla.javascript">RefCallable</A></DD> +</DL> +<DL> +<DT><B>All Known Implementing Classes:</B> <DD>org.mozilla.javascript.BaseFunction, org.mozilla.javascript.Delegator, <A HREF="../../../org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A>, <A HREF="../../../org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript">Synchronizer</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public interface <B>Callable</B></DL> +</PRE> + +<P> +Generic notion of callable object that can execute some script-related code + upon request with specified values for script scope and this objects. +<P> + +<P> +<HR> + +<P> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Callable.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">call</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</CODE> + +<BR> + Perform the call.</TD> +</TR> +</TABLE> + +<P> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><!-- --></A><H3> +call</H3> +<PRE> +java.lang.Object <B>call</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</PRE> +<DL> +<DD>Perform the call. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - the current Context for this thread<DD><CODE>scope</CODE> - the scope to use to resolve properties.<DD><CODE>thisObj</CODE> - the JavaScript <code>this</code> object<DD><CODE>args</CODE> - the array of arguments +<DT><B>Returns:</B><DD>the result of the call</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV CLASS + <A HREF="../../../org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Callable.html" target="_top"><B>FRAMES</B></A> + <A HREF="Callable.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ClassCache.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ClassCache.html new file mode 100644 index 0000000..8d8b3ef --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ClassCache.html @@ -0,0 +1,445 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:14 EST 2008 --> +<TITLE> +ClassCache (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ClassCache (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ClassCache.html" target="_top"><B>FRAMES</B></A> + <A HREF="ClassCache.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class ClassCache</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.ClassCache</B> +</PRE> +<HR> +<DL> +<DT><PRE>public class <B>ClassCache</B><DT>extends java.lang.Object</DL> +</PRE> + +<P> +Cache of generated classes and data structures to access Java runtime + from JavaScript. +<P> + +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>Rhino 1.5 Release 5</DD> +<DT><B>Author:</B></DT> + <DD>Igor Bukanov</DD> +</DL> +<HR> + +<P> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ClassCache.html#ClassCache()">ClassCache</A></B>()</CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ClassCache.html#associate(org.mozilla.javascript.ScriptableObject)">associate</A></B>(<A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> topScope)</CODE> + +<BR> + Associate ClassCache object with the given top-level scope.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ClassCache.html#clearCaches()">clearCaches</A></B>()</CODE> + +<BR> + Empty caches of generated Java classes and Java reflection information.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ClassCache.html#get(org.mozilla.javascript.Scriptable)">get</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</CODE> + +<BR> + Search for ClassCache object in the given scope.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ClassCache.html#isCachingEnabled()">isCachingEnabled</A></B>()</CODE> + +<BR> + Check if generated Java classes and Java reflection information + is cached.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ClassCache.html#isInvokerOptimizationEnabled()">isInvokerOptimizationEnabled</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>The method always returns false.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ClassCache.html#newClassSerialNumber()">newClassSerialNumber</A></B>()</CODE> + +<BR> + Internal engine method to return serial number for generated classes + to ensure name uniqueness.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ClassCache.html#setCachingEnabled(boolean)">setCachingEnabled</A></B>(boolean enabled)</CODE> + +<BR> + Set whether to cache some values.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ClassCache.html#setInvokerOptimizationEnabled(boolean)">setInvokerOptimizationEnabled</A></B>(boolean enabled)</CODE> + +<BR> + <B>Deprecated.</B> <I>The method does nothing. + Invoker optimization is no longer used by Rhino. + On modern JDK like 1.4 or 1.5 the disadvantages of the optimization + like increased memory usage or longer initialization time overweight + small speed increase that can be gained using generated proxy class + to replace reflection.</I></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="ClassCache()"><!-- --></A><H3> +ClassCache</H3> +<PRE> +public <B>ClassCache</B>()</PRE> +<DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="get(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +get</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A> <B>get</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</PRE> +<DL> +<DD>Search for ClassCache object in the given scope. + The method first calls + <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getTopLevelScope(org.mozilla.javascript.Scriptable)"><CODE>ScriptableObject.getTopLevelScope(Scriptable scope)</CODE></A> + to get the top most scope and then tries to locate associated + ClassCache object in the prototype chain of the top scope. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - scope to search for ClassCache object. +<DT><B>Returns:</B><DD>previously associated ClassCache object or a new instance of + ClassCache if no ClassCache object was found.<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ClassCache.html#associate(org.mozilla.javascript.ScriptableObject)"><CODE>associate(ScriptableObject topScope)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="associate(org.mozilla.javascript.ScriptableObject)"><!-- --></A><H3> +associate</H3> +<PRE> +public boolean <B>associate</B>(<A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> topScope)</PRE> +<DL> +<DD>Associate ClassCache object with the given top-level scope. + The ClassCache object can only be associated with the given scope once. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>topScope</CODE> - scope to associate this ClassCache object with. +<DT><B>Returns:</B><DD>true if no previous ClassCache objects were embedded into + the scope and this ClassCache were successfully associated + or false otherwise.<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ClassCache.html#get(org.mozilla.javascript.Scriptable)"><CODE>get(Scriptable scope)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="clearCaches()"><!-- --></A><H3> +clearCaches</H3> +<PRE> +public void <B>clearCaches</B>()</PRE> +<DL> +<DD>Empty caches of generated Java classes and Java reflection information. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isCachingEnabled()"><!-- --></A><H3> +isCachingEnabled</H3> +<PRE> +public final boolean <B>isCachingEnabled</B>()</PRE> +<DL> +<DD>Check if generated Java classes and Java reflection information + is cached. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setCachingEnabled(boolean)"><!-- --></A><H3> +setCachingEnabled</H3> +<PRE> +public void <B>setCachingEnabled</B>(boolean enabled)</PRE> +<DL> +<DD>Set whether to cache some values. + <p> + By default, the engine will cache the results of + <tt>Class.getMethods()</tt> and similar calls. + This can speed execution dramatically, but increases the memory + footprint. Also, with caching enabled, references may be held to + objects past the lifetime of any real usage. + <p> + If caching is enabled and this method is called with a + <code>false</code> argument, the caches will be emptied. + <p> + Caching is enabled by default. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>enabled</CODE> - if true, caching is enabled<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ClassCache.html#clearCaches()"><CODE>clearCaches()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="isInvokerOptimizationEnabled()"><!-- --></A><H3> +isInvokerOptimizationEnabled</H3> +<PRE> +public boolean <B>isInvokerOptimizationEnabled</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>The method always returns false.</I> +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ClassCache.html#setInvokerOptimizationEnabled(boolean)"><CODE>setInvokerOptimizationEnabled(boolean enabled)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="setInvokerOptimizationEnabled(boolean)"><!-- --></A><H3> +setInvokerOptimizationEnabled</H3> +<PRE> +public void <B>setInvokerOptimizationEnabled</B>(boolean enabled)</PRE> +<DL> +<DD><B>Deprecated.</B> <I>The method does nothing. + Invoker optimization is no longer used by Rhino. + On modern JDK like 1.4 or 1.5 the disadvantages of the optimization + like increased memory usage or longer initialization time overweight + small speed increase that can be gained using generated proxy class + to replace reflection.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="newClassSerialNumber()"><!-- --></A><H3> +newClassSerialNumber</H3> +<PRE> +public final int <B>newClassSerialNumber</B>()</PRE> +<DL> +<DD>Internal engine method to return serial number for generated classes + to ensure name uniqueness. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ClassCache.html" target="_top"><B>FRAMES</B></A> + <A HREF="ClassCache.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ClassShutter.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ClassShutter.html new file mode 100644 index 0000000..924cfb5 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ClassShutter.html @@ -0,0 +1,247 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:14 EST 2008 --> +<TITLE> +ClassShutter (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ClassShutter (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ClassShutter.html" target="_top"><B>FRAMES</B></A> + <A HREF="ClassShutter.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Interface ClassShutter</H2> +<HR> +<DL> +<DT><PRE>public interface <B>ClassShutter</B></DL> +</PRE> + +<P> +Embeddings that wish to filter Java classes that are visible to scripts +through the LiveConnect, should implement this interface. +<P> + +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>1.5 Release 4</DD> +<DT><B>Author:</B></DT> + <DD>Norris Boyd</DD> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#setClassShutter(org.mozilla.javascript.ClassShutter)"><CODE>Context.setClassShutter(ClassShutter)</CODE></A></DL> +<HR> + +<P> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ClassShutter.html#visibleToScripts(java.lang.String)">visibleToScripts</A></B>(java.lang.String fullClassName)</CODE> + +<BR> + Return true iff the Java class with the given name should be exposed + to scripts.</TD> +</TR> +</TABLE> + +<P> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="visibleToScripts(java.lang.String)"><!-- --></A><H3> +visibleToScripts</H3> +<PRE> +boolean <B>visibleToScripts</B>(java.lang.String fullClassName)</PRE> +<DL> +<DD>Return true iff the Java class with the given name should be exposed + to scripts. + <p> + An embedding may filter which Java classes are exposed through + LiveConnect to JavaScript scripts. + <p> + Due to the fact that there is no package reflection in Java, + this method will also be called with package names. There + is no way for Rhino to tell if "Packages.a.b" is a package name + or a class that doesn't exist. What Rhino does is attempt + to load each segment of "Packages.a.b.c": It first attempts to + load class "a", then attempts to load class "a.b", then + finally attempts to load class "a.b.c". On a Rhino installation + without any ClassShutter set, and without any of the + above classes, the expression "Packages.a.b.c" will result in + a [JavaPackage a.b.c] and not an error. + <p> + With ClassShutter supplied, Rhino will first call + visibleToScripts before attempting to look up the class name. If + visibleToScripts returns false, the class name lookup is not + performed and subsequent Rhino execution assumes the class is + not present. So for "java.lang.System.out.println" the lookup + of "java.lang.System" is skipped and thus Rhino assumes that + "java.lang.System" doesn't exist. So then for "java.lang.System.out", + Rhino attempts to load the class "java.lang.System.out" because + it assumes that "java.lang.System" is a package name. + <p> +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>fullClassName</CODE> - the full name of the class (including the package + name, with '.' as a delimiter). For example the + standard string class is "java.lang.String" +<DT><B>Returns:</B><DD>whether or not to reveal this class to scripts</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ClassShutter.html" target="_top"><B>FRAMES</B></A> + <A HREF="ClassShutter.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/CompilerEnvirons.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/CompilerEnvirons.html new file mode 100644 index 0000000..8b5e109 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/CompilerEnvirons.html @@ -0,0 +1,669 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:14 EST 2008 --> +<TITLE> +CompilerEnvirons (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="CompilerEnvirons (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/CompilerEnvirons.html" target="_top"><B>FRAMES</B></A> + <A HREF="CompilerEnvirons.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class CompilerEnvirons</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.CompilerEnvirons</B> +</PRE> +<HR> +<DL> +<DT><PRE>public class <B>CompilerEnvirons</B><DT>extends java.lang.Object</DL> +</PRE> + +<P> +<HR> + +<P> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#CompilerEnvirons()">CompilerEnvirons</A></B>()</CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#getErrorReporter()">getErrorReporter</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#getLanguageVersion()">getLanguageVersion</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#getOptimizationLevel()">getOptimizationLevel</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#initFromContext(org.mozilla.javascript.Context)">initFromContext</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#isAllowMemberExprAsFunctionName()">isAllowMemberExprAsFunctionName</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#isGenerateDebugInfo()">isGenerateDebugInfo</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#isGenerateObserverCount()">isGenerateObserverCount</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#isGeneratingSource()">isGeneratingSource</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#isReservedKeywordAsIdentifier()">isReservedKeywordAsIdentifier</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#isStrictMode()">isStrictMode</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#isUseDynamicScope()">isUseDynamicScope</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#isXmlAvailable()">isXmlAvailable</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#reportWarningAsError()">reportWarningAsError</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#setAllowMemberExprAsFunctionName(boolean)">setAllowMemberExprAsFunctionName</A></B>(boolean flag)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#setErrorReporter(org.mozilla.javascript.ErrorReporter)">setErrorReporter</A></B>(<A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A> errorReporter)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#setGenerateDebugInfo(boolean)">setGenerateDebugInfo</A></B>(boolean flag)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#setGenerateObserverCount(boolean)">setGenerateObserverCount</A></B>(boolean generateObserverCount)</CODE> + +<BR> + Turn on or off generation of code with callbacks to + track the count of executed instructions.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#setGeneratingSource(boolean)">setGeneratingSource</A></B>(boolean generatingSource)</CODE> + +<BR> + Specify whether or not source information should be generated.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#setLanguageVersion(int)">setLanguageVersion</A></B>(int languageVersion)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#setOptimizationLevel(int)">setOptimizationLevel</A></B>(int level)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#setReservedKeywordAsIdentifier(boolean)">setReservedKeywordAsIdentifier</A></B>(boolean flag)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html#setXmlAvailable(boolean)">setXmlAvailable</A></B>(boolean flag)</CODE> + +<BR> + </TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="CompilerEnvirons()"><!-- --></A><H3> +CompilerEnvirons</H3> +<PRE> +public <B>CompilerEnvirons</B>()</PRE> +<DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="initFromContext(org.mozilla.javascript.Context)"><!-- --></A><H3> +initFromContext</H3> +<PRE> +public void <B>initFromContext</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getErrorReporter()"><!-- --></A><H3> +getErrorReporter</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A> <B>getErrorReporter</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setErrorReporter(org.mozilla.javascript.ErrorReporter)"><!-- --></A><H3> +setErrorReporter</H3> +<PRE> +public void <B>setErrorReporter</B>(<A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A> errorReporter)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getLanguageVersion()"><!-- --></A><H3> +getLanguageVersion</H3> +<PRE> +public final int <B>getLanguageVersion</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setLanguageVersion(int)"><!-- --></A><H3> +setLanguageVersion</H3> +<PRE> +public void <B>setLanguageVersion</B>(int languageVersion)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isGenerateDebugInfo()"><!-- --></A><H3> +isGenerateDebugInfo</H3> +<PRE> +public final boolean <B>isGenerateDebugInfo</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setGenerateDebugInfo(boolean)"><!-- --></A><H3> +setGenerateDebugInfo</H3> +<PRE> +public void <B>setGenerateDebugInfo</B>(boolean flag)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isUseDynamicScope()"><!-- --></A><H3> +isUseDynamicScope</H3> +<PRE> +public final boolean <B>isUseDynamicScope</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isReservedKeywordAsIdentifier()"><!-- --></A><H3> +isReservedKeywordAsIdentifier</H3> +<PRE> +public final boolean <B>isReservedKeywordAsIdentifier</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setReservedKeywordAsIdentifier(boolean)"><!-- --></A><H3> +setReservedKeywordAsIdentifier</H3> +<PRE> +public void <B>setReservedKeywordAsIdentifier</B>(boolean flag)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isAllowMemberExprAsFunctionName()"><!-- --></A><H3> +isAllowMemberExprAsFunctionName</H3> +<PRE> +public final boolean <B>isAllowMemberExprAsFunctionName</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setAllowMemberExprAsFunctionName(boolean)"><!-- --></A><H3> +setAllowMemberExprAsFunctionName</H3> +<PRE> +public void <B>setAllowMemberExprAsFunctionName</B>(boolean flag)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isXmlAvailable()"><!-- --></A><H3> +isXmlAvailable</H3> +<PRE> +public final boolean <B>isXmlAvailable</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setXmlAvailable(boolean)"><!-- --></A><H3> +setXmlAvailable</H3> +<PRE> +public void <B>setXmlAvailable</B>(boolean flag)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getOptimizationLevel()"><!-- --></A><H3> +getOptimizationLevel</H3> +<PRE> +public final int <B>getOptimizationLevel</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setOptimizationLevel(int)"><!-- --></A><H3> +setOptimizationLevel</H3> +<PRE> +public void <B>setOptimizationLevel</B>(int level)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isGeneratingSource()"><!-- --></A><H3> +isGeneratingSource</H3> +<PRE> +public final boolean <B>isGeneratingSource</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isStrictMode()"><!-- --></A><H3> +isStrictMode</H3> +<PRE> +public final boolean <B>isStrictMode</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="reportWarningAsError()"><!-- --></A><H3> +reportWarningAsError</H3> +<PRE> +public final boolean <B>reportWarningAsError</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setGeneratingSource(boolean)"><!-- --></A><H3> +setGeneratingSource</H3> +<PRE> +public void <B>setGeneratingSource</B>(boolean generatingSource)</PRE> +<DL> +<DD>Specify whether or not source information should be generated. + <p> + Without source information, evaluating the "toString" method + on JavaScript functions produces only "[native code]" for + the body of the function. + Note that code generated without source is not fully ECMA + conformant. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isGenerateObserverCount()"><!-- --></A><H3> +isGenerateObserverCount</H3> +<PRE> +public boolean <B>isGenerateObserverCount</B>()</PRE> +<DL> +<DD><DL> + +<DT><B>Returns:</B><DD>true iff code will be generated with callbacks to enable + instruction thresholds</DL> +</DD> +</DL> +<HR> + +<A NAME="setGenerateObserverCount(boolean)"><!-- --></A><H3> +setGenerateObserverCount</H3> +<PRE> +public void <B>setGenerateObserverCount</B>(boolean generateObserverCount)</PRE> +<DL> +<DD>Turn on or off generation of code with callbacks to + track the count of executed instructions. + Currently only affects JVM byte code generation: this slows down the + generated code, but code generated without the callbacks will not + be counted toward instruction thresholds. Rhino's interpretive + mode does instruction counting without inserting callbacks, so + there is no requirement to compile code differently. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>generateObserverCount</CODE> - if true, generated code will contain + calls to accumulate an estimate of the instructions executed.</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/CompilerEnvirons.html" target="_top"><B>FRAMES</B></A> + <A HREF="CompilerEnvirons.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Context.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Context.html new file mode 100644 index 0000000..64fb637 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Context.html @@ -0,0 +1,3581 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:14 EST 2008 --> +<TITLE> +Context (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Context (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Context.html" target="_top"><B>FRAMES</B></A> + <A HREF="Context.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class Context</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.Context</B> +</PRE> +<HR> +<DL> +<DT><PRE>public class <B>Context</B><DT>extends java.lang.Object</DL> +</PRE> + +<P> +This class represents the runtime context of an executing script. + + Before executing a script, an instance of Context must be created + and associated with the thread that will be executing the script. + The Context will be used to store information about the executing + of the script such as the call stack. Contexts are associated with + the current thread using the <A HREF="../../../org/mozilla/javascript/Context.html#call(org.mozilla.javascript.ContextAction)"><CODE>call(ContextAction)</CODE></A> + or <A HREF="../../../org/mozilla/javascript/Context.html#enter()"><CODE>enter()</CODE></A> methods.<p> + + Different forms of script execution are supported. Scripts may be + evaluated from the source directly, or first compiled and then later + executed. Interactive execution is also supported.<p> + + Some aspects of script execution, such as type conversions and + object creation, may be accessed directly through methods of + Context. +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Norris Boyd, Brendan Eich</DD> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><CODE>Scriptable</CODE></A></DL> +<HR> + +<P> +<!-- =========== FIELD SUMMARY =========== --> + +<A NAME="field_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Field Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#emptyArgs">emptyArgs</A></B></CODE> + +<BR> + Convenient value to use as zero-length array of objects.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#errorReporterProperty">errorReporterProperty</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_DYNAMIC_SCOPE">FEATURE_DYNAMIC_SCOPE</A></B></CODE> + +<BR> + Control if dynamic scope should be used for name access.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_E4X">FEATURE_E4X</A></B></CODE> + +<BR> + Control if support for E4X(ECMAScript for XML) extension is available.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_ENHANCED_JAVA_ACCESS">FEATURE_ENHANCED_JAVA_ACCESS</A></B></CODE> + +<BR> + Enables enhanced access to Java.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_LOCATION_INFORMATION_IN_ERROR">FEATURE_LOCATION_INFORMATION_IN_ERROR</A></B></CODE> + +<BR> + When the feature is on Rhino will add a "fileName" and "lineNumber" + properties to Error objects automatically.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME">FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME</A></B></CODE> + +<BR> + Control if member expression as function name extension is available.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_NON_ECMA_GET_YEAR">FEATURE_NON_ECMA_GET_YEAR</A></B></CODE> + +<BR> + Controls behaviour of <tt>Date.prototype.getYear()</tt>.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_PARENT_PROTO_PROPERTIES">FEATURE_PARENT_PROTO_PROPERTIES</A></B></CODE> + +<BR> + Control if properties <tt>__proto__</tt> and <tt>__parent__</tt> + are treated specially.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_PARENT_PROTO_PROPRTIES">FEATURE_PARENT_PROTO_PROPRTIES</A></B></CODE> + +<BR> + <B>Deprecated.</B> <I>In previous releases, this name was given to + FEATURE_PARENT_PROTO_PROPERTIES.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER">FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER</A></B></CODE> + +<BR> + Control if reserved keywords are treated as identifiers.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_STRICT_EVAL">FEATURE_STRICT_EVAL</A></B></CODE> + +<BR> + Control if strict eval mode is enabled.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_STRICT_MODE">FEATURE_STRICT_MODE</A></B></CODE> + +<BR> + Controls whether JS 1.5 'strict mode' is enabled.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_STRICT_VARS">FEATURE_STRICT_VARS</A></B></CODE> + +<BR> + Control if strict variable mode is enabled.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_TO_STRING_AS_SOURCE">FEATURE_TO_STRING_AS_SOURCE</A></B></CODE> + +<BR> + Control if <tt>toString()</tt> should returns the same result + as <tt>toSource()</tt> when applied to objects and arrays.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_WARNING_AS_ERROR">FEATURE_WARNING_AS_ERROR</A></B></CODE> + +<BR> + Controls whether a warning should be treated as an error.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#generateObserverCount">generateObserverCount</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#languageVersionProperty">languageVersionProperty</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#VERSION_1_0">VERSION_1_0</A></B></CODE> + +<BR> + JavaScript 1.0</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#VERSION_1_1">VERSION_1_1</A></B></CODE> + +<BR> + JavaScript 1.1</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#VERSION_1_2">VERSION_1_2</A></B></CODE> + +<BR> + JavaScript 1.2</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#VERSION_1_3">VERSION_1_3</A></B></CODE> + +<BR> + JavaScript 1.3</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#VERSION_1_4">VERSION_1_4</A></B></CODE> + +<BR> + JavaScript 1.4</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#VERSION_1_5">VERSION_1_5</A></B></CODE> + +<BR> + JavaScript 1.5</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#VERSION_1_6">VERSION_1_6</A></B></CODE> + +<BR> + JavaScript 1.6</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#VERSION_1_7">VERSION_1_7</A></B></CODE> + +<BR> + JavaScript 1.7</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#VERSION_DEFAULT">VERSION_DEFAULT</A></B></CODE> + +<BR> + The default version.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#VERSION_UNKNOWN">VERSION_UNKNOWN</A></B></CODE> + +<BR> + The unknown version.</TD> +</TR> +</TABLE> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#Context()">Context</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>use <A HREF="../../../org/mozilla/javascript/ContextFactory.html#enter()"><CODE>ContextFactory.enter()</CODE></A> or + <A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A> instead.</I></TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#addActivationName(java.lang.String)">addActivationName</A></B>(java.lang.String name)</CODE> + +<BR> + Add a name to the list of names forcing the creation of real + activation objects for functions.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#addContextListener(org.mozilla.javascript.ContextListener)">addContextListener</A></B>(org.mozilla.javascript.ContextListener listener)</CODE> + +<BR> + <B>Deprecated.</B> <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A></B>(java.beans.PropertyChangeListener l)</CODE> + +<BR> + Register an object to receive notifications when a bound property + has changed</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#call(org.mozilla.javascript.ContextAction)">call</A></B>(<A HREF="../../../org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript">ContextAction</A> action)</CODE> + +<BR> + <B>Deprecated.</B> <I>use <A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A> instead as + this method relies on usage of a static singleton "global" + ContextFactory.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#call(org.mozilla.javascript.ContextFactory, org.mozilla.javascript.Callable, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">call</A></B>(<A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> factory, + <A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A> callable, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</CODE> + +<BR> + Call <A HREF="../../../org/mozilla/javascript/Callable.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>Callable.call(Context cx, Scriptable scope, Scriptable thisObj, + Object[] args)</CODE></A> + using the Context instance associated with the current thread.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#checkLanguageVersion(int)">checkLanguageVersion</A></B>(int version)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#checkOptimizationLevel(int)">checkOptimizationLevel</A></B>(int optimizationLevel)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#compileFunction(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.String, int, java.lang.Object)">compileFunction</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.String source, + java.lang.String sourceName, + int lineno, + java.lang.Object securityDomain)</CODE> + +<BR> + Compile a JavaScript function.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#compileReader(java.io.Reader, java.lang.String, int, java.lang.Object)">compileReader</A></B>(java.io.Reader in, + java.lang.String sourceName, + int lineno, + java.lang.Object securityDomain)</CODE> + +<BR> + Compiles the source in the given reader.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#compileReader(org.mozilla.javascript.Scriptable, java.io.Reader, java.lang.String, int, java.lang.Object)">compileReader</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.io.Reader in, + java.lang.String sourceName, + int lineno, + java.lang.Object securityDomain)</CODE> + +<BR> + <B>Deprecated.</B> <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#compileString(java.lang.String, java.lang.String, int, java.lang.Object)">compileString</A></B>(java.lang.String source, + java.lang.String sourceName, + int lineno, + java.lang.Object securityDomain)</CODE> + +<BR> + Compiles the source in the given string.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript">GeneratedClassLoader</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#createClassLoader(java.lang.ClassLoader)">createClassLoader</A></B>(java.lang.ClassLoader parent)</CODE> + +<BR> + Create class loader for generated classes.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#decompileFunction(org.mozilla.javascript.Function, int)">decompileFunction</A></B>(<A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A> fun, + int indent)</CODE> + +<BR> + Decompile a JavaScript Function.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#decompileFunctionBody(org.mozilla.javascript.Function, int)">decompileFunctionBody</A></B>(<A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A> fun, + int indent)</CODE> + +<BR> + Decompile the body of a JavaScript Function.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#decompileScript(org.mozilla.javascript.Script, int)">decompileScript</A></B>(<A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A> script, + int indent)</CODE> + +<BR> + Decompile the script.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#enter()">enter</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>use <A HREF="../../../org/mozilla/javascript/ContextFactory.html#enter()"><CODE>ContextFactory.enter()</CODE></A> or + <A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A> instead as this method relies + on usage of a static singleton "global" ContextFactory.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#enter(org.mozilla.javascript.Context)">enter</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</CODE> + +<BR> + <B>Deprecated.</B> <I>use <A HREF="../../../org/mozilla/javascript/ContextFactory.html#enterContext(org.mozilla.javascript.Context)"><CODE>ContextFactory.enterContext(Context)</CODE></A> instead as + this method relies on usage of a static singleton "global" ContextFactory.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#evaluateReader(org.mozilla.javascript.Scriptable, java.io.Reader, java.lang.String, int, java.lang.Object)">evaluateReader</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.io.Reader in, + java.lang.String sourceName, + int lineno, + java.lang.Object securityDomain)</CODE> + +<BR> + Evaluate a reader as JavaScript source.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#evaluateString(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.String, int, java.lang.Object)">evaluateString</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.String source, + java.lang.String sourceName, + int lineno, + java.lang.Object securityDomain)</CODE> + +<BR> + Evaluate a JavaScript source string.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#exit()">exit</A></B>()</CODE> + +<BR> + Exit a block of code requiring a Context.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.ClassLoader</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getApplicationClassLoader()">getApplicationClassLoader</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getCurrentContext()">getCurrentContext</A></B>()</CODE> + +<BR> + Get the current Context.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getDebuggableView(org.mozilla.javascript.Script)">getDebuggableView</A></B>(<A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A> script)</CODE> + +<BR> + Return DebuggableScript instance if any associated with the script.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> org.mozilla.javascript.debug.Debugger</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getDebugger()">getDebugger</A></B>()</CODE> + +<BR> + Return the current debugger.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getDebuggerContextData()">getDebuggerContextData</A></B>()</CODE> + +<BR> + Return the debugger context data associated with current context.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> org.mozilla.javascript.xml.XMLLib.Factory</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getE4xImplementationFactory()">getE4xImplementationFactory</A></B>()</CODE> + +<BR> + Returns an object which specifies an E4X implementation to use within + this <code>Context</code>.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getElements(org.mozilla.javascript.Scriptable)">getElements</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> object)</CODE> + +<BR> + Get the elements of a JavaScript array.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getErrorReporter()">getErrorReporter</A></B>()</CODE> + +<BR> + Get the current error reporter.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getFactory()">getFactory</A></B>()</CODE> + +<BR> + Return <A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript"><CODE>ContextFactory</CODE></A> instance used to create this Context.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getImplementationVersion()">getImplementationVersion</A></B>()</CODE> + +<BR> + Get the implementation version.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getInstructionObserverThreshold()">getInstructionObserverThreshold</A></B>()</CODE> + +<BR> + Get threshold of executed instructions counter that triggers call to + <code>observeInstructionCount()</code>.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getLanguageVersion()">getLanguageVersion</A></B>()</CODE> + +<BR> + Get the current language version.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.util.Locale</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getLocale()">getLocale</A></B>()</CODE> + +<BR> + Get the current locale.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getMaximumInterpreterStackDepth()">getMaximumInterpreterStackDepth</A></B>()</CODE> + +<BR> + Returns the maximum stack depth (in terms of number of call frames) + allowed in a single invocation of interpreter.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getOptimizationLevel()">getOptimizationLevel</A></B>()</CODE> + +<BR> + Get the current optimization level.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getThreadLocal(java.lang.Object)">getThreadLocal</A></B>(java.lang.Object key)</CODE> + +<BR> + Get a value corresponding to a key.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getUndefinedValue()">getUndefinedValue</A></B>()</CODE> + +<BR> + Get the singleton object that represents the JavaScript Undefined value.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript">WrapFactory</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#getWrapFactory()">getWrapFactory</A></B>()</CODE> + +<BR> + Return the current WrapFactory, or null if none is defined.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#hasCompileFunctionsWithDynamicScope()">hasCompileFunctionsWithDynamicScope</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)">hasFeature</A></B>(int featureIndex)</CODE> + +<BR> + Controls certain aspects of script semantics.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#initStandardObjects()">initStandardObjects</A></B>()</CODE> + +<BR> + Initialize the standard objects.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#initStandardObjects(org.mozilla.javascript.ScriptableObject)">initStandardObjects</A></B>(<A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> scope)</CODE> + +<BR> + Initialize the standard objects.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#initStandardObjects(org.mozilla.javascript.ScriptableObject, boolean)">initStandardObjects</A></B>(<A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> scope, + boolean sealed)</CODE> + +<BR> + Initialize the standard objects.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#isActivationNeeded(java.lang.String)">isActivationNeeded</A></B>(java.lang.String name)</CODE> + +<BR> + Check whether the name is in the list of names of objects + forcing the creation of activation objects.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#isGeneratingDebug()">isGeneratingDebug</A></B>()</CODE> + +<BR> + Tell whether debug information is being generated.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#isGeneratingDebugChanged()">isGeneratingDebugChanged</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#isGeneratingSource()">isGeneratingSource</A></B>()</CODE> + +<BR> + Tell whether source information is being generated.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#isSealed()">isSealed</A></B>()</CODE> + +<BR> + Checks if this is a sealed Context.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#isValidLanguageVersion(int)">isValidLanguageVersion</A></B>(int version)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#isValidOptimizationLevel(int)">isValidOptimizationLevel</A></B>(int optimizationLevel)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#javaToJS(java.lang.Object, org.mozilla.javascript.Scriptable)">javaToJS</A></B>(java.lang.Object value, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</CODE> + +<BR> + Convenient method to convert java value to its closest representation + in JavaScript.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#jsToJava(java.lang.Object, java.lang.Class)">jsToJava</A></B>(java.lang.Object value, + java.lang.Class desiredType)</CODE> + +<BR> + Convert a JavaScript value into the desired type.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#newArray(org.mozilla.javascript.Scriptable, int)">newArray</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + int length)</CODE> + +<BR> + Create an array with a specified initial length.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#newArray(org.mozilla.javascript.Scriptable, java.lang.Object[])">newArray</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object[] elements)</CODE> + +<BR> + Create an array with a set of initial elements.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#newObject(org.mozilla.javascript.Scriptable)">newObject</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</CODE> + +<BR> + Create a new JavaScript object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#newObject(org.mozilla.javascript.Scriptable, java.lang.String)">newObject</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.String constructorName)</CODE> + +<BR> + Create a new JavaScript object by executing the named constructor.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#newObject(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])">newObject</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.String constructorName, + java.lang.Object[] args)</CODE> + +<BR> + Creates a new JavaScript object by executing the named constructor.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#observeInstructionCount(int)">observeInstructionCount</A></B>(int instructionCount)</CODE> + +<BR> + Allow application to monitor counter of executed script instructions + in Context subclasses.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#putThreadLocal(java.lang.Object, java.lang.Object)">putThreadLocal</A></B>(java.lang.Object key, + java.lang.Object value)</CODE> + +<BR> + Put a value that can later be retrieved using a given key.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#removeActivationName(java.lang.String)">removeActivationName</A></B>(java.lang.String name)</CODE> + +<BR> + Remove a name from the list of names forcing the creation of real + activation objects for functions.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#removeContextListener(org.mozilla.javascript.ContextListener)">removeContextListener</A></B>(org.mozilla.javascript.ContextListener listener)</CODE> + +<BR> + <B>Deprecated.</B> <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A></B>(java.beans.PropertyChangeListener l)</CODE> + +<BR> + Remove an object from the list of objects registered to receive + notification of changes to a bounded property</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#removeThreadLocal(java.lang.Object)">removeThreadLocal</A></B>(java.lang.Object key)</CODE> + +<BR> + Remove values from thread-local storage.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#reportError(java.lang.String)">reportError</A></B>(java.lang.String message)</CODE> + +<BR> + Report an error using the error reporter for the current thread.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#reportError(java.lang.String, java.lang.String, int, java.lang.String, int)">reportError</A></B>(java.lang.String message, + java.lang.String sourceName, + int lineno, + java.lang.String lineSource, + int lineOffset)</CODE> + +<BR> + Report an error using the error reporter for the current thread.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#reportRuntimeError(java.lang.String)">reportRuntimeError</A></B>(java.lang.String message)</CODE> + +<BR> + Report a runtime error using the error reporter for the current thread.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#reportRuntimeError(java.lang.String, java.lang.String, int, java.lang.String, int)">reportRuntimeError</A></B>(java.lang.String message, + java.lang.String sourceName, + int lineno, + java.lang.String lineSource, + int lineOffset)</CODE> + +<BR> + Report a runtime error using the error reporter for the current thread.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#reportWarning(java.lang.String)">reportWarning</A></B>(java.lang.String message)</CODE> + +<BR> + Report a warning using the error reporter for the current thread.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#reportWarning(java.lang.String, java.lang.String, int, java.lang.String, int)">reportWarning</A></B>(java.lang.String message, + java.lang.String sourceName, + int lineno, + java.lang.String lineSource, + int lineOffset)</CODE> + +<BR> + Report a warning using the error reporter for the current thread.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#reportWarning(java.lang.String, java.lang.Throwable)">reportWarning</A></B>(java.lang.String message, + java.lang.Throwable t)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#seal(java.lang.Object)">seal</A></B>(java.lang.Object sealKey)</CODE> + +<BR> + Seal this Context object so any attempt to modify any of its properties + including calling <A HREF="../../../org/mozilla/javascript/Context.html#enter()"><CODE>enter()</CODE></A> and <A HREF="../../../org/mozilla/javascript/Context.html#exit()"><CODE>exit()</CODE></A> methods will + throw an exception.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setApplicationClassLoader(java.lang.ClassLoader)">setApplicationClassLoader</A></B>(java.lang.ClassLoader loader)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setCachingEnabled(boolean)">setCachingEnabled</A></B>(boolean cachingEnabled)</CODE> + +<BR> + <B>Deprecated.</B> <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setClassShutter(org.mozilla.javascript.ClassShutter)">setClassShutter</A></B>(<A HREF="../../../org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript">ClassShutter</A> shutter)</CODE> + +<BR> + Set the LiveConnect access filter for this context.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setCompileFunctionsWithDynamicScope(boolean)">setCompileFunctionsWithDynamicScope</A></B>(boolean flag)</CODE> + +<BR> + <B>Deprecated.</B> <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setDebugger(org.mozilla.javascript.debug.Debugger, java.lang.Object)">setDebugger</A></B>(org.mozilla.javascript.debug.Debugger debugger, + java.lang.Object contextData)</CODE> + +<BR> + Set the associated debugger.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setErrorReporter(org.mozilla.javascript.ErrorReporter)">setErrorReporter</A></B>(<A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A> reporter)</CODE> + +<BR> + Change the current error reporter.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setGenerateObserverCount(boolean)">setGenerateObserverCount</A></B>(boolean generateObserverCount)</CODE> + +<BR> + Turn on or off generation of code with callbacks to + track the count of executed instructions.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setGeneratingDebug(boolean)">setGeneratingDebug</A></B>(boolean generatingDebug)</CODE> + +<BR> + Specify whether or not debug information should be generated.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setGeneratingSource(boolean)">setGeneratingSource</A></B>(boolean generatingSource)</CODE> + +<BR> + Specify whether or not source information should be generated.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setInstructionObserverThreshold(int)">setInstructionObserverThreshold</A></B>(int threshold)</CODE> + +<BR> + Set threshold of executed instructions counter that triggers call to + <code>observeInstructionCount()</code>.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setLanguageVersion(int)">setLanguageVersion</A></B>(int version)</CODE> + +<BR> + Set the language version.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.util.Locale</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setLocale(java.util.Locale)">setLocale</A></B>(java.util.Locale loc)</CODE> + +<BR> + Set the current locale.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setMaximumInterpreterStackDepth(int)">setMaximumInterpreterStackDepth</A></B>(int max)</CODE> + +<BR> + Sets the maximum stack depth (in terms of number of call frames) + allowed in a single invocation of interpreter.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setOptimizationLevel(int)">setOptimizationLevel</A></B>(int optimizationLevel)</CODE> + +<BR> + Set the current optimization level.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setSecurityController(org.mozilla.javascript.SecurityController)">setSecurityController</A></B>(<A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> controller)</CODE> + +<BR> + Set the security controller for this context.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#setWrapFactory(org.mozilla.javascript.WrapFactory)">setWrapFactory</A></B>(<A HREF="../../../org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript">WrapFactory</A> wrapFactory)</CODE> + +<BR> + Set a WrapFactory for this Context.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#stringIsCompilableUnit(java.lang.String)">stringIsCompilableUnit</A></B>(java.lang.String source)</CODE> + +<BR> + Check whether a string is ready to be compiled.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.RuntimeException</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#throwAsScriptRuntimeEx(java.lang.Throwable)">throwAsScriptRuntimeEx</A></B>(java.lang.Throwable e)</CODE> + +<BR> + Rethrow the exception wrapping it as the script runtime exception.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#toBoolean(java.lang.Object)">toBoolean</A></B>(java.lang.Object value)</CODE> + +<BR> + Convert the value to a JavaScript boolean value.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static double</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#toNumber(java.lang.Object)">toNumber</A></B>(java.lang.Object value)</CODE> + +<BR> + Convert the value to a JavaScript Number value.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#toObject(java.lang.Object, org.mozilla.javascript.Scriptable)">toObject</A></B>(java.lang.Object value, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</CODE> + +<BR> + Convert the value to an JavaScript object value.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#toObject(java.lang.Object, org.mozilla.javascript.Scriptable, java.lang.Class)">toObject</A></B>(java.lang.Object value, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Class staticType)</CODE> + +<BR> + <B>Deprecated.</B> <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#toString(java.lang.Object)">toString</A></B>(java.lang.Object value)</CODE> + +<BR> + Convert the value to a JavaScript String value.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#toType(java.lang.Object, java.lang.Class)">toType</A></B>(java.lang.Object value, + java.lang.Class desiredType)</CODE> + +<BR> + <B>Deprecated.</B> <I></I> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Context.html#unseal(java.lang.Object)">unseal</A></B>(java.lang.Object sealKey)</CODE> + +<BR> + Unseal previously sealed Context object.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ============ FIELD DETAIL =========== --> + +<A NAME="field_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Field Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="VERSION_UNKNOWN"><!-- --></A><H3> +VERSION_UNKNOWN</H3> +<PRE> +public static final int <B>VERSION_UNKNOWN</B></PRE> +<DL> +<DD>The unknown version. +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.VERSION_UNKNOWN">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="VERSION_DEFAULT"><!-- --></A><H3> +VERSION_DEFAULT</H3> +<PRE> +public static final int <B>VERSION_DEFAULT</B></PRE> +<DL> +<DD>The default version. +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.VERSION_DEFAULT">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="VERSION_1_0"><!-- --></A><H3> +VERSION_1_0</H3> +<PRE> +public static final int <B>VERSION_1_0</B></PRE> +<DL> +<DD>JavaScript 1.0 +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.VERSION_1_0">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="VERSION_1_1"><!-- --></A><H3> +VERSION_1_1</H3> +<PRE> +public static final int <B>VERSION_1_1</B></PRE> +<DL> +<DD>JavaScript 1.1 +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.VERSION_1_1">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="VERSION_1_2"><!-- --></A><H3> +VERSION_1_2</H3> +<PRE> +public static final int <B>VERSION_1_2</B></PRE> +<DL> +<DD>JavaScript 1.2 +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.VERSION_1_2">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="VERSION_1_3"><!-- --></A><H3> +VERSION_1_3</H3> +<PRE> +public static final int <B>VERSION_1_3</B></PRE> +<DL> +<DD>JavaScript 1.3 +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.VERSION_1_3">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="VERSION_1_4"><!-- --></A><H3> +VERSION_1_4</H3> +<PRE> +public static final int <B>VERSION_1_4</B></PRE> +<DL> +<DD>JavaScript 1.4 +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.VERSION_1_4">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="VERSION_1_5"><!-- --></A><H3> +VERSION_1_5</H3> +<PRE> +public static final int <B>VERSION_1_5</B></PRE> +<DL> +<DD>JavaScript 1.5 +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.VERSION_1_5">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="VERSION_1_6"><!-- --></A><H3> +VERSION_1_6</H3> +<PRE> +public static final int <B>VERSION_1_6</B></PRE> +<DL> +<DD>JavaScript 1.6 +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.VERSION_1_6">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="VERSION_1_7"><!-- --></A><H3> +VERSION_1_7</H3> +<PRE> +public static final int <B>VERSION_1_7</B></PRE> +<DL> +<DD>JavaScript 1.7 +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.VERSION_1_7">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_NON_ECMA_GET_YEAR"><!-- --></A><H3> +FEATURE_NON_ECMA_GET_YEAR</H3> +<PRE> +public static final int <B>FEATURE_NON_ECMA_GET_YEAR</B></PRE> +<DL> +<DD>Controls behaviour of <tt>Date.prototype.getYear()</tt>. + If <tt>hasFeature(FEATURE_NON_ECMA_GET_YEAR)</tt> returns true, + Date.prototype.getYear subtructs 1900 only if 1900 <= date < 2000. + The default behavior of <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A> is always to subtruct + 1900 as rquired by ECMAScript B.2.4. +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_NON_ECMA_GET_YEAR">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME"><!-- --></A><H3> +FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME</H3> +<PRE> +public static final int <B>FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME</B></PRE> +<DL> +<DD>Control if member expression as function name extension is available. + If <tt>hasFeature(FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME)</tt> returns + true, allow <tt>function memberExpression(args) { body }</tt> to be + syntax sugar for <tt>memberExpression = function(args) { body }</tt>, + when memberExpression is not a simple identifier. + See ECMAScript-262, section 11.2 for definition of memberExpression. + By default <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A> returns false. +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER"><!-- --></A><H3> +FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER</H3> +<PRE> +public static final int <B>FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER</B></PRE> +<DL> +<DD>Control if reserved keywords are treated as identifiers. + If <tt>hasFeature(RESERVED_KEYWORD_AS_IDENTIFIER)</tt> returns true, + treat future reserved keyword (see Ecma-262, section 7.5.3) as ordinary + identifiers but warn about this usage. + + By default <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A> returns false. +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_TO_STRING_AS_SOURCE"><!-- --></A><H3> +FEATURE_TO_STRING_AS_SOURCE</H3> +<PRE> +public static final int <B>FEATURE_TO_STRING_AS_SOURCE</B></PRE> +<DL> +<DD>Control if <tt>toString()</tt> should returns the same result + as <tt>toSource()</tt> when applied to objects and arrays. + If <tt>hasFeature(FEATURE_TO_STRING_AS_SOURCE)</tt> returns true, + calling <tt>toString()</tt> on JS objects gives the same result as + calling <tt>toSource()</tt>. That is it returns JS source with code + to create an object with all enumeratable fields of the original object + instead of printing <tt>[object <i>result of + <A HREF="../../../org/mozilla/javascript/Scriptable.html#getClassName()"><CODE>Scriptable.getClassName()</CODE></A></i>]</tt>. + <p> + By default <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A> returns true only if + the current JS version is set to <A HREF="../../../org/mozilla/javascript/Context.html#VERSION_1_2"><CODE>VERSION_1_2</CODE></A>. +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_TO_STRING_AS_SOURCE">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_PARENT_PROTO_PROPERTIES"><!-- --></A><H3> +FEATURE_PARENT_PROTO_PROPERTIES</H3> +<PRE> +public static final int <B>FEATURE_PARENT_PROTO_PROPERTIES</B></PRE> +<DL> +<DD>Control if properties <tt>__proto__</tt> and <tt>__parent__</tt> + are treated specially. + If <tt>hasFeature(FEATURE_PARENT_PROTO_PROPERTIES)</tt> returns true, + treat <tt>__parent__</tt> and <tt>__proto__</tt> as special properties. + <p> + The properties allow to query and set scope and prototype chains for the + objects. The special meaning of the properties is available + only when they are used as the right hand side of the dot operator. + For example, while <tt>x.__proto__ = y</tt> changes the prototype + chain of the object <tt>x</tt> to point to <tt>y</tt>, + <tt>x["__proto__"] = y</tt> simply assigns a new value to the property + <tt>__proto__</tt> in <tt>x</tt> even when the feature is on. + + By default <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A> returns true. +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_PARENT_PROTO_PROPERTIES">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_PARENT_PROTO_PROPRTIES"><!-- --></A><H3> +FEATURE_PARENT_PROTO_PROPRTIES</H3> +<PRE> +public static final int <B>FEATURE_PARENT_PROTO_PROPRTIES</B></PRE> +<DL> +<DD><B>Deprecated.</B> <I>In previous releases, this name was given to + FEATURE_PARENT_PROTO_PROPERTIES.</I><DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_PARENT_PROTO_PROPRTIES">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_E4X"><!-- --></A><H3> +FEATURE_E4X</H3> +<PRE> +public static final int <B>FEATURE_E4X</B></PRE> +<DL> +<DD>Control if support for E4X(ECMAScript for XML) extension is available. + If hasFeature(FEATURE_E4X) returns true, the XML syntax is available. + <p> + By default <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A> returns true if + the current JS version is set to <A HREF="../../../org/mozilla/javascript/Context.html#VERSION_DEFAULT"><CODE>VERSION_DEFAULT</CODE></A> + or is at least <A HREF="../../../org/mozilla/javascript/Context.html#VERSION_1_6"><CODE>VERSION_1_6</CODE></A>. +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>1.6 Release 1</DD> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_E4X">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_DYNAMIC_SCOPE"><!-- --></A><H3> +FEATURE_DYNAMIC_SCOPE</H3> +<PRE> +public static final int <B>FEATURE_DYNAMIC_SCOPE</B></PRE> +<DL> +<DD>Control if dynamic scope should be used for name access. + If hasFeature(FEATURE_DYNAMIC_SCOPE) returns true, then the name lookup + during name resolution will use the top scope of the script or function + which is at the top of JS execution stack instead of the top scope of the + script or function from the current stack frame if the top scope of + the top stack frame contains the top scope of the current stack frame + on its prototype chain. + <p> + This is useful to define shared scope containing functions that can + be called from scripts and functions using private scopes. + <p> + By default <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A> returns false. +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>1.6 Release 1</DD> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_DYNAMIC_SCOPE">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_STRICT_VARS"><!-- --></A><H3> +FEATURE_STRICT_VARS</H3> +<PRE> +public static final int <B>FEATURE_STRICT_VARS</B></PRE> +<DL> +<DD>Control if strict variable mode is enabled. + When the feature is on Rhino reports runtime errors if assignment + to a global variable that does not exist is executed. When the feature + is off such assignments creates new variable in the global scope as + required by ECMA 262. + <p> + By default <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A> returns false. +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>1.6 Release 1</DD> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_STRICT_VARS">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_STRICT_EVAL"><!-- --></A><H3> +FEATURE_STRICT_EVAL</H3> +<PRE> +public static final int <B>FEATURE_STRICT_EVAL</B></PRE> +<DL> +<DD>Control if strict eval mode is enabled. + When the feature is on Rhino reports runtime errors if non-string + argument is passed to the eval function. When the feature is off + eval simply return non-string argument as is without performing any + evaluation as required by ECMA 262. + <p> + By default <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A> returns false. +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>1.6 Release 1</DD> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_STRICT_EVAL">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_LOCATION_INFORMATION_IN_ERROR"><!-- --></A><H3> +FEATURE_LOCATION_INFORMATION_IN_ERROR</H3> +<PRE> +public static final int <B>FEATURE_LOCATION_INFORMATION_IN_ERROR</B></PRE> +<DL> +<DD>When the feature is on Rhino will add a "fileName" and "lineNumber" + properties to Error objects automatically. When the feature is off, you + have to explicitly pass them as the second and third argument to the + Error constructor. Note that neither behaviour is fully ECMA 262 + compliant (as 262 doesn't specify a three-arg constructor), but keeping + the feature off results in Error objects that don't have + additional non-ECMA properties when constructed using the ECMA-defined + single-arg constructor and is thus desirable if a stricter ECMA + compliance is desired, specifically adherence to the point 15.11.5. of + the standard. + <p> + By default <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A> returns false. +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>1.6 Release 6</DD> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_LOCATION_INFORMATION_IN_ERROR">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_STRICT_MODE"><!-- --></A><H3> +FEATURE_STRICT_MODE</H3> +<PRE> +public static final int <B>FEATURE_STRICT_MODE</B></PRE> +<DL> +<DD>Controls whether JS 1.5 'strict mode' is enabled. + When the feature is on, Rhino reports more than a dozen different + warnings. When the feature is off, these warnings are not generated. + FEATURE_STRICT_MODE implies FEATURE_STRICT_VARS and FEATURE_STRICT_EVAL. + <p> + By default <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A> returns false. +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>1.6 Release 6</DD> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_STRICT_MODE">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_WARNING_AS_ERROR"><!-- --></A><H3> +FEATURE_WARNING_AS_ERROR</H3> +<PRE> +public static final int <B>FEATURE_WARNING_AS_ERROR</B></PRE> +<DL> +<DD>Controls whether a warning should be treated as an error. +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>1.6 Release 6</DD> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_WARNING_AS_ERROR">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="FEATURE_ENHANCED_JAVA_ACCESS"><!-- --></A><H3> +FEATURE_ENHANCED_JAVA_ACCESS</H3> +<PRE> +public static final int <B>FEATURE_ENHANCED_JAVA_ACCESS</B></PRE> +<DL> +<DD>Enables enhanced access to Java. + Specifically, controls whether private and protected members can be + accessed, and whether scripts can catch all Java exceptions. + <p> + Note that this feature should only be enabled for trusted scripts. + <p> + By default <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A> returns false. +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>1.7 Release 1</DD> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.FEATURE_ENHANCED_JAVA_ACCESS">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="languageVersionProperty"><!-- --></A><H3> +languageVersionProperty</H3> +<PRE> +public static final java.lang.String <B>languageVersionProperty</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.languageVersionProperty">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="errorReporterProperty"><!-- --></A><H3> +errorReporterProperty</H3> +<PRE> +public static final java.lang.String <B>errorReporterProperty</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.Context.errorReporterProperty">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="emptyArgs"><!-- --></A><H3> +emptyArgs</H3> +<PRE> +public static final java.lang.Object[] <B>emptyArgs</B></PRE> +<DL> +<DD>Convenient value to use as zero-length array of objects. +<P> +<DL> +</DL> +</DL> +<HR> + +<A NAME="generateObserverCount"><!-- --></A><H3> +generateObserverCount</H3> +<PRE> +public boolean <B>generateObserverCount</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="Context()"><!-- --></A><H3> +Context</H3> +<PRE> +public <B>Context</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>use <A HREF="../../../org/mozilla/javascript/ContextFactory.html#enter()"><CODE>ContextFactory.enter()</CODE></A> or + <A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A> instead.</I> +<P> +<DD>Create a new Context. + + Note that the Context must be associated with a thread before + it can be used to execute a script. +<P> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="getCurrentContext()"><!-- --></A><H3> +getCurrentContext</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> <B>getCurrentContext</B>()</PRE> +<DL> +<DD>Get the current Context. + + The current Context is per-thread; this method looks up + the Context associated with the current thread. <p> +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>the Context associated with the current thread, or + null if no context is associated with the current + thread.<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#enterContext()"><CODE>ContextFactory.enterContext()</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="enter()"><!-- --></A><H3> +enter</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> <B>enter</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>use <A HREF="../../../org/mozilla/javascript/ContextFactory.html#enter()"><CODE>ContextFactory.enter()</CODE></A> or + <A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A> instead as this method relies + on usage of a static singleton "global" ContextFactory.</I> +<P> +<DD>Same as calling <A HREF="../../../org/mozilla/javascript/ContextFactory.html#enterContext()"><CODE>ContextFactory.enterContext()</CODE></A> on the global + ContextFactory instance. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>a Context associated with the current thread<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#getCurrentContext()"><CODE>getCurrentContext()</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#exit()"><CODE>exit()</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#call(org.mozilla.javascript.ContextAction)"><CODE>call(ContextAction)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="enter(org.mozilla.javascript.Context)"><!-- --></A><H3> +enter</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> <B>enter</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</PRE> +<DL> +<DD><B>Deprecated.</B> <I>use <A HREF="../../../org/mozilla/javascript/ContextFactory.html#enterContext(org.mozilla.javascript.Context)"><CODE>ContextFactory.enterContext(Context)</CODE></A> instead as + this method relies on usage of a static singleton "global" ContextFactory.</I> +<P> +<DD>Get a Context associated with the current thread, using + the given Context if need be. + <p> + The same as <code>enter()</code> except that <code>cx</code> + is associated with the current thread and returned if + the current thread has no associated context and <code>cx</code> + is not associated with any other thread. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - a Context to associate with the thread if possible +<DT><B>Returns:</B><DD>a Context associated with the current thread<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#enterContext(org.mozilla.javascript.Context)"><CODE>ContextFactory.enterContext(Context)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="exit()"><!-- --></A><H3> +exit</H3> +<PRE> +public static void <B>exit</B>()</PRE> +<DL> +<DD>Exit a block of code requiring a Context. + + Calling <code>exit()</code> will remove the association between + the current thread and a Context if the prior call to + <A HREF="../../../org/mozilla/javascript/ContextFactory.html#enterContext()"><CODE>ContextFactory.enterContext()</CODE></A> on this thread newly associated a + Context with this thread. Once the current thread no longer has an + associated Context, it cannot be used to execute JavaScript until it is + again associated with a Context. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#enterContext()"><CODE>ContextFactory.enterContext()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="call(org.mozilla.javascript.ContextAction)"><!-- --></A><H3> +call</H3> +<PRE> +public static java.lang.Object <B>call</B>(<A HREF="../../../org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript">ContextAction</A> action)</PRE> +<DL> +<DD><B>Deprecated.</B> <I>use <A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A> instead as + this method relies on usage of a static singleton "global" + ContextFactory.</I> +<P> +<DD>Call <A HREF="../../../org/mozilla/javascript/ContextAction.html#run(org.mozilla.javascript.Context)"><CODE>ContextAction.run(Context cx)</CODE></A> + using the Context instance associated with the current thread. + If no Context is associated with the thread, then + <tt>ContextFactory.getGlobal().makeContext()</tt> will be called to + construct new Context instance. The instance will be temporary + associated with the thread during call to + <A HREF="../../../org/mozilla/javascript/ContextAction.html#run(org.mozilla.javascript.Context)"><CODE>ContextAction.run(Context)</CODE></A>. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>The result of <A HREF="../../../org/mozilla/javascript/ContextAction.html#run(org.mozilla.javascript.Context)"><CODE>ContextAction.run(Context)</CODE></A>.</DL> +</DD> +</DL> +<HR> + +<A NAME="call(org.mozilla.javascript.ContextFactory, org.mozilla.javascript.Callable, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><!-- --></A><H3> +call</H3> +<PRE> +public static java.lang.Object <B>call</B>(<A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> factory, + <A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A> callable, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</PRE> +<DL> +<DD>Call <A HREF="../../../org/mozilla/javascript/Callable.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>Callable.call(Context cx, Scriptable scope, Scriptable thisObj, + Object[] args)</CODE></A> + using the Context instance associated with the current thread. + If no Context is associated with the thread, then + <A HREF="../../../org/mozilla/javascript/ContextFactory.html#makeContext()"><CODE>ContextFactory.makeContext()</CODE></A> will be called to construct + new Context instance. The instance will be temporary associated + with the thread during call to <A HREF="../../../org/mozilla/javascript/ContextAction.html#run(org.mozilla.javascript.Context)"><CODE>ContextAction.run(Context)</CODE></A>. + <p> + It is allowed but not advisable to use null for <tt>factory</tt> + argument in which case the global static singleton ContextFactory + instance will be used to create new context instances. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="addContextListener(org.mozilla.javascript.ContextListener)"><!-- --></A><H3> +addContextListener</H3> +<PRE> +public static void <B>addContextListener</B>(org.mozilla.javascript.ContextListener listener)</PRE> +<DL> +<DD><B>Deprecated.</B> <I></I> +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#addListener(org.mozilla.javascript.ContextFactory.Listener)"><CODE>ContextFactory.addListener(ContextFactory.Listener)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ContextFactory.html#getGlobal()"><CODE>ContextFactory.getGlobal()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="removeContextListener(org.mozilla.javascript.ContextListener)"><!-- --></A><H3> +removeContextListener</H3> +<PRE> +public static void <B>removeContextListener</B>(org.mozilla.javascript.ContextListener listener)</PRE> +<DL> +<DD><B>Deprecated.</B> <I></I> +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#removeListener(org.mozilla.javascript.ContextFactory.Listener)"><CODE>ContextFactory.removeListener(ContextFactory.Listener)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ContextFactory.html#getGlobal()"><CODE>ContextFactory.getGlobal()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getFactory()"><!-- --></A><H3> +getFactory</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> <B>getFactory</B>()</PRE> +<DL> +<DD>Return <A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript"><CODE>ContextFactory</CODE></A> instance used to create this Context. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isSealed()"><!-- --></A><H3> +isSealed</H3> +<PRE> +public final boolean <B>isSealed</B>()</PRE> +<DL> +<DD>Checks if this is a sealed Context. A sealed Context instance does not + allow to modify any of its properties and will throw an exception + on any such attempt. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#seal(java.lang.Object)"><CODE>seal(Object sealKey)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="seal(java.lang.Object)"><!-- --></A><H3> +seal</H3> +<PRE> +public final void <B>seal</B>(java.lang.Object sealKey)</PRE> +<DL> +<DD>Seal this Context object so any attempt to modify any of its properties + including calling <A HREF="../../../org/mozilla/javascript/Context.html#enter()"><CODE>enter()</CODE></A> and <A HREF="../../../org/mozilla/javascript/Context.html#exit()"><CODE>exit()</CODE></A> methods will + throw an exception. + <p> + If <tt>sealKey</tt> is not null, calling + <A HREF="../../../org/mozilla/javascript/Context.html#unseal(java.lang.Object)"><CODE>unseal(Object sealKey)</CODE></A> with the same key unseals + the object. If <tt>sealKey</tt> is null, unsealing is no longer possible. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#isSealed()"><CODE>isSealed()</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#unseal(java.lang.Object)"><CODE>unseal(Object)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="unseal(java.lang.Object)"><!-- --></A><H3> +unseal</H3> +<PRE> +public final void <B>unseal</B>(java.lang.Object sealKey)</PRE> +<DL> +<DD>Unseal previously sealed Context object. + The <tt>sealKey</tt> argument should not be null and should match + <tt>sealKey</tt> suplied with the last call to + <A HREF="../../../org/mozilla/javascript/Context.html#seal(java.lang.Object)"><CODE>seal(Object)</CODE></A> or an exception will be thrown. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#isSealed()"><CODE>isSealed()</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#seal(java.lang.Object)"><CODE>seal(Object sealKey)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getLanguageVersion()"><!-- --></A><H3> +getLanguageVersion</H3> +<PRE> +public final int <B>getLanguageVersion</B>()</PRE> +<DL> +<DD>Get the current language version. + <p> + The language version number affects JavaScript semantics as detailed + in the overview documentation. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>an integer that is one of VERSION_1_0, VERSION_1_1, etc.</DL> +</DD> +</DL> +<HR> + +<A NAME="setLanguageVersion(int)"><!-- --></A><H3> +setLanguageVersion</H3> +<PRE> +public void <B>setLanguageVersion</B>(int version)</PRE> +<DL> +<DD>Set the language version. + + <p> + Setting the language version will affect functions and scripts compiled + subsequently. See the overview documentation for version-specific + behavior. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>version</CODE> - the version as specified by VERSION_1_0, VERSION_1_1, etc.</DL> +</DD> +</DL> +<HR> + +<A NAME="isValidLanguageVersion(int)"><!-- --></A><H3> +isValidLanguageVersion</H3> +<PRE> +public static boolean <B>isValidLanguageVersion</B>(int version)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="checkLanguageVersion(int)"><!-- --></A><H3> +checkLanguageVersion</H3> +<PRE> +public static void <B>checkLanguageVersion</B>(int version)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getImplementationVersion()"><!-- --></A><H3> +getImplementationVersion</H3> +<PRE> +public final java.lang.String <B>getImplementationVersion</B>()</PRE> +<DL> +<DD>Get the implementation version. + + <p> + The implementation version is of the form + <pre> + "<i>name langVer</i> <code>release</code> <i>relNum date</i>" + </pre> + where <i>name</i> is the name of the product, <i>langVer</i> is + the language version, <i>relNum</i> is the release number, and + <i>date</i> is the release date for that specific + release in the form "yyyy mm dd". +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>a string that encodes the product, language version, release + number, and date.</DL> +</DD> +</DL> +<HR> + +<A NAME="getErrorReporter()"><!-- --></A><H3> +getErrorReporter</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A> <B>getErrorReporter</B>()</PRE> +<DL> +<DD>Get the current error reporter. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><CODE>ErrorReporter</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="setErrorReporter(org.mozilla.javascript.ErrorReporter)"><!-- --></A><H3> +setErrorReporter</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A> <B>setErrorReporter</B>(<A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A> reporter)</PRE> +<DL> +<DD>Change the current error reporter. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>the previous error reporter<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><CODE>ErrorReporter</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getLocale()"><!-- --></A><H3> +getLocale</H3> +<PRE> +public final java.util.Locale <B>getLocale</B>()</PRE> +<DL> +<DD>Get the current locale. Returns the default locale if none has + been set. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><CODE>Locale</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="setLocale(java.util.Locale)"><!-- --></A><H3> +setLocale</H3> +<PRE> +public final java.util.Locale <B>setLocale</B>(java.util.Locale loc)</PRE> +<DL> +<DD>Set the current locale. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><CODE>Locale</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="addPropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3> +addPropertyChangeListener</H3> +<PRE> +public final void <B>addPropertyChangeListener</B>(java.beans.PropertyChangeListener l)</PRE> +<DL> +<DD>Register an object to receive notifications when a bound property + has changed +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>l</CODE> - the listener<DT><B>See Also:</B><DD><CODE>PropertyChangeEvent</CODE>, +<A HREF="../../../org/mozilla/javascript/Context.html#removePropertyChangeListener(java.beans.PropertyChangeListener)"><CODE>removePropertyChangeListener(java.beans.PropertyChangeListener)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="removePropertyChangeListener(java.beans.PropertyChangeListener)"><!-- --></A><H3> +removePropertyChangeListener</H3> +<PRE> +public final void <B>removePropertyChangeListener</B>(java.beans.PropertyChangeListener l)</PRE> +<DL> +<DD>Remove an object from the list of objects registered to receive + notification of changes to a bounded property +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>l</CODE> - the listener<DT><B>See Also:</B><DD><CODE>PropertyChangeEvent</CODE>, +<A HREF="../../../org/mozilla/javascript/Context.html#addPropertyChangeListener(java.beans.PropertyChangeListener)"><CODE>addPropertyChangeListener(java.beans.PropertyChangeListener)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="reportWarning(java.lang.String, java.lang.String, int, java.lang.String, int)"><!-- --></A><H3> +reportWarning</H3> +<PRE> +public static void <B>reportWarning</B>(java.lang.String message, + java.lang.String sourceName, + int lineno, + java.lang.String lineSource, + int lineOffset)</PRE> +<DL> +<DD>Report a warning using the error reporter for the current thread. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>message</CODE> - the warning message to report<DD><CODE>sourceName</CODE> - a string describing the source, such as a filename<DD><CODE>lineno</CODE> - the starting line number<DD><CODE>lineSource</CODE> - the text of the line (may be null)<DD><CODE>lineOffset</CODE> - the offset into lineSource where problem was detected<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><CODE>ErrorReporter</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="reportWarning(java.lang.String)"><!-- --></A><H3> +reportWarning</H3> +<PRE> +public static void <B>reportWarning</B>(java.lang.String message)</PRE> +<DL> +<DD>Report a warning using the error reporter for the current thread. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>message</CODE> - the warning message to report<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><CODE>ErrorReporter</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="reportWarning(java.lang.String, java.lang.Throwable)"><!-- --></A><H3> +reportWarning</H3> +<PRE> +public static void <B>reportWarning</B>(java.lang.String message, + java.lang.Throwable t)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="reportError(java.lang.String, java.lang.String, int, java.lang.String, int)"><!-- --></A><H3> +reportError</H3> +<PRE> +public static void <B>reportError</B>(java.lang.String message, + java.lang.String sourceName, + int lineno, + java.lang.String lineSource, + int lineOffset)</PRE> +<DL> +<DD>Report an error using the error reporter for the current thread. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message to report<DD><CODE>sourceName</CODE> - a string describing the source, such as a filename<DD><CODE>lineno</CODE> - the starting line number<DD><CODE>lineSource</CODE> - the text of the line (may be null)<DD><CODE>lineOffset</CODE> - the offset into lineSource where problem was detected<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><CODE>ErrorReporter</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="reportError(java.lang.String)"><!-- --></A><H3> +reportError</H3> +<PRE> +public static void <B>reportError</B>(java.lang.String message)</PRE> +<DL> +<DD>Report an error using the error reporter for the current thread. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message to report<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><CODE>ErrorReporter</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="reportRuntimeError(java.lang.String, java.lang.String, int, java.lang.String, int)"><!-- --></A><H3> +reportRuntimeError</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A> <B>reportRuntimeError</B>(java.lang.String message, + java.lang.String sourceName, + int lineno, + java.lang.String lineSource, + int lineOffset)</PRE> +<DL> +<DD>Report a runtime error using the error reporter for the current thread. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message to report<DD><CODE>sourceName</CODE> - a string describing the source, such as a filename<DD><CODE>lineno</CODE> - the starting line number<DD><CODE>lineSource</CODE> - the text of the line (may be null)<DD><CODE>lineOffset</CODE> - the offset into lineSource where problem was detected +<DT><B>Returns:</B><DD>a runtime exception that will be thrown to terminate the + execution of the script<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><CODE>ErrorReporter</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="reportRuntimeError(java.lang.String)"><!-- --></A><H3> +reportRuntimeError</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A> <B>reportRuntimeError</B>(java.lang.String message)</PRE> +<DL> +<DD>Report a runtime error using the error reporter for the current thread. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>message</CODE> - the error message to report<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><CODE>ErrorReporter</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="initStandardObjects()"><!-- --></A><H3> +initStandardObjects</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> <B>initStandardObjects</B>()</PRE> +<DL> +<DD>Initialize the standard objects. + + Creates instances of the standard objects and their constructors + (Object, String, Number, Date, etc.), setting up 'scope' to act + as a global object as in ECMA 15.1.<p> + + This method must be called to initialize a scope before scripts + can be evaluated in that scope.<p> + + This method does not affect the Context it is called upon. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>the initialized scope</DL> +</DD> +</DL> +<HR> + +<A NAME="initStandardObjects(org.mozilla.javascript.ScriptableObject)"><!-- --></A><H3> +initStandardObjects</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>initStandardObjects</B>(<A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> scope)</PRE> +<DL> +<DD>Initialize the standard objects. + + Creates instances of the standard objects and their constructors + (Object, String, Number, Date, etc.), setting up 'scope' to act + as a global object as in ECMA 15.1.<p> + + This method must be called to initialize a scope before scripts + can be evaluated in that scope.<p> + + This method does not affect the Context it is called upon. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - the scope to initialize, or null, in which case a new + object will be created to serve as the scope +<DT><B>Returns:</B><DD>the initialized scope. The method returns the value of the scope + argument if it is not null or newly allocated scope object which + is an instance <A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript"><CODE>ScriptableObject</CODE></A>.</DL> +</DD> +</DL> +<HR> + +<A NAME="initStandardObjects(org.mozilla.javascript.ScriptableObject, boolean)"><!-- --></A><H3> +initStandardObjects</H3> +<PRE> +public <A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> <B>initStandardObjects</B>(<A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> scope, + boolean sealed)</PRE> +<DL> +<DD>Initialize the standard objects. + + Creates instances of the standard objects and their constructors + (Object, String, Number, Date, etc.), setting up 'scope' to act + as a global object as in ECMA 15.1.<p> + + This method must be called to initialize a scope before scripts + can be evaluated in that scope.<p> + + This method does not affect the Context it is called upon.<p> + + This form of the method also allows for creating "sealed" standard + objects. An object that is sealed cannot have properties added, changed, + or removed. This is useful to create a "superglobal" that can be shared + among several top-level objects. Note that sealing is not allowed in + the current ECMA/ISO language specification, but is likely for + the next version. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - the scope to initialize, or null, in which case a new + object will be created to serve as the scope<DD><CODE>sealed</CODE> - whether or not to create sealed standard objects that + cannot be modified. +<DT><B>Returns:</B><DD>the initialized scope. The method returns the value of the scope + argument if it is not null or newly allocated scope object.<DT><B>Since:</B></DT> + <DD>1.4R3</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getUndefinedValue()"><!-- --></A><H3> +getUndefinedValue</H3> +<PRE> +public static java.lang.Object <B>getUndefinedValue</B>()</PRE> +<DL> +<DD>Get the singleton object that represents the JavaScript Undefined value. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="evaluateString(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.String, int, java.lang.Object)"><!-- --></A><H3> +evaluateString</H3> +<PRE> +public final java.lang.Object <B>evaluateString</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.String source, + java.lang.String sourceName, + int lineno, + java.lang.Object securityDomain)</PRE> +<DL> +<DD>Evaluate a JavaScript source string. + + The provided source name and line number are used for error messages + and for producing debug information. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - the scope to execute in<DD><CODE>source</CODE> - the JavaScript source<DD><CODE>sourceName</CODE> - a string describing the source, such as a filename<DD><CODE>lineno</CODE> - the starting line number<DD><CODE>securityDomain</CODE> - an arbitrary object that specifies security + information about the origin or owner of the script. For + implementations that don't care about security, this value + may be null. +<DT><B>Returns:</B><DD>the result of evaluating the string<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript"><CODE>SecurityController</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="evaluateReader(org.mozilla.javascript.Scriptable, java.io.Reader, java.lang.String, int, java.lang.Object)"><!-- --></A><H3> +evaluateReader</H3> +<PRE> +public final java.lang.Object <B>evaluateReader</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.io.Reader in, + java.lang.String sourceName, + int lineno, + java.lang.Object securityDomain) + throws java.io.IOException</PRE> +<DL> +<DD>Evaluate a reader as JavaScript source. + + All characters of the reader are consumed. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - the scope to execute in<DD><CODE>in</CODE> - the Reader to get JavaScript source from<DD><CODE>sourceName</CODE> - a string describing the source, such as a filename<DD><CODE>lineno</CODE> - the starting line number<DD><CODE>securityDomain</CODE> - an arbitrary object that specifies security + information about the origin or owner of the script. For + implementations that don't care about security, this value + may be null. +<DT><B>Returns:</B><DD>the result of evaluating the source +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE> - if an IOException was generated by the Reader</DL> +</DD> +</DL> +<HR> + +<A NAME="stringIsCompilableUnit(java.lang.String)"><!-- --></A><H3> +stringIsCompilableUnit</H3> +<PRE> +public final boolean <B>stringIsCompilableUnit</B>(java.lang.String source)</PRE> +<DL> +<DD>Check whether a string is ready to be compiled. + <p> + stringIsCompilableUnit is intended to support interactive compilation of + javascript. If compiling the string would result in an error + that might be fixed by appending more source, this method + returns false. In every other case, it returns true. + <p> + Interactive shells may accumulate source lines, using this + method after each new line is appended to check whether the + statement being entered is complete. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>source</CODE> - the source buffer to check +<DT><B>Returns:</B><DD>whether the source is ready for compilation<DT><B>Since:</B></DT> + <DD>1.4 Release 2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="compileReader(org.mozilla.javascript.Scriptable, java.io.Reader, java.lang.String, int, java.lang.Object)"><!-- --></A><H3> +compileReader</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A> <B>compileReader</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.io.Reader in, + java.lang.String sourceName, + int lineno, + java.lang.Object securityDomain) + throws java.io.IOException</PRE> +<DL> +<DD><B>Deprecated.</B> <I></I> +<P> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE><DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#compileReader(java.io.Reader, java.lang.String, int, java.lang.Object)"><CODE>compileReader(Reader in, String sourceName, int lineno, + Object securityDomain)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="compileReader(java.io.Reader, java.lang.String, int, java.lang.Object)"><!-- --></A><H3> +compileReader</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A> <B>compileReader</B>(java.io.Reader in, + java.lang.String sourceName, + int lineno, + java.lang.Object securityDomain) + throws java.io.IOException</PRE> +<DL> +<DD>Compiles the source in the given reader. + <p> + Returns a script that may later be executed. + Will consume all the source in the reader. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>in</CODE> - the input reader<DD><CODE>sourceName</CODE> - a string describing the source, such as a filename<DD><CODE>lineno</CODE> - the starting line number for reporting errors<DD><CODE>securityDomain</CODE> - an arbitrary object that specifies security + information about the origin or owner of the script. For + implementations that don't care about security, this value + may be null. +<DT><B>Returns:</B><DD>a script that may later be executed +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE> - if an IOException was generated by the Reader<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript"><CODE>Script</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="compileString(java.lang.String, java.lang.String, int, java.lang.Object)"><!-- --></A><H3> +compileString</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A> <B>compileString</B>(java.lang.String source, + java.lang.String sourceName, + int lineno, + java.lang.Object securityDomain)</PRE> +<DL> +<DD>Compiles the source in the given string. + <p> + Returns a script that may later be executed. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>source</CODE> - the source string<DD><CODE>sourceName</CODE> - a string describing the source, such as a filename<DD><CODE>lineno</CODE> - the starting line number for reporting errors<DD><CODE>securityDomain</CODE> - an arbitrary object that specifies security + information about the origin or owner of the script. For + implementations that don't care about security, this value + may be null. +<DT><B>Returns:</B><DD>a script that may later be executed<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript"><CODE>Script</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="compileFunction(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.String, int, java.lang.Object)"><!-- --></A><H3> +compileFunction</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A> <B>compileFunction</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.String source, + java.lang.String sourceName, + int lineno, + java.lang.Object securityDomain)</PRE> +<DL> +<DD>Compile a JavaScript function. + <p> + The function source must be a function definition as defined by + ECMA (e.g., "function f(a) { return a; }"). +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - the scope to compile relative to<DD><CODE>source</CODE> - the function definition source<DD><CODE>sourceName</CODE> - a string describing the source, such as a filename<DD><CODE>lineno</CODE> - the starting line number<DD><CODE>securityDomain</CODE> - an arbitrary object that specifies security + information about the origin or owner of the script. For + implementations that don't care about security, this value + may be null. +<DT><B>Returns:</B><DD>a Function that may later be called<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript"><CODE>Function</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="decompileScript(org.mozilla.javascript.Script, int)"><!-- --></A><H3> +decompileScript</H3> +<PRE> +public final java.lang.String <B>decompileScript</B>(<A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A> script, + int indent)</PRE> +<DL> +<DD>Decompile the script. + <p> + The canonical source of the script is returned. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>script</CODE> - the script to decompile<DD><CODE>indent</CODE> - the number of spaces to indent the result +<DT><B>Returns:</B><DD>a string representing the script source</DL> +</DD> +</DL> +<HR> + +<A NAME="decompileFunction(org.mozilla.javascript.Function, int)"><!-- --></A><H3> +decompileFunction</H3> +<PRE> +public final java.lang.String <B>decompileFunction</B>(<A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A> fun, + int indent)</PRE> +<DL> +<DD>Decompile a JavaScript Function. + <p> + Decompiles a previously compiled JavaScript function object to + canonical source. + <p> + Returns function body of '[native code]' if no decompilation + information is available. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>fun</CODE> - the JavaScript function to decompile<DD><CODE>indent</CODE> - the number of spaces to indent the result +<DT><B>Returns:</B><DD>a string representing the function source</DL> +</DD> +</DL> +<HR> + +<A NAME="decompileFunctionBody(org.mozilla.javascript.Function, int)"><!-- --></A><H3> +decompileFunctionBody</H3> +<PRE> +public final java.lang.String <B>decompileFunctionBody</B>(<A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A> fun, + int indent)</PRE> +<DL> +<DD>Decompile the body of a JavaScript Function. + <p> + Decompiles the body a previously compiled JavaScript Function + object to canonical source, omitting the function header and + trailing brace. + + Returns '[native code]' if no decompilation information is available. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>fun</CODE> - the JavaScript function to decompile<DD><CODE>indent</CODE> - the number of spaces to indent the result +<DT><B>Returns:</B><DD>a string representing the function body source.</DL> +</DD> +</DL> +<HR> + +<A NAME="newObject(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +newObject</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>newObject</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</PRE> +<DL> +<DD>Create a new JavaScript object. + + Equivalent to evaluating "new Object()". +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - the scope to search for the constructor and to evaluate + against +<DT><B>Returns:</B><DD>the new object</DL> +</DD> +</DL> +<HR> + +<A NAME="newObject(org.mozilla.javascript.Scriptable, java.lang.String)"><!-- --></A><H3> +newObject</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>newObject</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.String constructorName)</PRE> +<DL> +<DD>Create a new JavaScript object by executing the named constructor. + + The call <code>newObject(scope, "Foo")</code> is equivalent to + evaluating "new Foo()". +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - the scope to search for the constructor and to evaluate against<DD><CODE>constructorName</CODE> - the name of the constructor to call +<DT><B>Returns:</B><DD>the new object</DL> +</DD> +</DL> +<HR> + +<A NAME="newObject(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])"><!-- --></A><H3> +newObject</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>newObject</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.String constructorName, + java.lang.Object[] args)</PRE> +<DL> +<DD>Creates a new JavaScript object by executing the named constructor. + + Searches <code>scope</code> for the named constructor, calls it with + the given arguments, and returns the result.<p> + + The code + <pre> + Object[] args = { "a", "b" }; + newObject(scope, "Foo", args)</pre> + is equivalent to evaluating "new Foo('a', 'b')", assuming that the Foo + constructor has been defined in <code>scope</code>. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - The scope to search for the constructor and to evaluate + against<DD><CODE>constructorName</CODE> - the name of the constructor to call<DD><CODE>args</CODE> - the array of arguments for the constructor +<DT><B>Returns:</B><DD>the new object</DL> +</DD> +</DL> +<HR> + +<A NAME="newArray(org.mozilla.javascript.Scriptable, int)"><!-- --></A><H3> +newArray</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>newArray</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + int length)</PRE> +<DL> +<DD>Create an array with a specified initial length. + <p> +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - the scope to create the object in<DD><CODE>length</CODE> - the initial length (JavaScript arrays may have + additional properties added dynamically). +<DT><B>Returns:</B><DD>the new array object</DL> +</DD> +</DL> +<HR> + +<A NAME="newArray(org.mozilla.javascript.Scriptable, java.lang.Object[])"><!-- --></A><H3> +newArray</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>newArray</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object[] elements)</PRE> +<DL> +<DD>Create an array with a set of initial elements. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - the scope to create the object in.<DD><CODE>elements</CODE> - the initial elements. Each object in this array + must be an acceptable JavaScript type and type + of array should be exactly Object[], not + SomeObjectSubclass[]. +<DT><B>Returns:</B><DD>the new array object.</DL> +</DD> +</DL> +<HR> + +<A NAME="getElements(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +getElements</H3> +<PRE> +public final java.lang.Object[] <B>getElements</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> object)</PRE> +<DL> +<DD>Get the elements of a JavaScript array. + <p> + If the object defines a length property convertible to double number, + then the number is converted Uint32 value as defined in Ecma 9.6 + and Java array of that size is allocated. + The array is initialized with the values obtained by + calling get() on object for each value of i in [0,length-1]. If + there is not a defined value for a property the Undefined value + is used to initialize the corresponding element in the array. The + Java array is then returned. + If the object doesn't define a length property or it is not a number, + empty array is returned. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>object</CODE> - the JavaScript array or array-like object +<DT><B>Returns:</B><DD>a Java array of objects<DT><B>Since:</B></DT> + <DD>1.4 release 2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="toBoolean(java.lang.Object)"><!-- --></A><H3> +toBoolean</H3> +<PRE> +public static boolean <B>toBoolean</B>(java.lang.Object value)</PRE> +<DL> +<DD>Convert the value to a JavaScript boolean value. + <p> + See ECMA 9.2. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>value</CODE> - a JavaScript value +<DT><B>Returns:</B><DD>the corresponding boolean value converted using + the ECMA rules</DL> +</DD> +</DL> +<HR> + +<A NAME="toNumber(java.lang.Object)"><!-- --></A><H3> +toNumber</H3> +<PRE> +public static double <B>toNumber</B>(java.lang.Object value)</PRE> +<DL> +<DD>Convert the value to a JavaScript Number value. + <p> + Returns a Java double for the JavaScript Number. + <p> + See ECMA 9.3. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>value</CODE> - a JavaScript value +<DT><B>Returns:</B><DD>the corresponding double value converted using + the ECMA rules</DL> +</DD> +</DL> +<HR> + +<A NAME="toString(java.lang.Object)"><!-- --></A><H3> +toString</H3> +<PRE> +public static java.lang.String <B>toString</B>(java.lang.Object value)</PRE> +<DL> +<DD>Convert the value to a JavaScript String value. + <p> + See ECMA 9.8. + <p> +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>value</CODE> - a JavaScript value +<DT><B>Returns:</B><DD>the corresponding String value converted using + the ECMA rules</DL> +</DD> +</DL> +<HR> + +<A NAME="toObject(java.lang.Object, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +toObject</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>toObject</B>(java.lang.Object value, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</PRE> +<DL> +<DD>Convert the value to an JavaScript object value. + <p> + Note that a scope must be provided to look up the constructors + for Number, Boolean, and String. + <p> + See ECMA 9.9. + <p> + Additionally, arbitrary Java objects and classes will be + wrapped in a Scriptable object with its Java fields and methods + reflected as JavaScript properties of the object. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>value</CODE> - any Java object<DD><CODE>scope</CODE> - global scope containing constructors for Number, + Boolean, and String +<DT><B>Returns:</B><DD>new JavaScript object</DL> +</DD> +</DL> +<HR> + +<A NAME="toObject(java.lang.Object, org.mozilla.javascript.Scriptable, java.lang.Class)"><!-- --></A><H3> +toObject</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>toObject</B>(java.lang.Object value, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Class staticType)</PRE> +<DL> +<DD><B>Deprecated.</B> <I></I> +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#toObject(java.lang.Object, org.mozilla.javascript.Scriptable)"><CODE>toObject(Object, Scriptable)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="javaToJS(java.lang.Object, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +javaToJS</H3> +<PRE> +public static java.lang.Object <B>javaToJS</B>(java.lang.Object value, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</PRE> +<DL> +<DD>Convenient method to convert java value to its closest representation + in JavaScript. + <p> + If value is an instance of String, Number, Boolean, Function or + Scriptable, it is returned as it and will be treated as the corresponding + JavaScript type of string, number, boolean, function and object. + <p> + Note that for Number instances during any arithmetic operation in + JavaScript the engine will always use the result of + <tt>Number.doubleValue()</tt> resulting in a precision loss if + the number can not fit into double. + <p> + If value is an instance of Character, it will be converted to string of + length 1 and its JavaScript type will be string. + <p> + The rest of values will be wrapped as LiveConnect objects + by calling <A HREF="../../../org/mozilla/javascript/WrapFactory.html#wrap(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, java.lang.Class)"><CODE>WrapFactory.wrap(Context cx, Scriptable scope, + Object obj, Class staticType)</CODE></A> as in: + <pre> + Context cx = Context.getCurrentContext(); + return cx.getWrapFactory().wrap(cx, scope, value, null); + </pre> +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>value</CODE> - any Java object<DD><CODE>scope</CODE> - top scope object +<DT><B>Returns:</B><DD>value suitable to pass to any API that takes JavaScript values.</DL> +</DD> +</DL> +<HR> + +<A NAME="jsToJava(java.lang.Object, java.lang.Class)"><!-- --></A><H3> +jsToJava</H3> +<PRE> +public static java.lang.Object <B>jsToJava</B>(java.lang.Object value, + java.lang.Class desiredType) + throws <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></PRE> +<DL> +<DD>Convert a JavaScript value into the desired type. + Uses the semantics defined with LiveConnect3 and throws an + Illegal argument exception if the conversion cannot be performed. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>value</CODE> - the JavaScript value to convert<DD><CODE>desiredType</CODE> - the Java type to convert to. Primitive Java + types are represented using the TYPE fields in the corresponding + wrapper class in java.lang. +<DT><B>Returns:</B><DD>the converted value +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></CODE> - if the conversion cannot be performed</DL> +</DD> +</DL> +<HR> + +<A NAME="toType(java.lang.Object, java.lang.Class)"><!-- --></A><H3> +toType</H3> +<PRE> +public static java.lang.Object <B>toType</B>(java.lang.Object value, + java.lang.Class desiredType) + throws java.lang.IllegalArgumentException</PRE> +<DL> +<DD><B>Deprecated.</B> <I></I> +<P> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the conversion cannot be performed. + Note that <A HREF="../../../org/mozilla/javascript/Context.html#jsToJava(java.lang.Object, java.lang.Class)"><CODE>jsToJava(Object, Class)</CODE></A> throws + <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><CODE>EvaluatorException</CODE></A> instead.<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#jsToJava(java.lang.Object, java.lang.Class)"><CODE>jsToJava(Object, Class)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="throwAsScriptRuntimeEx(java.lang.Throwable)"><!-- --></A><H3> +throwAsScriptRuntimeEx</H3> +<PRE> +public static java.lang.RuntimeException <B>throwAsScriptRuntimeEx</B>(java.lang.Throwable e)</PRE> +<DL> +<DD>Rethrow the exception wrapping it as the script runtime exception. + Unless the exception is instance of <A HREF="../../../org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript"><CODE>EcmaError</CODE></A> or + <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><CODE>EvaluatorException</CODE></A> it will be wrapped as + <A HREF="../../../org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript"><CODE>WrappedException</CODE></A>, a subclass of <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><CODE>EvaluatorException</CODE></A>. + The resulting exception object always contains + source name and line number of script that triggered exception. + <p> + This method always throws an exception, its return value is provided + only for convenience to allow a usage like: + <pre> + throw Context.throwAsScriptRuntimeEx(ex); + </pre> + to indicate that code after the method is unreachable. +<P> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></CODE> +<DD><CODE><A HREF="../../../org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A></CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="isGeneratingDebug()"><!-- --></A><H3> +isGeneratingDebug</H3> +<PRE> +public final boolean <B>isGeneratingDebug</B>()</PRE> +<DL> +<DD>Tell whether debug information is being generated. +<P> +<DD><DL> +<DT><B>Since:</B></DT> + <DD>1.3</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setGeneratingDebug(boolean)"><!-- --></A><H3> +setGeneratingDebug</H3> +<PRE> +public final void <B>setGeneratingDebug</B>(boolean generatingDebug)</PRE> +<DL> +<DD>Specify whether or not debug information should be generated. + <p> + Setting the generation of debug information on will set the + optimization level to zero. +<P> +<DD><DL> +<DT><B>Since:</B></DT> + <DD>1.3</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isGeneratingSource()"><!-- --></A><H3> +isGeneratingSource</H3> +<PRE> +public final boolean <B>isGeneratingSource</B>()</PRE> +<DL> +<DD>Tell whether source information is being generated. +<P> +<DD><DL> +<DT><B>Since:</B></DT> + <DD>1.3</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setGeneratingSource(boolean)"><!-- --></A><H3> +setGeneratingSource</H3> +<PRE> +public final void <B>setGeneratingSource</B>(boolean generatingSource)</PRE> +<DL> +<DD>Specify whether or not source information should be generated. + <p> + Without source information, evaluating the "toString" method + on JavaScript functions produces only "[native code]" for + the body of the function. + Note that code generated without source is not fully ECMA + conformant. +<P> +<DD><DL> +<DT><B>Since:</B></DT> + <DD>1.3</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getOptimizationLevel()"><!-- --></A><H3> +getOptimizationLevel</H3> +<PRE> +public final int <B>getOptimizationLevel</B>()</PRE> +<DL> +<DD>Get the current optimization level. + <p> + The optimization level is expressed as an integer between -1 and + 9. +<P> +<DD><DL> +<DT><B>Since:</B></DT> + <DD>1.3</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setOptimizationLevel(int)"><!-- --></A><H3> +setOptimizationLevel</H3> +<PRE> +public final void <B>setOptimizationLevel</B>(int optimizationLevel)</PRE> +<DL> +<DD>Set the current optimization level. + <p> + The optimization level is expected to be an integer between -1 and + 9. Any negative values will be interpreted as -1, and any values + greater than 9 will be interpreted as 9. + An optimization level of -1 indicates that interpretive mode will + always be used. Levels 0 through 9 indicate that class files may + be generated. Higher optimization levels trade off compile time + performance for runtime performance. + The optimizer level can't be set greater than -1 if the optimizer + package doesn't exist at run time. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>optimizationLevel</CODE> - an integer indicating the level of + optimization to perform<DT><B>Since:</B></DT> + <DD>1.3</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isValidOptimizationLevel(int)"><!-- --></A><H3> +isValidOptimizationLevel</H3> +<PRE> +public static boolean <B>isValidOptimizationLevel</B>(int optimizationLevel)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="checkOptimizationLevel(int)"><!-- --></A><H3> +checkOptimizationLevel</H3> +<PRE> +public static void <B>checkOptimizationLevel</B>(int optimizationLevel)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getMaximumInterpreterStackDepth()"><!-- --></A><H3> +getMaximumInterpreterStackDepth</H3> +<PRE> +public final int <B>getMaximumInterpreterStackDepth</B>()</PRE> +<DL> +<DD>Returns the maximum stack depth (in terms of number of call frames) + allowed in a single invocation of interpreter. If the set depth would be + exceeded, the interpreter will throw an EvaluatorException in the script. + Defaults to Integer.MAX_VALUE. The setting only has effect for + interpreted functions (those compiled with optimization level set to -1). + As the interpreter doesn't use the Java stack but rather manages its own + stack in the heap memory, a runaway recursion in interpreted code would + eventually consume all available memory and cause OutOfMemoryError + instead of a StackOverflowError limited to only a single thread. This + setting helps prevent such situations. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>The current maximum interpreter stack depth.</DL> +</DD> +</DL> +<HR> + +<A NAME="setMaximumInterpreterStackDepth(int)"><!-- --></A><H3> +setMaximumInterpreterStackDepth</H3> +<PRE> +public final void <B>setMaximumInterpreterStackDepth</B>(int max)</PRE> +<DL> +<DD>Sets the maximum stack depth (in terms of number of call frames) + allowed in a single invocation of interpreter. If the set depth would be + exceeded, the interpreter will throw an EvaluatorException in the script. + Defaults to Integer.MAX_VALUE. The setting only has effect for + interpreted functions (those compiled with optimization level set to -1). + As the interpreter doesn't use the Java stack but rather manages its own + stack in the heap memory, a runaway recursion in interpreted code would + eventually consume all available memory and cause OutOfMemoryError + instead of a StackOverflowError limited to only a single thread. This + setting helps prevent such situations. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>max</CODE> - the new maximum interpreter stack depth +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalStateException</CODE> - if this context's optimization level is not + -1 +<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the new depth is not at least 1</DL> +</DD> +</DL> +<HR> + +<A NAME="setSecurityController(org.mozilla.javascript.SecurityController)"><!-- --></A><H3> +setSecurityController</H3> +<PRE> +public final void <B>setSecurityController</B>(<A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> controller)</PRE> +<DL> +<DD>Set the security controller for this context. + <p> SecurityController may only be set if it is currently null + and <A HREF="../../../org/mozilla/javascript/SecurityController.html#hasGlobal()"><CODE>SecurityController.hasGlobal()</CODE></A> is <tt>false</tt>. + Otherwise a SecurityException is thrown. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>controller</CODE> - a SecurityController object +<DT><B>Throws:</B> +<DD><CODE>java.lang.SecurityException</CODE> - if there is already a SecurityController + object for this Context or globally installed.<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/SecurityController.html#initGlobal(org.mozilla.javascript.SecurityController)"><CODE>SecurityController.initGlobal(SecurityController controller)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/SecurityController.html#hasGlobal()"><CODE>SecurityController.hasGlobal()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="setClassShutter(org.mozilla.javascript.ClassShutter)"><!-- --></A><H3> +setClassShutter</H3> +<PRE> +public final void <B>setClassShutter</B>(<A HREF="../../../org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript">ClassShutter</A> shutter)</PRE> +<DL> +<DD>Set the LiveConnect access filter for this context. + <p> <A HREF="../../../org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript"><CODE>ClassShutter</CODE></A> may only be set if it is currently null. + Otherwise a SecurityException is thrown. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>shutter</CODE> - a ClassShutter object +<DT><B>Throws:</B> +<DD><CODE>java.lang.SecurityException</CODE> - if there is already a ClassShutter + object for this Context</DL> +</DD> +</DL> +<HR> + +<A NAME="getThreadLocal(java.lang.Object)"><!-- --></A><H3> +getThreadLocal</H3> +<PRE> +public final java.lang.Object <B>getThreadLocal</B>(java.lang.Object key)</PRE> +<DL> +<DD>Get a value corresponding to a key. + <p> + Since the Context is associated with a thread it can be + used to maintain values that can be later retrieved using + the current thread. + <p> + Note that the values are maintained with the Context, so + if the Context is disassociated from the thread the values + cannot be retrieved. Also, if private data is to be maintained + in this manner the key should be a java.lang.Object + whose reference is not divulged to untrusted code. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>key</CODE> - the key used to lookup the value +<DT><B>Returns:</B><DD>a value previously stored using putThreadLocal.</DL> +</DD> +</DL> +<HR> + +<A NAME="putThreadLocal(java.lang.Object, java.lang.Object)"><!-- --></A><H3> +putThreadLocal</H3> +<PRE> +public final void <B>putThreadLocal</B>(java.lang.Object key, + java.lang.Object value)</PRE> +<DL> +<DD>Put a value that can later be retrieved using a given key. + <p> +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>key</CODE> - the key used to index the value<DD><CODE>value</CODE> - the value to save</DL> +</DD> +</DL> +<HR> + +<A NAME="removeThreadLocal(java.lang.Object)"><!-- --></A><H3> +removeThreadLocal</H3> +<PRE> +public final void <B>removeThreadLocal</B>(java.lang.Object key)</PRE> +<DL> +<DD>Remove values from thread-local storage. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>key</CODE> - the key for the entry to remove.<DT><B>Since:</B></DT> + <DD>1.5 release 2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="hasCompileFunctionsWithDynamicScope()"><!-- --></A><H3> +hasCompileFunctionsWithDynamicScope</H3> +<PRE> +public final boolean <B>hasCompileFunctionsWithDynamicScope</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I></I> +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_DYNAMIC_SCOPE"><CODE>FEATURE_DYNAMIC_SCOPE</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="setCompileFunctionsWithDynamicScope(boolean)"><!-- --></A><H3> +setCompileFunctionsWithDynamicScope</H3> +<PRE> +public final void <B>setCompileFunctionsWithDynamicScope</B>(boolean flag)</PRE> +<DL> +<DD><B>Deprecated.</B> <I></I> +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_DYNAMIC_SCOPE"><CODE>FEATURE_DYNAMIC_SCOPE</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="setCachingEnabled(boolean)"><!-- --></A><H3> +setCachingEnabled</H3> +<PRE> +public static void <B>setCachingEnabled</B>(boolean cachingEnabled)</PRE> +<DL> +<DD><B>Deprecated.</B> <I></I> +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ClassCache.html#get(org.mozilla.javascript.Scriptable)"><CODE>ClassCache.get(Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ClassCache.html#setCachingEnabled(boolean)"><CODE>ClassCache.setCachingEnabled(boolean)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="setWrapFactory(org.mozilla.javascript.WrapFactory)"><!-- --></A><H3> +setWrapFactory</H3> +<PRE> +public final void <B>setWrapFactory</B>(<A HREF="../../../org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript">WrapFactory</A> wrapFactory)</PRE> +<DL> +<DD>Set a WrapFactory for this Context. + <p> + The WrapFactory allows custom object wrapping behavior for + Java object manipulated with JavaScript. +<P> +<DD><DL> +<DT><B>Since:</B></DT> + <DD>1.5 Release 4</DD> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript"><CODE>WrapFactory</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getWrapFactory()"><!-- --></A><H3> +getWrapFactory</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript">WrapFactory</A> <B>getWrapFactory</B>()</PRE> +<DL> +<DD>Return the current WrapFactory, or null if none is defined. +<P> +<DD><DL> +<DT><B>Since:</B></DT> + <DD>1.5 Release 4</DD> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript"><CODE>WrapFactory</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getDebugger()"><!-- --></A><H3> +getDebugger</H3> +<PRE> +public final org.mozilla.javascript.debug.Debugger <B>getDebugger</B>()</PRE> +<DL> +<DD>Return the current debugger. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>the debugger, or null if none is attached.</DL> +</DD> +</DL> +<HR> + +<A NAME="getDebuggerContextData()"><!-- --></A><H3> +getDebuggerContextData</H3> +<PRE> +public final java.lang.Object <B>getDebuggerContextData</B>()</PRE> +<DL> +<DD>Return the debugger context data associated with current context. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>the debugger data, or null if debugger is not attached</DL> +</DD> +</DL> +<HR> + +<A NAME="setDebugger(org.mozilla.javascript.debug.Debugger, java.lang.Object)"><!-- --></A><H3> +setDebugger</H3> +<PRE> +public final void <B>setDebugger</B>(org.mozilla.javascript.debug.Debugger debugger, + java.lang.Object contextData)</PRE> +<DL> +<DD>Set the associated debugger. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>debugger</CODE> - the debugger to be used on callbacks from + the engine.<DD><CODE>contextData</CODE> - arbitrary object that debugger can use to store + per Context data.</DL> +</DD> +</DL> +<HR> + +<A NAME="getDebuggableView(org.mozilla.javascript.Script)"><!-- --></A><H3> +getDebuggableView</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> <B>getDebuggableView</B>(<A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A> script)</PRE> +<DL> +<DD>Return DebuggableScript instance if any associated with the script. + If callable supports DebuggableScript implementation, the method + returns it. Otherwise null is returned. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="hasFeature(int)"><!-- --></A><H3> +hasFeature</H3> +<PRE> +public boolean <B>hasFeature</B>(int featureIndex)</PRE> +<DL> +<DD>Controls certain aspects of script semantics. + Should be overwritten to alter default behavior. + <p> + The default implementation calls + <A HREF="../../../org/mozilla/javascript/ContextFactory.html#hasFeature(org.mozilla.javascript.Context, int)"><CODE>ContextFactory.hasFeature(Context cx, int featureIndex)</CODE></A> + that allows to customize Context behavior without introducing + Context subclasses. <A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript"><CODE>ContextFactory</CODE></A> documentation gives + an example of hasFeature implementation. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>featureIndex</CODE> - feature index to check +<DT><B>Returns:</B><DD>true if the <code>featureIndex</code> feature is turned on<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_NON_ECMA_GET_YEAR"><CODE>FEATURE_NON_ECMA_GET_YEAR</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME"><CODE>FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER"><CODE>FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_TO_STRING_AS_SOURCE"><CODE>FEATURE_TO_STRING_AS_SOURCE</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_PARENT_PROTO_PROPRTIES"><CODE>FEATURE_PARENT_PROTO_PROPRTIES</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_E4X"><CODE>FEATURE_E4X</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_DYNAMIC_SCOPE"><CODE>FEATURE_DYNAMIC_SCOPE</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_STRICT_VARS"><CODE>FEATURE_STRICT_VARS</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_STRICT_EVAL"><CODE>FEATURE_STRICT_EVAL</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_LOCATION_INFORMATION_IN_ERROR"><CODE>FEATURE_LOCATION_INFORMATION_IN_ERROR</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_STRICT_MODE"><CODE>FEATURE_STRICT_MODE</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_WARNING_AS_ERROR"><CODE>FEATURE_WARNING_AS_ERROR</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_ENHANCED_JAVA_ACCESS"><CODE>FEATURE_ENHANCED_JAVA_ACCESS</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getE4xImplementationFactory()"><!-- --></A><H3> +getE4xImplementationFactory</H3> +<PRE> +public org.mozilla.javascript.xml.XMLLib.Factory <B>getE4xImplementationFactory</B>()</PRE> +<DL> +<DD>Returns an object which specifies an E4X implementation to use within + this <code>Context</code>. Note + that the XMLLib.Factory interface should be considered experimental. + + The default implementation uses the implementation provided by this + <code>Context</code>'s <A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript"><CODE>ContextFactory</CODE></A>. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>An XMLLib.Factory. Should not return <code>null</code> if + <A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_E4X"><CODE>FEATURE_E4X</CODE></A> is enabled. See <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>hasFeature(int)</CODE></A>.</DL> +</DD> +</DL> +<HR> + +<A NAME="getInstructionObserverThreshold()"><!-- --></A><H3> +getInstructionObserverThreshold</H3> +<PRE> +public final int <B>getInstructionObserverThreshold</B>()</PRE> +<DL> +<DD>Get threshold of executed instructions counter that triggers call to + <code>observeInstructionCount()</code>. + When the threshold is zero, instruction counting is disabled, + otherwise each time the run-time executes at least the threshold value + of script instructions, <code>observeInstructionCount()</code> will + be called. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setInstructionObserverThreshold(int)"><!-- --></A><H3> +setInstructionObserverThreshold</H3> +<PRE> +public final void <B>setInstructionObserverThreshold</B>(int threshold)</PRE> +<DL> +<DD>Set threshold of executed instructions counter that triggers call to + <code>observeInstructionCount()</code>. + When the threshold is zero, instruction counting is disabled, + otherwise each time the run-time executes at least the threshold value + of script instructions, <code>observeInstructionCount()</code> will + be called.<p/> + Note that the meaning of "instruction" is not guaranteed to be + consistent between compiled and interpretive modes: executing a given + script or function in the different modes will result in different + instruction counts against the threshold. + <A HREF="../../../org/mozilla/javascript/Context.html#setGenerateObserverCount(boolean)"><CODE>setGenerateObserverCount(boolean)</CODE></A> is called with true if + <code>threshold</code> is greater than zero, false otherwise. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>threshold</CODE> - The instruction threshold</DL> +</DD> +</DL> +<HR> + +<A NAME="setGenerateObserverCount(boolean)"><!-- --></A><H3> +setGenerateObserverCount</H3> +<PRE> +public void <B>setGenerateObserverCount</B>(boolean generateObserverCount)</PRE> +<DL> +<DD>Turn on or off generation of code with callbacks to + track the count of executed instructions. + Currently only affects JVM byte code generation: this slows down the + generated code, but code generated without the callbacks will not + be counted toward instruction thresholds. Rhino's interpretive + mode does instruction counting without inserting callbacks, so + there is no requirement to compile code differently. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>generateObserverCount</CODE> - if true, generated code will contain + calls to accumulate an estimate of the instructions executed.</DL> +</DD> +</DL> +<HR> + +<A NAME="observeInstructionCount(int)"><!-- --></A><H3> +observeInstructionCount</H3> +<PRE> +protected void <B>observeInstructionCount</B>(int instructionCount)</PRE> +<DL> +<DD>Allow application to monitor counter of executed script instructions + in Context subclasses. + Run-time calls this when instruction counting is enabled and the counter + reaches limit set by <code>setInstructionObserverThreshold()</code>. + The method is useful to observe long running scripts and if necessary + to terminate them. + <p> + The instruction counting support is available only for interpreted + scripts generated when the optimization level is set to -1. + <p> + The default implementation calls + <A HREF="../../../org/mozilla/javascript/ContextFactory.html#observeInstructionCount(org.mozilla.javascript.Context, int)"><CODE>ContextFactory.observeInstructionCount(Context cx, + int instructionCount)</CODE></A> + that allows to customize Context behavior without introducing + Context subclasses. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>instructionCount</CODE> - amount of script instruction executed since + last call to <code>observeInstructionCount</code> +<DT><B>Throws:</B> +<DD><CODE>java.lang.Error</CODE> - to terminate the script<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#setOptimizationLevel(int)"><CODE>setOptimizationLevel(int)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="createClassLoader(java.lang.ClassLoader)"><!-- --></A><H3> +createClassLoader</H3> +<PRE> +public <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript">GeneratedClassLoader</A> <B>createClassLoader</B>(java.lang.ClassLoader parent)</PRE> +<DL> +<DD>Create class loader for generated classes. + The method calls <A HREF="../../../org/mozilla/javascript/ContextFactory.html#createClassLoader(java.lang.ClassLoader)"><CODE>ContextFactory.createClassLoader(ClassLoader)</CODE></A> + using the result of <A HREF="../../../org/mozilla/javascript/Context.html#getFactory()"><CODE>getFactory()</CODE></A>. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getApplicationClassLoader()"><!-- --></A><H3> +getApplicationClassLoader</H3> +<PRE> +public final java.lang.ClassLoader <B>getApplicationClassLoader</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setApplicationClassLoader(java.lang.ClassLoader)"><!-- --></A><H3> +setApplicationClassLoader</H3> +<PRE> +public final void <B>setApplicationClassLoader</B>(java.lang.ClassLoader loader)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isGeneratingDebugChanged()"><!-- --></A><H3> +isGeneratingDebugChanged</H3> +<PRE> +public final boolean <B>isGeneratingDebugChanged</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="addActivationName(java.lang.String)"><!-- --></A><H3> +addActivationName</H3> +<PRE> +public void <B>addActivationName</B>(java.lang.String name)</PRE> +<DL> +<DD>Add a name to the list of names forcing the creation of real + activation objects for functions. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object to add to the list</DL> +</DD> +</DL> +<HR> + +<A NAME="isActivationNeeded(java.lang.String)"><!-- --></A><H3> +isActivationNeeded</H3> +<PRE> +public final boolean <B>isActivationNeeded</B>(java.lang.String name)</PRE> +<DL> +<DD>Check whether the name is in the list of names of objects + forcing the creation of activation objects. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object to test +<DT><B>Returns:</B><DD>true if an function activation object is needed.</DL> +</DD> +</DL> +<HR> + +<A NAME="removeActivationName(java.lang.String)"><!-- --></A><H3> +removeActivationName</H3> +<PRE> +public void <B>removeActivationName</B>(java.lang.String name)</PRE> +<DL> +<DD>Remove a name from the list of names forcing the creation of real + activation objects for functions. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the object to remove from the list</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Context.html" target="_top"><B>FRAMES</B></A> + <A HREF="Context.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ContextAction.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ContextAction.html new file mode 100644 index 0000000..8e7116c --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ContextAction.html @@ -0,0 +1,214 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +ContextAction (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ContextAction (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ContextAction.html" target="_top"><B>FRAMES</B></A> + <A HREF="ContextAction.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Interface ContextAction</H2> +<HR> +<DL> +<DT><PRE>public interface <B>ContextAction</B></DL> +</PRE> + +<P> +Interface to represent arbitrary action that requires to have Context + object associated with the current thread for its execution. +<P> + +<P> +<HR> + +<P> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextAction.html#run(org.mozilla.javascript.Context)">run</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</CODE> + +<BR> + Execute action using the supplied Context instance.</TD> +</TR> +</TABLE> + +<P> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="run(org.mozilla.javascript.Context)"><!-- --></A><H3> +run</H3> +<PRE> +java.lang.Object <B>run</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</PRE> +<DL> +<DD>Execute action using the supplied Context instance. + When Rhino runtime calls the method, <tt>cx</tt> will be associated + with the current thread as active context. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#call(org.mozilla.javascript.ContextAction)"><CODE>Context.call(ContextAction)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>ContextFactory.call(ContextAction)</CODE></A></DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ContextAction.html" target="_top"><B>FRAMES</B></A> + <A HREF="ContextAction.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ContextFactory.Listener.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ContextFactory.Listener.html new file mode 100644 index 0000000..6290c8c --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ContextFactory.Listener.html @@ -0,0 +1,236 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +ContextFactory.Listener (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ContextFactory.Listener (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ContextFactory.Listener.html" target="_top"><B>FRAMES</B></A> + <A HREF="ContextFactory.Listener.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Interface ContextFactory.Listener</H2> +<DL> +<DT><B>Enclosing class:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public static interface <B>ContextFactory.Listener</B></DL> +</PRE> + +<P> +Listener of <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> creation and release events. +<P> + +<P> +<HR> + +<P> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html#contextCreated(org.mozilla.javascript.Context)">contextCreated</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</CODE> + +<BR> + Notify about newly created <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html#contextReleased(org.mozilla.javascript.Context)">contextReleased</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</CODE> + +<BR> + Notify that the specified <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> instance is no longer + associated with the current thread.</TD> +</TR> +</TABLE> + +<P> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="contextCreated(org.mozilla.javascript.Context)"><!-- --></A><H3> +contextCreated</H3> +<PRE> +void <B>contextCreated</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</PRE> +<DL> +<DD>Notify about newly created <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> object. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="contextReleased(org.mozilla.javascript.Context)"><!-- --></A><H3> +contextReleased</H3> +<PRE> +void <B>contextReleased</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</PRE> +<DL> +<DD>Notify that the specified <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> instance is no longer + associated with the current thread. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ContextFactory.Listener.html" target="_top"><B>FRAMES</B></A> + <A HREF="ContextFactory.Listener.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ContextFactory.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ContextFactory.html new file mode 100644 index 0000000..ef61a6f --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ContextFactory.html @@ -0,0 +1,935 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +ContextFactory (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ContextFactory (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ContextFactory.html" target="_top"><B>FRAMES</B></A> + <A HREF="ContextFactory.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class ContextFactory</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.ContextFactory</B> +</PRE> +<HR> +<DL> +<DT><PRE>public class <B>ContextFactory</B><DT>extends java.lang.Object</DL> +</PRE> + +<P> +Factory class that Rhino runtime uses to create new <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> + instances. A <code>ContextFactory</code> can also notify listeners + about context creation and release. + <p> + When the Rhino runtime needs to create new <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> instance during + execution of <A HREF="../../../org/mozilla/javascript/Context.html#enter()"><CODE>Context.enter()</CODE></A> or <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A>, it will call + <A HREF="../../../org/mozilla/javascript/ContextFactory.html#makeContext()"><CODE>makeContext()</CODE></A> of the current global ContextFactory. + See <A HREF="../../../org/mozilla/javascript/ContextFactory.html#getGlobal()"><CODE>getGlobal()</CODE></A> and <A HREF="../../../org/mozilla/javascript/ContextFactory.html#initGlobal(org.mozilla.javascript.ContextFactory)"><CODE>initGlobal(ContextFactory)</CODE></A>. + <p> + It is also possible to use explicit ContextFactory instances for Context + creation. This is useful to have a set of independent Rhino runtime + instances under single JVM. See <A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>call(ContextAction)</CODE></A>. + <p> + The following example demonstrates Context customization to terminate + scripts running more then 10 seconds and to provide better compatibility + with JavaScript code using MSIE-specific features. + <pre> + import org.mozilla.javascript.*; + + class MyFactory extends ContextFactory + { + + // Custom <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> to store execution time. + private static class MyContext extends Context + { + long startTime; + } + + static { + // Initialize GlobalFactory with custom factory + ContextFactory.initGlobal(new MyFactory()); + } + + // Override <A HREF="../../../org/mozilla/javascript/ContextFactory.html#makeContext()"><CODE>makeContext()</CODE></A> + protected Context makeContext() + { + MyContext cx = new MyContext(); + // Use pure interpreter mode to allow for + // <A HREF="../../../org/mozilla/javascript/ContextFactory.html#observeInstructionCount(org.mozilla.javascript.Context, int)"><CODE>observeInstructionCount(Context, int)</CODE></A> to work + cx.setOptimizationLevel(-1); + // Make Rhino runtime to call observeInstructionCount + // each 10000 bytecode instructions + cx.setInstructionObserverThreshold(10000); + return cx; + } + + // Override <A HREF="../../../org/mozilla/javascript/ContextFactory.html#hasFeature(org.mozilla.javascript.Context, int)"><CODE>hasFeature(Context, int)</CODE></A> + public boolean hasFeature(Context cx, int featureIndex) + { + // Turn on maximum compatibility with MSIE scripts + switch (featureIndex) { + case <A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_NON_ECMA_GET_YEAR"><CODE>Context.FEATURE_NON_ECMA_GET_YEAR</CODE></A>: + return true; + + case <A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME"><CODE>Context.FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME</CODE></A>: + return true; + + case <A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER"><CODE>Context.FEATURE_RESERVED_KEYWORD_AS_IDENTIFIER</CODE></A>: + return true; + + case <A HREF="../../../org/mozilla/javascript/Context.html#FEATURE_PARENT_PROTO_PROPERTIES"><CODE>Context.FEATURE_PARENT_PROTO_PROPERTIES</CODE></A>: + return false; + } + return super.hasFeature(cx, featureIndex); + } + + // Override <A HREF="../../../org/mozilla/javascript/ContextFactory.html#observeInstructionCount(org.mozilla.javascript.Context, int)"><CODE>observeInstructionCount(Context, int)</CODE></A> + protected void observeInstructionCount(Context cx, int instructionCount) + { + MyContext mcx = (MyContext)cx; + long currentTime = System.currentTimeMillis(); + if (currentTime - mcx.startTime > 10*1000) { + // More then 10 seconds from Context creation time: + // it is time to stop the script. + // Throw Error instance to ensure that script will never + // get control back through catch or finally. + throw new Error(); + } + } + + // Override <A HREF="../../../org/mozilla/javascript/ContextFactory.html#doTopCall(org.mozilla.javascript.Callable, org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>doTopCall(Callable, + Context, Scriptable, + Scriptable, Object[])</CODE></A> + protected Object doTopCall(Callable callable, + Context cx, Scriptable scope, + Scriptable thisObj, Object[] args) + { + MyContext mcx = (MyContext)cx; + mcx.startTime = System.currentTimeMillis(); + + return super.doTopCall(callable, cx, scope, thisObj, args); + } + + } + + </pre> +<P> + +<P> +<HR> + +<P> +<!-- ======== NESTED CLASS SUMMARY ======== --> + +<A NAME="nested_class_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Nested Class Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static interface</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript">ContextFactory.Listener</A></B></CODE> + +<BR> + Listener of <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> creation and release events.</TD> +</TR> +</TABLE> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#ContextFactory()">ContextFactory</A></B>()</CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#addListener(org.mozilla.javascript.ContextFactory.Listener)">addListener</A></B>(<A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript">ContextFactory.Listener</A> listener)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)">call</A></B>(<A HREF="../../../org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript">ContextAction</A> action)</CODE> + +<BR> + Call <A HREF="../../../org/mozilla/javascript/ContextAction.html#run(org.mozilla.javascript.Context)"><CODE>ContextAction.run(Context cx)</CODE></A> + using the <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> instance associated with the current thread.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#checkNotSealed()">checkNotSealed</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript">GeneratedClassLoader</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#createClassLoader(java.lang.ClassLoader)">createClassLoader</A></B>(java.lang.ClassLoader parent)</CODE> + +<BR> + Create class loader for generated classes.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#doTopCall(org.mozilla.javascript.Callable, org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">doTopCall</A></B>(<A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A> callable, + <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</CODE> + +<BR> + Execute top call to script or function.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#enter()">enter</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>use <A HREF="../../../org/mozilla/javascript/ContextFactory.html#enterContext()"><CODE>enterContext()</CODE></A> instead</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#enterContext()">enterContext</A></B>()</CODE> + +<BR> + Get a context associated with the current thread, creating one if need + be.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#enterContext(org.mozilla.javascript.Context)">enterContext</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</CODE> + +<BR> + Get a Context associated with the current thread, using the given + Context if need be.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#exit()">exit</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/Context.html#exit()"><CODE>Context.exit()</CODE></A> instead.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.ClassLoader</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#getApplicationClassLoader()">getApplicationClassLoader</A></B>()</CODE> + +<BR> + Get ClassLoader to use when searching for Java classes.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected org.mozilla.javascript.xml.XMLLib.Factory</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#getE4xImplementationFactory()">getE4xImplementationFactory</A></B>()</CODE> + +<BR> + Provides a default + <CODE>XMLLib.Factory</CODE> + to be used by the <code>Context</code> instances produced by this + factory.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#getGlobal()">getGlobal</A></B>()</CODE> + +<BR> + Get global ContextFactory.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#hasExplicitGlobal()">hasExplicitGlobal</A></B>()</CODE> + +<BR> + Check if global factory was set.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#hasFeature(org.mozilla.javascript.Context, int)">hasFeature</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + int featureIndex)</CODE> + +<BR> + Implementation of <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>Context.hasFeature(int featureIndex)</CODE></A>.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#initApplicationClassLoader(java.lang.ClassLoader)">initApplicationClassLoader</A></B>(java.lang.ClassLoader loader)</CODE> + +<BR> + Set explicit class loader to use when searching for Java classes.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#initGlobal(org.mozilla.javascript.ContextFactory)">initGlobal</A></B>(<A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> factory)</CODE> + +<BR> + Set global ContextFactory.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#isSealed()">isSealed</A></B>()</CODE> + +<BR> + Checks if this is a sealed ContextFactory.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#makeContext()">makeContext</A></B>()</CODE> + +<BR> + Create new <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> instance to be associated with the current + thread.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#observeInstructionCount(org.mozilla.javascript.Context, int)">observeInstructionCount</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + int instructionCount)</CODE> + +<BR> + Implementation of + <A HREF="../../../org/mozilla/javascript/Context.html#observeInstructionCount(int)"><CODE>Context.observeInstructionCount(int instructionCount)</CODE></A>.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#onContextCreated(org.mozilla.javascript.Context)">onContextCreated</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#onContextReleased(org.mozilla.javascript.Context)">onContextReleased</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#removeListener(org.mozilla.javascript.ContextFactory.Listener)">removeListener</A></B>(<A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript">ContextFactory.Listener</A> listener)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html#seal()">seal</A></B>()</CODE> + +<BR> + Seal this ContextFactory so any attempt to modify it like to add or + remove its listeners will throw an exception.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="ContextFactory()"><!-- --></A><H3> +ContextFactory</H3> +<PRE> +public <B>ContextFactory</B>()</PRE> +<DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="getGlobal()"><!-- --></A><H3> +getGlobal</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> <B>getGlobal</B>()</PRE> +<DL> +<DD>Get global ContextFactory. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#hasExplicitGlobal()"><CODE>hasExplicitGlobal()</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ContextFactory.html#initGlobal(org.mozilla.javascript.ContextFactory)"><CODE>initGlobal(ContextFactory)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="hasExplicitGlobal()"><!-- --></A><H3> +hasExplicitGlobal</H3> +<PRE> +public static boolean <B>hasExplicitGlobal</B>()</PRE> +<DL> +<DD>Check if global factory was set. + Return true to indicate that <A HREF="../../../org/mozilla/javascript/ContextFactory.html#initGlobal(org.mozilla.javascript.ContextFactory)"><CODE>initGlobal(ContextFactory)</CODE></A> was + already called and false to indicate that the global factory was not + explicitly set. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#getGlobal()"><CODE>getGlobal()</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ContextFactory.html#initGlobal(org.mozilla.javascript.ContextFactory)"><CODE>initGlobal(ContextFactory)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="initGlobal(org.mozilla.javascript.ContextFactory)"><!-- --></A><H3> +initGlobal</H3> +<PRE> +public static void <B>initGlobal</B>(<A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A> factory)</PRE> +<DL> +<DD>Set global ContextFactory. + The method can only be called once. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#getGlobal()"><CODE>getGlobal()</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ContextFactory.html#hasExplicitGlobal()"><CODE>hasExplicitGlobal()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="makeContext()"><!-- --></A><H3> +makeContext</H3> +<PRE> +protected <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> <B>makeContext</B>()</PRE> +<DL> +<DD>Create new <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> instance to be associated with the current + thread. + This is a callback method used by Rhino to create <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> + instance when it is necessary to associate one with the current + execution thread. <tt>makeContext()</tt> is allowed to call + <A HREF="../../../org/mozilla/javascript/Context.html#seal(java.lang.Object)"><CODE>Context.seal(Object)</CODE></A> on the result to prevent + <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> changes by hostile scripts or applets. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="hasFeature(org.mozilla.javascript.Context, int)"><!-- --></A><H3> +hasFeature</H3> +<PRE> +protected boolean <B>hasFeature</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + int featureIndex)</PRE> +<DL> +<DD>Implementation of <A HREF="../../../org/mozilla/javascript/Context.html#hasFeature(int)"><CODE>Context.hasFeature(int featureIndex)</CODE></A>. + This can be used to customize <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> without introducing + additional subclasses. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getE4xImplementationFactory()"><!-- --></A><H3> +getE4xImplementationFactory</H3> +<PRE> +protected org.mozilla.javascript.xml.XMLLib.Factory <B>getE4xImplementationFactory</B>()</PRE> +<DL> +<DD>Provides a default + <CODE>XMLLib.Factory</CODE> + to be used by the <code>Context</code> instances produced by this + factory. See <A HREF="../../../org/mozilla/javascript/Context.html#getE4xImplementationFactory()"><CODE>Context.getE4xImplementationFactory()</CODE></A> for details. + + May return null, in which case E4X functionality is not supported in + Rhino. + + The default implementation now prefers the DOM3 E4X implementation. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="createClassLoader(java.lang.ClassLoader)"><!-- --></A><H3> +createClassLoader</H3> +<PRE> +protected <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript">GeneratedClassLoader</A> <B>createClassLoader</B>(java.lang.ClassLoader parent)</PRE> +<DL> +<DD>Create class loader for generated classes. + This method creates an instance of the default implementation + of <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript"><CODE>GeneratedClassLoader</CODE></A>. Rhino uses this interface to load + generated JVM classes when no <A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript"><CODE>SecurityController</CODE></A> + is installed. + Application can override the method to provide custom class loading. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getApplicationClassLoader()"><!-- --></A><H3> +getApplicationClassLoader</H3> +<PRE> +public final java.lang.ClassLoader <B>getApplicationClassLoader</B>()</PRE> +<DL> +<DD>Get ClassLoader to use when searching for Java classes. + Unless it was explicitly initialized with + <A HREF="../../../org/mozilla/javascript/ContextFactory.html#initApplicationClassLoader(java.lang.ClassLoader)"><CODE>initApplicationClassLoader(ClassLoader)</CODE></A> the method returns + null to indicate that Thread.getContextClassLoader() should be used. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="initApplicationClassLoader(java.lang.ClassLoader)"><!-- --></A><H3> +initApplicationClassLoader</H3> +<PRE> +public final void <B>initApplicationClassLoader</B>(java.lang.ClassLoader loader)</PRE> +<DL> +<DD>Set explicit class loader to use when searching for Java classes. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#getApplicationClassLoader()"><CODE>getApplicationClassLoader()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="doTopCall(org.mozilla.javascript.Callable, org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><!-- --></A><H3> +doTopCall</H3> +<PRE> +protected java.lang.Object <B>doTopCall</B>(<A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A> callable, + <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</PRE> +<DL> +<DD>Execute top call to script or function. + When the runtime is about to execute a script or function that will + create the first stack frame with scriptable code, it calls this method + to perform the real call. In this way execution of any script + happens inside this function. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="observeInstructionCount(org.mozilla.javascript.Context, int)"><!-- --></A><H3> +observeInstructionCount</H3> +<PRE> +protected void <B>observeInstructionCount</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + int instructionCount)</PRE> +<DL> +<DD>Implementation of + <A HREF="../../../org/mozilla/javascript/Context.html#observeInstructionCount(int)"><CODE>Context.observeInstructionCount(int instructionCount)</CODE></A>. + This can be used to customize <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> without introducing + additional subclasses. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="onContextCreated(org.mozilla.javascript.Context)"><!-- --></A><H3> +onContextCreated</H3> +<PRE> +protected void <B>onContextCreated</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="onContextReleased(org.mozilla.javascript.Context)"><!-- --></A><H3> +onContextReleased</H3> +<PRE> +protected void <B>onContextReleased</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="addListener(org.mozilla.javascript.ContextFactory.Listener)"><!-- --></A><H3> +addListener</H3> +<PRE> +public final void <B>addListener</B>(<A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript">ContextFactory.Listener</A> listener)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="removeListener(org.mozilla.javascript.ContextFactory.Listener)"><!-- --></A><H3> +removeListener</H3> +<PRE> +public final void <B>removeListener</B>(<A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript">ContextFactory.Listener</A> listener)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isSealed()"><!-- --></A><H3> +isSealed</H3> +<PRE> +public final boolean <B>isSealed</B>()</PRE> +<DL> +<DD>Checks if this is a sealed ContextFactory. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#seal()"><CODE>seal()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="seal()"><!-- --></A><H3> +seal</H3> +<PRE> +public final void <B>seal</B>()</PRE> +<DL> +<DD>Seal this ContextFactory so any attempt to modify it like to add or + remove its listeners will throw an exception. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#isSealed()"><CODE>isSealed()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="checkNotSealed()"><!-- --></A><H3> +checkNotSealed</H3> +<PRE> +protected final void <B>checkNotSealed</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="call(org.mozilla.javascript.ContextAction)"><!-- --></A><H3> +call</H3> +<PRE> +public final java.lang.Object <B>call</B>(<A HREF="../../../org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript">ContextAction</A> action)</PRE> +<DL> +<DD>Call <A HREF="../../../org/mozilla/javascript/ContextAction.html#run(org.mozilla.javascript.Context)"><CODE>ContextAction.run(Context cx)</CODE></A> + using the <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> instance associated with the current thread. + If no Context is associated with the thread, then + <A HREF="../../../org/mozilla/javascript/ContextFactory.html#makeContext()"><CODE>makeContext()</CODE></A> will be called to construct + new Context instance. The instance will be temporary associated + with the thread during call to <A HREF="../../../org/mozilla/javascript/ContextAction.html#run(org.mozilla.javascript.Context)"><CODE>ContextAction.run(Context)</CODE></A>. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>call(ContextAction)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#call(org.mozilla.javascript.ContextFactory, org.mozilla.javascript.Callable, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>Context.call(ContextFactory factory, Callable callable, + Scriptable scope, Scriptable thisObj, + Object[] args)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="enterContext()"><!-- --></A><H3> +enterContext</H3> +<PRE> +public <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> <B>enterContext</B>()</PRE> +<DL> +<DD>Get a context associated with the current thread, creating one if need + be. The Context stores the execution state of the JavaScript engine, so + it is required that the context be entered before execution may begin. + Once a thread has entered a Context, then getCurrentContext() may be + called to find the context that is associated with the current thread. + <p> + Calling <code>enterContext()</code> will return either the Context + currently associated with the thread, or will create a new context and + associate it with the current thread. Each call to + <code>enterContext()</code> must have a matching call to + <A HREF="../../../org/mozilla/javascript/Context.html#exit()"><CODE>Context.exit()</CODE></A>. + <pre> + Context cx = contextFactory.enterContext(); + try { + ... + cx.evaluateString(...); + } finally { + Context.exit(); + } + </pre> + Instead of using <tt>enterContext()</tt>, <tt>exit()</tt> pair consider + using <A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>call(ContextAction)</CODE></A> which guarantees proper association + of Context instances with the current thread. + With this method the above example becomes: + <pre> + ContextFactory.call(new ContextAction() { + public Object run(Context cx) { + ... + cx.evaluateString(...); + return null; + } + }); + </pre> +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>a Context associated with the current thread<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#getCurrentContext()"><CODE>Context.getCurrentContext()</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#exit()"><CODE>Context.exit()</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>call(ContextAction)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="enter()"><!-- --></A><H3> +enter</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> <B>enter</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>use <A HREF="../../../org/mozilla/javascript/ContextFactory.html#enterContext()"><CODE>enterContext()</CODE></A> instead</I> +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>a Context associated with the current thread</DL> +</DD> +</DL> +<HR> + +<A NAME="exit()"><!-- --></A><H3> +exit</H3> +<PRE> +public final void <B>exit</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/Context.html#exit()"><CODE>Context.exit()</CODE></A> instead.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="enterContext(org.mozilla.javascript.Context)"><!-- --></A><H3> +enterContext</H3> +<PRE> +public final <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> <B>enterContext</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</PRE> +<DL> +<DD>Get a Context associated with the current thread, using the given + Context if need be. + <p> + The same as <code>enterContext()</code> except that <code>cx</code> + is associated with the current thread and returned if the current thread + has no associated context and <code>cx</code> is not associated with any + other thread. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - a Context to associate with the thread if possible +<DT><B>Returns:</B><DD>a Context associated with the current thread +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalStateException</CODE> - if <code>cx</code> is already associated + with a different thread<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ContextFactory.html#enterContext()"><CODE>enterContext()</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ContextFactory.html#call(org.mozilla.javascript.ContextAction)"><CODE>call(ContextAction)</CODE></A></DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ContextFactory.html" target="_top"><B>FRAMES</B></A> + <A HREF="ContextFactory.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/EcmaError.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/EcmaError.html new file mode 100644 index 0000000..71c774f --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/EcmaError.html @@ -0,0 +1,455 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +EcmaError (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="EcmaError (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/EcmaError.html" target="_top"><B>FRAMES</B></A> + <A HREF="EcmaError.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class EcmaError</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.RuntimeException + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">org.mozilla.javascript.RhinoException</A> + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.EcmaError</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD> +</DL> +<HR> +<DL> +<DT><PRE>public class <B>EcmaError</B><DT>extends <A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A></DL> +</PRE> + +<P> +The class of exceptions raised by the engine as described in + ECMA edition 3. See section 15.11.6 in particular. +<P> + +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.mozilla.javascript.EcmaError">Serialized Form</A></DL> +<HR> + +<P> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EcmaError.html#EcmaError(org.mozilla.javascript.Scriptable, java.lang.String, int, int, java.lang.String)">EcmaError</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> nativeError, + java.lang.String sourceName, + int lineNumber, + int columnNumber, + java.lang.String lineSource)</CODE> + +<BR> + <B>Deprecated.</B> <I>EcmaError error instances should not be constructed + explicitly since they are generated by the engine.</I></TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EcmaError.html#details()">details</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EcmaError.html#getColumnNumber()">getColumnNumber</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#columnNumber()"><CODE>RhinoException.columnNumber()</CODE></A> from the super class.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EcmaError.html#getErrorMessage()">getErrorMessage</A></B>()</CODE> + +<BR> + Gets the message corresponding to the error.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EcmaError.html#getErrorObject()">getErrorObject</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Always returns <b>null</b>.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EcmaError.html#getLineNumber()">getLineNumber</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineNumber()"><CODE>RhinoException.lineNumber()</CODE></A> from the super class.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EcmaError.html#getLineSource()">getLineSource</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineSource()"><CODE>RhinoException.lineSource()</CODE></A> from the super class.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EcmaError.html#getName()">getName</A></B>()</CODE> + +<BR> + Gets the name of the error.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EcmaError.html#getSourceName()">getSourceName</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#sourceName()"><CODE>RhinoException.sourceName()</CODE></A> from the super class.</I></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.RhinoException"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/RhinoException.html#columnNumber()">columnNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#getMessage()">getMessage</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#getScriptStackTrace()">getScriptStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#getScriptStackTrace(java.io.FilenameFilter)">getScriptStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initColumnNumber(int)">initColumnNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initLineNumber(int)">initLineNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initLineSource(java.lang.String)">initLineSource</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initSourceName(java.lang.String)">initSourceName</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineNumber()">lineNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineSource()">lineSource</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#printStackTrace(java.io.PrintStream)">printStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#sourceName()">sourceName</A></CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="EcmaError(org.mozilla.javascript.Scriptable, java.lang.String, int, int, java.lang.String)"><!-- --></A><H3> +EcmaError</H3> +<PRE> +public <B>EcmaError</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> nativeError, + java.lang.String sourceName, + int lineNumber, + int columnNumber, + java.lang.String lineSource)</PRE> +<DL> +<DD><B>Deprecated.</B> <I>EcmaError error instances should not be constructed + explicitly since they are generated by the engine.</I> +<P> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="details()"><!-- --></A><H3> +details</H3> +<PRE> +public java.lang.String <B>details</B>()</PRE> +<DL> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/RhinoException.html#details()">details</A></CODE> in class <CODE><A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A></CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getName()"><!-- --></A><H3> +getName</H3> +<PRE> +public java.lang.String <B>getName</B>()</PRE> +<DL> +<DD>Gets the name of the error. + + ECMA edition 3 defines the following + errors: EvalError, RangeError, ReferenceError, + SyntaxError, TypeError, and URIError. Additional error names + may be added in the future. + + See ECMA edition 3, 15.11.7.9. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>the name of the error.</DL> +</DD> +</DL> +<HR> + +<A NAME="getErrorMessage()"><!-- --></A><H3> +getErrorMessage</H3> +<PRE> +public java.lang.String <B>getErrorMessage</B>()</PRE> +<DL> +<DD>Gets the message corresponding to the error. + + See ECMA edition 3, 15.11.7.10. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>an implemenation-defined string describing the error.</DL> +</DD> +</DL> +<HR> + +<A NAME="getSourceName()"><!-- --></A><H3> +getSourceName</H3> +<PRE> +public java.lang.String <B>getSourceName</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#sourceName()"><CODE>RhinoException.sourceName()</CODE></A> from the super class.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getLineNumber()"><!-- --></A><H3> +getLineNumber</H3> +<PRE> +public int <B>getLineNumber</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineNumber()"><CODE>RhinoException.lineNumber()</CODE></A> from the super class.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getColumnNumber()"><!-- --></A><H3> +getColumnNumber</H3> +<PRE> +public int <B>getColumnNumber</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#columnNumber()"><CODE>RhinoException.columnNumber()</CODE></A> from the super class.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getLineSource()"><!-- --></A><H3> +getLineSource</H3> +<PRE> +public java.lang.String <B>getLineSource</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineSource()"><CODE>RhinoException.lineSource()</CODE></A> from the super class.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getErrorObject()"><!-- --></A><H3> +getErrorObject</H3> +<PRE> +public <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>getErrorObject</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Always returns <b>null</b>.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/EcmaError.html" target="_top"><B>FRAMES</B></A> + <A HREF="EcmaError.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ErrorReporter.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ErrorReporter.html new file mode 100644 index 0000000..a559d25 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ErrorReporter.html @@ -0,0 +1,299 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +ErrorReporter (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ErrorReporter (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ErrorReporter.html" target="_top"><B>FRAMES</B></A> + <A HREF="ErrorReporter.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Interface ErrorReporter</H2> +<HR> +<DL> +<DT><PRE>public interface <B>ErrorReporter</B></DL> +</PRE> + +<P> +This is interface defines a protocol for the reporting of + errors during JavaScript translation or execution. +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Norris Boyd</DD> +</DL> +<HR> + +<P> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ErrorReporter.html#error(java.lang.String, java.lang.String, int, java.lang.String, int)">error</A></B>(java.lang.String message, + java.lang.String sourceName, + int line, + java.lang.String lineSource, + int lineOffset)</CODE> + +<BR> + Report an error.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ErrorReporter.html#runtimeError(java.lang.String, java.lang.String, int, java.lang.String, int)">runtimeError</A></B>(java.lang.String message, + java.lang.String sourceName, + int line, + java.lang.String lineSource, + int lineOffset)</CODE> + +<BR> + Creates an EvaluatorException that may be thrown.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ErrorReporter.html#warning(java.lang.String, java.lang.String, int, java.lang.String, int)">warning</A></B>(java.lang.String message, + java.lang.String sourceName, + int line, + java.lang.String lineSource, + int lineOffset)</CODE> + +<BR> + Report a warning.</TD> +</TR> +</TABLE> + +<P> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="warning(java.lang.String, java.lang.String, int, java.lang.String, int)"><!-- --></A><H3> +warning</H3> +<PRE> +void <B>warning</B>(java.lang.String message, + java.lang.String sourceName, + int line, + java.lang.String lineSource, + int lineOffset)</PRE> +<DL> +<DD>Report a warning. + + The implementing class may choose to ignore the warning + if it desires. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>message</CODE> - a String describing the warning<DD><CODE>sourceName</CODE> - a String describing the JavaScript source + where the warning occured; typically a filename or URL<DD><CODE>line</CODE> - the line number associated with the warning<DD><CODE>lineSource</CODE> - the text of the line (may be null)<DD><CODE>lineOffset</CODE> - the offset into lineSource where problem was detected</DL> +</DD> +</DL> +<HR> + +<A NAME="error(java.lang.String, java.lang.String, int, java.lang.String, int)"><!-- --></A><H3> +error</H3> +<PRE> +void <B>error</B>(java.lang.String message, + java.lang.String sourceName, + int line, + java.lang.String lineSource, + int lineOffset)</PRE> +<DL> +<DD>Report an error. + + The implementing class is free to throw an exception if + it desires. + + If execution has not yet begun, the JavaScript engine is + free to find additional errors rather than terminating + the translation. It will not execute a script that had + errors, however. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>message</CODE> - a String describing the error<DD><CODE>sourceName</CODE> - a String describing the JavaScript source + where the error occured; typically a filename or URL<DD><CODE>line</CODE> - the line number associated with the error<DD><CODE>lineSource</CODE> - the text of the line (may be null)<DD><CODE>lineOffset</CODE> - the offset into lineSource where problem was detected</DL> +</DD> +</DL> +<HR> + +<A NAME="runtimeError(java.lang.String, java.lang.String, int, java.lang.String, int)"><!-- --></A><H3> +runtimeError</H3> +<PRE> +<A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A> <B>runtimeError</B>(java.lang.String message, + java.lang.String sourceName, + int line, + java.lang.String lineSource, + int lineOffset)</PRE> +<DL> +<DD>Creates an EvaluatorException that may be thrown. + + runtimeErrors, unlike errors, will always terminate the + current script. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>message</CODE> - a String describing the error<DD><CODE>sourceName</CODE> - a String describing the JavaScript source + where the error occured; typically a filename or URL<DD><CODE>line</CODE> - the line number associated with the error<DD><CODE>lineSource</CODE> - the text of the line (may be null)<DD><CODE>lineOffset</CODE> - the offset into lineSource where problem was detected +<DT><B>Returns:</B><DD>an EvaluatorException that will be thrown.</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ErrorReporter.html" target="_top"><B>FRAMES</B></A> + <A HREF="ErrorReporter.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/EvaluatorException.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/EvaluatorException.html new file mode 100644 index 0000000..6f06bb5 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/EvaluatorException.html @@ -0,0 +1,405 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +EvaluatorException (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="EvaluatorException (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/EvaluatorException.html" target="_top"><B>FRAMES</B></A> + <A HREF="EvaluatorException.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class EvaluatorException</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.RuntimeException + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">org.mozilla.javascript.RhinoException</A> + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.EvaluatorException</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD> +</DL> +<DL> +<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript">WrappedException</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public class <B>EvaluatorException</B><DT>extends <A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A></DL> +</PRE> + +<P> +The class of exceptions thrown by the JavaScript engine. +<P> + +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.mozilla.javascript.EvaluatorException">Serialized Form</A></DL> +<HR> + +<P> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EvaluatorException.html#EvaluatorException(java.lang.String)">EvaluatorException</A></B>(java.lang.String detail)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EvaluatorException.html#EvaluatorException(java.lang.String, java.lang.String, int)">EvaluatorException</A></B>(java.lang.String detail, + java.lang.String sourceName, + int lineNumber)</CODE> + +<BR> + Create an exception with the specified detail message.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EvaluatorException.html#EvaluatorException(java.lang.String, java.lang.String, int, java.lang.String, int)">EvaluatorException</A></B>(java.lang.String detail, + java.lang.String sourceName, + int lineNumber, + java.lang.String lineSource, + int columnNumber)</CODE> + +<BR> + Create an exception with the specified detail message.</TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EvaluatorException.html#getColumnNumber()">getColumnNumber</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#columnNumber()"><CODE>RhinoException.columnNumber()</CODE></A> from the super class.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EvaluatorException.html#getLineNumber()">getLineNumber</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineNumber()"><CODE>RhinoException.lineNumber()</CODE></A> from the super class.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EvaluatorException.html#getLineSource()">getLineSource</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineSource()"><CODE>RhinoException.lineSource()</CODE></A> from the super class.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/EvaluatorException.html#getSourceName()">getSourceName</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#sourceName()"><CODE>RhinoException.sourceName()</CODE></A> from the super class.</I></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.RhinoException"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/RhinoException.html#columnNumber()">columnNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#details()">details</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#getMessage()">getMessage</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#getScriptStackTrace()">getScriptStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#getScriptStackTrace(java.io.FilenameFilter)">getScriptStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initColumnNumber(int)">initColumnNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initLineNumber(int)">initLineNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initLineSource(java.lang.String)">initLineSource</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initSourceName(java.lang.String)">initSourceName</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineNumber()">lineNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineSource()">lineSource</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#printStackTrace(java.io.PrintStream)">printStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#sourceName()">sourceName</A></CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="EvaluatorException(java.lang.String)"><!-- --></A><H3> +EvaluatorException</H3> +<PRE> +public <B>EvaluatorException</B>(java.lang.String detail)</PRE> +<DL> +</DL> +<HR> + +<A NAME="EvaluatorException(java.lang.String, java.lang.String, int)"><!-- --></A><H3> +EvaluatorException</H3> +<PRE> +public <B>EvaluatorException</B>(java.lang.String detail, + java.lang.String sourceName, + int lineNumber)</PRE> +<DL> +<DD>Create an exception with the specified detail message. + + Errors internal to the JavaScript engine will simply throw a + RuntimeException. +<P> +<DL> +<DT><B>Parameters:</B><DD><CODE>detail</CODE> - the error message<DD><CODE>sourceName</CODE> - the name of the source reponsible for the error<DD><CODE>lineNumber</CODE> - the line number of the source</DL> +</DL> +<HR> + +<A NAME="EvaluatorException(java.lang.String, java.lang.String, int, java.lang.String, int)"><!-- --></A><H3> +EvaluatorException</H3> +<PRE> +public <B>EvaluatorException</B>(java.lang.String detail, + java.lang.String sourceName, + int lineNumber, + java.lang.String lineSource, + int columnNumber)</PRE> +<DL> +<DD>Create an exception with the specified detail message. + + Errors internal to the JavaScript engine will simply throw a + RuntimeException. +<P> +<DL> +<DT><B>Parameters:</B><DD><CODE>detail</CODE> - the error message<DD><CODE>sourceName</CODE> - the name of the source responsible for the error<DD><CODE>lineNumber</CODE> - the line number of the source<DD><CODE>columnNumber</CODE> - the columnNumber of the source (may be zero if + unknown)<DD><CODE>lineSource</CODE> - the source of the line containing the error (may be + null if unknown)</DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="getSourceName()"><!-- --></A><H3> +getSourceName</H3> +<PRE> +public java.lang.String <B>getSourceName</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#sourceName()"><CODE>RhinoException.sourceName()</CODE></A> from the super class.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getLineNumber()"><!-- --></A><H3> +getLineNumber</H3> +<PRE> +public int <B>getLineNumber</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineNumber()"><CODE>RhinoException.lineNumber()</CODE></A> from the super class.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getColumnNumber()"><!-- --></A><H3> +getColumnNumber</H3> +<PRE> +public int <B>getColumnNumber</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#columnNumber()"><CODE>RhinoException.columnNumber()</CODE></A> from the super class.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getLineSource()"><!-- --></A><H3> +getLineSource</H3> +<PRE> +public java.lang.String <B>getLineSource</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineSource()"><CODE>RhinoException.lineSource()</CODE></A> from the super class.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/EvaluatorException.html" target="_top"><B>FRAMES</B></A> + <A HREF="EvaluatorException.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Function.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Function.html new file mode 100644 index 0000000..55712dc --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Function.html @@ -0,0 +1,297 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +Function (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Function (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Function.html" target="_top"><B>FRAMES</B></A> + <A HREF="Function.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Interface Function</H2> +<DL> +<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></DD> +</DL> +<DL> +<DT><B>All Known Implementing Classes:</B> <DD>org.mozilla.javascript.BaseFunction, org.mozilla.javascript.Delegator, <A HREF="../../../org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A>, <A HREF="../../../org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript">Synchronizer</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public interface <B>Function</B><DT>extends <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A>, <A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A></DL> +</PRE> + +<P> +This is interface that all functions in JavaScript must implement. + The interface provides for calling functions and constructors. +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Norris Boyd</DD> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><CODE>Scriptable</CODE></A></DL> +<HR> + +<P> +<!-- =========== FIELD SUMMARY =========== --> + +<A NAME="field_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Field Summary</B></FONT></TH> +</TR> +</TABLE> + <A NAME="fields_inherited_from_class_org.mozilla.javascript.Scriptable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Fields inherited from interface org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#NOT_FOUND">NOT_FOUND</A></CODE></TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Function.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">call</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</CODE> + +<BR> + Call the function.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Function.html#construct(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object[])">construct</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object[] args)</CODE> + +<BR> + Call the function as a constructor.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.Scriptable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from interface org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#delete(int)">delete</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#delete(java.lang.String)">delete</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#get(int, org.mozilla.javascript.Scriptable)">get</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)">get</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#getClassName()">getClassName</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#getDefaultValue(java.lang.Class)">getDefaultValue</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#getIds()">getIds</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#getParentScope()">getParentScope</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#getPrototype()">getPrototype</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#has(int, org.mozilla.javascript.Scriptable)">has</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#has(java.lang.String, org.mozilla.javascript.Scriptable)">has</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#hasInstance(org.mozilla.javascript.Scriptable)">hasInstance</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#put(int, org.mozilla.javascript.Scriptable, java.lang.Object)">put</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)">put</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#setParentScope(org.mozilla.javascript.Scriptable)">setParentScope</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#setPrototype(org.mozilla.javascript.Scriptable)">setPrototype</A></CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><!-- --></A><H3> +call</H3> +<PRE> +java.lang.Object <B>call</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</PRE> +<DL> +<DD>Call the function. + + Note that the array of arguments is not guaranteed to have + length greater than 0. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Callable.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">call</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - the current Context for this thread<DD><CODE>scope</CODE> - the scope to execute the function relative to. This is + set to the value returned by getParentScope() except + when the function is called from a closure.<DD><CODE>thisObj</CODE> - the JavaScript <code>this</code> object<DD><CODE>args</CODE> - the array of arguments +<DT><B>Returns:</B><DD>the result of the call</DL> +</DD> +</DL> +<HR> + +<A NAME="construct(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object[])"><!-- --></A><H3> +construct</H3> +<PRE> +<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>construct</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object[] args)</PRE> +<DL> +<DD>Call the function as a constructor. + + This method is invoked by the runtime in order to satisfy a use + of the JavaScript <code>new</code> operator. This method is + expected to create a new object and return it. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - the current Context for this thread<DD><CODE>scope</CODE> - an enclosing scope of the caller except + when the function is called from a closure.<DD><CODE>args</CODE> - the array of arguments +<DT><B>Returns:</B><DD>the allocated object</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Function.html" target="_top"><B>FRAMES</B></A> + <A HREF="Function.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/FunctionObject.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/FunctionObject.html new file mode 100644 index 0000000..4e9d011 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/FunctionObject.html @@ -0,0 +1,774 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +FunctionObject (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="FunctionObject (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/FunctionObject.html" target="_top"><B>FRAMES</B></A> + <A HREF="FunctionObject.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class FunctionObject</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">org.mozilla.javascript.ScriptableObject</A> + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">org.mozilla.javascript.IdScriptableObject + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">org.mozilla.javascript.BaseFunction + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.FunctionObject</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, <A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A>, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, <A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A>, org.mozilla.javascript.IdFunctionCall, <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public class <B>FunctionObject</B><DT>extends org.mozilla.javascript.BaseFunction</DL> +</PRE> + +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.mozilla.javascript.FunctionObject">Serialized Form</A></DL> +<HR> + +<P> +<!-- =========== FIELD SUMMARY =========== --> + +<A NAME="field_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Field Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#JAVA_BOOLEAN_TYPE">JAVA_BOOLEAN_TYPE</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#JAVA_DOUBLE_TYPE">JAVA_DOUBLE_TYPE</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#JAVA_INT_TYPE">JAVA_INT_TYPE</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#JAVA_OBJECT_TYPE">JAVA_OBJECT_TYPE</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#JAVA_SCRIPTABLE_TYPE">JAVA_SCRIPTABLE_TYPE</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#JAVA_STRING_TYPE">JAVA_STRING_TYPE</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#JAVA_UNSUPPORTED_TYPE">JAVA_UNSUPPORTED_TYPE</A></B></CODE> + +<BR> + </TD> +</TR> +</TABLE> + <A NAME="fields_inherited_from_class_org.mozilla.javascript.ScriptableObject"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Fields inherited from class org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#CONST">CONST</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#DONTENUM">DONTENUM</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#EMPTY">EMPTY</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#PERMANENT">PERMANENT</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#READONLY">READONLY</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#UNINITIALIZED_CONST">UNINITIALIZED_CONST</A></CODE></TD> +</TR> +</TABLE> + <A NAME="fields_inherited_from_class_org.mozilla.javascript.Scriptable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Fields inherited from interface org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#NOT_FOUND">NOT_FOUND</A></CODE></TD> +</TR> +</TABLE> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#FunctionObject(java.lang.String, java.lang.reflect.Member, org.mozilla.javascript.Scriptable)">FunctionObject</A></B>(java.lang.String name, + java.lang.reflect.Member methodOrConstructor, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</CODE> + +<BR> + Create a JavaScript function object from a Java method.</TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#addAsConstructor(org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable)">addAsConstructor</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> prototype)</CODE> + +<BR> + Define this function as a JavaScript constructor.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">call</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</CODE> + +<BR> + Performs conversions on argument types if needed and + invokes the underlying Java method or constructor.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#convertArg(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, java.lang.Class)">convertArg</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object arg, + java.lang.Class desired)</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/FunctionObject.html#getTypeTag(java.lang.Class)"><CODE>getTypeTag(Class)</CODE></A> + and <A HREF="../../../org/mozilla/javascript/FunctionObject.html#convertArg(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, int)"><CODE>convertArg(Context, Scriptable, Object, int)</CODE></A> + for type convertion.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#convertArg(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, int)">convertArg</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object arg, + int typeTag)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#createObject(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable)">createObject</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</CODE> + +<BR> + Return new <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><CODE>Scriptable</CODE></A> instance using the default + constructor for the class of the underlying Java method.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#getArity()">getArity</A></B>()</CODE> + +<BR> + Return the value defined by the method used to construct the object + (number of parameters of the method, or 1 if the method is a "varargs" + form).</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#getFunctionName()">getFunctionName</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#getLength()">getLength</A></B>()</CODE> + +<BR> + Return the same value as <A HREF="../../../org/mozilla/javascript/FunctionObject.html#getArity()"><CODE>getArity()</CODE></A>.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.reflect.Member</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#getMethodOrConstructor()">getMethodOrConstructor</A></B>()</CODE> + +<BR> + Get Java method or constructor this function represent.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html#getTypeTag(java.lang.Class)">getTypeTag</A></B>(java.lang.Class type)</CODE> + +<BR> + </TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.BaseFunction"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class org.mozilla.javascript.BaseFunction</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>construct, execIdCall, fillConstructorProperties, findInstanceIdInfo, findPrototypeId, getClassName, getClassPrototype, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, hasInstance, initPrototypeId, setImmunePrototypeProperty, setInstanceIdValue</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.IdScriptableObject"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class org.mozilla.javascript.IdScriptableObject</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultPut, delete, exportAsJSClass, get, getAttributes, has, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributes</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.ScriptableObject"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#associateValue(java.lang.Object, java.lang.Object)">associateValue</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#avoidObjectDetection()">avoidObjectDetection</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#callMethod(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])">callMethod</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#callMethod(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])">callMethod</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineClass(org.mozilla.javascript.Scriptable, java.lang.Class)">defineClass</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineClass(org.mozilla.javascript.Scriptable, java.lang.Class, boolean)">defineClass</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineClass(org.mozilla.javascript.Scriptable, java.lang.Class, boolean, boolean)">defineClass</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineConst(java.lang.String, org.mozilla.javascript.Scriptable)">defineConst</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineConstProperty(org.mozilla.javascript.Scriptable, java.lang.String)">defineConstProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineFunctionProperties(java.lang.String[], java.lang.Class, int)">defineFunctionProperties</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object, int)">defineProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineProperty(java.lang.String, java.lang.Class, int)">defineProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineProperty(java.lang.String, java.lang.Object, int)">defineProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineProperty(java.lang.String, java.lang.Object, java.lang.reflect.Method, java.lang.reflect.Method, int)">defineProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#delete(int)">delete</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#deleteProperty(org.mozilla.javascript.Scriptable, int)">deleteProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#deleteProperty(org.mozilla.javascript.Scriptable, java.lang.String)">deleteProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#equivalentValues(java.lang.Object)">equivalentValues</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#get(int, org.mozilla.javascript.Scriptable)">get</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAllIds()">getAllIds</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAssociatedValue(java.lang.Object)">getAssociatedValue</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(int)">getAttributes</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(int, org.mozilla.javascript.Scriptable)">getAttributes</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String, org.mozilla.javascript.Scriptable)">getAttributes</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getClassPrototype(org.mozilla.javascript.Scriptable, java.lang.String)">getClassPrototype</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getDefaultValue(java.lang.Class)">getDefaultValue</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getDefaultValue(org.mozilla.javascript.Scriptable, java.lang.Class)">getDefaultValue</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getFunctionPrototype(org.mozilla.javascript.Scriptable)">getFunctionPrototype</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getGetterOrSetter(java.lang.String, int, boolean)">getGetterOrSetter</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getIds()">getIds</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getObjectPrototype(org.mozilla.javascript.Scriptable)">getObjectPrototype</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getParentScope()">getParentScope</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, int)">getProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, java.lang.String)">getProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getPropertyIds(org.mozilla.javascript.Scriptable)">getPropertyIds</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getPrototype()">getPrototype</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getTopLevelScope(org.mozilla.javascript.Scriptable)">getTopLevelScope</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getTopScopeValue(org.mozilla.javascript.Scriptable, java.lang.Object)">getTopScopeValue</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#has(int, org.mozilla.javascript.Scriptable)">has</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#hasProperty(org.mozilla.javascript.Scriptable, int)">hasProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#hasProperty(org.mozilla.javascript.Scriptable, java.lang.String)">hasProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#isConst(java.lang.String)">isConst</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#isGetterOrSetter(java.lang.String, int, boolean)">isGetterOrSetter</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#isSealed()">isSealed</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#put(int, org.mozilla.javascript.Scriptable, java.lang.Object)">put</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putConst(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)">putConst</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putConstProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)">putConstProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, int, java.lang.Object)">putProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)">putProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#redefineProperty(org.mozilla.javascript.Scriptable, java.lang.String, boolean)">redefineProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#sealObject()">sealObject</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(int, int)">setAttributes</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(int, org.mozilla.javascript.Scriptable, int)">setAttributes</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, org.mozilla.javascript.Scriptable, int)">setAttributes</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setGetterOrSetter(java.lang.String, int, org.mozilla.javascript.Callable, boolean)">setGetterOrSetter</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setParentScope(org.mozilla.javascript.Scriptable)">setParentScope</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setPrototype(org.mozilla.javascript.Scriptable)">setPrototype</A></CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.Scriptable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from interface org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#delete(int)">delete</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#delete(java.lang.String)">delete</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#get(int, org.mozilla.javascript.Scriptable)">get</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)">get</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#getDefaultValue(java.lang.Class)">getDefaultValue</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#getIds()">getIds</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#getParentScope()">getParentScope</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#getPrototype()">getPrototype</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#has(int, org.mozilla.javascript.Scriptable)">has</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#has(java.lang.String, org.mozilla.javascript.Scriptable)">has</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#put(int, org.mozilla.javascript.Scriptable, java.lang.Object)">put</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)">put</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#setParentScope(org.mozilla.javascript.Scriptable)">setParentScope</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html#setPrototype(org.mozilla.javascript.Scriptable)">setPrototype</A></CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ============ FIELD DETAIL =========== --> + +<A NAME="field_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Field Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="JAVA_UNSUPPORTED_TYPE"><!-- --></A><H3> +JAVA_UNSUPPORTED_TYPE</H3> +<PRE> +public static final int <B>JAVA_UNSUPPORTED_TYPE</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.FunctionObject.JAVA_UNSUPPORTED_TYPE">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="JAVA_STRING_TYPE"><!-- --></A><H3> +JAVA_STRING_TYPE</H3> +<PRE> +public static final int <B>JAVA_STRING_TYPE</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.FunctionObject.JAVA_STRING_TYPE">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="JAVA_INT_TYPE"><!-- --></A><H3> +JAVA_INT_TYPE</H3> +<PRE> +public static final int <B>JAVA_INT_TYPE</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.FunctionObject.JAVA_INT_TYPE">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="JAVA_BOOLEAN_TYPE"><!-- --></A><H3> +JAVA_BOOLEAN_TYPE</H3> +<PRE> +public static final int <B>JAVA_BOOLEAN_TYPE</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.FunctionObject.JAVA_BOOLEAN_TYPE">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="JAVA_DOUBLE_TYPE"><!-- --></A><H3> +JAVA_DOUBLE_TYPE</H3> +<PRE> +public static final int <B>JAVA_DOUBLE_TYPE</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.FunctionObject.JAVA_DOUBLE_TYPE">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="JAVA_SCRIPTABLE_TYPE"><!-- --></A><H3> +JAVA_SCRIPTABLE_TYPE</H3> +<PRE> +public static final int <B>JAVA_SCRIPTABLE_TYPE</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.FunctionObject.JAVA_SCRIPTABLE_TYPE">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="JAVA_OBJECT_TYPE"><!-- --></A><H3> +JAVA_OBJECT_TYPE</H3> +<PRE> +public static final int <B>JAVA_OBJECT_TYPE</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.FunctionObject.JAVA_OBJECT_TYPE">Constant Field Values</A></DL> +</DL> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="FunctionObject(java.lang.String, java.lang.reflect.Member, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +FunctionObject</H3> +<PRE> +public <B>FunctionObject</B>(java.lang.String name, + java.lang.reflect.Member methodOrConstructor, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</PRE> +<DL> +<DD>Create a JavaScript function object from a Java method. + + <p>The <code>member</code> argument must be either a java.lang.reflect.Method + or a java.lang.reflect.Constructor and must match one of two forms.<p> + + The first form is a member with zero or more parameters + of the following types: Object, String, boolean, Scriptable, + int, or double. The Long type is not supported + because the double representation of a long (which is the + EMCA-mandated storage type for Numbers) may lose precision. + If the member is a Method, the return value must be void or one + of the types allowed for parameters.<p> + + The runtime will perform appropriate conversions based + upon the type of the parameter. A parameter type of + Object specifies that no conversions are to be done. A parameter + of type String will use Context.toString to convert arguments. + Similarly, parameters of type double, boolean, and Scriptable + will cause Context.toNumber, Context.toBoolean, and + Context.toObject, respectively, to be called.<p> + + If the method is not static, the Java 'this' value will + correspond to the JavaScript 'this' value. Any attempt + to call the function with a 'this' value that is not + of the right Java type will result in an error.<p> + + The second form is the variable arguments (or "varargs") + form. If the FunctionObject will be used as a constructor, + the member must have the following parameters + <pre> + (Context cx, Object[] args, Function ctorObj, + boolean inNewExpr)</pre> + and if it is a Method, be static and return an Object result.<p> + + Otherwise, if the FunctionObject will <i>not</i> be used to define a + constructor, the member must be a static Method with parameters + (Context cx, Scriptable thisObj, Object[] args, + Function funObj) </pre> + <pre> + and an Object result.<p> + + When the function varargs form is called as part of a function call, + the <code>args</code> parameter contains the + arguments, with <code>thisObj</code> + set to the JavaScript 'this' value. <code>funObj</code> + is the function object for the invoked function.<p> + + When the constructor varargs form is called or invoked while evaluating + a <code>new</code> expression, <code>args</code> contains the + arguments, <code>ctorObj</code> refers to this FunctionObject, and + <code>inNewExpr</code> is true if and only if a <code>new</code> + expression caused the call. This supports defining a function that + has different behavior when called as a constructor than when + invoked as a normal function call. (For example, the Boolean + constructor, when called as a function, + will convert to boolean rather than creating a new object.)<p> +<P> +<DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the function<DD><CODE>methodOrConstructor</CODE> - a java.lang.reflect.Method or a java.lang.reflect.Constructor + that defines the object<DD><CODE>scope</CODE> - enclosing scope of function<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><CODE>Scriptable</CODE></A></DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="getTypeTag(java.lang.Class)"><!-- --></A><H3> +getTypeTag</H3> +<PRE> +public static int <B>getTypeTag</B>(java.lang.Class type)</PRE> +<DL> +<DD><DL> + +<DT><B>Returns:</B><DD>One of <tt>JAVA_*_TYPE</tt> constants to indicate desired type + or <A HREF="../../../org/mozilla/javascript/FunctionObject.html#JAVA_UNSUPPORTED_TYPE"><CODE>JAVA_UNSUPPORTED_TYPE</CODE></A> if the convertion is not + possible</DL> +</DD> +</DL> +<HR> + +<A NAME="convertArg(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, int)"><!-- --></A><H3> +convertArg</H3> +<PRE> +public static java.lang.Object <B>convertArg</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object arg, + int typeTag)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getArity()"><!-- --></A><H3> +getArity</H3> +<PRE> +public int <B>getArity</B>()</PRE> +<DL> +<DD>Return the value defined by the method used to construct the object + (number of parameters of the method, or 1 if the method is a "varargs" + form). +<P> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>getArity</CODE> in class <CODE>org.mozilla.javascript.BaseFunction</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getLength()"><!-- --></A><H3> +getLength</H3> +<PRE> +public int <B>getLength</B>()</PRE> +<DL> +<DD>Return the same value as <A HREF="../../../org/mozilla/javascript/FunctionObject.html#getArity()"><CODE>getArity()</CODE></A>. +<P> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>getLength</CODE> in class <CODE>org.mozilla.javascript.BaseFunction</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getFunctionName()"><!-- --></A><H3> +getFunctionName</H3> +<PRE> +public java.lang.String <B>getFunctionName</B>()</PRE> +<DL> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>getFunctionName</CODE> in class <CODE>org.mozilla.javascript.BaseFunction</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getMethodOrConstructor()"><!-- --></A><H3> +getMethodOrConstructor</H3> +<PRE> +public java.lang.reflect.Member <B>getMethodOrConstructor</B>()</PRE> +<DL> +<DD>Get Java method or constructor this function represent. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="addAsConstructor(org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +addAsConstructor</H3> +<PRE> +public void <B>addAsConstructor</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> prototype)</PRE> +<DL> +<DD>Define this function as a JavaScript constructor. + <p> + Sets up the "prototype" and "constructor" properties. Also + calls setParent and setPrototype with appropriate values. + Then adds the function object as a property of the given scope, using + <code>prototype.getClassName()</code> + as the name of the property. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - the scope in which to define the constructor (typically + the global object)<DD><CODE>prototype</CODE> - the prototype object<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#setParentScope(org.mozilla.javascript.Scriptable)"><CODE>Scriptable.setParentScope(org.mozilla.javascript.Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Scriptable.html#setPrototype(org.mozilla.javascript.Scriptable)"><CODE>Scriptable.setPrototype(org.mozilla.javascript.Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Scriptable.html#getClassName()"><CODE>Scriptable.getClassName()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="convertArg(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, java.lang.Class)"><!-- --></A><H3> +convertArg</H3> +<PRE> +public static java.lang.Object <B>convertArg</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object arg, + java.lang.Class desired)</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/FunctionObject.html#getTypeTag(java.lang.Class)"><CODE>getTypeTag(Class)</CODE></A> + and <A HREF="../../../org/mozilla/javascript/FunctionObject.html#convertArg(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, int)"><CODE>convertArg(Context, Scriptable, Object, int)</CODE></A> + for type convertion.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><!-- --></A><H3> +call</H3> +<PRE> +public java.lang.Object <B>call</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</PRE> +<DL> +<DD>Performs conversions on argument types if needed and + invokes the underlying Java method or constructor. + <p> + Implements Function.call. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Callable.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">call</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Function.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">call</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A></CODE><DT><B>Overrides:</B><DD><CODE>call</CODE> in class <CODE>org.mozilla.javascript.BaseFunction</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - the current Context for this thread<DD><CODE>scope</CODE> - the scope to execute the function relative to. This is + set to the value returned by getParentScope() except + when the function is called from a closure.<DD><CODE>thisObj</CODE> - the JavaScript <code>this</code> object<DD><CODE>args</CODE> - the array of arguments +<DT><B>Returns:</B><DD>the result of the call<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Function.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>Function.call( + Context, Scriptable, Scriptable, Object[])</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="createObject(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +createObject</H3> +<PRE> +public <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>createObject</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</PRE> +<DL> +<DD>Return new <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><CODE>Scriptable</CODE></A> instance using the default + constructor for the class of the underlying Java method. + Return null to indicate that the call method should be used to create + new objects. +<P> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>createObject</CODE> in class <CODE>org.mozilla.javascript.BaseFunction</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/FunctionObject.html" target="_top"><B>FRAMES</B></A> + <A HREF="FunctionObject.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/GeneratedClassLoader.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/GeneratedClassLoader.html new file mode 100644 index 0000000..2d998ac --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/GeneratedClassLoader.html @@ -0,0 +1,236 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +GeneratedClassLoader (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="GeneratedClassLoader (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/GeneratedClassLoader.html" target="_top"><B>FRAMES</B></A> + <A HREF="GeneratedClassLoader.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Interface GeneratedClassLoader</H2> +<HR> +<DL> +<DT><PRE>public interface <B>GeneratedClassLoader</B></DL> +</PRE> + +<P> +Interface to define classes from generated byte code. +<P> + +<P> +<HR> + +<P> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Class</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html#defineClass(java.lang.String, byte[])">defineClass</A></B>(java.lang.String name, + byte[] data)</CODE> + +<BR> + Define a new Java class.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html#linkClass(java.lang.Class)">linkClass</A></B>(java.lang.Class cl)</CODE> + +<BR> + Link the given class.</TD> +</TR> +</TABLE> + +<P> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="defineClass(java.lang.String, byte[])"><!-- --></A><H3> +defineClass</H3> +<PRE> +java.lang.Class <B>defineClass</B>(java.lang.String name, + byte[] data)</PRE> +<DL> +<DD>Define a new Java class. + Classes created via this method should have the same class loader. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - fully qualified class name<DD><CODE>data</CODE> - class byte code +<DT><B>Returns:</B><DD>new class object</DL> +</DD> +</DL> +<HR> + +<A NAME="linkClass(java.lang.Class)"><!-- --></A><H3> +linkClass</H3> +<PRE> +void <B>linkClass</B>(java.lang.Class cl)</PRE> +<DL> +<DD>Link the given class. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cl</CODE> - Class instance returned from the previous call to + <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html#defineClass(java.lang.String, byte[])"><CODE>defineClass(String, byte[])</CODE></A><DT><B>See Also:</B><DD><CODE>ClassLoader</CODE></DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/GeneratedClassLoader.html" target="_top"><B>FRAMES</B></A> + <A HREF="GeneratedClassLoader.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ImporterTopLevel.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ImporterTopLevel.html new file mode 100644 index 0000000..78dd7a7 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ImporterTopLevel.html @@ -0,0 +1,583 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +ImporterTopLevel (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ImporterTopLevel (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ImporterTopLevel.html" target="_top"><B>FRAMES</B></A> + <A HREF="ImporterTopLevel.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.mozilla.javascript.ScriptableObject">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class ImporterTopLevel</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">org.mozilla.javascript.ScriptableObject</A> + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">org.mozilla.javascript.IdScriptableObject + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.ImporterTopLevel</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.IdFunctionCall, <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public class <B>ImporterTopLevel</B><DT>extends org.mozilla.javascript.IdScriptableObject</DL> +</PRE> + +<P> +Class ImporterTopLevel + + This class defines a ScriptableObject that can be instantiated + as a top-level ("global") object to provide functionality similar + to Java's "import" statement. + <p> + This class can be used to create a top-level scope using the following code: + <pre> + Scriptable scope = new ImporterTopLevel(cx); + </pre> + Then JavaScript code will have access to the following methods: + <ul> + <li>importClass - will "import" a class by making its unqualified name + available as a property of the top-level scope + <li>importPackage - will "import" all the classes of the package by + searching for unqualified names as classes qualified + by the given package. + </ul> + The following code from the shell illustrates this use: + <pre> + js> importClass(java.io.File) + js> f = new File('help.txt') + help.txt + js> importPackage(java.util) + js> v = new Vector() + [] +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Norris Boyd</DD> +<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.mozilla.javascript.ImporterTopLevel">Serialized Form</A></DL> +<HR> + +<P> +<!-- =========== FIELD SUMMARY =========== --> + +<A NAME="field_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Field Summary</B></FONT></TH> +</TR> +</TABLE> + <A NAME="fields_inherited_from_class_org.mozilla.javascript.ScriptableObject"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Fields inherited from class org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#CONST">CONST</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#DONTENUM">DONTENUM</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#EMPTY">EMPTY</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#PERMANENT">PERMANENT</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#READONLY">READONLY</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#UNINITIALIZED_CONST">UNINITIALIZED_CONST</A></CODE></TD> +</TR> +</TABLE> + <A NAME="fields_inherited_from_class_org.mozilla.javascript.Scriptable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Fields inherited from interface org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#NOT_FOUND">NOT_FOUND</A></CODE></TD> +</TR> +</TABLE> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html#ImporterTopLevel()">ImporterTopLevel</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html#ImporterTopLevel(org.mozilla.javascript.Context)">ImporterTopLevel</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html#ImporterTopLevel(org.mozilla.javascript.Context, boolean)">ImporterTopLevel</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + boolean sealed)</CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html#execIdCall(org.mozilla.javascript.IdFunctionObject, org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">execIdCall</A></B>(org.mozilla.javascript.IdFunctionObject f, + <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</CODE> + +<BR> + 'thisObj' will be null if invoked as constructor, in which case + instance of Scriptable should be returned.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html#findPrototypeId(java.lang.String)">findPrototypeId</A></B>(java.lang.String s)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html#get(java.lang.String, org.mozilla.javascript.Scriptable)">get</A></B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + Returns the value of the named property or NOT_FOUND.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html#getClassName()">getClassName</A></B>()</CODE> + +<BR> + Return the name of the class.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html#has(java.lang.String, org.mozilla.javascript.Scriptable)">has</A></B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + Returns true if the named property is defined.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html#importPackage(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object[], org.mozilla.javascript.Function)">importPackage</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args, + <A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A> funObj)</CODE> + +<BR> + <B>Deprecated.</B> <I>Kept only for compatibility.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html#init(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, boolean)">init</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + boolean sealed)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html#initPrototypeId(int)">initPrototypeId</A></B>(int id)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html#initStandardObjects(org.mozilla.javascript.Context, boolean)">initStandardObjects</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + boolean sealed)</CODE> + +<BR> + </TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.IdScriptableObject"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class org.mozilla.javascript.IdScriptableObject</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultPut, delete, exportAsJSClass, fillConstructorProperties, findInstanceIdInfo, getAttributes, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributes, setInstanceIdValue</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.ScriptableObject"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#associateValue(java.lang.Object, java.lang.Object)">associateValue</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#avoidObjectDetection()">avoidObjectDetection</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#callMethod(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])">callMethod</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#callMethod(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])">callMethod</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineClass(org.mozilla.javascript.Scriptable, java.lang.Class)">defineClass</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineClass(org.mozilla.javascript.Scriptable, java.lang.Class, boolean)">defineClass</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineClass(org.mozilla.javascript.Scriptable, java.lang.Class, boolean, boolean)">defineClass</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineConst(java.lang.String, org.mozilla.javascript.Scriptable)">defineConst</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineConstProperty(org.mozilla.javascript.Scriptable, java.lang.String)">defineConstProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineFunctionProperties(java.lang.String[], java.lang.Class, int)">defineFunctionProperties</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object, int)">defineProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineProperty(java.lang.String, java.lang.Class, int)">defineProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineProperty(java.lang.String, java.lang.Object, int)">defineProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineProperty(java.lang.String, java.lang.Object, java.lang.reflect.Method, java.lang.reflect.Method, int)">defineProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#delete(int)">delete</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#deleteProperty(org.mozilla.javascript.Scriptable, int)">deleteProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#deleteProperty(org.mozilla.javascript.Scriptable, java.lang.String)">deleteProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#equivalentValues(java.lang.Object)">equivalentValues</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#get(int, org.mozilla.javascript.Scriptable)">get</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAllIds()">getAllIds</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAssociatedValue(java.lang.Object)">getAssociatedValue</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(int)">getAttributes</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(int, org.mozilla.javascript.Scriptable)">getAttributes</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String, org.mozilla.javascript.Scriptable)">getAttributes</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getClassPrototype(org.mozilla.javascript.Scriptable, java.lang.String)">getClassPrototype</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getDefaultValue(java.lang.Class)">getDefaultValue</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getDefaultValue(org.mozilla.javascript.Scriptable, java.lang.Class)">getDefaultValue</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getFunctionPrototype(org.mozilla.javascript.Scriptable)">getFunctionPrototype</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getGetterOrSetter(java.lang.String, int, boolean)">getGetterOrSetter</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getIds()">getIds</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getObjectPrototype(org.mozilla.javascript.Scriptable)">getObjectPrototype</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getParentScope()">getParentScope</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, int)">getProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, java.lang.String)">getProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getPropertyIds(org.mozilla.javascript.Scriptable)">getPropertyIds</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getPrototype()">getPrototype</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getTopLevelScope(org.mozilla.javascript.Scriptable)">getTopLevelScope</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getTopScopeValue(org.mozilla.javascript.Scriptable, java.lang.Object)">getTopScopeValue</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#has(int, org.mozilla.javascript.Scriptable)">has</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#hasInstance(org.mozilla.javascript.Scriptable)">hasInstance</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#hasProperty(org.mozilla.javascript.Scriptable, int)">hasProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#hasProperty(org.mozilla.javascript.Scriptable, java.lang.String)">hasProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#isConst(java.lang.String)">isConst</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#isGetterOrSetter(java.lang.String, int, boolean)">isGetterOrSetter</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#isSealed()">isSealed</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#put(int, org.mozilla.javascript.Scriptable, java.lang.Object)">put</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putConst(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)">putConst</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putConstProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)">putConstProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, int, java.lang.Object)">putProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)">putProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#redefineProperty(org.mozilla.javascript.Scriptable, java.lang.String, boolean)">redefineProperty</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#sealObject()">sealObject</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(int, int)">setAttributes</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(int, org.mozilla.javascript.Scriptable, int)">setAttributes</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, org.mozilla.javascript.Scriptable, int)">setAttributes</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setGetterOrSetter(java.lang.String, int, org.mozilla.javascript.Callable, boolean)">setGetterOrSetter</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setParentScope(org.mozilla.javascript.Scriptable)">setParentScope</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setPrototype(org.mozilla.javascript.Scriptable)">setPrototype</A></CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="ImporterTopLevel()"><!-- --></A><H3> +ImporterTopLevel</H3> +<PRE> +public <B>ImporterTopLevel</B>()</PRE> +<DL> +</DL> +<HR> + +<A NAME="ImporterTopLevel(org.mozilla.javascript.Context)"><!-- --></A><H3> +ImporterTopLevel</H3> +<PRE> +public <B>ImporterTopLevel</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx)</PRE> +<DL> +</DL> +<HR> + +<A NAME="ImporterTopLevel(org.mozilla.javascript.Context, boolean)"><!-- --></A><H3> +ImporterTopLevel</H3> +<PRE> +public <B>ImporterTopLevel</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + boolean sealed)</PRE> +<DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="getClassName()"><!-- --></A><H3> +getClassName</H3> +<PRE> +public java.lang.String <B>getClassName</B>()</PRE> +<DL> +<DD><B>Description copied from class: <CODE><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getClassName()">ScriptableObject</A></CODE></B></DD> +<DD>Return the name of the class. + + This is typically the same name as the constructor. + Classes extending ScriptableObject must implement this abstract + method. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#getClassName()">getClassName</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getClassName()">getClassName</A></CODE> in class <CODE><A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A></CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="init(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, boolean)"><!-- --></A><H3> +init</H3> +<PRE> +public static void <B>init</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + boolean sealed)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="initStandardObjects(org.mozilla.javascript.Context, boolean)"><!-- --></A><H3> +initStandardObjects</H3> +<PRE> +public void <B>initStandardObjects</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + boolean sealed)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="has(java.lang.String, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +has</H3> +<PRE> +public boolean <B>has</B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD><B>Description copied from class: <CODE><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#has(java.lang.String, org.mozilla.javascript.Scriptable)">ScriptableObject</A></CODE></B></DD> +<DD>Returns true if the named property is defined. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#has(java.lang.String, org.mozilla.javascript.Scriptable)">has</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE><DT><B>Overrides:</B><DD><CODE>has</CODE> in class <CODE>org.mozilla.javascript.IdScriptableObject</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property<DD><CODE>start</CODE> - the object in which the lookup began +<DT><B>Returns:</B><DD>true if and only if the property was found in the object<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.get(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><CODE>ScriptableObject.getProperty(Scriptable, String)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="get(java.lang.String, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +get</H3> +<PRE> +public java.lang.Object <B>get</B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD><B>Description copied from class: <CODE><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#get(java.lang.String, org.mozilla.javascript.Scriptable)">ScriptableObject</A></CODE></B></DD> +<DD>Returns the value of the named property or NOT_FOUND. + + If the property was created using defineProperty, the + appropriate getter method is called. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)">get</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE><DT><B>Overrides:</B><DD><CODE>get</CODE> in class <CODE>org.mozilla.javascript.IdScriptableObject</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property<DD><CODE>start</CODE> - the object in which the lookup began +<DT><B>Returns:</B><DD>the value of the property (may be null), or NOT_FOUND<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#getUndefinedValue()"><CODE>Context.getUndefinedValue()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="importPackage(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object[], org.mozilla.javascript.Function)"><!-- --></A><H3> +importPackage</H3> +<PRE> +public void <B>importPackage</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args, + <A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A> funObj)</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Kept only for compatibility.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="initPrototypeId(int)"><!-- --></A><H3> +initPrototypeId</H3> +<PRE> +protected void <B>initPrototypeId</B>(int id)</PRE> +<DL> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>initPrototypeId</CODE> in class <CODE>org.mozilla.javascript.IdScriptableObject</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="execIdCall(org.mozilla.javascript.IdFunctionObject, org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><!-- --></A><H3> +execIdCall</H3> +<PRE> +public java.lang.Object <B>execIdCall</B>(org.mozilla.javascript.IdFunctionObject f, + <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</PRE> +<DL> +<DD><B>Description copied from class: <CODE>org.mozilla.javascript.IdScriptableObject</CODE></B></DD> +<DD>'thisObj' will be null if invoked as constructor, in which case + instance of Scriptable should be returned. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>execIdCall</CODE> in interface <CODE>org.mozilla.javascript.IdFunctionCall</CODE><DT><B>Overrides:</B><DD><CODE>execIdCall</CODE> in class <CODE>org.mozilla.javascript.IdScriptableObject</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="findPrototypeId(java.lang.String)"><!-- --></A><H3> +findPrototypeId</H3> +<PRE> +protected int <B>findPrototypeId</B>(java.lang.String s)</PRE> +<DL> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>findPrototypeId</CODE> in class <CODE>org.mozilla.javascript.IdScriptableObject</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ImporterTopLevel.html" target="_top"><B>FRAMES</B></A> + <A HREF="ImporterTopLevel.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.mozilla.javascript.ScriptableObject">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/JavaScriptException.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/JavaScriptException.html new file mode 100644 index 0000000..6dafa13 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/JavaScriptException.html @@ -0,0 +1,375 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +JavaScriptException (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="JavaScriptException (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/RefCallable.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/JavaScriptException.html" target="_top"><B>FRAMES</B></A> + <A HREF="JavaScriptException.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class JavaScriptException</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.RuntimeException + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">org.mozilla.javascript.RhinoException</A> + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.JavaScriptException</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD> +</DL> +<HR> +<DL> +<DT><PRE>public class <B>JavaScriptException</B><DT>extends <A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A></DL> +</PRE> + +<P> +Java reflection of JavaScript exceptions. + Instances of this class are thrown by the JavaScript 'throw' keyword. +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Mike McCabe</DD> +<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.mozilla.javascript.JavaScriptException">Serialized Form</A></DL> +<HR> + +<P> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/JavaScriptException.html#JavaScriptException(java.lang.Object)">JavaScriptException</A></B>(java.lang.Object value)</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/WrappedException.html#WrappedException(java.lang.Throwable)"><CODE>WrappedException.WrappedException(Throwable)</CODE></A> to report + exceptions in Java code.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/JavaScriptException.html#JavaScriptException(java.lang.Object, java.lang.String, int)">JavaScriptException</A></B>(java.lang.Object value, + java.lang.String sourceName, + int lineNumber)</CODE> + +<BR> + Create a JavaScript exception wrapping the given JavaScript value</TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/JavaScriptException.html#details()">details</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/JavaScriptException.html#getLineNumber()">getLineNumber</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineNumber()"><CODE>RhinoException.lineNumber()</CODE></A> from the super class.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/JavaScriptException.html#getSourceName()">getSourceName</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#sourceName()"><CODE>RhinoException.sourceName()</CODE></A> from the super class.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/JavaScriptException.html#getValue()">getValue</A></B>()</CODE> + +<BR> + </TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.RhinoException"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/RhinoException.html#columnNumber()">columnNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#getMessage()">getMessage</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#getScriptStackTrace()">getScriptStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#getScriptStackTrace(java.io.FilenameFilter)">getScriptStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initColumnNumber(int)">initColumnNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initLineNumber(int)">initLineNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initLineSource(java.lang.String)">initLineSource</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initSourceName(java.lang.String)">initSourceName</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineNumber()">lineNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineSource()">lineSource</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#printStackTrace(java.io.PrintStream)">printStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#sourceName()">sourceName</A></CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="JavaScriptException(java.lang.Object)"><!-- --></A><H3> +JavaScriptException</H3> +<PRE> +public <B>JavaScriptException</B>(java.lang.Object value)</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/WrappedException.html#WrappedException(java.lang.Throwable)"><CODE>WrappedException.WrappedException(Throwable)</CODE></A> to report + exceptions in Java code.</I> +<P> +</DL> +<HR> + +<A NAME="JavaScriptException(java.lang.Object, java.lang.String, int)"><!-- --></A><H3> +JavaScriptException</H3> +<PRE> +public <B>JavaScriptException</B>(java.lang.Object value, + java.lang.String sourceName, + int lineNumber)</PRE> +<DL> +<DD>Create a JavaScript exception wrapping the given JavaScript value +<P> +<DL> +<DT><B>Parameters:</B><DD><CODE>value</CODE> - the JavaScript value thrown.</DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="details()"><!-- --></A><H3> +details</H3> +<PRE> +public java.lang.String <B>details</B>()</PRE> +<DL> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/RhinoException.html#details()">details</A></CODE> in class <CODE><A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A></CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getValue()"><!-- --></A><H3> +getValue</H3> +<PRE> +public java.lang.Object <B>getValue</B>()</PRE> +<DL> +<DD><DL> + +<DT><B>Returns:</B><DD>the value wrapped by this exception</DL> +</DD> +</DL> +<HR> + +<A NAME="getSourceName()"><!-- --></A><H3> +getSourceName</H3> +<PRE> +public java.lang.String <B>getSourceName</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#sourceName()"><CODE>RhinoException.sourceName()</CODE></A> from the super class.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getLineNumber()"><!-- --></A><H3> +getLineNumber</H3> +<PRE> +public int <B>getLineNumber</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineNumber()"><CODE>RhinoException.lineNumber()</CODE></A> from the super class.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/RefCallable.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/JavaScriptException.html" target="_top"><B>FRAMES</B></A> + <A HREF="JavaScriptException.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/RefCallable.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/RefCallable.html new file mode 100644 index 0000000..910d0fd --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/RefCallable.html @@ -0,0 +1,233 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +RefCallable (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="RefCallable (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/RefCallable.html" target="_top"><B>FRAMES</B></A> + <A HREF="RefCallable.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Interface RefCallable</H2> +<DL> +<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public interface <B>RefCallable</B><DT>extends <A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A></DL> +</PRE> + +<P> +Object that can allows assignments to the result of function calls. +<P> + +<P> +<HR> + +<P> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> org.mozilla.javascript.Ref</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RefCallable.html#refCall(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object[])">refCall</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</CODE> + +<BR> + Perform function call in reference context.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.Callable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from interface org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/Callable.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">call</A></CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="refCall(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object[])"><!-- --></A><H3> +refCall</H3> +<PRE> +org.mozilla.javascript.Ref <B>refCall</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</PRE> +<DL> +<DD>Perform function call in reference context. + The args array reference should not be stored in any object that is + can be GC-reachable after this method returns. If this is necessary, + for example, to implement <CODE>Ref</CODE> methods, then store args.clone(), + not args array itself. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - the current Context for this thread<DD><CODE>thisObj</CODE> - the JavaScript <code>this</code> object<DD><CODE>args</CODE> - the array of arguments</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/RefCallable.html" target="_top"><B>FRAMES</B></A> + <A HREF="RefCallable.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/RhinoException.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/RhinoException.html new file mode 100644 index 0000000..4ad3d0f --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/RhinoException.html @@ -0,0 +1,544 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +RhinoException (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="RhinoException (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/RefCallable.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/RhinoException.html" target="_top"><B>FRAMES</B></A> + <A HREF="RhinoException.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class RhinoException</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.RuntimeException + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.RhinoException</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD> +</DL> +<DL> +<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A>, <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A>, <A HREF="../../../org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript">JavaScriptException</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public abstract class <B>RhinoException</B><DT>extends java.lang.RuntimeException</DL> +</PRE> + +<P> +The class of exceptions thrown by the JavaScript engine. +<P> + +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.mozilla.javascript.RhinoException">Serialized Form</A></DL> +<HR> + +<P> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#columnNumber()">columnNumber</A></B>()</CODE> + +<BR> + The column number of the location of the error, or zero if unknown.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#details()">details</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#getMessage()">getMessage</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#getScriptStackTrace()">getScriptStackTrace</A></B>()</CODE> + +<BR> + Get a string representing the script stack of this exception.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#getScriptStackTrace(java.io.FilenameFilter)">getScriptStackTrace</A></B>(java.io.FilenameFilter filter)</CODE> + +<BR> + Get a string representing the script stack of this exception.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#initColumnNumber(int)">initColumnNumber</A></B>(int columnNumber)</CODE> + +<BR> + Initialize the column number of the script statement causing the error.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#initLineNumber(int)">initLineNumber</A></B>(int lineNumber)</CODE> + +<BR> + Initialize the line number of the script statement causing the error.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#initLineSource(java.lang.String)">initLineSource</A></B>(java.lang.String lineSource)</CODE> + +<BR> + Initialize the text of the source line containing the error.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#initSourceName(java.lang.String)">initSourceName</A></B>(java.lang.String sourceName)</CODE> + +<BR> + Initialize the uri of the script source containing the error.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#lineNumber()">lineNumber</A></B>()</CODE> + +<BR> + Returns the line number of the statement causing the error, + or zero if not available.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#lineSource()">lineSource</A></B>()</CODE> + +<BR> + The source text of the line causing the error, or null if unknown.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#printStackTrace(java.io.PrintStream)">printStackTrace</A></B>(java.io.PrintStream s)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A></B>(java.io.PrintWriter s)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/RhinoException.html#sourceName()">sourceName</A></B>()</CODE> + +<BR> + Get the uri of the script source containing the error, or null + if that information is not available.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="getMessage()"><!-- --></A><H3> +getMessage</H3> +<PRE> +public final java.lang.String <B>getMessage</B>()</PRE> +<DL> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>getMessage</CODE> in class <CODE>java.lang.Throwable</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="details()"><!-- --></A><H3> +details</H3> +<PRE> +public java.lang.String <B>details</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="sourceName()"><!-- --></A><H3> +sourceName</H3> +<PRE> +public final java.lang.String <B>sourceName</B>()</PRE> +<DL> +<DD>Get the uri of the script source containing the error, or null + if that information is not available. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="initSourceName(java.lang.String)"><!-- --></A><H3> +initSourceName</H3> +<PRE> +public final void <B>initSourceName</B>(java.lang.String sourceName)</PRE> +<DL> +<DD>Initialize the uri of the script source containing the error. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>sourceName</CODE> - the uri of the script source responsible for the error. + It should not be <tt>null</tt>. +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalStateException</CODE> - if the method is called more then once.</DL> +</DD> +</DL> +<HR> + +<A NAME="lineNumber()"><!-- --></A><H3> +lineNumber</H3> +<PRE> +public final int <B>lineNumber</B>()</PRE> +<DL> +<DD>Returns the line number of the statement causing the error, + or zero if not available. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="initLineNumber(int)"><!-- --></A><H3> +initLineNumber</H3> +<PRE> +public final void <B>initLineNumber</B>(int lineNumber)</PRE> +<DL> +<DD>Initialize the line number of the script statement causing the error. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>lineNumber</CODE> - the line number in the script source. + It should be positive number. +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalStateException</CODE> - if the method is called more then once.</DL> +</DD> +</DL> +<HR> + +<A NAME="columnNumber()"><!-- --></A><H3> +columnNumber</H3> +<PRE> +public final int <B>columnNumber</B>()</PRE> +<DL> +<DD>The column number of the location of the error, or zero if unknown. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="initColumnNumber(int)"><!-- --></A><H3> +initColumnNumber</H3> +<PRE> +public final void <B>initColumnNumber</B>(int columnNumber)</PRE> +<DL> +<DD>Initialize the column number of the script statement causing the error. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>columnNumber</CODE> - the column number in the script source. + It should be positive number. +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalStateException</CODE> - if the method is called more then once.</DL> +</DD> +</DL> +<HR> + +<A NAME="lineSource()"><!-- --></A><H3> +lineSource</H3> +<PRE> +public final java.lang.String <B>lineSource</B>()</PRE> +<DL> +<DD>The source text of the line causing the error, or null if unknown. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="initLineSource(java.lang.String)"><!-- --></A><H3> +initLineSource</H3> +<PRE> +public final void <B>initLineSource</B>(java.lang.String lineSource)</PRE> +<DL> +<DD>Initialize the text of the source line containing the error. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>lineSource</CODE> - the text of the source line responsible for the error. + It should not be <tt>null</tt>. +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalStateException</CODE> - if the method is called more then once.</DL> +</DD> +</DL> +<HR> + +<A NAME="getScriptStackTrace()"><!-- --></A><H3> +getScriptStackTrace</H3> +<PRE> +public java.lang.String <B>getScriptStackTrace</B>()</PRE> +<DL> +<DD>Get a string representing the script stack of this exception. + If optimization is enabled, this corresponds to all java stack elements + with a source name ending with ".js". +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>a script stack dump<DT><B>Since:</B></DT> + <DD>1.6R6</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getScriptStackTrace(java.io.FilenameFilter)"><!-- --></A><H3> +getScriptStackTrace</H3> +<PRE> +public java.lang.String <B>getScriptStackTrace</B>(java.io.FilenameFilter filter)</PRE> +<DL> +<DD>Get a string representing the script stack of this exception. + If optimization is enabled, this corresponds to all java stack elements + with a source name matching the <code>filter</code>. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>filter</CODE> - the file name filter to determine whether a file is a + script file +<DT><B>Returns:</B><DD>a script stack dump<DT><B>Since:</B></DT> + <DD>1.6R6</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="printStackTrace(java.io.PrintWriter)"><!-- --></A><H3> +printStackTrace</H3> +<PRE> +public void <B>printStackTrace</B>(java.io.PrintWriter s)</PRE> +<DL> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>printStackTrace</CODE> in class <CODE>java.lang.Throwable</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="printStackTrace(java.io.PrintStream)"><!-- --></A><H3> +printStackTrace</H3> +<PRE> +public void <B>printStackTrace</B>(java.io.PrintStream s)</PRE> +<DL> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>printStackTrace</CODE> in class <CODE>java.lang.Throwable</CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/RefCallable.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/RhinoException.html" target="_top"><B>FRAMES</B></A> + <A HREF="RhinoException.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Script.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Script.html new file mode 100644 index 0000000..65f250f --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Script.html @@ -0,0 +1,231 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +Script (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Script (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Script.html" target="_top"><B>FRAMES</B></A> + <A HREF="Script.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Interface Script</H2> +<HR> +<DL> +<DT><PRE>public interface <B>Script</B></DL> +</PRE> + +<P> +All compiled scripts implement this interface. + <p> + This class encapsulates script execution relative to an + object scope. +<P> + +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>1.3</DD> +<DT><B>Author:</B></DT> + <DD>Norris Boyd</DD> +</DL> +<HR> + +<P> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Script.html#exec(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable)">exec</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</CODE> + +<BR> + Execute the script.</TD> +</TR> +</TABLE> + +<P> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="exec(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +exec</H3> +<PRE> +java.lang.Object <B>exec</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</PRE> +<DL> +<DD>Execute the script. + <p> + The script is executed in a particular runtime Context, which + must be associated with the current thread. + The script is executed relative to a scope--definitions and + uses of global top-level variables and functions will access + properties of the scope object. For compliant ECMA + programs, the scope must be an object that has been initialized + as a global object using <code>Context.initStandardObjects</code>. + <p> +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - the Context associated with the current thread<DD><CODE>scope</CODE> - the scope to execute relative to +<DT><B>Returns:</B><DD>the result of executing the script<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#initStandardObjects()"><CODE>Context.initStandardObjects()</CODE></A></DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Script.html" target="_top"><B>FRAMES</B></A> + <A HREF="Script.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Scriptable.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Scriptable.html new file mode 100644 index 0000000..14ab7aa --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Scriptable.html @@ -0,0 +1,756 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +Scriptable (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Scriptable (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Scriptable.html" target="_top"><B>FRAMES</B></A> + <A HREF="Scriptable.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Interface Scriptable</H2> +<DL> +<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A></DD> +</DL> +<DL> +<DT><B>All Known Implementing Classes:</B> <DD>org.mozilla.javascript.BaseFunction, org.mozilla.javascript.Delegator, <A HREF="../../../org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A>, org.mozilla.javascript.IdScriptableObject, <A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A>, <A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A>, <A HREF="../../../org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript">Synchronizer</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public interface <B>Scriptable</B></DL> +</PRE> + +<P> +This is interface that all objects in JavaScript must implement. + The interface provides for the management of properties and for + performing conversions. + <p> + Host system implementors may find it easier to extend the ScriptableObject + class rather than implementing Scriptable when writing host objects. + <p> + There are many static methods defined in ScriptableObject that perform + the multiple calls to the Scriptable interface needed in order to + manipulate properties in prototype chains. + <p> +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Norris Boyd, Nick Thompson, Brendan Eich</DD> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript"><CODE>ScriptableObject</CODE></A></DL> +<HR> + +<P> +<!-- =========== FIELD SUMMARY =========== --> + +<A NAME="field_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Field Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#NOT_FOUND">NOT_FOUND</A></B></CODE> + +<BR> + Value returned from <code>get</code> if the property is not + found.</TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#delete(int)">delete</A></B>(int index)</CODE> + +<BR> + Removes a property from this object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#delete(java.lang.String)">delete</A></B>(java.lang.String name)</CODE> + +<BR> + Removes a property from this object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(int, org.mozilla.javascript.Scriptable)">get</A></B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + Get a property from the object selected by an integral index.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)">get</A></B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + Get a named property from the object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#getClassName()">getClassName</A></B>()</CODE> + +<BR> + Get the name of the set of objects implemented by this Java class.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#getDefaultValue(java.lang.Class)">getDefaultValue</A></B>(java.lang.Class hint)</CODE> + +<BR> + Get the default value of the object with a given hint.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#getIds()">getIds</A></B>()</CODE> + +<BR> + Get an array of property ids.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#getParentScope()">getParentScope</A></B>()</CODE> + +<BR> + Get the parent scope of the object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#getPrototype()">getPrototype</A></B>()</CODE> + +<BR> + Get the prototype of the object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#has(int, org.mozilla.javascript.Scriptable)">has</A></B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + Indicates whether or not an indexed property is defined in an object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#has(java.lang.String, org.mozilla.javascript.Scriptable)">has</A></B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + Indicates whether or not a named property is defined in an object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#hasInstance(org.mozilla.javascript.Scriptable)">hasInstance</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> instance)</CODE> + +<BR> + The instanceof operator.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#put(int, org.mozilla.javascript.Scriptable, java.lang.Object)">put</A></B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + java.lang.Object value)</CODE> + +<BR> + Sets an indexed property in this object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)">put</A></B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + java.lang.Object value)</CODE> + +<BR> + Sets a named property in this object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#setParentScope(org.mozilla.javascript.Scriptable)">setParentScope</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> parent)</CODE> + +<BR> + Set the parent scope of the object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Scriptable.html#setPrototype(org.mozilla.javascript.Scriptable)">setPrototype</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> prototype)</CODE> + +<BR> + Set the prototype of the object.</TD> +</TR> +</TABLE> + +<P> + +<!-- ============ FIELD DETAIL =========== --> + +<A NAME="field_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Field Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="NOT_FOUND"><!-- --></A><H3> +NOT_FOUND</H3> +<PRE> +static final java.lang.Object <B>NOT_FOUND</B></PRE> +<DL> +<DD>Value returned from <code>get</code> if the property is not + found. +<P> +<DL> +</DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="getClassName()"><!-- --></A><H3> +getClassName</H3> +<PRE> +java.lang.String <B>getClassName</B>()</PRE> +<DL> +<DD>Get the name of the set of objects implemented by this Java class. + This corresponds to the [[Class]] operation in ECMA and is used + by Object.prototype.toString() in ECMA.<p> + See ECMA 8.6.2 and 15.2.4.2. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="get(java.lang.String, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +get</H3> +<PRE> +java.lang.Object <B>get</B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD>Get a named property from the object. + + Looks property up in this object and returns the associated value + if found. Returns NOT_FOUND if not found. + Note that this method is not expected to traverse the prototype + chain. This is different from the ECMA [[Get]] operation. + + Depending on the property selector, the runtime will call + this method or the form of <code>get</code> that takes an + integer: + <table> + <tr><th>JavaScript code</th><th>Java code</th></tr> + <tr><td>a.b </td><td>a.get("b", a)</td></tr> + <tr><td>a["foo"] </td><td>a.get("foo", a)</td></tr> + <tr><td>a[3] </td><td>a.get(3, a)</td></tr> + <tr><td>a["3"] </td><td>a.get(3, a)</td></tr> + <tr><td>a[3.0] </td><td>a.get(3, a)</td></tr> + <tr><td>a["3.0"] </td><td>a.get("3.0", a)</td></tr> + <tr><td>a[1.1] </td><td>a.get("1.1", a)</td></tr> + <tr><td>a[-4] </td><td>a.get(-4, a)</td></tr> + </table> + <p> + The values that may be returned are limited to the following: + <UL> + <LI>java.lang.Boolean objects</LI> + <LI>java.lang.String objects</LI> + <LI>java.lang.Number objects</LI> + <LI>org.mozilla.javascript.Scriptable objects</LI> + <LI>null</LI> + <LI>The value returned by Context.getUndefinedValue()</LI> + <LI>NOT_FOUND</LI> + </UL> +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property<DD><CODE>start</CODE> - the object in which the lookup began +<DT><B>Returns:</B><DD>the value of the property (may be null), or NOT_FOUND<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#getUndefinedValue()"><CODE>Context.getUndefinedValue()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="get(int, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +get</H3> +<PRE> +java.lang.Object <B>get</B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD>Get a property from the object selected by an integral index. + + Identical to <code>get(String, Scriptable)</code> except that + an integral index is used to select the property. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>index</CODE> - the numeric index for the property<DD><CODE>start</CODE> - the object in which the lookup began +<DT><B>Returns:</B><DD>the value of the property (may be null), or NOT_FOUND<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>get(String,Scriptable)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="has(java.lang.String, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +has</H3> +<PRE> +boolean <B>has</B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD>Indicates whether or not a named property is defined in an object. + + Does not traverse the prototype chain.<p> + + The property is specified by a String name + as defined for the <code>get</code> method.<p> +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property<DD><CODE>start</CODE> - the object in which the lookup began +<DT><B>Returns:</B><DD>true if and only if the named property is found in the object<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>get(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><CODE>ScriptableObject.getProperty(Scriptable, String)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="has(int, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +has</H3> +<PRE> +boolean <B>has</B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD>Indicates whether or not an indexed property is defined in an object. + + Does not traverse the prototype chain.<p> + + The property is specified by an integral index + as defined for the <code>get</code> method.<p> +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>index</CODE> - the numeric index for the property<DD><CODE>start</CODE> - the object in which the lookup began +<DT><B>Returns:</B><DD>true if and only if the indexed property is found in the object<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(int, org.mozilla.javascript.Scriptable)"><CODE>get(int, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, int)"><CODE>ScriptableObject.getProperty(Scriptable, int)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)"><!-- --></A><H3> +put</H3> +<PRE> +void <B>put</B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + java.lang.Object value)</PRE> +<DL> +<DD>Sets a named property in this object. + <p> + The property is specified by a string name + as defined for <code>get</code>. + <p> + The possible values that may be passed in are as defined for + <code>get</code>. A class that implements this method may choose + to ignore calls to set certain properties, in which case those + properties are effectively read-only.<p> + For properties defined in a prototype chain, + use <code>putProperty</code> in ScriptableObject. <p> + Note that if a property <i>a</i> is defined in the prototype <i>p</i> + of an object <i>o</i>, then evaluating <code>o.a = 23</code> will cause + <code>set</code> to be called on the prototype <i>p</i> with + <i>o</i> as the <i>start</i> parameter. + To preserve JavaScript semantics, it is the Scriptable + object's responsibility to modify <i>o</i>. <p> + This design allows properties to be defined in prototypes and implemented + in terms of getters and setters of Java values without consuming slots + in each instance.<p> + <p> + The values that may be set are limited to the following: + <UL> + <LI>java.lang.Boolean objects</LI> + <LI>java.lang.String objects</LI> + <LI>java.lang.Number objects</LI> + <LI>org.mozilla.javascript.Scriptable objects</LI> + <LI>null</LI> + <LI>The value returned by Context.getUndefinedValue()</LI> + </UL><p> + Arbitrary Java objects may be wrapped in a Scriptable by first calling + <code>Context.toObject</code>. This allows the property of a JavaScript + object to contain an arbitrary Java object as a value.<p> + Note that <code>has</code> will be called by the runtime first before + <code>set</code> is called to determine in which object the + property is defined. + Note that this method is not expected to traverse the prototype chain, + which is different from the ECMA [[Put]] operation. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property<DD><CODE>start</CODE> - the object whose property is being set<DD><CODE>value</CODE> - value to set the property to<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#has(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>has(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>get(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)"><CODE>ScriptableObject.putProperty(Scriptable, String, Object)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#toObject(java.lang.Object, org.mozilla.javascript.Scriptable)"><CODE>Context.toObject(Object, Scriptable)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="put(int, org.mozilla.javascript.Scriptable, java.lang.Object)"><!-- --></A><H3> +put</H3> +<PRE> +void <B>put</B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + java.lang.Object value)</PRE> +<DL> +<DD>Sets an indexed property in this object. + <p> + The property is specified by an integral index + as defined for <code>get</code>.<p> + + Identical to <code>put(String, Scriptable, Object)</code> except that + an integral index is used to select the property. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>index</CODE> - the numeric index for the property<DD><CODE>start</CODE> - the object whose property is being set<DD><CODE>value</CODE> - value to set the property to<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#has(int, org.mozilla.javascript.Scriptable)"><CODE>has(int, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Scriptable.html#get(int, org.mozilla.javascript.Scriptable)"><CODE>get(int, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, int, java.lang.Object)"><CODE>ScriptableObject.putProperty(Scriptable, int, Object)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#toObject(java.lang.Object, org.mozilla.javascript.Scriptable)"><CODE>Context.toObject(Object, Scriptable)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="delete(java.lang.String)"><!-- --></A><H3> +delete</H3> +<PRE> +void <B>delete</B>(java.lang.String name)</PRE> +<DL> +<DD>Removes a property from this object. + This operation corresponds to the ECMA [[Delete]] except that + the no result is returned. The runtime will guarantee that this + method is called only if the property exists. After this method + is called, the runtime will call Scriptable.has to see if the + property has been removed in order to determine the boolean + result of the delete operator as defined by ECMA 11.4.1. + <p> + A property can be made permanent by ignoring calls to remove + it.<p> + The property is specified by a String name + as defined for <code>get</code>. + <p> + To delete properties defined in a prototype chain, + see deleteProperty in ScriptableObject. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the identifier for the property<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>get(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#deleteProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><CODE>ScriptableObject.deleteProperty(Scriptable, String)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="delete(int)"><!-- --></A><H3> +delete</H3> +<PRE> +void <B>delete</B>(int index)</PRE> +<DL> +<DD>Removes a property from this object. + + The property is specified by an integral index + as defined for <code>get</code>. + <p> + To delete properties defined in a prototype chain, + see deleteProperty in ScriptableObject. + + Identical to <code>delete(String)</code> except that + an integral index is used to select the property. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>index</CODE> - the numeric index for the property<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(int, org.mozilla.javascript.Scriptable)"><CODE>get(int, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#deleteProperty(org.mozilla.javascript.Scriptable, int)"><CODE>ScriptableObject.deleteProperty(Scriptable, int)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getPrototype()"><!-- --></A><H3> +getPrototype</H3> +<PRE> +<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>getPrototype</B>()</PRE> +<DL> +<DD>Get the prototype of the object. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>the prototype</DL> +</DD> +</DL> +<HR> + +<A NAME="setPrototype(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +setPrototype</H3> +<PRE> +void <B>setPrototype</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> prototype)</PRE> +<DL> +<DD>Set the prototype of the object. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>prototype</CODE> - the prototype to set</DL> +</DD> +</DL> +<HR> + +<A NAME="getParentScope()"><!-- --></A><H3> +getParentScope</H3> +<PRE> +<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>getParentScope</B>()</PRE> +<DL> +<DD>Get the parent scope of the object. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>the parent scope</DL> +</DD> +</DL> +<HR> + +<A NAME="setParentScope(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +setParentScope</H3> +<PRE> +void <B>setParentScope</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> parent)</PRE> +<DL> +<DD>Set the parent scope of the object. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent scope to set</DL> +</DD> +</DL> +<HR> + +<A NAME="getIds()"><!-- --></A><H3> +getIds</H3> +<PRE> +java.lang.Object[] <B>getIds</B>()</PRE> +<DL> +<DD>Get an array of property ids. + + Not all property ids need be returned. Those properties + whose ids are not returned are considered non-enumerable. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>an array of Objects. Each entry in the array is either + a java.lang.String or a java.lang.Number</DL> +</DD> +</DL> +<HR> + +<A NAME="getDefaultValue(java.lang.Class)"><!-- --></A><H3> +getDefaultValue</H3> +<PRE> +java.lang.Object <B>getDefaultValue</B>(java.lang.Class hint)</PRE> +<DL> +<DD>Get the default value of the object with a given hint. + The hints are String.class for type String, Number.class for type + Number, Scriptable.class for type Object, and Boolean.class for + type Boolean. <p> + + A <code>hint</code> of null means "no hint". + + See ECMA 8.6.2.6. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>hint</CODE> - the type hint +<DT><B>Returns:</B><DD>the default value</DL> +</DD> +</DL> +<HR> + +<A NAME="hasInstance(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +hasInstance</H3> +<PRE> +boolean <B>hasInstance</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> instance)</PRE> +<DL> +<DD>The instanceof operator. + + <p> + The JavaScript code "lhs instanceof rhs" causes rhs.hasInstance(lhs) to + be called. + + <p> + The return value is implementation dependent so that embedded host objects can + return an appropriate value. See the JS 1.3 language documentation for more + detail. + + <p>This operator corresponds to the proposed EMCA [[HasInstance]] operator. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>instance</CODE> - The value that appeared on the LHS of the instanceof + operator +<DT><B>Returns:</B><DD>an implementation dependent value</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Scriptable.html" target="_top"><B>FRAMES</B></A> + <A HREF="Scriptable.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ScriptableObject.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ScriptableObject.html new file mode 100644 index 0000000..fce83d6 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/ScriptableObject.html @@ -0,0 +1,2604 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +ScriptableObject (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ScriptableObject (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ScriptableObject.html" target="_top"><B>FRAMES</B></A> + <A HREF="ScriptableObject.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class ScriptableObject</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.ScriptableObject</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></DD> +</DL> +<DL> +<DT><B>Direct Known Subclasses:</B> <DD>org.mozilla.javascript.IdScriptableObject</DD> +</DL> +<HR> +<DL> +<DT><PRE>public abstract class <B>ScriptableObject</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A>, java.io.Serializable, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.ConstProperties</DL> +</PRE> + +<P> +This is the default implementation of the Scriptable interface. This + class provides convenient default behavior that makes it easier to + define host objects. + <p> + Various properties and methods of JavaScript objects can be conveniently + defined using methods of ScriptableObject. + <p> + Classes extending ScriptableObject must define the getClassName method. +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Norris Boyd</DD> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><CODE>Scriptable</CODE></A>, +<A HREF="../../../serialized-form.html#org.mozilla.javascript.ScriptableObject">Serialized Form</A></DL> +<HR> + +<P> +<!-- =========== FIELD SUMMARY =========== --> + +<A NAME="field_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Field Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#CONST">CONST</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#DONTENUM">DONTENUM</A></B></CODE> + +<BR> + Property attribute indicating property is not enumerated.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#EMPTY">EMPTY</A></B></CODE> + +<BR> + The empty property attribute.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#PERMANENT">PERMANENT</A></B></CODE> + +<BR> + Property attribute indicating property cannot be deleted.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#READONLY">READONLY</A></B></CODE> + +<BR> + Property attribute indicating assignment to this property is ignored.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#UNINITIALIZED_CONST">UNINITIALIZED_CONST</A></B></CODE> + +<BR> + Property attribute indicating that this is a const property that has not + been assigned yet.</TD> +</TR> +</TABLE> + <A NAME="fields_inherited_from_class_org.mozilla.javascript.Scriptable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Fields inherited from interface org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#NOT_FOUND">NOT_FOUND</A></CODE></TD> +</TR> +</TABLE> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#ScriptableObject()">ScriptableObject</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#ScriptableObject(org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable)">ScriptableObject</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> prototype)</CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#associateValue(java.lang.Object, java.lang.Object)">associateValue</A></B>(java.lang.Object key, + java.lang.Object value)</CODE> + +<BR> + Associate arbitrary application-specific value with this object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#avoidObjectDetection()">avoidObjectDetection</A></B>()</CODE> + +<BR> + Emulate the SpiderMonkey (and Firefox) feature of allowing + custom objects to avoid detection by normal "object detection" + code patterns.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#callMethod(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])">callMethod</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String methodName, + java.lang.Object[] args)</CODE> + +<BR> + Call a method of an object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#callMethod(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])">callMethod</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String methodName, + java.lang.Object[] args)</CODE> + +<BR> + Call a method of an object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineClass(org.mozilla.javascript.Scriptable, java.lang.Class)">defineClass</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Class clazz)</CODE> + +<BR> + Defines JavaScript objects from a Java class that implements Scriptable.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineClass(org.mozilla.javascript.Scriptable, java.lang.Class, boolean)">defineClass</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Class clazz, + boolean sealed)</CODE> + +<BR> + Defines JavaScript objects from a Java class, optionally + allowing sealing.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineClass(org.mozilla.javascript.Scriptable, java.lang.Class, boolean, boolean)">defineClass</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Class clazz, + boolean sealed, + boolean mapInheritance)</CODE> + +<BR> + Defines JavaScript objects from a Java class, optionally + allowing sealing and mapping of Java inheritance to JavaScript + prototype-based inheritance.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineConst(java.lang.String, org.mozilla.javascript.Scriptable)">defineConst</A></B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + Reserves a definition spot for a const.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineConstProperty(org.mozilla.javascript.Scriptable, java.lang.String)">defineConstProperty</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> destination, + java.lang.String propertyName)</CODE> + +<BR> + Utility method to add properties to arbitrary Scriptable object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineFunctionProperties(java.lang.String[], java.lang.Class, int)">defineFunctionProperties</A></B>(java.lang.String[] names, + java.lang.Class clazz, + int attributes)</CODE> + +<BR> + Search for names in a class, adding the resulting methods + as properties.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object, int)">defineProperty</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> destination, + java.lang.String propertyName, + java.lang.Object value, + int attributes)</CODE> + +<BR> + Utility method to add properties to arbitrary Scriptable object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineProperty(java.lang.String, java.lang.Class, int)">defineProperty</A></B>(java.lang.String propertyName, + java.lang.Class clazz, + int attributes)</CODE> + +<BR> + Define a JavaScript property with getter and setter side effects.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineProperty(java.lang.String, java.lang.Object, int)">defineProperty</A></B>(java.lang.String propertyName, + java.lang.Object value, + int attributes)</CODE> + +<BR> + Define a JavaScript property.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#defineProperty(java.lang.String, java.lang.Object, java.lang.reflect.Method, java.lang.reflect.Method, int)">defineProperty</A></B>(java.lang.String propertyName, + java.lang.Object delegateTo, + java.lang.reflect.Method getter, + java.lang.reflect.Method setter, + int attributes)</CODE> + +<BR> + Define a JavaScript property.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#delete(int)">delete</A></B>(int index)</CODE> + +<BR> + Removes the indexed property from the object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#delete(java.lang.String)">delete</A></B>(java.lang.String name)</CODE> + +<BR> + Removes a named property from the object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#deleteProperty(org.mozilla.javascript.Scriptable, int)">deleteProperty</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + int index)</CODE> + +<BR> + Removes the property from an object or its prototype chain.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#deleteProperty(org.mozilla.javascript.Scriptable, java.lang.String)">deleteProperty</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String name)</CODE> + +<BR> + Removes the property from an object or its prototype chain.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#equivalentValues(java.lang.Object)">equivalentValues</A></B>(java.lang.Object value)</CODE> + +<BR> + Custom <tt>==</tt> operator.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#get(int, org.mozilla.javascript.Scriptable)">get</A></B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + Returns the value of the indexed property or NOT_FOUND.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#get(java.lang.String, org.mozilla.javascript.Scriptable)">get</A></B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + Returns the value of the named property or NOT_FOUND.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAllIds()">getAllIds</A></B>()</CODE> + +<BR> + Returns an array of ids for the properties of the object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAssociatedValue(java.lang.Object)">getAssociatedValue</A></B>(java.lang.Object key)</CODE> + +<BR> + Get arbitrary application-specific value associated with this object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(int)">getAttributes</A></B>(int index)</CODE> + +<BR> + Get the attributes of an indexed property.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(int, org.mozilla.javascript.Scriptable)">getAttributes</A></B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(int)"><CODE>getAttributes(int index)</CODE></A>. The engine always + ignored the start argument.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String)">getAttributes</A></B>(java.lang.String name)</CODE> + +<BR> + Get the attributes of a named property.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String, org.mozilla.javascript.Scriptable)">getAttributes</A></B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String)"><CODE>getAttributes(String name)</CODE></A>. The engine always + ignored the start argument.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>abstract java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getClassName()">getClassName</A></B>()</CODE> + +<BR> + Return the name of the class.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getClassPrototype(org.mozilla.javascript.Scriptable, java.lang.String)">getClassPrototype</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.String className)</CODE> + +<BR> + Get the prototype for the named class.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getDefaultValue(java.lang.Class)">getDefaultValue</A></B>(java.lang.Class typeHint)</CODE> + +<BR> + Implements the [[DefaultValue]] internal method.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getDefaultValue(org.mozilla.javascript.Scriptable, java.lang.Class)">getDefaultValue</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> object, + java.lang.Class typeHint)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getFunctionPrototype(org.mozilla.javascript.Scriptable)">getFunctionPrototype</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</CODE> + +<BR> + Get the Function.prototype property.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getGetterOrSetter(java.lang.String, int, boolean)">getGetterOrSetter</A></B>(java.lang.String name, + int index, + boolean isSetter)</CODE> + +<BR> + Get the getter or setter for a given property.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getIds()">getIds</A></B>()</CODE> + +<BR> + Returns an array of ids for the properties of the object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getObjectPrototype(org.mozilla.javascript.Scriptable)">getObjectPrototype</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</CODE> + +<BR> + Get the Object.prototype property.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getParentScope()">getParentScope</A></B>()</CODE> + +<BR> + Returns the parent (enclosing) scope of the object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, int)">getProperty</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + int index)</CODE> + +<BR> + Gets an indexed property from an object or any object in its prototype chain.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, java.lang.String)">getProperty</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String name)</CODE> + +<BR> + Gets a named property from an object or any object in its prototype chain.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getPropertyIds(org.mozilla.javascript.Scriptable)">getPropertyIds</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj)</CODE> + +<BR> + Returns an array of all ids from an object and its prototypes.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getPrototype()">getPrototype</A></B>()</CODE> + +<BR> + Returns the prototype of the object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getTopLevelScope(org.mozilla.javascript.Scriptable)">getTopLevelScope</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj)</CODE> + +<BR> + Get the global scope.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getTopScopeValue(org.mozilla.javascript.Scriptable, java.lang.Object)">getTopScopeValue</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object key)</CODE> + +<BR> + Get arbitrary application-specific value associated with the top scope + of the given scope.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#has(int, org.mozilla.javascript.Scriptable)">has</A></B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + Returns true if the property index is defined.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#has(java.lang.String, org.mozilla.javascript.Scriptable)">has</A></B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</CODE> + +<BR> + Returns true if the named property is defined.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#hasInstance(org.mozilla.javascript.Scriptable)">hasInstance</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> instance)</CODE> + +<BR> + Implements the instanceof operator.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#hasProperty(org.mozilla.javascript.Scriptable, int)">hasProperty</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + int index)</CODE> + +<BR> + Returns whether an indexed property is defined in an object or any object + in its prototype chain.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#hasProperty(org.mozilla.javascript.Scriptable, java.lang.String)">hasProperty</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String name)</CODE> + +<BR> + Returns whether a named property is defined in an object or any object + in its prototype chain.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#isConst(java.lang.String)">isConst</A></B>(java.lang.String name)</CODE> + +<BR> + Returns true if the named property is defined as a const on this object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#isGetterOrSetter(java.lang.String, int, boolean)">isGetterOrSetter</A></B>(java.lang.String name, + int index, + boolean setter)</CODE> + +<BR> + Returns whether a property is a getter or a setter</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#isSealed()">isSealed</A></B>()</CODE> + +<BR> + Return true if this object is sealed.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#put(int, org.mozilla.javascript.Scriptable, java.lang.Object)">put</A></B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + java.lang.Object value)</CODE> + +<BR> + Sets the value of the indexed property, creating it if need be.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)">put</A></B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + java.lang.Object value)</CODE> + +<BR> + Sets the value of the named property, creating it if need be.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putConst(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)">putConst</A></B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + java.lang.Object value)</CODE> + +<BR> + Sets the value of the named const property, creating it if need be.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putConstProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)">putConstProperty</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String name, + java.lang.Object value)</CODE> + +<BR> + Puts a named property in an object or in an object in its prototype chain.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, int, java.lang.Object)">putProperty</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + int index, + java.lang.Object value)</CODE> + +<BR> + Puts an indexed property in an object or in an object in its prototype chain.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)">putProperty</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String name, + java.lang.Object value)</CODE> + +<BR> + Puts a named property in an object or in an object in its prototype chain.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#redefineProperty(org.mozilla.javascript.Scriptable, java.lang.String, boolean)">redefineProperty</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String name, + boolean isConst)</CODE> + +<BR> + If hasProperty(obj, name) would return true, then if the property that + was found is compatible with the new property, this method just returns.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#sealObject()">sealObject</A></B>()</CODE> + +<BR> + Seal this object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(int, int)">setAttributes</A></B>(int index, + int attributes)</CODE> + +<BR> + Set the attributes of an indexed property.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(int, org.mozilla.javascript.Scriptable, int)">setAttributes</A></B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + int attributes)</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(int, int)"><CODE>setAttributes(int index, int attributes)</CODE></A>. + The engine always ignored the start argument.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, int)">setAttributes</A></B>(java.lang.String name, + int attributes)</CODE> + +<BR> + Set the attributes of a named property.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, org.mozilla.javascript.Scriptable, int)">setAttributes</A></B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + int attributes)</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, int)"><CODE>setAttributes(String name, int attributes)</CODE></A>. + The engine always ignored the start argument.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setGetterOrSetter(java.lang.String, int, org.mozilla.javascript.Callable, boolean)">setGetterOrSetter</A></B>(java.lang.String name, + int index, + <A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A> getterOrSeter, + boolean isSetter)</CODE> + +<BR> + XXX: write docs.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setParentScope(org.mozilla.javascript.Scriptable)">setParentScope</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> m)</CODE> + +<BR> + Sets the parent (enclosing) scope of the object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setPrototype(org.mozilla.javascript.Scriptable)">setPrototype</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> m)</CODE> + +<BR> + Sets the prototype of the object.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ============ FIELD DETAIL =========== --> + +<A NAME="field_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Field Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="EMPTY"><!-- --></A><H3> +EMPTY</H3> +<PRE> +public static final int <B>EMPTY</B></PRE> +<DL> +<DD>The empty property attribute. + + Used by getAttributes() and setAttributes(). +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String)"><CODE>getAttributes(String)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, int)"><CODE>setAttributes(String, int)</CODE></A>, +<A HREF="../../../constant-values.html#org.mozilla.javascript.ScriptableObject.EMPTY">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="READONLY"><!-- --></A><H3> +READONLY</H3> +<PRE> +public static final int <B>READONLY</B></PRE> +<DL> +<DD>Property attribute indicating assignment to this property is ignored. +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript"><CODE>#put(String, Scriptable, Object)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String)"><CODE>getAttributes(String)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, int)"><CODE>setAttributes(String, int)</CODE></A>, +<A HREF="../../../constant-values.html#org.mozilla.javascript.ScriptableObject.READONLY">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="DONTENUM"><!-- --></A><H3> +DONTENUM</H3> +<PRE> +public static final int <B>DONTENUM</B></PRE> +<DL> +<DD>Property attribute indicating property is not enumerated. + + Only enumerated properties will be returned by getIds(). +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getIds()"><CODE>getIds()</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String)"><CODE>getAttributes(String)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, int)"><CODE>setAttributes(String, int)</CODE></A>, +<A HREF="../../../constant-values.html#org.mozilla.javascript.ScriptableObject.DONTENUM">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="PERMANENT"><!-- --></A><H3> +PERMANENT</H3> +<PRE> +public static final int <B>PERMANENT</B></PRE> +<DL> +<DD>Property attribute indicating property cannot be deleted. +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#delete(java.lang.String)"><CODE>delete(String)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String)"><CODE>getAttributes(String)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, int)"><CODE>setAttributes(String, int)</CODE></A>, +<A HREF="../../../constant-values.html#org.mozilla.javascript.ScriptableObject.PERMANENT">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="UNINITIALIZED_CONST"><!-- --></A><H3> +UNINITIALIZED_CONST</H3> +<PRE> +public static final int <B>UNINITIALIZED_CONST</B></PRE> +<DL> +<DD>Property attribute indicating that this is a const property that has not + been assigned yet. The first 'const' assignment to the property will + clear this bit. +<P> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.ScriptableObject.UNINITIALIZED_CONST">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="CONST"><!-- --></A><H3> +CONST</H3> +<PRE> +public static final int <B>CONST</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.mozilla.javascript.ScriptableObject.CONST">Constant Field Values</A></DL> +</DL> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="ScriptableObject()"><!-- --></A><H3> +ScriptableObject</H3> +<PRE> +public <B>ScriptableObject</B>()</PRE> +<DL> +</DL> +<HR> + +<A NAME="ScriptableObject(org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +ScriptableObject</H3> +<PRE> +public <B>ScriptableObject</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> prototype)</PRE> +<DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="getClassName()"><!-- --></A><H3> +getClassName</H3> +<PRE> +public abstract java.lang.String <B>getClassName</B>()</PRE> +<DL> +<DD>Return the name of the class. + + This is typically the same name as the constructor. + Classes extending ScriptableObject must implement this abstract + method. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#getClassName()">getClassName</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="has(java.lang.String, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +has</H3> +<PRE> +public boolean <B>has</B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD>Returns true if the named property is defined. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#has(java.lang.String, org.mozilla.javascript.Scriptable)">has</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property<DD><CODE>start</CODE> - the object in which the lookup began +<DT><B>Returns:</B><DD>true if and only if the property was found in the object<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.get(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><CODE>getProperty(Scriptable, String)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="has(int, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +has</H3> +<PRE> +public boolean <B>has</B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD>Returns true if the property index is defined. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#has(int, org.mozilla.javascript.Scriptable)">has</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>index</CODE> - the numeric index for the property<DD><CODE>start</CODE> - the object in which the lookup began +<DT><B>Returns:</B><DD>true if and only if the property was found in the object<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(int, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.get(int, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getProperty(org.mozilla.javascript.Scriptable, int)"><CODE>getProperty(Scriptable, int)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="get(java.lang.String, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +get</H3> +<PRE> +public java.lang.Object <B>get</B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD>Returns the value of the named property or NOT_FOUND. + + If the property was created using defineProperty, the + appropriate getter method is called. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)">get</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property<DD><CODE>start</CODE> - the object in which the lookup began +<DT><B>Returns:</B><DD>the value of the property (may be null), or NOT_FOUND<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#getUndefinedValue()"><CODE>Context.getUndefinedValue()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="get(int, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +get</H3> +<PRE> +public java.lang.Object <B>get</B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD>Returns the value of the indexed property or NOT_FOUND. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(int, org.mozilla.javascript.Scriptable)">get</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>index</CODE> - the numeric index for the property<DD><CODE>start</CODE> - the object in which the lookup began +<DT><B>Returns:</B><DD>the value of the property (may be null), or NOT_FOUND<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.get(String,Scriptable)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)"><!-- --></A><H3> +put</H3> +<PRE> +public void <B>put</B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + java.lang.Object value)</PRE> +<DL> +<DD>Sets the value of the named property, creating it if need be. + + If the property was created using defineProperty, the + appropriate setter method is called. <p> + + If the property's attributes include READONLY, no action is + taken. + This method will actually set the property in the start + object. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)">put</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property<DD><CODE>start</CODE> - the object whose property is being set<DD><CODE>value</CODE> - value to set the property to<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#has(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.has(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.get(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)"><CODE>putProperty(Scriptable, String, Object)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#toObject(java.lang.Object, org.mozilla.javascript.Scriptable)"><CODE>Context.toObject(Object, Scriptable)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="put(int, org.mozilla.javascript.Scriptable, java.lang.Object)"><!-- --></A><H3> +put</H3> +<PRE> +public void <B>put</B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + java.lang.Object value)</PRE> +<DL> +<DD>Sets the value of the indexed property, creating it if need be. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#put(int, org.mozilla.javascript.Scriptable, java.lang.Object)">put</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>index</CODE> - the numeric index for the property<DD><CODE>start</CODE> - the object whose property is being set<DD><CODE>value</CODE> - value to set the property to<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#has(int, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.has(int, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Scriptable.html#get(int, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.get(int, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, int, java.lang.Object)"><CODE>putProperty(Scriptable, int, Object)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#toObject(java.lang.Object, org.mozilla.javascript.Scriptable)"><CODE>Context.toObject(Object, Scriptable)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="delete(java.lang.String)"><!-- --></A><H3> +delete</H3> +<PRE> +public void <B>delete</B>(java.lang.String name)</PRE> +<DL> +<DD>Removes a named property from the object. + + If the property is not found, or it has the PERMANENT attribute, + no action is taken. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#delete(java.lang.String)">delete</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.get(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#deleteProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><CODE>deleteProperty(Scriptable, String)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="delete(int)"><!-- --></A><H3> +delete</H3> +<PRE> +public void <B>delete</B>(int index)</PRE> +<DL> +<DD>Removes the indexed property from the object. + + If the property is not found, or it has the PERMANENT attribute, + no action is taken. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#delete(int)">delete</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>index</CODE> - the numeric index for the property<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#get(int, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.get(int, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#deleteProperty(org.mozilla.javascript.Scriptable, int)"><CODE>deleteProperty(Scriptable, int)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="putConst(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)"><!-- --></A><H3> +putConst</H3> +<PRE> +public void <B>putConst</B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + java.lang.Object value)</PRE> +<DL> +<DD>Sets the value of the named const property, creating it if need be. + + If the property was created using defineProperty, the + appropriate setter method is called. <p> + + If the property's attributes include READONLY, no action is + taken. + This method will actually set the property in the start + object. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>putConst</CODE> in interface <CODE>org.mozilla.javascript.ConstProperties</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property<DD><CODE>start</CODE> - the object whose property is being set<DD><CODE>value</CODE> - value to set the property to<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#has(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.has(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Scriptable.html#get(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.get(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#putProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)"><CODE>putProperty(Scriptable, String, Object)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/Context.html#toObject(java.lang.Object, org.mozilla.javascript.Scriptable)"><CODE>Context.toObject(Object, Scriptable)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="defineConst(java.lang.String, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +defineConst</H3> +<PRE> +public void <B>defineConst</B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE>org.mozilla.javascript.ConstProperties</CODE></B></DD> +<DD>Reserves a definition spot for a const. This will set up a definition + of the const property, but set its value to undefined. The semantics of + the start parameter is the same as for putConst. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>defineConst</CODE> in interface <CODE>org.mozilla.javascript.ConstProperties</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the property.<DD><CODE>start</CODE> - The object whose property is being reserved.</DL> +</DD> +</DL> +<HR> + +<A NAME="isConst(java.lang.String)"><!-- --></A><H3> +isConst</H3> +<PRE> +public boolean <B>isConst</B>(java.lang.String name)</PRE> +<DL> +<DD>Returns true if the named property is defined as a const on this object. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>isConst</CODE> in interface <CODE>org.mozilla.javascript.ConstProperties</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - +<DT><B>Returns:</B><DD>true if the named property is defined as a const, false + otherwise.</DL> +</DD> +</DL> +<HR> + +<A NAME="getAttributes(java.lang.String, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +getAttributes</H3> +<PRE> +public final int <B>getAttributes</B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(java.lang.String)"><CODE>getAttributes(String name)</CODE></A>. The engine always + ignored the start argument.</I> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getAttributes(int, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +getAttributes</H3> +<PRE> +public final int <B>getAttributes</B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start)</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAttributes(int)"><CODE>getAttributes(int index)</CODE></A>. The engine always + ignored the start argument.</I> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setAttributes(java.lang.String, org.mozilla.javascript.Scriptable, int)"><!-- --></A><H3> +setAttributes</H3> +<PRE> +public final void <B>setAttributes</B>(java.lang.String name, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + int attributes)</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(java.lang.String, int)"><CODE>setAttributes(String name, int attributes)</CODE></A>. + The engine always ignored the start argument.</I> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setAttributes(int, org.mozilla.javascript.Scriptable, int)"><!-- --></A><H3> +setAttributes</H3> +<PRE> +public void <B>setAttributes</B>(int index, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> start, + int attributes)</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#setAttributes(int, int)"><CODE>setAttributes(int index, int attributes)</CODE></A>. + The engine always ignored the start argument.</I> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getAttributes(java.lang.String)"><!-- --></A><H3> +getAttributes</H3> +<PRE> +public int <B>getAttributes</B>(java.lang.String name)</PRE> +<DL> +<DD>Get the attributes of a named property. + + The property is specified by <code>name</code> + as defined for <code>has</code>.<p> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the identifier for the property +<DT><B>Returns:</B><DD>the bitset of attributes +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></CODE> - if the named property is not found<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#has(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>has(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#READONLY"><CODE>READONLY</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#DONTENUM"><CODE>DONTENUM</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#PERMANENT"><CODE>PERMANENT</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#EMPTY"><CODE>EMPTY</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getAttributes(int)"><!-- --></A><H3> +getAttributes</H3> +<PRE> +public int <B>getAttributes</B>(int index)</PRE> +<DL> +<DD>Get the attributes of an indexed property. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>index</CODE> - the numeric index for the property +<DT><B>Returns:</B><DD>the bitset of attributes +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></CODE> - if the named property is not found + is not found<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#has(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>has(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#READONLY"><CODE>READONLY</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#DONTENUM"><CODE>DONTENUM</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#PERMANENT"><CODE>PERMANENT</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#EMPTY"><CODE>EMPTY</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="setAttributes(java.lang.String, int)"><!-- --></A><H3> +setAttributes</H3> +<PRE> +public void <B>setAttributes</B>(java.lang.String name, + int attributes)</PRE> +<DL> +<DD>Set the attributes of a named property. + + The property is specified by <code>name</code> + as defined for <code>has</code>.<p> + + The possible attributes are READONLY, DONTENUM, + and PERMANENT. Combinations of attributes + are expressed by the bitwise OR of attributes. + EMPTY is the state of no attributes set. Any unused + bits are reserved for future use. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property<DD><CODE>attributes</CODE> - the bitset of attributes +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></CODE> - if the named property is not found<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#has(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.has(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#READONLY"><CODE>READONLY</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#DONTENUM"><CODE>DONTENUM</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#PERMANENT"><CODE>PERMANENT</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#EMPTY"><CODE>EMPTY</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="setAttributes(int, int)"><!-- --></A><H3> +setAttributes</H3> +<PRE> +public void <B>setAttributes</B>(int index, + int attributes)</PRE> +<DL> +<DD>Set the attributes of an indexed property. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>index</CODE> - the numeric index for the property<DD><CODE>attributes</CODE> - the bitset of attributes +<DT><B>Throws:</B> +<DD><CODE><A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></CODE> - if the named property is not found<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#has(java.lang.String, org.mozilla.javascript.Scriptable)"><CODE>Scriptable.has(String, Scriptable)</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#READONLY"><CODE>READONLY</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#DONTENUM"><CODE>DONTENUM</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#PERMANENT"><CODE>PERMANENT</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#EMPTY"><CODE>EMPTY</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="setGetterOrSetter(java.lang.String, int, org.mozilla.javascript.Callable, boolean)"><!-- --></A><H3> +setGetterOrSetter</H3> +<PRE> +public void <B>setGetterOrSetter</B>(java.lang.String name, + int index, + <A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A> getterOrSeter, + boolean isSetter)</PRE> +<DL> +<DD>XXX: write docs. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getGetterOrSetter(java.lang.String, int, boolean)"><!-- --></A><H3> +getGetterOrSetter</H3> +<PRE> +public java.lang.Object <B>getGetterOrSetter</B>(java.lang.String name, + int index, + boolean isSetter)</PRE> +<DL> +<DD>Get the getter or setter for a given property. Used by __lookupGetter__ + and __lookupSetter__. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the object. If nonnull, index must be 0.<DD><CODE>index</CODE> - Index of the object. If nonzero, name must be null.<DD><CODE>isSetter</CODE> - If true, return the setter, otherwise return the getter. +<DT><B>Returns:</B><DD>Null if the property does not exist. Otherwise returns either + the getter or the setter for the property, depending on + the value of isSetter (may be undefined if unset). +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalArgumentException</CODE> - if both name and index are nonnull + and nonzero respectively.</DL> +</DD> +</DL> +<HR> + +<A NAME="isGetterOrSetter(java.lang.String, int, boolean)"><!-- --></A><H3> +isGetterOrSetter</H3> +<PRE> +protected boolean <B>isGetterOrSetter</B>(java.lang.String name, + int index, + boolean setter)</PRE> +<DL> +<DD>Returns whether a property is a getter or a setter +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - property name<DD><CODE>index</CODE> - property index<DD><CODE>setter</CODE> - true to check for a setter, false for a getter +<DT><B>Returns:</B><DD>whether the property is a getter or a setter</DL> +</DD> +</DL> +<HR> + +<A NAME="getPrototype()"><!-- --></A><H3> +getPrototype</H3> +<PRE> +public <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>getPrototype</B>()</PRE> +<DL> +<DD>Returns the prototype of the object. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#getPrototype()">getPrototype</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the prototype</DL> +</DD> +</DL> +<HR> + +<A NAME="setPrototype(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +setPrototype</H3> +<PRE> +public void <B>setPrototype</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> m)</PRE> +<DL> +<DD>Sets the prototype of the object. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#setPrototype(org.mozilla.javascript.Scriptable)">setPrototype</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>m</CODE> - the prototype to set</DL> +</DD> +</DL> +<HR> + +<A NAME="getParentScope()"><!-- --></A><H3> +getParentScope</H3> +<PRE> +public <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>getParentScope</B>()</PRE> +<DL> +<DD>Returns the parent (enclosing) scope of the object. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#getParentScope()">getParentScope</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>the parent scope</DL> +</DD> +</DL> +<HR> + +<A NAME="setParentScope(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +setParentScope</H3> +<PRE> +public void <B>setParentScope</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> m)</PRE> +<DL> +<DD>Sets the parent (enclosing) scope of the object. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#setParentScope(org.mozilla.javascript.Scriptable)">setParentScope</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>m</CODE> - the parent scope to set</DL> +</DD> +</DL> +<HR> + +<A NAME="getIds()"><!-- --></A><H3> +getIds</H3> +<PRE> +public java.lang.Object[] <B>getIds</B>()</PRE> +<DL> +<DD>Returns an array of ids for the properties of the object. + + <p>Any properties with the attribute DONTENUM are not listed. <p> +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#getIds()">getIds</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>an array of java.lang.Objects with an entry for every + listed property. Properties accessed via an integer index will + have a corresponding + Integer entry in the returned array. Properties accessed by + a String will have a String entry in the returned array.</DL> +</DD> +</DL> +<HR> + +<A NAME="getAllIds()"><!-- --></A><H3> +getAllIds</H3> +<PRE> +public java.lang.Object[] <B>getAllIds</B>()</PRE> +<DL> +<DD>Returns an array of ids for the properties of the object. + + <p>All properties, even those with attribute DONTENUM, are listed. <p> +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE>getAllIds</CODE> in interface <CODE>org.mozilla.javascript.debug.DebuggableObject</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>an array of java.lang.Objects with an entry for every + listed property. Properties accessed via an integer index will + have a corresponding + Integer entry in the returned array. Properties accessed by + a String will have a String entry in the returned array.</DL> +</DD> +</DL> +<HR> + +<A NAME="getDefaultValue(java.lang.Class)"><!-- --></A><H3> +getDefaultValue</H3> +<PRE> +public java.lang.Object <B>getDefaultValue</B>(java.lang.Class typeHint)</PRE> +<DL> +<DD>Implements the [[DefaultValue]] internal method. + + <p>Note that the toPrimitive conversion is a no-op for + every type other than Object, for which [[DefaultValue]] + is called. See ECMA 9.1.<p> + + A <code>hint</code> of null means "no hint". +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#getDefaultValue(java.lang.Class)">getDefaultValue</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>typeHint</CODE> - the type hint +<DT><B>Returns:</B><DD>the default value for the object + + See ECMA 8.6.2.6.</DL> +</DD> +</DL> +<HR> + +<A NAME="getDefaultValue(org.mozilla.javascript.Scriptable, java.lang.Class)"><!-- --></A><H3> +getDefaultValue</H3> +<PRE> +public static java.lang.Object <B>getDefaultValue</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> object, + java.lang.Class typeHint)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="hasInstance(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +hasInstance</H3> +<PRE> +public boolean <B>hasInstance</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> instance)</PRE> +<DL> +<DD>Implements the instanceof operator. + + <p>This operator has been proposed to ECMA. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#hasInstance(org.mozilla.javascript.Scriptable)">hasInstance</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>instance</CODE> - The value that appeared on the LHS of the instanceof + operator +<DT><B>Returns:</B><DD>true if "this" appears in value's prototype chain</DL> +</DD> +</DL> +<HR> + +<A NAME="avoidObjectDetection()"><!-- --></A><H3> +avoidObjectDetection</H3> +<PRE> +public boolean <B>avoidObjectDetection</B>()</PRE> +<DL> +<DD>Emulate the SpiderMonkey (and Firefox) feature of allowing + custom objects to avoid detection by normal "object detection" + code patterns. This is used to implement document.all. + See https://bugzilla.mozilla.org/show_bug.cgi?id=412247. + This is an analog to JOF_DETECTING from SpiderMonkey; see + https://bugzilla.mozilla.org/show_bug.cgi?id=248549. + Other than this special case, embeddings should return false. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>true if this object should avoid object detection<DT><B>Since:</B></DT> + <DD>1.7R1</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="equivalentValues(java.lang.Object)"><!-- --></A><H3> +equivalentValues</H3> +<PRE> +protected java.lang.Object <B>equivalentValues</B>(java.lang.Object value)</PRE> +<DL> +<DD>Custom <tt>==</tt> operator. + Must return <A HREF="../../../org/mozilla/javascript/Scriptable.html#NOT_FOUND"><CODE>Scriptable.NOT_FOUND</CODE></A> if this object does not + have custom equality operator for the given value, + <tt>Boolean.TRUE</tt> if this object is equivalent to <tt>value</tt>, + <tt>Boolean.FALSE</tt> if this object is not equivalent to + <tt>value</tt>. + <p> + The default implementation returns Boolean.TRUE + if <tt>this == value</tt> or <A HREF="../../../org/mozilla/javascript/Scriptable.html#NOT_FOUND"><CODE>Scriptable.NOT_FOUND</CODE></A> otherwise. + It indicates that by default custom equality is available only if + <tt>value</tt> is <tt>this</tt> in which case true is returned. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="defineClass(org.mozilla.javascript.Scriptable, java.lang.Class)"><!-- --></A><H3> +defineClass</H3> +<PRE> +public static void <B>defineClass</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Class clazz) + throws java.lang.IllegalAccessException, + java.lang.InstantiationException, + java.lang.reflect.InvocationTargetException</PRE> +<DL> +<DD>Defines JavaScript objects from a Java class that implements Scriptable. + + If the given class has a method + <pre> + static void init(Context cx, Scriptable scope, boolean sealed);</pre> + + or its compatibility form + <pre> + static void init(Scriptable scope);</pre> + + then it is invoked and no further initialization is done.<p> + + However, if no such a method is found, then the class's constructors and + methods are used to initialize a class in the following manner.<p> + + First, the zero-parameter constructor of the class is called to + create the prototype. If no such constructor exists, + a <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><CODE>EvaluatorException</CODE></A> is thrown. <p> + + Next, all methods are scanned for special prefixes that indicate that they + have special meaning for defining JavaScript objects. + These special prefixes are + <ul> + <li><code>jsFunction_</code> for a JavaScript function + <li><code>jsStaticFunction_</code> for a JavaScript function that + is a property of the constructor + <li><code>jsGet_</code> for a getter of a JavaScript property + <li><code>jsSet_</code> for a setter of a JavaScript property + <li><code>jsConstructor</code> for a JavaScript function that + is the constructor + </ul><p> + + If the method's name begins with "jsFunction_", a JavaScript function + is created with a name formed from the rest of the Java method name + following "jsFunction_". So a Java method named "jsFunction_foo" will + define a JavaScript method "foo". Calling this JavaScript function + will cause the Java method to be called. The parameters of the method + must be of number and types as defined by the FunctionObject class. + The JavaScript function is then added as a property + of the prototype. <p> + + If the method's name begins with "jsStaticFunction_", it is handled + similarly except that the resulting JavaScript function is added as a + property of the constructor object. The Java method must be static. + + If the method's name begins with "jsGet_" or "jsSet_", the method is + considered to define a property. Accesses to the defined property + will result in calls to these getter and setter methods. If no + setter is defined, the property is defined as READONLY.<p> + + If the method's name is "jsConstructor", the method is + considered to define the body of the constructor. Only one + method of this name may be defined. + If no method is found that can serve as constructor, a Java + constructor will be selected to serve as the JavaScript + constructor in the following manner. If the class has only one + Java constructor, that constructor is used to define + the JavaScript constructor. If the the class has two constructors, + one must be the zero-argument constructor (otherwise an + <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><CODE>EvaluatorException</CODE></A> would have already been thrown + when the prototype was to be created). In this case + the Java constructor with one or more parameters will be used + to define the JavaScript constructor. If the class has three + or more constructors, an <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><CODE>EvaluatorException</CODE></A> + will be thrown.<p> + + Finally, if there is a method + <pre> + static void finishInit(Scriptable scope, FunctionObject constructor, + Scriptable prototype)</pre> + + it will be called to finish any initialization. The <code>scope</code> + argument will be passed, along with the newly created constructor and + the newly created prototype.<p> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - The scope in which to define the constructor.<DD><CODE>clazz</CODE> - The Java class to use to define the JavaScript objects + and properties. +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalAccessException</CODE> - if access is not available + to a reflected class member +<DD><CODE>java.lang.InstantiationException</CODE> - if unable to instantiate + the named class +<DD><CODE>java.lang.reflect.InvocationTargetException</CODE> - if an exception is thrown + during execution of methods of the named class<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript"><CODE>Function</CODE></A>, +<A HREF="../../../org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript"><CODE>FunctionObject</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html#READONLY"><CODE>READONLY</CODE></A>, +<A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript"><CODE>#defineProperty(String, Class, int)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="defineClass(org.mozilla.javascript.Scriptable, java.lang.Class, boolean)"><!-- --></A><H3> +defineClass</H3> +<PRE> +public static void <B>defineClass</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Class clazz, + boolean sealed) + throws java.lang.IllegalAccessException, + java.lang.InstantiationException, + java.lang.reflect.InvocationTargetException</PRE> +<DL> +<DD>Defines JavaScript objects from a Java class, optionally + allowing sealing. + + Similar to <code>defineClass(Scriptable scope, Class clazz)</code> + except that sealing is allowed. An object that is sealed cannot have + properties added or removed. Note that sealing is not allowed in + the current ECMA/ISO language specification, but is likely for + the next version. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - The scope in which to define the constructor.<DD><CODE>clazz</CODE> - The Java class to use to define the JavaScript objects + and properties. The class must implement Scriptable.<DD><CODE>sealed</CODE> - Whether or not to create sealed standard objects that + cannot be modified. +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalAccessException</CODE> - if access is not available + to a reflected class member +<DD><CODE>java.lang.InstantiationException</CODE> - if unable to instantiate + the named class +<DD><CODE>java.lang.reflect.InvocationTargetException</CODE> - if an exception is thrown + during execution of methods of the named class<DT><B>Since:</B></DT> + <DD>1.4R3</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="defineClass(org.mozilla.javascript.Scriptable, java.lang.Class, boolean, boolean)"><!-- --></A><H3> +defineClass</H3> +<PRE> +public static java.lang.String <B>defineClass</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Class clazz, + boolean sealed, + boolean mapInheritance) + throws java.lang.IllegalAccessException, + java.lang.InstantiationException, + java.lang.reflect.InvocationTargetException</PRE> +<DL> +<DD>Defines JavaScript objects from a Java class, optionally + allowing sealing and mapping of Java inheritance to JavaScript + prototype-based inheritance. + + Similar to <code>defineClass(Scriptable scope, Class clazz)</code> + except that sealing and inheritance mapping are allowed. An object + that is sealed cannot have properties added or removed. Note that + sealing is not allowed in the current ECMA/ISO language specification, + but is likely for the next version. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - The scope in which to define the constructor.<DD><CODE>clazz</CODE> - The Java class to use to define the JavaScript objects + and properties. The class must implement Scriptable.<DD><CODE>sealed</CODE> - Whether or not to create sealed standard objects that + cannot be modified.<DD><CODE>mapInheritance</CODE> - Whether or not to map Java inheritance to + JavaScript prototype-based inheritance. +<DT><B>Returns:</B><DD>the class name for the prototype of the specified class +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalAccessException</CODE> - if access is not available + to a reflected class member +<DD><CODE>java.lang.InstantiationException</CODE> - if unable to instantiate + the named class +<DD><CODE>java.lang.reflect.InvocationTargetException</CODE> - if an exception is thrown + during execution of methods of the named class<DT><B>Since:</B></DT> + <DD>1.6R2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="defineProperty(java.lang.String, java.lang.Object, int)"><!-- --></A><H3> +defineProperty</H3> +<PRE> +public void <B>defineProperty</B>(java.lang.String propertyName, + java.lang.Object value, + int attributes)</PRE> +<DL> +<DD>Define a JavaScript property. + + Creates the property with an initial value and sets its attributes. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - the name of the property to define.<DD><CODE>value</CODE> - the initial value of the property<DD><CODE>attributes</CODE> - the attributes of the JavaScript property<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)"><CODE>Scriptable.put(String, Scriptable, Object)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="defineProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object, int)"><!-- --></A><H3> +defineProperty</H3> +<PRE> +public static void <B>defineProperty</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> destination, + java.lang.String propertyName, + java.lang.Object value, + int attributes)</PRE> +<DL> +<DD>Utility method to add properties to arbitrary Scriptable object. + If destination is instance of ScriptableObject, calls + defineProperty there, otherwise calls put in destination + ignoring attributes +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="defineConstProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><!-- --></A><H3> +defineConstProperty</H3> +<PRE> +public static void <B>defineConstProperty</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> destination, + java.lang.String propertyName)</PRE> +<DL> +<DD>Utility method to add properties to arbitrary Scriptable object. + If destination is instance of ScriptableObject, calls + defineProperty there, otherwise calls put in destination + ignoring attributes +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="defineProperty(java.lang.String, java.lang.Class, int)"><!-- --></A><H3> +defineProperty</H3> +<PRE> +public void <B>defineProperty</B>(java.lang.String propertyName, + java.lang.Class clazz, + int attributes)</PRE> +<DL> +<DD>Define a JavaScript property with getter and setter side effects. + + If the setter is not found, the attribute READONLY is added to + the given attributes. <p> + + The getter must be a method with zero parameters, and the setter, if + found, must be a method with one parameter.<p> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - the name of the property to define. This name + also affects the name of the setter and getter + to search for. If the propertyId is "foo", then + <code>clazz</code> will be searched for "getFoo" + and "setFoo" methods.<DD><CODE>clazz</CODE> - the Java class to search for the getter and setter<DD><CODE>attributes</CODE> - the attributes of the JavaScript property<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Scriptable.html#put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)"><CODE>Scriptable.put(String, Scriptable, Object)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="defineProperty(java.lang.String, java.lang.Object, java.lang.reflect.Method, java.lang.reflect.Method, int)"><!-- --></A><H3> +defineProperty</H3> +<PRE> +public void <B>defineProperty</B>(java.lang.String propertyName, + java.lang.Object delegateTo, + java.lang.reflect.Method getter, + java.lang.reflect.Method setter, + int attributes)</PRE> +<DL> +<DD>Define a JavaScript property. + + Use this method only if you wish to define getters and setters for + a given property in a ScriptableObject. To create a property without + special getter or setter side effects, use + <code>defineProperty(String,int)</code>. + + If <code>setter</code> is null, the attribute READONLY is added to + the given attributes.<p> + + Several forms of getters or setters are allowed. In all cases the + type of the value parameter can be any one of the following types: + Object, String, boolean, Scriptable, byte, short, int, long, float, + or double. The runtime will perform appropriate conversions based + upon the type of the parameter (see description in FunctionObject). + The first forms are nonstatic methods of the class referred to + by 'this': + <pre> + Object getFoo(); + void setFoo(SomeType value);</pre> + Next are static methods that may be of any class; the object whose + property is being accessed is passed in as an extra argument: + <pre> + static Object getFoo(Scriptable obj); + static void setFoo(Scriptable obj, SomeType value);</pre> + Finally, it is possible to delegate to another object entirely using + the <code>delegateTo</code> parameter. In this case the methods are + nonstatic methods of the class delegated to, and the object whose + property is being accessed is passed in as an extra argument: + <pre> + Object getFoo(Scriptable obj); + void setFoo(Scriptable obj, SomeType value);</pre> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - the name of the property to define.<DD><CODE>delegateTo</CODE> - an object to call the getter and setter methods on, + or null, depending on the form used above.<DD><CODE>getter</CODE> - the method to invoke to get the value of the property<DD><CODE>setter</CODE> - the method to invoke to set the value of the property<DD><CODE>attributes</CODE> - the attributes of the JavaScript property</DL> +</DD> +</DL> +<HR> + +<A NAME="defineFunctionProperties(java.lang.String[], java.lang.Class, int)"><!-- --></A><H3> +defineFunctionProperties</H3> +<PRE> +public void <B>defineFunctionProperties</B>(java.lang.String[] names, + java.lang.Class clazz, + int attributes)</PRE> +<DL> +<DD>Search for names in a class, adding the resulting methods + as properties. + + <p> Uses reflection to find the methods of the given names. Then + FunctionObjects are constructed from the methods found, and + are added to this object as properties with the given names. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>names</CODE> - the names of the Methods to add as function properties<DD><CODE>clazz</CODE> - the class to search for the Methods<DD><CODE>attributes</CODE> - the attributes of the new properties<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript"><CODE>FunctionObject</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getObjectPrototype(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +getObjectPrototype</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>getObjectPrototype</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</PRE> +<DL> +<DD>Get the Object.prototype property. + See ECMA 15.2.4. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getFunctionPrototype(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +getFunctionPrototype</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>getFunctionPrototype</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</PRE> +<DL> +<DD>Get the Function.prototype property. + See ECMA 15.3.4. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getClassPrototype(org.mozilla.javascript.Scriptable, java.lang.String)"><!-- --></A><H3> +getClassPrototype</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>getClassPrototype</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.String className)</PRE> +<DL> +<DD>Get the prototype for the named class. + + For example, <code>getClassPrototype(s, "Date")</code> will first + walk up the parent chain to find the outermost scope, then will + search that scope for the Date constructor, and then will + return Date.prototype. If any of the lookups fail, or + the prototype is not a JavaScript object, then null will + be returned. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - an object in the scope chain<DD><CODE>className</CODE> - the name of the constructor +<DT><B>Returns:</B><DD>the prototype for the named class, or null if it + cannot be found.</DL> +</DD> +</DL> +<HR> + +<A NAME="getTopLevelScope(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +getTopLevelScope</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>getTopLevelScope</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj)</PRE> +<DL> +<DD>Get the global scope. + + <p>Walks the parent scope chain to find an object with a null + parent scope (the global object). +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - a JavaScript object +<DT><B>Returns:</B><DD>the corresponding global scope</DL> +</DD> +</DL> +<HR> + +<A NAME="sealObject()"><!-- --></A><H3> +sealObject</H3> +<PRE> +public void <B>sealObject</B>()</PRE> +<DL> +<DD>Seal this object. + + A sealed object may not have properties added or removed. Once + an object is sealed it may not be unsealed. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Since:</B></DT> + <DD>1.4R3</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isSealed()"><!-- --></A><H3> +isSealed</H3> +<PRE> +public final boolean <B>isSealed</B>()</PRE> +<DL> +<DD>Return true if this object is sealed. + + It is an error to attempt to add or remove properties to + a sealed object. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> + +<DT><B>Returns:</B><DD>true if sealed, false otherwise.<DT><B>Since:</B></DT> + <DD>1.4R3</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><!-- --></A><H3> +getProperty</H3> +<PRE> +public static java.lang.Object <B>getProperty</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String name)</PRE> +<DL> +<DD>Gets a named property from an object or any object in its prototype chain. + <p> + Searches the prototype chain for a property named <code>name</code>. + <p> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - a JavaScript object<DD><CODE>name</CODE> - a property name +<DT><B>Returns:</B><DD>the value of a property with name <code>name</code> found in + <code>obj</code> or any object in its prototype chain, or + <code>Scriptable.NOT_FOUND</code> if not found<DT><B>Since:</B></DT> + <DD>1.5R2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getProperty(org.mozilla.javascript.Scriptable, int)"><!-- --></A><H3> +getProperty</H3> +<PRE> +public static java.lang.Object <B>getProperty</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + int index)</PRE> +<DL> +<DD>Gets an indexed property from an object or any object in its prototype chain. + <p> + Searches the prototype chain for a property with integral index + <code>index</code>. Note that if you wish to look for properties with numerical + but non-integral indicies, you should use getProperty(Scriptable,String) with + the string value of the index. + <p> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - a JavaScript object<DD><CODE>index</CODE> - an integral index +<DT><B>Returns:</B><DD>the value of a property with index <code>index</code> found in + <code>obj</code> or any object in its prototype chain, or + <code>Scriptable.NOT_FOUND</code> if not found<DT><B>Since:</B></DT> + <DD>1.5R2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="hasProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><!-- --></A><H3> +hasProperty</H3> +<PRE> +public static boolean <B>hasProperty</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String name)</PRE> +<DL> +<DD>Returns whether a named property is defined in an object or any object + in its prototype chain. + <p> + Searches the prototype chain for a property named <code>name</code>. + <p> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - a JavaScript object<DD><CODE>name</CODE> - a property name +<DT><B>Returns:</B><DD>the true if property was found<DT><B>Since:</B></DT> + <DD>1.5R2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="redefineProperty(org.mozilla.javascript.Scriptable, java.lang.String, boolean)"><!-- --></A><H3> +redefineProperty</H3> +<PRE> +public static void <B>redefineProperty</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String name, + boolean isConst)</PRE> +<DL> +<DD>If hasProperty(obj, name) would return true, then if the property that + was found is compatible with the new property, this method just returns. + If the property is not compatible, then an exception is thrown. + + A property redefinition is incompatible if the first definition was a + const declaration or if this one is. They are compatible only if neither + was const. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="hasProperty(org.mozilla.javascript.Scriptable, int)"><!-- --></A><H3> +hasProperty</H3> +<PRE> +public static boolean <B>hasProperty</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + int index)</PRE> +<DL> +<DD>Returns whether an indexed property is defined in an object or any object + in its prototype chain. + <p> + Searches the prototype chain for a property with index <code>index</code>. + <p> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - a JavaScript object<DD><CODE>index</CODE> - a property index +<DT><B>Returns:</B><DD>the true if property was found<DT><B>Since:</B></DT> + <DD>1.5R2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="putProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)"><!-- --></A><H3> +putProperty</H3> +<PRE> +public static void <B>putProperty</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String name, + java.lang.Object value)</PRE> +<DL> +<DD>Puts a named property in an object or in an object in its prototype chain. + <p> + Searches for the named property in the prototype chain. If it is found, + the value of the property in <code>obj</code> is changed through a call + to <A HREF="../../../org/mozilla/javascript/Scriptable.html#put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)"><CODE>Scriptable.put(String, Scriptable, Object)</CODE></A> on the + prototype passing <code>obj</code> as the <code>start</code> argument. + This allows the prototype to veto the property setting in case the + prototype defines the property with [[ReadOnly]] attribute. If the + property is not found, it is added in <code>obj</code>. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - a JavaScript object<DD><CODE>name</CODE> - a property name<DD><CODE>value</CODE> - any JavaScript value accepted by Scriptable.put<DT><B>Since:</B></DT> + <DD>1.5R2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="putConstProperty(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object)"><!-- --></A><H3> +putConstProperty</H3> +<PRE> +public static void <B>putConstProperty</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String name, + java.lang.Object value)</PRE> +<DL> +<DD>Puts a named property in an object or in an object in its prototype chain. + <p> + Searches for the named property in the prototype chain. If it is found, + the value of the property in <code>obj</code> is changed through a call + to <A HREF="../../../org/mozilla/javascript/Scriptable.html#put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)"><CODE>Scriptable.put(String, Scriptable, Object)</CODE></A> on the + prototype passing <code>obj</code> as the <code>start</code> argument. + This allows the prototype to veto the property setting in case the + prototype defines the property with [[ReadOnly]] attribute. If the + property is not found, it is added in <code>obj</code>. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - a JavaScript object<DD><CODE>name</CODE> - a property name<DD><CODE>value</CODE> - any JavaScript value accepted by Scriptable.put<DT><B>Since:</B></DT> + <DD>1.5R2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="putProperty(org.mozilla.javascript.Scriptable, int, java.lang.Object)"><!-- --></A><H3> +putProperty</H3> +<PRE> +public static void <B>putProperty</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + int index, + java.lang.Object value)</PRE> +<DL> +<DD>Puts an indexed property in an object or in an object in its prototype chain. + <p> + Searches for the indexed property in the prototype chain. If it is found, + the value of the property in <code>obj</code> is changed through a call + to <A HREF="../../../org/mozilla/javascript/Scriptable.html#put(int, org.mozilla.javascript.Scriptable, java.lang.Object)"><CODE>Scriptable.put(int, Scriptable, Object)</CODE></A> on the prototype + passing <code>obj</code> as the <code>start</code> argument. This allows + the prototype to veto the property setting in case the prototype defines + the property with [[ReadOnly]] attribute. If the property is not found, + it is added in <code>obj</code>. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - a JavaScript object<DD><CODE>index</CODE> - a property index<DD><CODE>value</CODE> - any JavaScript value accepted by Scriptable.put<DT><B>Since:</B></DT> + <DD>1.5R2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="deleteProperty(org.mozilla.javascript.Scriptable, java.lang.String)"><!-- --></A><H3> +deleteProperty</H3> +<PRE> +public static boolean <B>deleteProperty</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String name)</PRE> +<DL> +<DD>Removes the property from an object or its prototype chain. + <p> + Searches for a property with <code>name</code> in obj or + its prototype chain. If it is found, the object's delete + method is called. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - a JavaScript object<DD><CODE>name</CODE> - a property name +<DT><B>Returns:</B><DD>true if the property doesn't exist or was successfully removed<DT><B>Since:</B></DT> + <DD>1.5R2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="deleteProperty(org.mozilla.javascript.Scriptable, int)"><!-- --></A><H3> +deleteProperty</H3> +<PRE> +public static boolean <B>deleteProperty</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + int index)</PRE> +<DL> +<DD>Removes the property from an object or its prototype chain. + <p> + Searches for a property with <code>index</code> in obj or + its prototype chain. If it is found, the object's delete + method is called. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - a JavaScript object<DD><CODE>index</CODE> - a property index +<DT><B>Returns:</B><DD>true if the property doesn't exist or was successfully removed<DT><B>Since:</B></DT> + <DD>1.5R2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getPropertyIds(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +getPropertyIds</H3> +<PRE> +public static java.lang.Object[] <B>getPropertyIds</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj)</PRE> +<DL> +<DD>Returns an array of all ids from an object and its prototypes. + <p> +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - a JavaScript object +<DT><B>Returns:</B><DD>an array of all ids from all object in the prototype chain. + If a given id occurs multiple times in the prototype chain, + it will occur only once in this list.<DT><B>Since:</B></DT> + <DD>1.5R2</DD> +</DL> +</DD> +</DL> +<HR> + +<A NAME="callMethod(org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])"><!-- --></A><H3> +callMethod</H3> +<PRE> +public static java.lang.Object <B>callMethod</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String methodName, + java.lang.Object[] args)</PRE> +<DL> +<DD>Call a method of an object. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the JavaScript object<DD><CODE>methodName</CODE> - the name of the function property<DD><CODE>args</CODE> - the arguments for the call<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#getCurrentContext()"><CODE>Context.getCurrentContext()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="callMethod(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.String, java.lang.Object[])"><!-- --></A><H3> +callMethod</H3> +<PRE> +public static java.lang.Object <B>callMethod</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj, + java.lang.String methodName, + java.lang.Object[] args)</PRE> +<DL> +<DD>Call a method of an object. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - the Context object associated with the current thread.<DD><CODE>obj</CODE> - the JavaScript object<DD><CODE>methodName</CODE> - the name of the function property<DD><CODE>args</CODE> - the arguments for the call</DL> +</DD> +</DL> +<HR> + +<A NAME="getAssociatedValue(java.lang.Object)"><!-- --></A><H3> +getAssociatedValue</H3> +<PRE> +public final java.lang.Object <B>getAssociatedValue</B>(java.lang.Object key)</PRE> +<DL> +<DD>Get arbitrary application-specific value associated with this object. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>key</CODE> - key object to select particular value.<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#associateValue(java.lang.Object, java.lang.Object)"><CODE>associateValue(Object key, Object value)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getTopScopeValue(org.mozilla.javascript.Scriptable, java.lang.Object)"><!-- --></A><H3> +getTopScopeValue</H3> +<PRE> +public static java.lang.Object <B>getTopScopeValue</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object key)</PRE> +<DL> +<DD>Get arbitrary application-specific value associated with the top scope + of the given scope. + The method first calls <A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getTopLevelScope(org.mozilla.javascript.Scriptable)"><CODE>getTopLevelScope(Scriptable scope)</CODE></A> + and then searches the prototype chain of the top scope for the first + object containing the associated value with the given key. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>scope</CODE> - the starting scope.<DD><CODE>key</CODE> - key object to select particular value.<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAssociatedValue(java.lang.Object)"><CODE>getAssociatedValue(Object key)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="associateValue(java.lang.Object, java.lang.Object)"><!-- --></A><H3> +associateValue</H3> +<PRE> +public final java.lang.Object <B>associateValue</B>(java.lang.Object key, + java.lang.Object value)</PRE> +<DL> +<DD>Associate arbitrary application-specific value with this object. + Value can only be associated with the given object and key only once. + The method ignores any subsequent attempts to change the already + associated value. + <p> The associated values are not serialized. +<P> +<DD><DL> +</DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>key</CODE> - key object to select particular value.<DD><CODE>value</CODE> - the value to associate +<DT><B>Returns:</B><DD>the passed value if the method is called first time for the + given key or old value for any subsequent calls.<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/ScriptableObject.html#getAssociatedValue(java.lang.Object)"><CODE>getAssociatedValue(Object key)</CODE></A></DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/ScriptableObject.html" target="_top"><B>FRAMES</B></A> + <A HREF="ScriptableObject.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/SecurityController.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/SecurityController.html new file mode 100644 index 0000000..92c5c44 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/SecurityController.html @@ -0,0 +1,507 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +SecurityController (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="SecurityController (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/SecurityController.html" target="_top"><B>FRAMES</B></A> + <A HREF="SecurityController.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class SecurityController</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.SecurityController</B> +</PRE> +<HR> +<DL> +<DT><PRE>public abstract class <B>SecurityController</B><DT>extends java.lang.Object</DL> +</PRE> + +<P> +This class describes the support needed to implement security. + <p> + Three main pieces of functionality are required to implement + security for JavaScript. First, it must be possible to define + classes with an associated security domain. (This security + domain may be any object incorporating notion of access + restrictions that has meaning to an embedding; for a client-side + JavaScript embedding this would typically be + java.security.ProtectionDomain or similar object depending on an + origin URL and/or a digital certificate.) + Next it must be possible to get a security domain object that + allows a particular action only if all security domains + associated with code on the current Java stack allows it. And + finally, it must be possible to execute script code with + associated security domain injected into Java stack. + <p> + These three pieces of functionality are encapsulated in the + SecurityController class. +<P> + +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>1.5 Release 4</DD> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#setSecurityController(org.mozilla.javascript.SecurityController)"><CODE>Context.setSecurityController(SecurityController)</CODE></A>, +<CODE>ClassLoader</CODE></DL> +<HR> + +<P> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/SecurityController.html#SecurityController()">SecurityController</A></B>()</CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/SecurityController.html#callWithDomain(java.lang.Object, org.mozilla.javascript.Context, org.mozilla.javascript.Callable, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">callWithDomain</A></B>(java.lang.Object securityDomain, + <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A> callable, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</CODE> + +<BR> + Call <A HREF="../../../org/mozilla/javascript/Callable.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>Callable.call(Context cx, Scriptable scope, Scriptable thisObj, + Object[] args)</CODE></A> + of <i>callable</i> under restricted security domain where an action is + allowed only if it is allowed according to the Java stack on the + moment of the <i>execWithDomain</i> call and <i>securityDomain</i>.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>abstract <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript">GeneratedClassLoader</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/SecurityController.html#createClassLoader(java.lang.ClassLoader, java.lang.Object)">createClassLoader</A></B>(java.lang.ClassLoader parentLoader, + java.lang.Object securityDomain)</CODE> + +<BR> + Get class loader-like object that can be used + to define classes with the given security context.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript">GeneratedClassLoader</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/SecurityController.html#createLoader(java.lang.ClassLoader, java.lang.Object)">createLoader</A></B>(java.lang.ClassLoader parent, + java.lang.Object staticDomain)</CODE> + +<BR> + Create <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript"><CODE>GeneratedClassLoader</CODE></A> with restrictions imposed by + staticDomain and all current stack frames.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/SecurityController.html#execWithDomain(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Script, java.lang.Object)">execWithDomain</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A> script, + java.lang.Object securityDomain)</CODE> + +<BR> + <B>Deprecated.</B> <I>The application should not override this method and instead + override + <A HREF="../../../org/mozilla/javascript/SecurityController.html#callWithDomain(java.lang.Object, org.mozilla.javascript.Context, org.mozilla.javascript.Callable, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args)</CODE></A>.</I></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>abstract java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/SecurityController.html#getDynamicSecurityDomain(java.lang.Object)">getDynamicSecurityDomain</A></B>(java.lang.Object securityDomain)</CODE> + +<BR> + Get dynamic security domain that allows an action only if it is allowed + by the current Java stack and <i>securityDomain</i>.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.Class</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/SecurityController.html#getStaticSecurityDomainClass()">getStaticSecurityDomainClass</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Class</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/SecurityController.html#getStaticSecurityDomainClassInternal()">getStaticSecurityDomainClassInternal</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/SecurityController.html#hasGlobal()">hasGlobal</A></B>()</CODE> + +<BR> + Check if global <A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript"><CODE>SecurityController</CODE></A> was already installed.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/SecurityController.html#initGlobal(org.mozilla.javascript.SecurityController)">initGlobal</A></B>(<A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> controller)</CODE> + +<BR> + Initialize global controller that will be used for all + security-related operations.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="SecurityController()"><!-- --></A><H3> +SecurityController</H3> +<PRE> +public <B>SecurityController</B>()</PRE> +<DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="hasGlobal()"><!-- --></A><H3> +hasGlobal</H3> +<PRE> +public static boolean <B>hasGlobal</B>()</PRE> +<DL> +<DD>Check if global <A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript"><CODE>SecurityController</CODE></A> was already installed. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/SecurityController.html#initGlobal(org.mozilla.javascript.SecurityController)"><CODE>initGlobal(SecurityController controller)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="initGlobal(org.mozilla.javascript.SecurityController)"><!-- --></A><H3> +initGlobal</H3> +<PRE> +public static void <B>initGlobal</B>(<A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A> controller)</PRE> +<DL> +<DD>Initialize global controller that will be used for all + security-related operations. The global controller takes precedence + over already installed <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A>-specific controllers and cause + any subsequent call to + <A HREF="../../../org/mozilla/javascript/Context.html#setSecurityController(org.mozilla.javascript.SecurityController)"><CODE>Context.setSecurityController(SecurityController)</CODE></A> + to throw an exception. + <p> + The method can only be called once. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/SecurityController.html#hasGlobal()"><CODE>hasGlobal()</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="createClassLoader(java.lang.ClassLoader, java.lang.Object)"><!-- --></A><H3> +createClassLoader</H3> +<PRE> +public abstract <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript">GeneratedClassLoader</A> <B>createClassLoader</B>(java.lang.ClassLoader parentLoader, + java.lang.Object securityDomain)</PRE> +<DL> +<DD>Get class loader-like object that can be used + to define classes with the given security context. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>parentLoader</CODE> - parent class loader to delegate search for classes + not defined by the class loader itself<DD><CODE>securityDomain</CODE> - some object specifying the security + context of the code that is defined by the returned class loader.</DL> +</DD> +</DL> +<HR> + +<A NAME="createLoader(java.lang.ClassLoader, java.lang.Object)"><!-- --></A><H3> +createLoader</H3> +<PRE> +public static <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript">GeneratedClassLoader</A> <B>createLoader</B>(java.lang.ClassLoader parent, + java.lang.Object staticDomain)</PRE> +<DL> +<DD>Create <A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript"><CODE>GeneratedClassLoader</CODE></A> with restrictions imposed by + staticDomain and all current stack frames. + The method uses the SecurityController instance associated with the + current <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> to construct proper dynamic domain and create + corresponding class loader. + <par> + If no SecurityController is associated with the current <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> , + the method calls <A HREF="../../../org/mozilla/javascript/Context.html#createClassLoader(java.lang.ClassLoader)"><CODE>Context.createClassLoader(ClassLoader parent)</CODE></A>. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>parent</CODE> - parent class loader. If null, + <A HREF="../../../org/mozilla/javascript/Context.html#getApplicationClassLoader()"><CODE>Context.getApplicationClassLoader()</CODE></A> will be used.<DD><CODE>staticDomain</CODE> - static security domain.</DL> +</DD> +</DL> +<HR> + +<A NAME="getStaticSecurityDomainClass()"><!-- --></A><H3> +getStaticSecurityDomainClass</H3> +<PRE> +public static java.lang.Class <B>getStaticSecurityDomainClass</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getStaticSecurityDomainClassInternal()"><!-- --></A><H3> +getStaticSecurityDomainClassInternal</H3> +<PRE> +public java.lang.Class <B>getStaticSecurityDomainClassInternal</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getDynamicSecurityDomain(java.lang.Object)"><!-- --></A><H3> +getDynamicSecurityDomain</H3> +<PRE> +public abstract java.lang.Object <B>getDynamicSecurityDomain</B>(java.lang.Object securityDomain)</PRE> +<DL> +<DD>Get dynamic security domain that allows an action only if it is allowed + by the current Java stack and <i>securityDomain</i>. If + <i>securityDomain</i> is null, return domain representing permissions + allowed by the current stack. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="callWithDomain(java.lang.Object, org.mozilla.javascript.Context, org.mozilla.javascript.Callable, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><!-- --></A><H3> +callWithDomain</H3> +<PRE> +public java.lang.Object <B>callWithDomain</B>(java.lang.Object securityDomain, + <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A> callable, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</PRE> +<DL> +<DD>Call <A HREF="../../../org/mozilla/javascript/Callable.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>Callable.call(Context cx, Scriptable scope, Scriptable thisObj, + Object[] args)</CODE></A> + of <i>callable</i> under restricted security domain where an action is + allowed only if it is allowed according to the Java stack on the + moment of the <i>execWithDomain</i> call and <i>securityDomain</i>. + Any call to <A HREF="../../../org/mozilla/javascript/SecurityController.html#getDynamicSecurityDomain(java.lang.Object)"><CODE>getDynamicSecurityDomain(Object)</CODE></A> during + execution of <tt>callable.call(cx, scope, thisObj, args)</tt> + should return a domain incorporate restrictions imposed by + <i>securityDomain</i> and Java stack on the moment of callWithDomain + invocation. + <p> + The method should always be overridden, it is not declared abstract + for compatibility reasons. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="execWithDomain(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Script, java.lang.Object)"><!-- --></A><H3> +execWithDomain</H3> +<PRE> +public java.lang.Object <B>execWithDomain</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A> script, + java.lang.Object securityDomain)</PRE> +<DL> +<DD><B>Deprecated.</B> <I>The application should not override this method and instead + override + <A HREF="../../../org/mozilla/javascript/SecurityController.html#callWithDomain(java.lang.Object, org.mozilla.javascript.Context, org.mozilla.javascript.Callable, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args)</CODE></A>.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/SecurityController.html" target="_top"><B>FRAMES</B></A> + <A HREF="SecurityController.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Synchronizer.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Synchronizer.html new file mode 100644 index 0000000..05b8fb4 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Synchronizer.html @@ -0,0 +1,331 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +Synchronizer (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Synchronizer (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Synchronizer.html" target="_top"><B>FRAMES</B></A> + <A HREF="Synchronizer.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.mozilla.javascript.Delegator">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class Synchronizer</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">org.mozilla.javascript.Delegator + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.Synchronizer</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A>, <A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A>, <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public class <B>Synchronizer</B><DT>extends org.mozilla.javascript.Delegator</DL> +</PRE> + +<P> +This class provides support for implementing Java-style synchronized + methods in Javascript. + + Synchronized functions are created from ordinary Javascript + functions by the <code>Synchronizer</code> constructor, e.g. + <code>new Packages.org.mozilla.javascript.Synchronizer(fun)</code>. + The resulting object is a function that establishes an exclusive + lock on the <code>this</code> object of its invocation. + + The Rhino shell provides a short-cut for the creation of + synchronized methods: <code>sync(fun)</code> has the same effect as + calling the above constructor. +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Matthias Radestock</DD> +<DT><B>See Also:</B><DD><CODE>Delegator</CODE></DL> +<HR> + +<P> +<!-- =========== FIELD SUMMARY =========== --> + +<A NAME="field_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Field Summary</B></FONT></TH> +</TR> +</TABLE> + <A NAME="fields_inherited_from_class_org.mozilla.javascript.Delegator"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Fields inherited from class org.mozilla.javascript.Delegator</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>obj</CODE></TD> +</TR> +</TABLE> + <A NAME="fields_inherited_from_class_org.mozilla.javascript.Scriptable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Fields inherited from interface org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/Scriptable.html#NOT_FOUND">NOT_FOUND</A></CODE></TD> +</TR> +</TABLE> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Synchronizer.html#Synchronizer(org.mozilla.javascript.Scriptable)">Synchronizer</A></B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj)</CODE> + +<BR> + Create a new synchronized function from an existing one.</TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Synchronizer.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">call</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</CODE> + +<BR> + Call the function.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.Delegator"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class org.mozilla.javascript.Delegator</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>construct, delete, delete, get, get, getClassName, getDefaultValue, getDelegee, getIds, getParentScope, getPrototype, has, has, hasInstance, newInstance, put, put, setDelegee, setParentScope, setPrototype</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="Synchronizer(org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +Synchronizer</H3> +<PRE> +public <B>Synchronizer</B>(<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> obj)</PRE> +<DL> +<DD>Create a new synchronized function from an existing one. +<P> +<DL> +<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the existing function</DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><!-- --></A><H3> +call</H3> +<PRE> +public java.lang.Object <B>call</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> thisObj, + java.lang.Object[] args)</PRE> +<DL> +<DD><B>Description copied from interface: <CODE><A HREF="../../../org/mozilla/javascript/Function.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">Function</A></CODE></B></DD> +<DD>Call the function. + + Note that the array of arguments is not guaranteed to have + length greater than 0. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Callable.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">call</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/mozilla/javascript/Function.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])">call</A></CODE> in interface <CODE><A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A></CODE><DT><B>Overrides:</B><DD><CODE>call</CODE> in class <CODE>org.mozilla.javascript.Delegator</CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - the current Context for this thread<DD><CODE>scope</CODE> - the scope to execute the function relative to. This is + set to the value returned by getParentScope() except + when the function is called from a closure.<DD><CODE>thisObj</CODE> - the JavaScript <code>this</code> object<DD><CODE>args</CODE> - the array of arguments +<DT><B>Returns:</B><DD>the result of the call<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Function.html#call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])"><CODE>Function.call(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, org.mozilla.javascript.Scriptable, java.lang.Object[])</CODE></A></DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Synchronizer.html" target="_top"><B>FRAMES</B></A> + <A HREF="Synchronizer.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.mozilla.javascript.Delegator">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/WrapFactory.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/WrapFactory.html new file mode 100644 index 0000000..675c456 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/WrapFactory.html @@ -0,0 +1,400 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +WrapFactory (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="WrapFactory (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/WrapFactory.html" target="_top"><B>FRAMES</B></A> + <A HREF="WrapFactory.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class WrapFactory</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.WrapFactory</B> +</PRE> +<HR> +<DL> +<DT><PRE>public class <B>WrapFactory</B><DT>extends java.lang.Object</DL> +</PRE> + +<P> +Embeddings that wish to provide their own custom wrappings for Java + objects may extend this class and call + <A HREF="../../../org/mozilla/javascript/Context.html#setWrapFactory(org.mozilla.javascript.WrapFactory)"><CODE>Context.setWrapFactory(WrapFactory)</CODE></A> + Once an instance of this class or an extension of this class is enabled + for a given context (by calling setWrapFactory on that context), Rhino + will call the methods of this class whenever it needs to wrap a value + resulting from a call to a Java method or an access to a Java field. +<P> + +<P> +<DL> +<DT><B>Since:</B></DT> + <DD>1.5 Release 4</DD> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#setWrapFactory(org.mozilla.javascript.WrapFactory)"><CODE>Context.setWrapFactory(WrapFactory)</CODE></A></DL> +<HR> + +<P> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/WrapFactory.html#WrapFactory()">WrapFactory</A></B>()</CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/WrapFactory.html#isJavaPrimitiveWrap()">isJavaPrimitiveWrap</A></B>()</CODE> + +<BR> + Return <code>false</code> if result of Java method, which is instance of + <code>String</code>, <code>Number</code>, <code>Boolean</code> and + <code>Character</code>, should be used directly as JavaScript primitive + type.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/WrapFactory.html#setJavaPrimitiveWrap(boolean)">setJavaPrimitiveWrap</A></B>(boolean value)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/WrapFactory.html#wrap(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, java.lang.Class)">wrap</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object obj, + java.lang.Class staticType)</CODE> + +<BR> + Wrap the object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/WrapFactory.html#wrapAsJavaObject(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, java.lang.Class)">wrapAsJavaObject</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object javaObject, + java.lang.Class staticType)</CODE> + +<BR> + Wrap Java object as Scriptable instance to allow full access to its + methods and fields from JavaScript.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/WrapFactory.html#wrapNewObject(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object)">wrapNewObject</A></B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object obj)</CODE> + +<BR> + Wrap an object newly created by a constructor call.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="WrapFactory()"><!-- --></A><H3> +WrapFactory</H3> +<PRE> +public <B>WrapFactory</B>()</PRE> +<DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="wrap(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, java.lang.Class)"><!-- --></A><H3> +wrap</H3> +<PRE> +public java.lang.Object <B>wrap</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object obj, + java.lang.Class staticType)</PRE> +<DL> +<DD>Wrap the object. + <p> + The value returned must be one of + <UL> + <LI>java.lang.Boolean</LI> + <LI>java.lang.String</LI> + <LI>java.lang.Number</LI> + <LI>org.mozilla.javascript.Scriptable objects</LI> + <LI>The value returned by Context.getUndefinedValue()</LI> + <LI>null</LI> + </UL> +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - the current Context for this thread<DD><CODE>scope</CODE> - the scope of the executing script<DD><CODE>obj</CODE> - the object to be wrapped. Note it can be null.<DD><CODE>staticType</CODE> - type hint. If security restrictions prevent to wrap + object based on its class, staticType will be used instead. +<DT><B>Returns:</B><DD>the wrapped value.</DL> +</DD> +</DL> +<HR> + +<A NAME="wrapNewObject(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object)"><!-- --></A><H3> +wrapNewObject</H3> +<PRE> +public <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>wrapNewObject</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object obj)</PRE> +<DL> +<DD>Wrap an object newly created by a constructor call. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - the current Context for this thread<DD><CODE>scope</CODE> - the scope of the executing script<DD><CODE>obj</CODE> - the object to be wrapped +<DT><B>Returns:</B><DD>the wrapped value.</DL> +</DD> +</DL> +<HR> + +<A NAME="wrapAsJavaObject(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, java.lang.Class)"><!-- --></A><H3> +wrapAsJavaObject</H3> +<PRE> +public <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>wrapAsJavaObject</B>(<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A> cx, + <A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope, + java.lang.Object javaObject, + java.lang.Class staticType)</PRE> +<DL> +<DD>Wrap Java object as Scriptable instance to allow full access to its + methods and fields from JavaScript. + <p> + <A HREF="../../../org/mozilla/javascript/WrapFactory.html#wrap(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object, java.lang.Class)"><CODE>wrap(Context, Scriptable, Object, Class)</CODE></A> and + <A HREF="../../../org/mozilla/javascript/WrapFactory.html#wrapNewObject(org.mozilla.javascript.Context, org.mozilla.javascript.Scriptable, java.lang.Object)"><CODE>wrapNewObject(Context, Scriptable, Object)</CODE></A> call this method + when they can not convert <tt>javaObject</tt> to JavaScript primitive + value or JavaScript array. + <p> + Subclasses can override the method to provide custom wrappers + for Java objects. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>cx</CODE> - the current Context for this thread<DD><CODE>scope</CODE> - the scope of the executing script<DD><CODE>javaObject</CODE> - the object to be wrapped<DD><CODE>staticType</CODE> - type hint. If security restrictions prevent to wrap + object based on its class, staticType will be used instead. +<DT><B>Returns:</B><DD>the wrapped value which shall not be null</DL> +</DD> +</DL> +<HR> + +<A NAME="isJavaPrimitiveWrap()"><!-- --></A><H3> +isJavaPrimitiveWrap</H3> +<PRE> +public final boolean <B>isJavaPrimitiveWrap</B>()</PRE> +<DL> +<DD>Return <code>false</code> if result of Java method, which is instance of + <code>String</code>, <code>Number</code>, <code>Boolean</code> and + <code>Character</code>, should be used directly as JavaScript primitive + type. + By default the method returns true to indicate that instances of + <code>String</code>, <code>Number</code>, <code>Boolean</code> and + <code>Character</code> should be wrapped as any other Java object and + scripts can access any Java method available in these objects. + Use <A HREF="../../../org/mozilla/javascript/WrapFactory.html#setJavaPrimitiveWrap(boolean)"><CODE>setJavaPrimitiveWrap(boolean)</CODE></A> to change this. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setJavaPrimitiveWrap(boolean)"><!-- --></A><H3> +setJavaPrimitiveWrap</H3> +<PRE> +public final void <B>setJavaPrimitiveWrap</B>(boolean value)</PRE> +<DL> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/WrapFactory.html#isJavaPrimitiveWrap()"><CODE>isJavaPrimitiveWrap()</CODE></A></DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/WrapFactory.html" target="_top"><B>FRAMES</B></A> + <A HREF="WrapFactory.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/WrappedException.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/WrappedException.html new file mode 100644 index 0000000..1109997 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/WrappedException.html @@ -0,0 +1,323 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +WrappedException (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="WrappedException (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/Wrapper.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/WrappedException.html" target="_top"><B>FRAMES</B></A> + <A HREF="WrappedException.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Class WrappedException</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception + <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.RuntimeException + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">org.mozilla.javascript.RhinoException</A> + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">org.mozilla.javascript.EvaluatorException</A> + <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.WrappedException</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD> +</DL> +<HR> +<DL> +<DT><PRE>public class <B>WrappedException</B><DT>extends <A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></DL> +</PRE> + +<P> +A wrapper for runtime exceptions. + + Used by the JavaScript runtime to wrap and propagate exceptions that occur + during runtime. +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Norris Boyd</DD> +<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.mozilla.javascript.WrappedException">Serialized Form</A></DL> +<HR> + +<P> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/WrappedException.html#WrappedException(java.lang.Throwable)">WrappedException</A></B>(java.lang.Throwable exception)</CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Throwable</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/WrappedException.html#getWrappedException()">getWrappedException</A></B>()</CODE> + +<BR> + Get the wrapped exception.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/WrappedException.html#unwrap()">unwrap</A></B>()</CODE> + +<BR> + <B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/WrappedException.html#getWrappedException()"><CODE>getWrappedException()</CODE></A> instead.</I></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.EvaluatorException"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/EvaluatorException.html#getColumnNumber()">getColumnNumber</A>, <A HREF="../../../org/mozilla/javascript/EvaluatorException.html#getLineNumber()">getLineNumber</A>, <A HREF="../../../org/mozilla/javascript/EvaluatorException.html#getLineSource()">getLineSource</A>, <A HREF="../../../org/mozilla/javascript/EvaluatorException.html#getSourceName()">getSourceName</A></CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_org.mozilla.javascript.RhinoException"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../../../org/mozilla/javascript/RhinoException.html#columnNumber()">columnNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#details()">details</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#getMessage()">getMessage</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#getScriptStackTrace()">getScriptStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#getScriptStackTrace(java.io.FilenameFilter)">getScriptStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initColumnNumber(int)">initColumnNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initLineNumber(int)">initLineNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initLineSource(java.lang.String)">initLineSource</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#initSourceName(java.lang.String)">initSourceName</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineNumber()">lineNumber</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#lineSource()">lineSource</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#printStackTrace(java.io.PrintStream)">printStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A>, <A HREF="../../../org/mozilla/javascript/RhinoException.html#sourceName()">sourceName</A></CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="WrappedException(java.lang.Throwable)"><!-- --></A><H3> +WrappedException</H3> +<PRE> +public <B>WrappedException</B>(java.lang.Throwable exception)</PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../../../org/mozilla/javascript/Context.html#throwAsScriptRuntimeEx(java.lang.Throwable)"><CODE>Context.throwAsScriptRuntimeEx(Throwable e)</CODE></A></DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="getWrappedException()"><!-- --></A><H3> +getWrappedException</H3> +<PRE> +public java.lang.Throwable <B>getWrappedException</B>()</PRE> +<DL> +<DD>Get the wrapped exception. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>the exception that was presented as a argument to the + constructor when this object was created</DL> +</DD> +</DL> +<HR> + +<A NAME="unwrap()"><!-- --></A><H3> +unwrap</H3> +<PRE> +public java.lang.Object <B>unwrap</B>()</PRE> +<DL> +<DD><B>Deprecated.</B> <I>Use <A HREF="../../../org/mozilla/javascript/WrappedException.html#getWrappedException()"><CODE>getWrappedException()</CODE></A> instead.</I> +<P> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + <A HREF="../../../org/mozilla/javascript/Wrapper.html" title="interface in org.mozilla.javascript"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/WrappedException.html" target="_top"><B>FRAMES</B></A> + <A HREF="WrappedException.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Wrapper.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Wrapper.html new file mode 100644 index 0000000..0d05fdc --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/Wrapper.html @@ -0,0 +1,214 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +Wrapper (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Wrapper (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + NEXT CLASS</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Wrapper.html" target="_top"><B>FRAMES</B></A> + <A HREF="Wrapper.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript</FONT> +<BR> +Interface Wrapper</H2> +<HR> +<DL> +<DT><PRE>public interface <B>Wrapper</B></DL> +</PRE> + +<P> +Objects that can wrap other values for reflection in the JS environment + will implement Wrapper. + + Wrapper defines a single method that can be called to unwrap the object. +<P> + +<P> +<HR> + +<P> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../org/mozilla/javascript/Wrapper.html#unwrap()">unwrap</A></B>()</CODE> + +<BR> + Unwrap the object by returning the wrapped value.</TD> +</TR> +</TABLE> + +<P> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="unwrap()"><!-- --></A><H3> +unwrap</H3> +<PRE> +java.lang.Object <B>unwrap</B>()</PRE> +<DL> +<DD>Unwrap the object by returning the wrapped value. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>a wrapped value</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript"><B>PREV CLASS</B></A> + NEXT CLASS</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/Wrapper.html" target="_top"><B>FRAMES</B></A> + <A HREF="Wrapper.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/debug/DebuggableScript.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/debug/DebuggableScript.html new file mode 100644 index 0000000..1159738 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/debug/DebuggableScript.html @@ -0,0 +1,455 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +DebuggableScript (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="DebuggableScript (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV CLASS + NEXT CLASS</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/debug/DebuggableScript.html" target="_top"><B>FRAMES</B></A> + <A HREF="DebuggableScript.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript.debug</FONT> +<BR> +Interface DebuggableScript</H2> +<HR> +<DL> +<DT><PRE>public interface <B>DebuggableScript</B></DL> +</PRE> + +<P> +This interface exposes debugging information from executable + code (either functions or top-level scripts). +<P> + +<P> +<HR> + +<P> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getFunction(int)">getFunction</A></B>(int index)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getFunctionCount()">getFunctionCount</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getFunctionName()">getFunctionName</A></B>()</CODE> + +<BR> + Get name of the function described by this script.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getLineNumbers()">getLineNumbers</A></B>()</CODE> + +<BR> + Get array containing the line numbers that + that can be passed to <code>DebugFrame.onLineChange()<code>.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getParamAndVarCount()">getParamAndVarCount</A></B>()</CODE> + +<BR> + Get number of declared parameters and local variables.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getParamCount()">getParamCount</A></B>()</CODE> + +<BR> + Get number of declared parameters in the function.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getParamOrVarName(int)">getParamOrVarName</A></B>(int index)</CODE> + +<BR> + Get name of a declared parameter or local variable.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getParent()">getParent</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getSourceName()">getSourceName</A></B>()</CODE> + +<BR> + Get the name of the source (usually filename or URL) + of the script.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#isFunction()">isFunction</A></B>()</CODE> + +<BR> + Returns true if this is a function, false if it is a script.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#isGeneratedScript()">isGeneratedScript</A></B>()</CODE> + +<BR> + Returns true if this script or function were runtime-generated + from JavaScript using <tt>eval</tt> function or <tt>Function</tt> + or <tt>Script</tt> constructors.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#isTopLevel()">isTopLevel</A></B>()</CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<P> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="isTopLevel()"><!-- --></A><H3> +isTopLevel</H3> +<PRE> +boolean <B>isTopLevel</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isFunction()"><!-- --></A><H3> +isFunction</H3> +<PRE> +boolean <B>isFunction</B>()</PRE> +<DL> +<DD>Returns true if this is a function, false if it is a script. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getFunctionName()"><!-- --></A><H3> +getFunctionName</H3> +<PRE> +java.lang.String <B>getFunctionName</B>()</PRE> +<DL> +<DD>Get name of the function described by this script. + Return null or an empty string if this script is not a function. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getParamCount()"><!-- --></A><H3> +getParamCount</H3> +<PRE> +int <B>getParamCount</B>()</PRE> +<DL> +<DD>Get number of declared parameters in the function. + Return 0 if this script is not a function. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getParamAndVarCount()"><CODE>getParamAndVarCount()</CODE></A>, +<A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getParamOrVarName(int)"><CODE>getParamOrVarName(int index)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getParamAndVarCount()"><!-- --></A><H3> +getParamAndVarCount</H3> +<PRE> +int <B>getParamAndVarCount</B>()</PRE> +<DL> +<DD>Get number of declared parameters and local variables. + Return number of declared global variables if this script is not a + function. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getParamCount()"><CODE>getParamCount()</CODE></A>, +<A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getParamOrVarName(int)"><CODE>getParamOrVarName(int index)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getParamOrVarName(int)"><!-- --></A><H3> +getParamOrVarName</H3> +<PRE> +java.lang.String <B>getParamOrVarName</B>(int index)</PRE> +<DL> +<DD>Get name of a declared parameter or local variable. + <tt>index</tt> should be less then <A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getParamAndVarCount()"><CODE>getParamAndVarCount()</CODE></A>. + If <tt>index < <A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html#getParamCount()"><CODE>getParamCount()</CODE></A></tt>, return + the name of the corresponding parameter, otherwise return the name + of variable. + If this script is not function, return the name of the declared + global variable. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getSourceName()"><!-- --></A><H3> +getSourceName</H3> +<PRE> +java.lang.String <B>getSourceName</B>()</PRE> +<DL> +<DD>Get the name of the source (usually filename or URL) + of the script. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="isGeneratedScript()"><!-- --></A><H3> +isGeneratedScript</H3> +<PRE> +boolean <B>isGeneratedScript</B>()</PRE> +<DL> +<DD>Returns true if this script or function were runtime-generated + from JavaScript using <tt>eval</tt> function or <tt>Function</tt> + or <tt>Script</tt> constructors. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getLineNumbers()"><!-- --></A><H3> +getLineNumbers</H3> +<PRE> +int[] <B>getLineNumbers</B>()</PRE> +<DL> +<DD>Get array containing the line numbers that + that can be passed to <code>DebugFrame.onLineChange()<code>. + Note that line order in the resulting array is arbitrary +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getFunctionCount()"><!-- --></A><H3> +getFunctionCount</H3> +<PRE> +int <B>getFunctionCount</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getFunction(int)"><!-- --></A><H3> +getFunction</H3> +<PRE> +<A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> <B>getFunction</B>(int index)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getParent()"><!-- --></A><H3> +getParent</H3> +<PRE> +<A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A> <B>getParent</B>()</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV CLASS + NEXT CLASS</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/debug/DebuggableScript.html" target="_top"><B>FRAMES</B></A> + <A HREF="DebuggableScript.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/debug/package-frame.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/debug/package-frame.html new file mode 100644 index 0000000..28878a0 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/debug/package-frame.html @@ -0,0 +1,32 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +org.mozilla.javascript.debug (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + + +</HEAD> + +<BODY BGCOLOR="white"> +<FONT size="+1" CLASS="FrameTitleFont"> +<A HREF="../../../../org/mozilla/javascript/debug/package-summary.html" target="classFrame">org.mozilla.javascript.debug</A></FONT> +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont"> +Interfaces</FONT> +<FONT CLASS="FrameItemFont"> +<BR> +<A HREF="DebuggableScript.html" title="interface in org.mozilla.javascript.debug" target="classFrame"><I>DebuggableScript</I></A></FONT></TD> +</TR> +</TABLE> + + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/debug/package-summary.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/debug/package-summary.html new file mode 100644 index 0000000..1a50d7f --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/debug/package-summary.html @@ -0,0 +1,156 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +org.mozilla.javascript.debug (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="org.mozilla.javascript.debug (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/package-summary.html"><B>PREV PACKAGE</B></A> + <A HREF="../../../../org/mozilla/javascript/optimizer/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/debug/package-summary.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<H2> +Package org.mozilla.javascript.debug +</H2> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Interface Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug">DebuggableScript</A></B></TD> +<TD>This interface exposes debugging information from executable + code (either functions or top-level scripts).</TD> +</TR> +</TABLE> + + +<P> +<DL> +</DL> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/package-summary.html"><B>PREV PACKAGE</B></A> + <A HREF="../../../../org/mozilla/javascript/optimizer/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/debug/package-summary.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/debug/package-tree.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/debug/package-tree.html new file mode 100644 index 0000000..d32bdf5 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/debug/package-tree.html @@ -0,0 +1,149 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +org.mozilla.javascript.debug Class Hierarchy (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="org.mozilla.javascript.debug Class Hierarchy (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/package-tree.html"><B>PREV</B></A> + <A HREF="../../../../org/mozilla/javascript/optimizer/package-tree.html"><B>NEXT</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/debug/package-tree.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H2> +Hierarchy For Package org.mozilla.javascript.debug +</H2> +</CENTER> +<DL> +<DT><B>Package Hierarchies:</B><DD><A HREF="../../../../overview-tree.html">All Packages</A></DL> +<HR> +<H2> +Interface Hierarchy +</H2> +<UL> +<LI TYPE="circle">org.mozilla.javascript.debug.<A HREF="../../../../org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug"><B>DebuggableScript</B></A></UL> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/package-tree.html"><B>PREV</B></A> + <A HREF="../../../../org/mozilla/javascript/optimizer/package-tree.html"><B>NEXT</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/debug/package-tree.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/optimizer/ClassCompiler.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/optimizer/ClassCompiler.html new file mode 100644 index 0000000..bdce431 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/optimizer/ClassCompiler.html @@ -0,0 +1,461 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +ClassCompiler (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ClassCompiler (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV CLASS + NEXT CLASS</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/optimizer/ClassCompiler.html" target="_top"><B>FRAMES</B></A> + <A HREF="ClassCompiler.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript.optimizer</FONT> +<BR> +Class ClassCompiler</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.optimizer.ClassCompiler</B> +</PRE> +<HR> +<DL> +<DT><PRE>public class <B>ClassCompiler</B><DT>extends java.lang.Object</DL> +</PRE> + +<P> +Generates class files from script sources. + + since 1.5 Release 5 +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Igor Bukanov</DD> +</DL> +<HR> + +<P> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#ClassCompiler(org.mozilla.javascript.CompilerEnvirons)">ClassCompiler</A></B>(<A HREF="../../../../org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> compilerEnv)</CODE> + +<BR> + Construct ClassCompiler that uses the specified compiler environment + when generating classes.</TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#compileToClassFiles(java.lang.String, java.lang.String, int, java.lang.String)">compileToClassFiles</A></B>(java.lang.String source, + java.lang.String sourceLocation, + int lineno, + java.lang.String mainClassName)</CODE> + +<BR> + Compile JavaScript source into one or more Java class files.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../../../../org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#getCompilerEnv()">getCompilerEnv</A></B>()</CODE> + +<BR> + Get the compiler environment the compiler uses.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#getMainMethodClass()">getMainMethodClass</A></B>()</CODE> + +<BR> + Get the name of the class for main method implementation.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Class</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#getTargetExtends()">getTargetExtends</A></B>()</CODE> + +<BR> + Get the class that the generated target will extend.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Class[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#getTargetImplements()">getTargetImplements</A></B>()</CODE> + +<BR> + Get the interfaces that the generated target will implement.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#makeAuxiliaryClassName(java.lang.String, java.lang.String)">makeAuxiliaryClassName</A></B>(java.lang.String mainClassName, + java.lang.String auxMarker)</CODE> + +<BR> + Build class name for a auxiliary class generated by compiler.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#setMainMethodClass(java.lang.String)">setMainMethodClass</A></B>(java.lang.String className)</CODE> + +<BR> + Set the class name to use for main method implementation.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#setTargetExtends(java.lang.Class)">setTargetExtends</A></B>(java.lang.Class extendsClass)</CODE> + +<BR> + Set the class that the generated target will extend.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#setTargetImplements(java.lang.Class[])">setTargetImplements</A></B>(java.lang.Class[] implementsClasses)</CODE> + +<BR> + Set the interfaces that the generated target will implement.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="ClassCompiler(org.mozilla.javascript.CompilerEnvirons)"><!-- --></A><H3> +ClassCompiler</H3> +<PRE> +public <B>ClassCompiler</B>(<A HREF="../../../../org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> compilerEnv)</PRE> +<DL> +<DD>Construct ClassCompiler that uses the specified compiler environment + when generating classes. +<P> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="setMainMethodClass(java.lang.String)"><!-- --></A><H3> +setMainMethodClass</H3> +<PRE> +public void <B>setMainMethodClass</B>(java.lang.String className)</PRE> +<DL> +<DD>Set the class name to use for main method implementation. + The class must have a method matching + <tt>public static void main(Script sc, String[] args)</tt>, it will be + called when <tt>main(String[] args)</tt> is called in the generated + class. The class name should be fully qulified name and include the + package name like in <tt>org.foo.Bar<tt>. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getMainMethodClass()"><!-- --></A><H3> +getMainMethodClass</H3> +<PRE> +public java.lang.String <B>getMainMethodClass</B>()</PRE> +<DL> +<DD>Get the name of the class for main method implementation. +<P> +<DD><DL> +<DT><B>See Also:</B><DD><A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#setMainMethodClass(java.lang.String)"><CODE>setMainMethodClass(String)</CODE></A></DL> +</DD> +</DL> +<HR> + +<A NAME="getCompilerEnv()"><!-- --></A><H3> +getCompilerEnv</H3> +<PRE> +public <A HREF="../../../../org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A> <B>getCompilerEnv</B>()</PRE> +<DL> +<DD>Get the compiler environment the compiler uses. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getTargetExtends()"><!-- --></A><H3> +getTargetExtends</H3> +<PRE> +public java.lang.Class <B>getTargetExtends</B>()</PRE> +<DL> +<DD>Get the class that the generated target will extend. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setTargetExtends(java.lang.Class)"><!-- --></A><H3> +setTargetExtends</H3> +<PRE> +public void <B>setTargetExtends</B>(java.lang.Class extendsClass)</PRE> +<DL> +<DD>Set the class that the generated target will extend. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>extendsClass</CODE> - the class it extends</DL> +</DD> +</DL> +<HR> + +<A NAME="getTargetImplements()"><!-- --></A><H3> +getTargetImplements</H3> +<PRE> +public java.lang.Class[] <B>getTargetImplements</B>()</PRE> +<DL> +<DD>Get the interfaces that the generated target will implement. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="setTargetImplements(java.lang.Class[])"><!-- --></A><H3> +setTargetImplements</H3> +<PRE> +public void <B>setTargetImplements</B>(java.lang.Class[] implementsClasses)</PRE> +<DL> +<DD>Set the interfaces that the generated target will implement. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>implementsClasses</CODE> - an array of Class objects, one for each + interface the target will extend</DL> +</DD> +</DL> +<HR> + +<A NAME="makeAuxiliaryClassName(java.lang.String, java.lang.String)"><!-- --></A><H3> +makeAuxiliaryClassName</H3> +<PRE> +protected java.lang.String <B>makeAuxiliaryClassName</B>(java.lang.String mainClassName, + java.lang.String auxMarker)</PRE> +<DL> +<DD>Build class name for a auxiliary class generated by compiler. + If the compiler needs to generate extra classes beyond the main class, + it will call this function to build the auxiliary class name. + The default implementation simply appends auxMarker to mainClassName + but this can be overridden. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="compileToClassFiles(java.lang.String, java.lang.String, int, java.lang.String)"><!-- --></A><H3> +compileToClassFiles</H3> +<PRE> +public java.lang.Object[] <B>compileToClassFiles</B>(java.lang.String source, + java.lang.String sourceLocation, + int lineno, + java.lang.String mainClassName)</PRE> +<DL> +<DD>Compile JavaScript source into one or more Java class files. + The first compiled class will have name mainClassName. + If the results of <A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#getTargetExtends()"><CODE>getTargetExtends()</CODE></A> or + <A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html#getTargetImplements()"><CODE>getTargetImplements()</CODE></A> are not null, then the first compiled + class will extend the specified super class and implement + specified interfaces. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>array where elements with even indexes specifies class name + and the following odd index gives class file body as byte[] + array. The initial element of the array always holds + mainClassName and array[1] holds its byte code.</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV CLASS + NEXT CLASS</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/optimizer/ClassCompiler.html" target="_top"><B>FRAMES</B></A> + <A HREF="ClassCompiler.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/optimizer/package-frame.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/optimizer/package-frame.html new file mode 100644 index 0000000..1dc284b --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/optimizer/package-frame.html @@ -0,0 +1,32 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +org.mozilla.javascript.optimizer (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + + +</HEAD> + +<BODY BGCOLOR="white"> +<FONT size="+1" CLASS="FrameTitleFont"> +<A HREF="../../../../org/mozilla/javascript/optimizer/package-summary.html" target="classFrame">org.mozilla.javascript.optimizer</A></FONT> +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont"> +Classes</FONT> +<FONT CLASS="FrameItemFont"> +<BR> +<A HREF="ClassCompiler.html" title="class in org.mozilla.javascript.optimizer" target="classFrame">ClassCompiler</A></FONT></TD> +</TR> +</TABLE> + + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/optimizer/package-summary.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/optimizer/package-summary.html new file mode 100644 index 0000000..8b86a40 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/optimizer/package-summary.html @@ -0,0 +1,155 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +org.mozilla.javascript.optimizer (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="org.mozilla.javascript.optimizer (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/debug/package-summary.html"><B>PREV PACKAGE</B></A> + <A HREF="../../../../org/mozilla/javascript/serialize/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/optimizer/package-summary.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<H2> +Package org.mozilla.javascript.optimizer +</H2> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer">ClassCompiler</A></B></TD> +<TD>Generates class files from script sources.</TD> +</TR> +</TABLE> + + +<P> +<DL> +</DL> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/debug/package-summary.html"><B>PREV PACKAGE</B></A> + <A HREF="../../../../org/mozilla/javascript/serialize/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/optimizer/package-summary.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/optimizer/package-tree.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/optimizer/package-tree.html new file mode 100644 index 0000000..55e23d0 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/optimizer/package-tree.html @@ -0,0 +1,151 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +org.mozilla.javascript.optimizer Class Hierarchy (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="org.mozilla.javascript.optimizer Class Hierarchy (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/debug/package-tree.html"><B>PREV</B></A> + <A HREF="../../../../org/mozilla/javascript/serialize/package-tree.html"><B>NEXT</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/optimizer/package-tree.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H2> +Hierarchy For Package org.mozilla.javascript.optimizer +</H2> +</CENTER> +<DL> +<DT><B>Package Hierarchies:</B><DD><A HREF="../../../../overview-tree.html">All Packages</A></DL> +<HR> +<H2> +Class Hierarchy +</H2> +<UL> +<LI TYPE="circle">java.lang.Object<UL> +<LI TYPE="circle">org.mozilla.javascript.optimizer.<A HREF="../../../../org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer"><B>ClassCompiler</B></A></UL> +</UL> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/debug/package-tree.html"><B>PREV</B></A> + <A HREF="../../../../org/mozilla/javascript/serialize/package-tree.html"><B>NEXT</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/optimizer/package-tree.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/package-frame.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/package-frame.html new file mode 100644 index 0000000..f40351c --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/package-frame.html @@ -0,0 +1,100 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +org.mozilla.javascript (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + + +</HEAD> + +<BODY BGCOLOR="white"> +<FONT size="+1" CLASS="FrameTitleFont"> +<A HREF="../../../org/mozilla/javascript/package-summary.html" target="classFrame">org.mozilla.javascript</A></FONT> +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont"> +Interfaces</FONT> +<FONT CLASS="FrameItemFont"> +<BR> +<A HREF="Callable.html" title="interface in org.mozilla.javascript" target="classFrame"><I>Callable</I></A> +<BR> +<A HREF="ClassShutter.html" title="interface in org.mozilla.javascript" target="classFrame"><I>ClassShutter</I></A> +<BR> +<A HREF="ContextAction.html" title="interface in org.mozilla.javascript" target="classFrame"><I>ContextAction</I></A> +<BR> +<A HREF="ContextFactory.Listener.html" title="interface in org.mozilla.javascript" target="classFrame"><I>ContextFactory.Listener</I></A> +<BR> +<A HREF="ErrorReporter.html" title="interface in org.mozilla.javascript" target="classFrame"><I>ErrorReporter</I></A> +<BR> +<A HREF="Function.html" title="interface in org.mozilla.javascript" target="classFrame"><I>Function</I></A> +<BR> +<A HREF="GeneratedClassLoader.html" title="interface in org.mozilla.javascript" target="classFrame"><I>GeneratedClassLoader</I></A> +<BR> +<A HREF="RefCallable.html" title="interface in org.mozilla.javascript" target="classFrame"><I>RefCallable</I></A> +<BR> +<A HREF="Script.html" title="interface in org.mozilla.javascript" target="classFrame"><I>Script</I></A> +<BR> +<A HREF="Scriptable.html" title="interface in org.mozilla.javascript" target="classFrame"><I>Scriptable</I></A> +<BR> +<A HREF="Wrapper.html" title="interface in org.mozilla.javascript" target="classFrame"><I>Wrapper</I></A></FONT></TD> +</TR> +</TABLE> + + +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont"> +Classes</FONT> +<FONT CLASS="FrameItemFont"> +<BR> +<A HREF="ClassCache.html" title="class in org.mozilla.javascript" target="classFrame">ClassCache</A> +<BR> +<A HREF="CompilerEnvirons.html" title="class in org.mozilla.javascript" target="classFrame">CompilerEnvirons</A> +<BR> +<A HREF="Context.html" title="class in org.mozilla.javascript" target="classFrame">Context</A> +<BR> +<A HREF="ContextFactory.html" title="class in org.mozilla.javascript" target="classFrame">ContextFactory</A> +<BR> +<A HREF="FunctionObject.html" title="class in org.mozilla.javascript" target="classFrame">FunctionObject</A> +<BR> +<A HREF="ImporterTopLevel.html" title="class in org.mozilla.javascript" target="classFrame">ImporterTopLevel</A> +<BR> +<A HREF="ScriptableObject.html" title="class in org.mozilla.javascript" target="classFrame">ScriptableObject</A> +<BR> +<A HREF="SecurityController.html" title="class in org.mozilla.javascript" target="classFrame">SecurityController</A> +<BR> +<A HREF="Synchronizer.html" title="class in org.mozilla.javascript" target="classFrame">Synchronizer</A> +<BR> +<A HREF="WrapFactory.html" title="class in org.mozilla.javascript" target="classFrame">WrapFactory</A></FONT></TD> +</TR> +</TABLE> + + +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont"> +Exceptions</FONT> +<FONT CLASS="FrameItemFont"> +<BR> +<A HREF="EcmaError.html" title="class in org.mozilla.javascript" target="classFrame">EcmaError</A> +<BR> +<A HREF="EvaluatorException.html" title="class in org.mozilla.javascript" target="classFrame">EvaluatorException</A> +<BR> +<A HREF="JavaScriptException.html" title="class in org.mozilla.javascript" target="classFrame">JavaScriptException</A> +<BR> +<A HREF="RhinoException.html" title="class in org.mozilla.javascript" target="classFrame">RhinoException</A> +<BR> +<A HREF="WrappedException.html" title="class in org.mozilla.javascript" target="classFrame">WrappedException</A></FONT></TD> +</TR> +</TABLE> + + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/package-summary.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/package-summary.html new file mode 100644 index 0000000..c15d3c1 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/package-summary.html @@ -0,0 +1,294 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +org.mozilla.javascript (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="org.mozilla.javascript (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV PACKAGE + <A HREF="../../../org/mozilla/javascript/debug/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/package-summary.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<H2> +Package org.mozilla.javascript +</H2> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Interface Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A></B></TD> +<TD>Generic notion of callable object that can execute some script-related code + upon request with specified values for script scope and this objects.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript">ClassShutter</A></B></TD> +<TD>Embeddings that wish to filter Java classes that are visible to scripts +through the LiveConnect, should implement this interface.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript">ContextAction</A></B></TD> +<TD>Interface to represent arbitrary action that requires to have Context + object associated with the current thread for its execution.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript">ContextFactory.Listener</A></B></TD> +<TD>Listener of <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> creation and release events.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript">ErrorReporter</A></B></TD> +<TD>This is interface defines a protocol for the reporting of + errors during JavaScript translation or execution.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A></B></TD> +<TD>This is interface that all functions in JavaScript must implement.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript">GeneratedClassLoader</A></B></TD> +<TD>Interface to define classes from generated byte code.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/RefCallable.html" title="interface in org.mozilla.javascript">RefCallable</A></B></TD> +<TD>Object that can allows assignments to the result of function calls.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript">Script</A></B></TD> +<TD>All compiled scripts implement this interface.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A></B></TD> +<TD>This is interface that all objects in JavaScript must implement.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/Wrapper.html" title="interface in org.mozilla.javascript">Wrapper</A></B></TD> +<TD>Objects that can wrap other values for reflection in the JS environment + will implement Wrapper.</TD> +</TR> +</TABLE> + + +<P> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript">ClassCache</A></B></TD> +<TD>Cache of generated classes and data structures to access Java runtime + from JavaScript.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript">CompilerEnvirons</A></B></TD> +<TD> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript">Context</A></B></TD> +<TD>This class represents the runtime context of an executing script.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript">ContextFactory</A></B></TD> +<TD>Factory class that Rhino runtime uses to create new <A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><CODE>Context</CODE></A> + instances.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">FunctionObject</A></B></TD> +<TD> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">ImporterTopLevel</A></B></TD> +<TD>Class ImporterTopLevel + + This class defines a ScriptableObject that can be instantiated + as a top-level ("global") object to provide functionality similar + to Java's "import" statement.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A></B></TD> +<TD>This is the default implementation of the Scriptable interface.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript">SecurityController</A></B></TD> +<TD>This class describes the support needed to implement security.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript">Synchronizer</A></B></TD> +<TD>This class provides support for implementing Java-style synchronized + methods in Javascript.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript">WrapFactory</A></B></TD> +<TD>Embeddings that wish to provide their own custom wrappings for Java + objects may extend this class and call + <A HREF="../../../org/mozilla/javascript/Context.html#setWrapFactory(org.mozilla.javascript.WrapFactory)"><CODE>Context.setWrapFactory(WrapFactory)</CODE></A> + Once an instance of this class or an extension of this class is enabled + for a given context (by calling setWrapFactory on that context), Rhino + will call the methods of this class whenever it needs to wrap a value + resulting from a call to a Java method or an access to a Java field.</TD> +</TR> +</TABLE> + + +<P> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Exception Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">EcmaError</A></B></TD> +<TD>The class of exceptions raised by the engine as described in + ECMA edition 3.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A></B></TD> +<TD>The class of exceptions thrown by the JavaScript engine.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript">JavaScriptException</A></B></TD> +<TD>Java reflection of JavaScript exceptions.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A></B></TD> +<TD>The class of exceptions thrown by the JavaScript engine.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript">WrappedException</A></B></TD> +<TD>A wrapper for runtime exceptions.</TD> +</TR> +</TABLE> + + +<P> +<DL> +</DL> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV PACKAGE + <A HREF="../../../org/mozilla/javascript/debug/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/package-summary.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/package-tree.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/package-tree.html new file mode 100644 index 0000000..030f3e0 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/package-tree.html @@ -0,0 +1,185 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +org.mozilla.javascript Class Hierarchy (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="org.mozilla.javascript Class Hierarchy (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + <A HREF="../../../org/mozilla/javascript/debug/package-tree.html"><B>NEXT</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/package-tree.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H2> +Hierarchy For Package org.mozilla.javascript +</H2> +</CENTER> +<DL> +<DT><B>Package Hierarchies:</B><DD><A HREF="../../../overview-tree.html">All Packages</A></DL> +<HR> +<H2> +Class Hierarchy +</H2> +<UL> +<LI TYPE="circle">java.lang.Object<UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript"><B>ClassCache</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript"><B>CompilerEnvirons</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><B>Context</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript"><B>ContextFactory</B></A><LI TYPE="circle">org.mozilla.javascript.Delegator (implements org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A>) +<UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript"><B>Synchronizer</B></A></UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript"><B>ScriptableObject</B></A> (implements org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A>, java.io.Serializable) +<UL> +<LI TYPE="circle">org.mozilla.javascript.IdScriptableObject (implements org.mozilla.javascript.IdFunctionCall) +<UL> +<LI TYPE="circle">org.mozilla.javascript.BaseFunction (implements org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A>) +<UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript"><B>FunctionObject</B></A></UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript"><B>ImporterTopLevel</B></A></UL> +</UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript"><B>SecurityController</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable) +<UL> +<LI TYPE="circle">java.lang.Exception<UL> +<LI TYPE="circle">java.lang.RuntimeException<UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript"><B>RhinoException</B></A><UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript"><B>EcmaError</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><B>EvaluatorException</B></A><UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript"><B>WrappedException</B></A></UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript"><B>JavaScriptException</B></A></UL> +</UL> +</UL> +</UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript"><B>WrapFactory</B></A></UL> +</UL> +<H2> +Interface Hierarchy +</H2> +<UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript"><B>Callable</B></A><UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript"><B>Function</B></A> (also extends org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A>) +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/RefCallable.html" title="interface in org.mozilla.javascript"><B>RefCallable</B></A></UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript"><B>ClassShutter</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript"><B>ContextAction</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript"><B>ContextFactory.Listener</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><B>ErrorReporter</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript"><B>GeneratedClassLoader</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript"><B>Script</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><B>Scriptable</B></A><UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript"><B>Function</B></A> (also extends org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A>) +</UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="../../../org/mozilla/javascript/Wrapper.html" title="interface in org.mozilla.javascript"><B>Wrapper</B></A></UL> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + <A HREF="../../../org/mozilla/javascript/debug/package-tree.html"><B>NEXT</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../index.html?org/mozilla/javascript/package-tree.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/ScriptableInputStream.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/ScriptableInputStream.html new file mode 100644 index 0000000..f0d178f --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/ScriptableInputStream.html @@ -0,0 +1,373 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:14 EST 2008 --> +<TITLE> +ScriptableInputStream (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ScriptableInputStream (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV CLASS + <A HREF="../../../../org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/serialize/ScriptableInputStream.html" target="_top"><B>FRAMES</B></A> + <A HREF="ScriptableInputStream.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: <A HREF="#nested_classes_inherited_from_class_java.io.ObjectInputStream">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript.serialize</FONT> +<BR> +Class ScriptableInputStream</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.io.InputStream + <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.io.ObjectInputStream + <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.serialize.ScriptableInputStream</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD>java.io.Closeable, java.io.DataInput, java.io.ObjectInput, java.io.ObjectStreamConstants</DD> +</DL> +<HR> +<DL> +<DT><PRE>public class <B>ScriptableInputStream</B><DT>extends java.io.ObjectInputStream</DL> +</PRE> + +<P> +Class ScriptableInputStream is used to read in a JavaScript + object or function previously serialized with a ScriptableOutputStream. + References to names in the exclusion list + replaced with references to the top-level scope specified during + creation of the ScriptableInputStream. +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Norris Boyd</DD> +</DL> +<HR> + +<P> +<!-- ======== NESTED CLASS SUMMARY ======== --> + +<A NAME="nested_class_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Nested Class Summary</B></FONT></TH> +</TR> +</TABLE> + <A NAME="nested_classes_inherited_from_class_java.io.ObjectInputStream"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.io.ObjectInputStream</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>java.io.ObjectInputStream.GetField</CODE></TD> +</TR> +</TABLE> + +<!-- =========== FIELD SUMMARY =========== --> + +<A NAME="field_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Field Summary</B></FONT></TH> +</TR> +</TABLE> + <A NAME="fields_inherited_from_class_java.io.ObjectStreamConstants"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Fields inherited from interface java.io.ObjectStreamConstants</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING</CODE></TD> +</TR> +</TABLE> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/serialize/ScriptableInputStream.html#ScriptableInputStream(java.io.InputStream, org.mozilla.javascript.Scriptable)">ScriptableInputStream</A></B>(java.io.InputStream in, + <A HREF="../../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</CODE> + +<BR> + Create a ScriptableInputStream.</TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.lang.Class</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/serialize/ScriptableInputStream.html#resolveClass(java.io.ObjectStreamClass)">resolveClass</A></B>(java.io.ObjectStreamClass desc)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/serialize/ScriptableInputStream.html#resolveObject(java.lang.Object)">resolveObject</A></B>(java.lang.Object obj)</CODE> + +<BR> + </TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.io.ObjectInputStream"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.io.ObjectInputStream</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>available, close, defaultReadObject, enableResolveObject, read, read, readBoolean, readByte, readChar, readClassDescriptor, readDouble, readFields, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readObjectOverride, readShort, readStreamHeader, readUnshared, readUnsignedByte, readUnsignedShort, readUTF, registerValidation, resolveProxyClass, skipBytes</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.io.InputStream"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.io.InputStream</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>mark, markSupported, read, reset, skip</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.io.ObjectInput"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from interface java.io.ObjectInput</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>read, skip</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="ScriptableInputStream(java.io.InputStream, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +ScriptableInputStream</H3> +<PRE> +public <B>ScriptableInputStream</B>(java.io.InputStream in, + <A HREF="../../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope) + throws java.io.IOException</PRE> +<DL> +<DD>Create a ScriptableInputStream. +<P> +<DL> +<DT><B>Parameters:</B><DD><CODE>in</CODE> - the InputStream to read from.<DD><CODE>scope</CODE> - the top-level scope to create the object in. +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="resolveClass(java.io.ObjectStreamClass)"><!-- --></A><H3> +resolveClass</H3> +<PRE> +protected java.lang.Class <B>resolveClass</B>(java.io.ObjectStreamClass desc) + throws java.io.IOException, + java.lang.ClassNotFoundException</PRE> +<DL> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>resolveClass</CODE> in class <CODE>java.io.ObjectInputStream</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE> +<DD><CODE>java.lang.ClassNotFoundException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="resolveObject(java.lang.Object)"><!-- --></A><H3> +resolveObject</H3> +<PRE> +protected java.lang.Object <B>resolveObject</B>(java.lang.Object obj) + throws java.io.IOException</PRE> +<DL> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>resolveObject</CODE> in class <CODE>java.io.ObjectInputStream</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV CLASS + <A HREF="../../../../org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/serialize/ScriptableInputStream.html" target="_top"><B>FRAMES</B></A> + <A HREF="ScriptableInputStream.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: <A HREF="#nested_classes_inherited_from_class_java.io.ObjectInputStream">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/ScriptableOutputStream.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/ScriptableOutputStream.html new file mode 100644 index 0000000..fb6d1ba --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/ScriptableOutputStream.html @@ -0,0 +1,458 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:14 EST 2008 --> +<TITLE> +ScriptableOutputStream (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ScriptableOutputStream (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/serialize/ScriptableInputStream.html" title="class in org.mozilla.javascript.serialize"><B>PREV CLASS</B></A> + NEXT CLASS</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/serialize/ScriptableOutputStream.html" target="_top"><B>FRAMES</B></A> + <A HREF="ScriptableOutputStream.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: <A HREF="#nested_classes_inherited_from_class_java.io.ObjectOutputStream">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.mozilla.javascript.serialize</FONT> +<BR> +Class ScriptableOutputStream</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.io.OutputStream + <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.io.ObjectOutputStream + <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.mozilla.javascript.serialize.ScriptableOutputStream</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD>java.io.Closeable, java.io.DataOutput, java.io.Flushable, java.io.ObjectOutput, java.io.ObjectStreamConstants</DD> +</DL> +<HR> +<DL> +<DT><PRE>public class <B>ScriptableOutputStream</B><DT>extends java.io.ObjectOutputStream</DL> +</PRE> + +<P> +Class ScriptableOutputStream is an ObjectOutputStream used + to serialize JavaScript objects and functions. Note that + compiled functions currently cannot be serialized, only + interpreted functions. The top-level scope containing the + object is not written out, but is instead replaced with + another top-level object when the ScriptableInputStream + reads in this object. Also, object corresponding to names + added to the exclude list are not written out but instead + are looked up during deserialization. This approach avoids + the creation of duplicate copies of standard objects + during deserialization. +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Norris Boyd</DD> +</DL> +<HR> + +<P> +<!-- ======== NESTED CLASS SUMMARY ======== --> + +<A NAME="nested_class_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Nested Class Summary</B></FONT></TH> +</TR> +</TABLE> + <A NAME="nested_classes_inherited_from_class_java.io.ObjectOutputStream"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.io.ObjectOutputStream</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>java.io.ObjectOutputStream.PutField</CODE></TD> +</TR> +</TABLE> + +<!-- =========== FIELD SUMMARY =========== --> + +<A NAME="field_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Field Summary</B></FONT></TH> +</TR> +</TABLE> + <A NAME="fields_inherited_from_class_java.io.ObjectStreamConstants"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Fields inherited from interface java.io.ObjectStreamConstants</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING</CODE></TD> +</TR> +</TABLE> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/serialize/ScriptableOutputStream.html#ScriptableOutputStream(java.io.OutputStream, org.mozilla.javascript.Scriptable)">ScriptableOutputStream</A></B>(java.io.OutputStream out, + <A HREF="../../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope)</CODE> + +<BR> + ScriptableOutputStream constructor.</TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/serialize/ScriptableOutputStream.html#addExcludedName(java.lang.String)">addExcludedName</A></B>(java.lang.String name)</CODE> + +<BR> + Adds a qualified name to the list of object to be excluded from + serialization.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/serialize/ScriptableOutputStream.html#addOptionalExcludedName(java.lang.String)">addOptionalExcludedName</A></B>(java.lang.String name)</CODE> + +<BR> + Adds a qualified name to the list of object to be excluded from + serialization.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/serialize/ScriptableOutputStream.html#excludeStandardObjectNames()">excludeStandardObjectNames</A></B>()</CODE> + +<BR> + Adds the names of the standard objects and their + prototypes to the list of excluded names.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/serialize/ScriptableOutputStream.html#hasExcludedName(java.lang.String)">hasExcludedName</A></B>(java.lang.String name)</CODE> + +<BR> + Returns true if the name is excluded from serialization.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/serialize/ScriptableOutputStream.html#removeExcludedName(java.lang.String)">removeExcludedName</A></B>(java.lang.String name)</CODE> + +<BR> + Removes a name from the list of names to exclude.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../org/mozilla/javascript/serialize/ScriptableOutputStream.html#replaceObject(java.lang.Object)">replaceObject</A></B>(java.lang.Object obj)</CODE> + +<BR> + </TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.io.ObjectOutputStream"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.io.ObjectOutputStream</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>annotateClass, annotateProxyClass, close, defaultWriteObject, drain, enableReplaceObject, flush, putFields, reset, useProtocolVersion, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeClassDescriptor, writeDouble, writeFields, writeFloat, writeInt, writeLong, writeObject, writeObjectOverride, writeShort, writeStreamHeader, writeUnshared, writeUTF</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="ScriptableOutputStream(java.io.OutputStream, org.mozilla.javascript.Scriptable)"><!-- --></A><H3> +ScriptableOutputStream</H3> +<PRE> +public <B>ScriptableOutputStream</B>(java.io.OutputStream out, + <A HREF="../../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> scope) + throws java.io.IOException</PRE> +<DL> +<DD>ScriptableOutputStream constructor. + Creates a ScriptableOutputStream for use in serializing + JavaScript objects. Calls excludeStandardObjectNames. +<P> +<DL> +<DT><B>Parameters:</B><DD><CODE>out</CODE> - the OutputStream to write to.<DD><CODE>scope</CODE> - the scope containing the object. +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TH> +</TR> +</TABLE> + +<A NAME="addOptionalExcludedName(java.lang.String)"><!-- --></A><H3> +addOptionalExcludedName</H3> +<PRE> +public void <B>addOptionalExcludedName</B>(java.lang.String name)</PRE> +<DL> +<DD>Adds a qualified name to the list of object to be excluded from + serialization. Names excluded from serialization are looked up + in the new scope and replaced upon deserialization. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - a fully qualified name (of the form "a.b.c", where + "a" must be a property of the top-level object). The object + need not exist, in which case the name is ignored. +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the object is not a + <A HREF="../../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><CODE>Scriptable</CODE></A>.</DL> +</DD> +</DL> +<HR> + +<A NAME="addExcludedName(java.lang.String)"><!-- --></A><H3> +addExcludedName</H3> +<PRE> +public void <B>addExcludedName</B>(java.lang.String name)</PRE> +<DL> +<DD>Adds a qualified name to the list of object to be excluded from + serialization. Names excluded from serialization are looked up + in the new scope and replaced upon deserialization. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>name</CODE> - a fully qualified name (of the form "a.b.c", where + "a" must be a property of the top-level object) +<DT><B>Throws:</B> +<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the object is not found or is not + a <A HREF="../../../../org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><CODE>Scriptable</CODE></A>.</DL> +</DD> +</DL> +<HR> + +<A NAME="hasExcludedName(java.lang.String)"><!-- --></A><H3> +hasExcludedName</H3> +<PRE> +public boolean <B>hasExcludedName</B>(java.lang.String name)</PRE> +<DL> +<DD>Returns true if the name is excluded from serialization. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="removeExcludedName(java.lang.String)"><!-- --></A><H3> +removeExcludedName</H3> +<PRE> +public void <B>removeExcludedName</B>(java.lang.String name)</PRE> +<DL> +<DD>Removes a name from the list of names to exclude. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="excludeStandardObjectNames()"><!-- --></A><H3> +excludeStandardObjectNames</H3> +<PRE> +public void <B>excludeStandardObjectNames</B>()</PRE> +<DL> +<DD>Adds the names of the standard objects and their + prototypes to the list of excluded names. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="replaceObject(java.lang.Object)"><!-- --></A><H3> +replaceObject</H3> +<PRE> +protected java.lang.Object <B>replaceObject</B>(java.lang.Object obj) + throws java.io.IOException</PRE> +<DL> +<DD><DL> +<DT><B>Overrides:</B><DD><CODE>replaceObject</CODE> in class <CODE>java.io.ObjectOutputStream</CODE></DL> +</DD> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/serialize/ScriptableInputStream.html" title="class in org.mozilla.javascript.serialize"><B>PREV CLASS</B></A> + NEXT CLASS</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/serialize/ScriptableOutputStream.html" target="_top"><B>FRAMES</B></A> + <A HREF="ScriptableOutputStream.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: <A HREF="#nested_classes_inherited_from_class_java.io.ObjectOutputStream">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/package-frame.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/package-frame.html new file mode 100644 index 0000000..39d85e2 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/package-frame.html @@ -0,0 +1,34 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +org.mozilla.javascript.serialize (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + + +</HEAD> + +<BODY BGCOLOR="white"> +<FONT size="+1" CLASS="FrameTitleFont"> +<A HREF="../../../../org/mozilla/javascript/serialize/package-summary.html" target="classFrame">org.mozilla.javascript.serialize</A></FONT> +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TD NOWRAP><FONT size="+1" CLASS="FrameHeadingFont"> +Classes</FONT> +<FONT CLASS="FrameItemFont"> +<BR> +<A HREF="ScriptableInputStream.html" title="class in org.mozilla.javascript.serialize" target="classFrame">ScriptableInputStream</A> +<BR> +<A HREF="ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize" target="classFrame">ScriptableOutputStream</A></FONT></TD> +</TR> +</TABLE> + + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/package-summary.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/package-summary.html new file mode 100644 index 0000000..568f562 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/package-summary.html @@ -0,0 +1,161 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +org.mozilla.javascript.serialize (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="org.mozilla.javascript.serialize (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/optimizer/package-summary.html"><B>PREV PACKAGE</B></A> + NEXT PACKAGE</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/serialize/package-summary.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<H2> +Package org.mozilla.javascript.serialize +</H2> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../../org/mozilla/javascript/serialize/ScriptableInputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableInputStream</A></B></TD> +<TD>Class ScriptableInputStream is used to read in a JavaScript + object or function previously serialized with a ScriptableOutputStream.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="15%"><B><A HREF="../../../../org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize">ScriptableOutputStream</A></B></TD> +<TD>Class ScriptableOutputStream is an ObjectOutputStream used + to serialize JavaScript objects and functions.</TD> +</TR> +</TABLE> + + +<P> +<DL> +</DL> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/optimizer/package-summary.html"><B>PREV PACKAGE</B></A> + NEXT PACKAGE</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/serialize/package-summary.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/package-tree.html b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/package-tree.html new file mode 100644 index 0000000..e672261 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/org/mozilla/javascript/serialize/package-tree.html @@ -0,0 +1,163 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +org.mozilla.javascript.serialize Class Hierarchy (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="org.mozilla.javascript.serialize Class Hierarchy (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/optimizer/package-tree.html"><B>PREV</B></A> + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/serialize/package-tree.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H2> +Hierarchy For Package org.mozilla.javascript.serialize +</H2> +</CENTER> +<DL> +<DT><B>Package Hierarchies:</B><DD><A HREF="../../../../overview-tree.html">All Packages</A></DL> +<HR> +<H2> +Class Hierarchy +</H2> +<UL> +<LI TYPE="circle">java.lang.Object<UL> +<LI TYPE="circle">java.io.InputStream (implements java.io.Closeable) +<UL> +<LI TYPE="circle">java.io.ObjectInputStream (implements java.io.ObjectInput, java.io.ObjectStreamConstants) +<UL> +<LI TYPE="circle">org.mozilla.javascript.serialize.<A HREF="../../../../org/mozilla/javascript/serialize/ScriptableInputStream.html" title="class in org.mozilla.javascript.serialize"><B>ScriptableInputStream</B></A></UL> +</UL> +<LI TYPE="circle">java.io.OutputStream (implements java.io.Closeable, java.io.Flushable) +<UL> +<LI TYPE="circle">java.io.ObjectOutputStream (implements java.io.ObjectOutput, java.io.ObjectStreamConstants) +<UL> +<LI TYPE="circle">org.mozilla.javascript.serialize.<A HREF="../../../../org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize"><B>ScriptableOutputStream</B></A></UL> +</UL> +</UL> +</UL> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../org/mozilla/javascript/optimizer/package-tree.html"><B>PREV</B></A> + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../../../../index.html?org/mozilla/javascript/serialize/package-tree.html" target="_top"><B>FRAMES</B></A> + <A HREF="package-tree.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/overview-frame.html b/infrastructure/rhino1_7R1/javadoc/overview-frame.html new file mode 100644 index 0000000..10e9be0 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/overview-frame.html @@ -0,0 +1,48 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:15 EST 2008 --> +<TITLE> +Overview List (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + + +</HEAD> + +<BODY BGCOLOR="white"> + +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TH ALIGN="left" NOWRAP><FONT size="+1" CLASS="FrameTitleFont"> +<B></B></FONT></TH> +</TR> +</TABLE> + +<TABLE BORDER="0" WIDTH="100%" SUMMARY=""> +<TR> +<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="allclasses-frame.html" target="packageFrame">All Classes</A></FONT> +<P> +<FONT size="+1" CLASS="FrameHeadingFont"> +Packages</FONT> +<BR> +<FONT CLASS="FrameItemFont"><A HREF="org/mozilla/javascript/package-frame.html" target="packageFrame">org.mozilla.javascript</A></FONT> +<BR> +<FONT CLASS="FrameItemFont"><A HREF="org/mozilla/javascript/debug/package-frame.html" target="packageFrame">org.mozilla.javascript.debug</A></FONT> +<BR> +<FONT CLASS="FrameItemFont"><A HREF="org/mozilla/javascript/optimizer/package-frame.html" target="packageFrame">org.mozilla.javascript.optimizer</A></FONT> +<BR> +<FONT CLASS="FrameItemFont"><A HREF="org/mozilla/javascript/serialize/package-frame.html" target="packageFrame">org.mozilla.javascript.serialize</A></FONT> +<BR> +</TD> +</TR> +</TABLE> + +<P> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/overview-summary.html b/infrastructure/rhino1_7R1/javadoc/overview-summary.html new file mode 100644 index 0000000..043bb30 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/overview-summary.html @@ -0,0 +1,161 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +Overview (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Overview (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?overview-summary.html" target="_top"><B>FRAMES</B></A> + <A HREF="overview-summary.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Packages</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="20%"><B><A HREF="org/mozilla/javascript/package-summary.html">org.mozilla.javascript</A></B></TD> +<TD> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="20%"><B><A HREF="org/mozilla/javascript/debug/package-summary.html">org.mozilla.javascript.debug</A></B></TD> +<TD> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="20%"><B><A HREF="org/mozilla/javascript/optimizer/package-summary.html">org.mozilla.javascript.optimizer</A></B></TD> +<TD> </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD WIDTH="20%"><B><A HREF="org/mozilla/javascript/serialize/package-summary.html">org.mozilla.javascript.serialize</A></B></TD> +<TD> </TD> +</TR> +</TABLE> + +<P> + <HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Overview</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?overview-summary.html" target="_top"><B>FRAMES</B></A> + <A HREF="overview-summary.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/overview-tree.html b/infrastructure/rhino1_7R1/javadoc/overview-tree.html new file mode 100644 index 0000000..9c5398c --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/overview-tree.html @@ -0,0 +1,196 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +Class Hierarchy (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Class Hierarchy (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A> + <A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H2> +Hierarchy For All Packages</H2> +</CENTER> +<DL> +<DT><B>Package Hierarchies:</B><DD><A HREF="org/mozilla/javascript/package-tree.html">org.mozilla.javascript</A>, <A HREF="org/mozilla/javascript/debug/package-tree.html">org.mozilla.javascript.debug</A>, <A HREF="org/mozilla/javascript/optimizer/package-tree.html">org.mozilla.javascript.optimizer</A>, <A HREF="org/mozilla/javascript/serialize/package-tree.html">org.mozilla.javascript.serialize</A></DL> +<HR> +<H2> +Class Hierarchy +</H2> +<UL> +<LI TYPE="circle">java.lang.Object<UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/ClassCache.html" title="class in org.mozilla.javascript"><B>ClassCache</B></A><LI TYPE="circle">org.mozilla.javascript.optimizer.<A HREF="org/mozilla/javascript/optimizer/ClassCompiler.html" title="class in org.mozilla.javascript.optimizer"><B>ClassCompiler</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/CompilerEnvirons.html" title="class in org.mozilla.javascript"><B>CompilerEnvirons</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/Context.html" title="class in org.mozilla.javascript"><B>Context</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/ContextFactory.html" title="class in org.mozilla.javascript"><B>ContextFactory</B></A><LI TYPE="circle">org.mozilla.javascript.Delegator (implements org.mozilla.javascript.<A HREF="org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A>) +<UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/Synchronizer.html" title="class in org.mozilla.javascript"><B>Synchronizer</B></A></UL> +<LI TYPE="circle">java.io.InputStream (implements java.io.Closeable) +<UL> +<LI TYPE="circle">java.io.ObjectInputStream (implements java.io.ObjectInput, java.io.ObjectStreamConstants) +<UL> +<LI TYPE="circle">org.mozilla.javascript.serialize.<A HREF="org/mozilla/javascript/serialize/ScriptableInputStream.html" title="class in org.mozilla.javascript.serialize"><B>ScriptableInputStream</B></A></UL> +</UL> +<LI TYPE="circle">java.io.OutputStream (implements java.io.Closeable, java.io.Flushable) +<UL> +<LI TYPE="circle">java.io.ObjectOutputStream (implements java.io.ObjectOutput, java.io.ObjectStreamConstants) +<UL> +<LI TYPE="circle">org.mozilla.javascript.serialize.<A HREF="org/mozilla/javascript/serialize/ScriptableOutputStream.html" title="class in org.mozilla.javascript.serialize"><B>ScriptableOutputStream</B></A></UL> +</UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript"><B>ScriptableObject</B></A> (implements org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.<A HREF="org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A>, java.io.Serializable) +<UL> +<LI TYPE="circle">org.mozilla.javascript.IdScriptableObject (implements org.mozilla.javascript.IdFunctionCall) +<UL> +<LI TYPE="circle">org.mozilla.javascript.BaseFunction (implements org.mozilla.javascript.<A HREF="org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript">Function</A>) +<UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript"><B>FunctionObject</B></A></UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript"><B>ImporterTopLevel</B></A></UL> +</UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/SecurityController.html" title="class in org.mozilla.javascript"><B>SecurityController</B></A><LI TYPE="circle">java.lang.Throwable (implements java.io.Serializable) +<UL> +<LI TYPE="circle">java.lang.Exception<UL> +<LI TYPE="circle">java.lang.RuntimeException<UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript"><B>RhinoException</B></A><UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript"><B>EcmaError</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript"><B>EvaluatorException</B></A><UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript"><B>WrappedException</B></A></UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript"><B>JavaScriptException</B></A></UL> +</UL> +</UL> +</UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/WrapFactory.html" title="class in org.mozilla.javascript"><B>WrapFactory</B></A></UL> +</UL> +<H2> +Interface Hierarchy +</H2> +<UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript"><B>Callable</B></A><UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript"><B>Function</B></A> (also extends org.mozilla.javascript.<A HREF="org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A>) +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/RefCallable.html" title="interface in org.mozilla.javascript"><B>RefCallable</B></A></UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/ClassShutter.html" title="interface in org.mozilla.javascript"><B>ClassShutter</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/ContextAction.html" title="interface in org.mozilla.javascript"><B>ContextAction</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/ContextFactory.Listener.html" title="interface in org.mozilla.javascript"><B>ContextFactory.Listener</B></A><LI TYPE="circle">org.mozilla.javascript.debug.<A HREF="org/mozilla/javascript/debug/DebuggableScript.html" title="interface in org.mozilla.javascript.debug"><B>DebuggableScript</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/ErrorReporter.html" title="interface in org.mozilla.javascript"><B>ErrorReporter</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/GeneratedClassLoader.html" title="interface in org.mozilla.javascript"><B>GeneratedClassLoader</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/Script.html" title="interface in org.mozilla.javascript"><B>Script</B></A><LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript"><B>Scriptable</B></A><UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/Function.html" title="interface in org.mozilla.javascript"><B>Function</B></A> (also extends org.mozilla.javascript.<A HREF="org/mozilla/javascript/Callable.html" title="interface in org.mozilla.javascript">Callable</A>) +</UL> +<LI TYPE="circle">org.mozilla.javascript.<A HREF="org/mozilla/javascript/Wrapper.html" title="interface in org.mozilla.javascript"><B>Wrapper</B></A></UL> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Tree</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?overview-tree.html" target="_top"><B>FRAMES</B></A> + <A HREF="overview-tree.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/package-list b/infrastructure/rhino1_7R1/javadoc/package-list new file mode 100644 index 0000000..62fc06b --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/package-list @@ -0,0 +1,4 @@ +org.mozilla.javascript +org.mozilla.javascript.debug +org.mozilla.javascript.optimizer +org.mozilla.javascript.serialize diff --git a/infrastructure/rhino1_7R1/javadoc/resources/inherit.gif b/infrastructure/rhino1_7R1/javadoc/resources/inherit.gif Binary files differnew file mode 100644 index 0000000..c814867 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/resources/inherit.gif diff --git a/infrastructure/rhino1_7R1/javadoc/serialized-form.html b/infrastructure/rhino1_7R1/javadoc/serialized-form.html new file mode 100644 index 0000000..c022624 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/serialized-form.html @@ -0,0 +1,1652 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0) on Thu Mar 06 17:19:16 EST 2008 --> +<TITLE> +Serialized Form (Rhino) +</TITLE> + +<META NAME="date" CONTENT="2008-03-06"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Serialized Form (Rhino)"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A> + <A HREF="serialized-form.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<CENTER> +<H1> +Serialized Form</H1> +</CENTER> +<HR SIZE="4" NOSHADE> + +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="center"><FONT SIZE="+2"> +<B>Package</B> <B>org.mozilla.javascript</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="org.mozilla.javascript.BaseFunction"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.BaseFunction extends org.mozilla.javascript.IdScriptableObject implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>5311394446546053859L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +prototypeProperty</H3> +<PRE> +java.lang.Object <B>prototypeProperty</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +prototypePropertyAttributes</H3> +<PRE> +int <B>prototypePropertyAttributes</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.EcmaError"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class <A HREF="org/mozilla/javascript/EcmaError.html" title="class in org.mozilla.javascript">org.mozilla.javascript.EcmaError</A> extends <A HREF="org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-6261226256957286699L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +errorName</H3> +<PRE> +java.lang.String <B>errorName</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +errorMessage</H3> +<PRE> +java.lang.String <B>errorMessage</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.EvaluatorException"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class <A HREF="org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">org.mozilla.javascript.EvaluatorException</A> extends <A HREF="org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-8743165779676009808L + +<P> + +<P> +<A NAME="org.mozilla.javascript.FunctionObject"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class <A HREF="org/mozilla/javascript/FunctionObject.html" title="class in org.mozilla.javascript">org.mozilla.javascript.FunctionObject</A> extends org.mozilla.javascript.BaseFunction implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-5332312783643935019L + +<P> +<A NAME="serialized_methods"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialization Methods</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3> +readObject</H3> +<PRE> +private void <B>readObject</B>(java.io.ObjectInputStream in) + throws java.io.IOException, + java.lang.ClassNotFoundException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE> +<DD><CODE>java.lang.ClassNotFoundException</CODE></DD> +</DL> +</DL> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +member</H3> +<PRE> +org.mozilla.javascript.MemberBox <B>member</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +functionName</H3> +<PRE> +java.lang.String <B>functionName</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +parmsLength</H3> +<PRE> +int <B>parmsLength</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +isStatic</H3> +<PRE> +boolean <B>isStatic</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.IdFunctionObject"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.IdFunctionObject extends org.mozilla.javascript.BaseFunction implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-5332312783643935019L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +idcall</H3> +<PRE> +org.mozilla.javascript.IdFunctionCall <B>idcall</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +tag</H3> +<PRE> +java.lang.Object <B>tag</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +methodId</H3> +<PRE> +int <B>methodId</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +arity</H3> +<PRE> +int <B>arity</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +useCallAsConstructor</H3> +<PRE> +boolean <B>useCallAsConstructor</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +functionName</H3> +<PRE> +java.lang.String <B>functionName</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.IdScriptableObject"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.IdScriptableObject extends <A HREF="org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="serialized_methods"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialization Methods</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3> +readObject</H3> +<PRE> +private void <B>readObject</B>(java.io.ObjectInputStream stream) + throws java.io.IOException, + java.lang.ClassNotFoundException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE> +<DD><CODE>java.lang.ClassNotFoundException</CODE></DD> +</DL> +</DL> +<HR> +<A NAME="writeObject(java.io.ObjectOutputStream)"><!-- --></A><H3> +writeObject</H3> +<PRE> +private void <B>writeObject</B>(java.io.ObjectOutputStream stream) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DD> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.ImporterTopLevel"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class <A HREF="org/mozilla/javascript/ImporterTopLevel.html" title="class in org.mozilla.javascript">org.mozilla.javascript.ImporterTopLevel</A> extends org.mozilla.javascript.IdScriptableObject implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-9095380847465315412L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +importedPackages</H3> +<PRE> +org.mozilla.javascript.ObjArray <B>importedPackages</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +topScopeFlag</H3> +<PRE> +boolean <B>topScopeFlag</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.JavaScriptException"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class <A HREF="org/mozilla/javascript/JavaScriptException.html" title="class in org.mozilla.javascript">org.mozilla.javascript.JavaScriptException</A> extends <A HREF="org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">RhinoException</A> implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-7666130513694669293L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +value</H3> +<PRE> +java.lang.Object <B>value</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.LazilyLoadedCtor"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.LazilyLoadedCtor extends java.lang.Object implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>1L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +scope</H3> +<PRE> +<A HREF="org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> <B>scope</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +propertyName</H3> +<PRE> +java.lang.String <B>propertyName</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +className</H3> +<PRE> +java.lang.String <B>className</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +sealed</H3> +<PRE> +boolean <B>sealed</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +initializedValue</H3> +<PRE> +java.lang.Object <B>initializedValue</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +state</H3> +<PRE> +int <B>state</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.NativeArray"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeArray extends org.mozilla.javascript.IdScriptableObject implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>7331366857676127338L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +length</H3> +<PRE> +long <B>length</B></PRE> +<DL> +<DD>Internal representation of the JavaScript array's length property. +<P> +<DL> +</DL> +</DL> +<HR> +<H3> +dense</H3> +<PRE> +java.lang.Object[] <B>dense</B></PRE> +<DL> +<DD>Fast storage for dense arrays. Sparse arrays will use the superclass's + hashtable storage scheme. +<P> +<DL> +</DL> +</DL> +<HR> +<H3> +denseOnly</H3> +<PRE> +boolean <B>denseOnly</B></PRE> +<DL> +<DD>True if all numeric properties are stored in <code>dense</code>. +<P> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.NativeCall"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeCall extends org.mozilla.javascript.IdScriptableObject implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-7471457301304454454L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +function</H3> +<PRE> +org.mozilla.javascript.NativeFunction <B>function</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +originalArgs</H3> +<PRE> +java.lang.Object[] <B>originalArgs</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.NativeFunction"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeFunction extends org.mozilla.javascript.BaseFunction implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> + +<P> +<A NAME="org.mozilla.javascript.NativeGenerator"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeGenerator extends org.mozilla.javascript.IdScriptableObject implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +function</H3> +<PRE> +org.mozilla.javascript.NativeFunction <B>function</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +savedState</H3> +<PRE> +java.lang.Object <B>savedState</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +lineSource</H3> +<PRE> +java.lang.String <B>lineSource</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +lineNumber</H3> +<PRE> +int <B>lineNumber</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +firstTime</H3> +<PRE> +boolean <B>firstTime</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +locked</H3> +<PRE> +boolean <B>locked</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.NativeGenerator.GeneratorClosedException"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeGenerator.GeneratorClosedException extends java.lang.RuntimeException implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> + +<P> +<A NAME="org.mozilla.javascript.NativeGlobal"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeGlobal extends java.lang.Object implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>6080442165748707530L + +<P> + +<P> +<A NAME="org.mozilla.javascript.NativeIterator"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeIterator extends org.mozilla.javascript.IdScriptableObject implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +objectIterator</H3> +<PRE> +java.lang.Object <B>objectIterator</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.NativeJavaArray"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeJavaArray extends org.mozilla.javascript.NativeJavaObject implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-924022554283675333L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +array</H3> +<PRE> +java.lang.Object <B>array</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +length</H3> +<PRE> +int <B>length</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +cls</H3> +<PRE> +java.lang.Class<T> <B>cls</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.NativeJavaClass"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeJavaClass extends org.mozilla.javascript.NativeJavaObject implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-6460763940409461664L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +staticFieldAndMethods</H3> +<PRE> +java.util.Hashtable<K,V> <B>staticFieldAndMethods</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.NativeJavaConstructor"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeJavaConstructor extends org.mozilla.javascript.BaseFunction implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-8149253217482668463L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +ctor</H3> +<PRE> +org.mozilla.javascript.MemberBox <B>ctor</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.NativeJavaMethod"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeJavaMethod extends org.mozilla.javascript.BaseFunction implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-3440381785576412928L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +methods</H3> +<PRE> +org.mozilla.javascript.MemberBox[] <B>methods</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +functionName</H3> +<PRE> +java.lang.String <B>functionName</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.NativeJavaObject"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeJavaObject extends java.lang.Object implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-6948590651130498591L + +<P> +<A NAME="serialized_methods"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialization Methods</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3> +readObject</H3> +<PRE> +private void <B>readObject</B>(java.io.ObjectInputStream in) + throws java.io.IOException, + java.lang.ClassNotFoundException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE> +<DD><CODE>java.lang.ClassNotFoundException</CODE></DD> +</DL> +</DL> +<HR> +<A NAME="writeObject(java.io.ObjectOutputStream)"><!-- --></A><H3> +writeObject</H3> +<PRE> +private void <B>writeObject</B>(java.io.ObjectOutputStream out) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DD> +</DL> +</DL> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +prototype</H3> +<PRE> +<A HREF="org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>prototype</B></PRE> +<DL> +<DD>The prototype of this object. +<P> +<DL> +</DL> +</DL> +<HR> +<H3> +parent</H3> +<PRE> +<A HREF="org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>parent</B></PRE> +<DL> +<DD>The parent scope of this object. +<P> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.NativeJavaPackage"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeJavaPackage extends <A HREF="org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">ScriptableObject</A> implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>7445054382212031523L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +packageName</H3> +<PRE> +java.lang.String <B>packageName</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +classLoader</H3> +<PRE> +java.lang.ClassLoader <B>classLoader</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.NativeJavaTopPackage"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeJavaTopPackage extends org.mozilla.javascript.NativeJavaPackage implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-1455787259477709999L + +<P> + +<P> +<A NAME="org.mozilla.javascript.NativeObject"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeObject extends org.mozilla.javascript.IdScriptableObject implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-6345305608474346996L + +<P> + +<P> +<A NAME="org.mozilla.javascript.NativeWith"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.NativeWith extends java.lang.Object implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>1L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +prototype</H3> +<PRE> +<A HREF="org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>prototype</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +parent</H3> +<PRE> +<A HREF="org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>parent</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.ObjArray"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.ObjArray extends java.lang.Object implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>4174889037736658296L + +<P> +<A NAME="serialized_methods"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialization Methods</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3> +readObject</H3> +<PRE> +private void <B>readObject</B>(java.io.ObjectInputStream is) + throws java.io.IOException, + java.lang.ClassNotFoundException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE> +<DD><CODE>java.lang.ClassNotFoundException</CODE></DD> +</DL> +</DL> +<HR> +<A NAME="writeObject(java.io.ObjectOutputStream)"><!-- --></A><H3> +writeObject</H3> +<PRE> +private void <B>writeObject</B>(java.io.ObjectOutputStream os) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DD> +</DL> +</DL> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +size</H3> +<PRE> +int <B>size</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +sealed</H3> +<PRE> +boolean <B>sealed</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.ObjToIntMap"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.ObjToIntMap extends java.lang.Object implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-1542220580748809402L + +<P> +<A NAME="serialized_methods"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialization Methods</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3> +readObject</H3> +<PRE> +private void <B>readObject</B>(java.io.ObjectInputStream in) + throws java.io.IOException, + java.lang.ClassNotFoundException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE> +<DD><CODE>java.lang.ClassNotFoundException</CODE></DD> +</DL> +</DL> +<HR> +<A NAME="writeObject(java.io.ObjectOutputStream)"><!-- --></A><H3> +writeObject</H3> +<PRE> +private void <B>writeObject</B>(java.io.ObjectOutputStream out) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DD> +</DL> +</DL> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +power</H3> +<PRE> +int <B>power</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +keyCount</H3> +<PRE> +int <B>keyCount</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.Ref"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.Ref extends java.lang.Object implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> + +<P> +<A NAME="org.mozilla.javascript.RhinoException"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class <A HREF="org/mozilla/javascript/RhinoException.html" title="class in org.mozilla.javascript">org.mozilla.javascript.RhinoException</A> extends java.lang.RuntimeException implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +sourceName</H3> +<PRE> +java.lang.String <B>sourceName</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +lineNumber</H3> +<PRE> +int <B>lineNumber</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +lineSource</H3> +<PRE> +java.lang.String <B>lineSource</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +columnNumber</H3> +<PRE> +int <B>columnNumber</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +interpreterStackInfo</H3> +<PRE> +java.lang.Object <B>interpreterStackInfo</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +interpreterLineData</H3> +<PRE> +int[] <B>interpreterLineData</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.ScriptableObject"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class <A HREF="org/mozilla/javascript/ScriptableObject.html" title="class in org.mozilla.javascript">org.mozilla.javascript.ScriptableObject</A> extends java.lang.Object implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="serialized_methods"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialization Methods</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3> +readObject</H3> +<PRE> +private void <B>readObject</B>(java.io.ObjectInputStream in) + throws java.io.IOException, + java.lang.ClassNotFoundException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE> +<DD><CODE>java.lang.ClassNotFoundException</CODE></DD> +</DL> +</DL> +<HR> +<A NAME="writeObject(java.io.ObjectOutputStream)"><!-- --></A><H3> +writeObject</H3> +<PRE> +private void <B>writeObject</B>(java.io.ObjectOutputStream out) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DD> +</DL> +</DL> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +prototypeObject</H3> +<PRE> +<A HREF="org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>prototypeObject</B></PRE> +<DL> +<DD>The prototype of this object. +<P> +<DL> +</DL> +</DL> +<HR> +<H3> +parentScopeObject</H3> +<PRE> +<A HREF="org/mozilla/javascript/Scriptable.html" title="interface in org.mozilla.javascript">Scriptable</A> <B>parentScopeObject</B></PRE> +<DL> +<DD>The parent scope of this object. +<P> +<DL> +</DL> +</DL> +<HR> +<H3> +count</H3> +<PRE> +int <B>count</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.UintMap"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.UintMap extends java.lang.Object implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>4242698212885848444L + +<P> +<A NAME="serialized_methods"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialization Methods</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="readObject(java.io.ObjectInputStream)"><!-- --></A><H3> +readObject</H3> +<PRE> +private void <B>readObject</B>(java.io.ObjectInputStream in) + throws java.io.IOException, + java.lang.ClassNotFoundException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE> +<DD><CODE>java.lang.ClassNotFoundException</CODE></DD> +</DL> +</DL> +<HR> +<A NAME="writeObject(java.io.ObjectOutputStream)"><!-- --></A><H3> +writeObject</H3> +<PRE> +private void <B>writeObject</B>(java.io.ObjectOutputStream out) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DD> +</DL> +</DL> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +power</H3> +<PRE> +int <B>power</B></PRE> +<DL> +<DL> +</DL> +</DL> +<HR> +<H3> +keyCount</H3> +<PRE> +int <B>keyCount</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.Undefined"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.Undefined extends java.lang.Object implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>9195680630202616767L + +<P> +<A NAME="serialized_methods"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialization Methods</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="readResolve()"><!-- --></A><H3> +readResolve</H3> +<PRE> +public java.lang.Object <B>readResolve</B>()</PRE> +<DL> +<DD><DL> +</DD> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.UniqueTag"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class org.mozilla.javascript.UniqueTag extends java.lang.Object implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-4320556826714577259L + +<P> +<A NAME="serialized_methods"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialization Methods</B></FONT></TH> +</TR> +</TABLE> + +<P> +<A NAME="readResolve()"><!-- --></A><H3> +readResolve</H3> +<PRE> +public java.lang.Object <B>readResolve</B>()</PRE> +<DL> +<DD><DL> +</DD> +</DL> +</DL> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +tagId</H3> +<PRE> +int <B>tagId</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<A NAME="org.mozilla.javascript.WrappedException"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Class <A HREF="org/mozilla/javascript/WrappedException.html" title="class in org.mozilla.javascript">org.mozilla.javascript.WrappedException</A> extends <A HREF="org/mozilla/javascript/EvaluatorException.html" title="class in org.mozilla.javascript">EvaluatorException</A> implements Serializable</B></FONT></TH> +</TR> +</TABLE> + +<P> +<B>serialVersionUID: </B>-1551979216966520648L + +<P> +<A NAME="serializedForm"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> +<B>Serialized Fields</B></FONT></TH> +</TR> +</TABLE> + +<H3> +exception</H3> +<PRE> +java.lang.Throwable <B>exception</B></PRE> +<DL> +<DL> +</DL> +</DL> + +<P> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV + NEXT</FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="index.html?serialized-form.html" target="_top"><B>FRAMES</B></A> + <A HREF="serialized-form.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> diff --git a/infrastructure/rhino1_7R1/javadoc/stylesheet.css b/infrastructure/rhino1_7R1/javadoc/stylesheet.css new file mode 100644 index 0000000..6ea9e51 --- /dev/null +++ b/infrastructure/rhino1_7R1/javadoc/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} + |