PageRenderTime 51ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 1ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/bsh/ExternalNameSpace.html

#
HTML | 651 lines | 574 code | 63 blank | 14 comment | 0 complexity | c70b8b09471731b24dc65c0aecd6a5bf MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:13:49 GMT-08:00 2008 -->
  6. <TITLE>
  7. ExternalNameSpace (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.bsh.ExternalNameSpace class">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
  11. <NOSCRIPT>
  12. </NOSCRIPT>
  13. </HEAD>
  14. <BODY BGCOLOR="white" >
  15. <!-- ========= START OF TOP NAVBAR ======= -->
  16. <A NAME="navbar_top"><!-- --></A>
  17. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  18. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  19. <TR>
  20. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  21. <A NAME="navbar_top_firstrow"><!-- --></A>
  22. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  23. <TR ALIGN="center" VALIGN="top">
  24. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  25. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  26. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  27. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ExternalNameSpace.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  28. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  29. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  30. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  32. </TR>
  33. </TABLE>
  34. </TD>
  35. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  36. </EM>
  37. </TD>
  38. </TR>
  39. <TR>
  40. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  41. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/EvalError.html" title="class in org.gjt.sp.jedit.bsh"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/Interpreter.html" title="class in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
  43. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  44. <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/ExternalNameSpace.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="ExternalNameSpace.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  46. &nbsp;
  47. <NOSCRIPT>
  48. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  49. </NOSCRIPT>
  50. </FONT></TD>
  51. </TR>
  52. <TR>
  53. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  54. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.gjt.sp.jedit.bsh.NameSpace">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  55. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  56. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  57. </TR>
  58. </TABLE>
  59. <A NAME="skip-navbar_top"></A>
  60. <!-- ========= END OF TOP NAVBAR ========= -->
  61. <HR>
  62. <!-- ======== START OF CLASS DATA ======== -->
  63. <H2>
  64. <FONT SIZE="-1">
  65. org.gjt.sp.jedit.bsh</FONT>
  66. <BR>
  67. Class ExternalNameSpace</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">org.gjt.sp.jedit.bsh.NameSpace</A>
  71. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.bsh.ExternalNameSpace</B>
  72. </PRE>
  73. <DL>
  74. <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, <A HREF="../../../../../org/gjt/sp/jedit/bsh/BshClassManager.Listener.html" title="interface in org.gjt.sp.jedit.bsh">BshClassManager.Listener</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSource.html" title="interface in org.gjt.sp.jedit.bsh">NameSource</A></DD>
  75. </DL>
  76. <HR>
  77. <DL>
  78. <DT><PRE>public class <B>ExternalNameSpace</B><DT>extends <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></DL>
  79. </PRE>
  80. <P>
  81. A namespace which maintains an external map of values held in variables in
  82. its scope. This mechanism provides a standard collections based interface
  83. to the namespace as well as a convenient way to export and view values of
  84. the namespace without the ordinary BeanShell wrappers.
  85. </p>
  86. Variables are maintained internally in the normal fashion to support
  87. meta-information (such as variable type and visibility modifiers), but
  88. exported and imported in a synchronized way. Variables are exported each
  89. time they are written by BeanShell. Imported variables from the map appear
  90. in the BeanShell namespace as untyped variables with no modifiers and
  91. shadow any previously defined variables in the scope.
  92. <p/>
  93. Note: this class is inherentely dependent on Java 1.2, however it is not
  94. used directly by the core as other than type NameSpace, so no dependency is
  95. introduced.
  96. <P>
  97. <P>
  98. <DL>
  99. <DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.gjt.sp.jedit.bsh.ExternalNameSpace">Serialized Form</A></DL>
  100. <HR>
  101. <P>
  102. <!-- ======== NESTED CLASS SUMMARY ======== -->
  103. <A NAME="nested_class_summary"><!-- --></A>
  104. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  105. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  106. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  107. <B>Nested Class Summary</B></FONT></TH>
  108. </TR>
  109. </TABLE>
  110. &nbsp;<A NAME="nested_classes_inherited_from_class_org.gjt.sp.jedit.bsh.NameSource"><!-- --></A>
  111. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  112. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  113. <TH ALIGN="left"><B>Nested classes/interfaces inherited from interface org.gjt.sp.jedit.bsh.<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSource.html" title="interface in org.gjt.sp.jedit.bsh">NameSource</A></B></TH>
  114. </TR>
  115. <TR BGCOLOR="white" CLASS="TableRowColor">
  116. <TD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSource.Listener.html" title="interface in org.gjt.sp.jedit.bsh">NameSource.Listener</A></CODE></TD>
  117. </TR>
  118. </TABLE>
  119. &nbsp;
  120. <!-- =========== FIELD SUMMARY =========== -->
  121. <A NAME="field_summary"><!-- --></A>
  122. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  123. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  124. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  125. <B>Field Summary</B></FONT></TH>
  126. </TR>
  127. </TABLE>
  128. &nbsp;<A NAME="fields_inherited_from_class_org.gjt.sp.jedit.bsh.NameSpace"><!-- --></A>
  129. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  130. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  131. <TH ALIGN="left"><B>Fields inherited from class org.gjt.sp.jedit.bsh.<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></B></TH>
  132. </TR>
  133. <TR BGCOLOR="white" CLASS="TableRowColor">
  134. <TD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#importedClasses">importedClasses</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#JAVACODE">JAVACODE</A></CODE></TD>
  135. </TR>
  136. </TABLE>
  137. &nbsp;
  138. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  139. <A NAME="constructor_summary"><!-- --></A>
  140. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  141. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  142. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  143. <B>Constructor Summary</B></FONT></TH>
  144. </TR>
  145. <TR BGCOLOR="white" CLASS="TableRowColor">
  146. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#ExternalNameSpace()">ExternalNameSpace</A></B>()</CODE>
  147. <BR>
  148. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  149. </TR>
  150. <TR BGCOLOR="white" CLASS="TableRowColor">
  151. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#ExternalNameSpace(org.gjt.sp.jedit.bsh.NameSpace, java.lang.String, java.util.Map)">ExternalNameSpace</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;parent,
  152. java.lang.String&nbsp;name,
  153. java.util.Map&nbsp;externalMap)</CODE>
  154. <BR>
  155. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  156. </TR>
  157. </TABLE>
  158. &nbsp;
  159. <!-- ========== METHOD SUMMARY =========== -->
  160. <A NAME="method_summary"><!-- --></A>
  161. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  162. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  163. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  164. <B>Method Summary</B></FONT></TH>
  165. </TR>
  166. <TR BGCOLOR="white" CLASS="TableRowColor">
  167. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  168. <CODE>&nbsp;void</CODE></FONT></TD>
  169. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#clear()">clear</A></B>()</CODE>
  170. <BR>
  171. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clear all variables, methods, and imports from this namespace and clear
  172. all values from the external map (via Map clear()).</TD>
  173. </TR>
  174. <TR BGCOLOR="white" CLASS="TableRowColor">
  175. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  176. <CODE>protected &nbsp;void</CODE></FONT></TD>
  177. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#getAllNamesAux(java.util.Vector)">getAllNamesAux</A></B>(java.util.Vector&nbsp;vec)</CODE>
  178. <BR>
  179. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper for implementing NameSource</TD>
  180. </TR>
  181. <TR BGCOLOR="white" CLASS="TableRowColor">
  182. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  183. <CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/Variable.html" title="class in org.gjt.sp.jedit.bsh">Variable</A>[]</CODE></FONT></TD>
  184. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#getDeclaredVariables()">getDeclaredVariables</A></B>()</CODE>
  185. <BR>
  186. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  187. </TR>
  188. <TR BGCOLOR="white" CLASS="TableRowColor">
  189. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  190. <CODE>&nbsp;java.util.Map</CODE></FONT></TD>
  191. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#getMap()">getMap</A></B>()</CODE>
  192. <BR>
  193. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the map view of this namespace.</TD>
  194. </TR>
  195. <TR BGCOLOR="white" CLASS="TableRowColor">
  196. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  197. <CODE>&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/BshMethod.html" title="class in org.gjt.sp.jedit.bsh">BshMethod</A></CODE></FONT></TD>
  198. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#getMethod(java.lang.String, java.lang.Class[], boolean)">getMethod</A></B>(java.lang.String&nbsp;name,
  199. java.lang.Class[]&nbsp;sig,
  200. boolean&nbsp;declaredOnly)</CODE>
  201. <BR>
  202. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the bsh method matching the specified signature declared in
  203. this name space or a parent.</TD>
  204. </TR>
  205. <TR BGCOLOR="white" CLASS="TableRowColor">
  206. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  207. <CODE>protected &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/Variable.html" title="class in org.gjt.sp.jedit.bsh">Variable</A></CODE></FONT></TD>
  208. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#getVariableImpl(java.lang.String, boolean)">getVariableImpl</A></B>(java.lang.String&nbsp;name,
  209. boolean&nbsp;recurse)</CODE>
  210. <BR>
  211. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Locate a variable and return the Variable object with optional
  212. recursion through parent name spaces.</TD>
  213. </TR>
  214. <TR BGCOLOR="white" CLASS="TableRowColor">
  215. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  216. <CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
  217. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#getVariableNames()">getVariableNames</A></B>()</CODE>
  218. <BR>
  219. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the names of variables defined in this namespace.</TD>
  220. </TR>
  221. <TR BGCOLOR="white" CLASS="TableRowColor">
  222. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  223. <CODE>protected &nbsp;void</CODE></FONT></TD>
  224. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#putExternalMap(java.lang.String, java.lang.Object)">putExternalMap</A></B>(java.lang.String&nbsp;name,
  225. java.lang.Object&nbsp;value)</CODE>
  226. <BR>
  227. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Place an unwrapped value in the external map.</TD>
  228. </TR>
  229. <TR BGCOLOR="white" CLASS="TableRowColor">
  230. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  231. <CODE>&nbsp;void</CODE></FONT></TD>
  232. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#setMap(java.util.Map)">setMap</A></B>(java.util.Map&nbsp;map)</CODE>
  233. <BR>
  234. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the external Map which to which this namespace synchronizes.</TD>
  235. </TR>
  236. <TR BGCOLOR="white" CLASS="TableRowColor">
  237. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  238. <CODE>&nbsp;void</CODE></FONT></TD>
  239. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#setMethod(java.lang.String, org.gjt.sp.jedit.bsh.BshMethod)">setMethod</A></B>(java.lang.String&nbsp;name,
  240. <A HREF="../../../../../org/gjt/sp/jedit/bsh/BshMethod.html" title="class in org.gjt.sp.jedit.bsh">BshMethod</A>&nbsp;method)</CODE>
  241. <BR>
  242. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Note: this is primarily for internal use.</TD>
  243. </TR>
  244. <TR BGCOLOR="white" CLASS="TableRowColor">
  245. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  246. <CODE>&nbsp;void</CODE></FONT></TD>
  247. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#setTypedVariable(java.lang.String, java.lang.Class, java.lang.Object, org.gjt.sp.jedit.bsh.Modifiers)">setTypedVariable</A></B>(java.lang.String&nbsp;name,
  248. java.lang.Class&nbsp;type,
  249. java.lang.Object&nbsp;value,
  250. <A HREF="../../../../../org/gjt/sp/jedit/bsh/Modifiers.html" title="class in org.gjt.sp.jedit.bsh">Modifiers</A>&nbsp;modifiers)</CODE>
  251. <BR>
  252. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Declare a variable in the local scope and set its initial value.</TD>
  253. </TR>
  254. <TR BGCOLOR="white" CLASS="TableRowColor">
  255. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  256. <CODE>&nbsp;void</CODE></FONT></TD>
  257. <TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ExternalNameSpace.html#unsetVariable(java.lang.String)">unsetVariable</A></B>(java.lang.String&nbsp;name)</CODE>
  258. <BR>
  259. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the variable from the namespace.</TD>
  260. </TR>
  261. </TABLE>
  262. &nbsp;<A NAME="methods_inherited_from_class_org.gjt.sp.jedit.bsh.NameSpace"><!-- --></A>
  263. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  264. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  265. <TH ALIGN="left"><B>Methods inherited from class org.gjt.sp.jedit.bsh.<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></B></TH>
  266. </TR>
  267. <TR BGCOLOR="white" CLASS="TableRowColor">
  268. <TD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#addCommandPath(java.lang.String, java.lang.Class)">addCommandPath</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#addNameSourceListener(org.gjt.sp.jedit.bsh.NameSource.Listener)">addNameSourceListener</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#classLoaderChanged()">classLoaderChanged</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#doSuperImport()">doSuperImport</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#get(java.lang.String, org.gjt.sp.jedit.bsh.Interpreter)">get</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getAllNames()">getAllNames</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getClass(java.lang.String)">getClass</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getClassManager()">getClassManager</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getCommand(java.lang.String)">getCommand</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getCommand(java.lang.String, java.lang.Class[], org.gjt.sp.jedit.bsh.Interpreter)">getCommand</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getGlobal(org.gjt.sp.jedit.bsh.Interpreter)">getGlobal</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getImportedMethod(java.lang.String, java.lang.Class[])">getImportedMethod</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getImportedVar(java.lang.String)">getImportedVar</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getInvocationLine()">getInvocationLine</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getInvocationText()">getInvocationText</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getMethod(java.lang.String, java.lang.Class[])">getMethod</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getMethodNames()">getMethodNames</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getMethods()">getMethods</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getName()">getName</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getParent()">getParent</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getSuper(org.gjt.sp.jedit.bsh.Interpreter)">getSuper</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getVariable(java.lang.String)">getVariable</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getVariable(java.lang.String, boolean)">getVariable</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#identifierToClass(org.gjt.sp.jedit.bsh.ClassIdentifier)">identifierToClass</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#importClass(java.lang.String)">importClass</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#importCommands(java.lang.String)">importCommands</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#importObject(java.lang.Object)">importObject</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#importPackage(java.lang.String)">importPackage</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#importStatic(java.lang.Class)">importStatic</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#invokeMethod(java.lang.String, java.lang.Object[], org.gjt.sp.jedit.bsh.Interpreter)">invokeMethod</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#invokeMethod(java.lang.String, java.lang.Object[], org.gjt.sp.jedit.bsh.Interpreter, org.gjt.sp.jedit.bsh.CallStack, org.gjt.sp.jedit.bsh.SimpleNode)">invokeMethod</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#loadDefaultImports()">loadDefaultImports</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#nameSpaceChanged()">nameSpaceChanged</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#prune()">prune</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#removeCommandPath(java.lang.String, java.lang.Class)">removeCommandPath</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#setName(java.lang.String)">setName</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#setParent(org.gjt.sp.jedit.bsh.NameSpace)">setParent</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#setTypedVariable(java.lang.String, java.lang.Class, java.lang.Object, boolean)">setTypedVariable</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#setVariable(java.lang.String, java.lang.Object)">setVariable</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#setVariable(java.lang.String, java.lang.Object, boolean)">setVariable</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#toString()">toString</A>, <A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#unwrapVariable(org.gjt.sp.jedit.bsh.Variable)">unwrapVariable</A></CODE></TD>
  269. </TR>
  270. </TABLE>
  271. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  272. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  273. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  274. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  275. </TR>
  276. <TR BGCOLOR="white" CLASS="TableRowColor">
  277. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
  278. </TR>
  279. </TABLE>
  280. &nbsp;
  281. <P>
  282. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  283. <A NAME="constructor_detail"><!-- --></A>
  284. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  285. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  286. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  287. <B>Constructor Detail</B></FONT></TH>
  288. </TR>
  289. </TABLE>
  290. <A NAME="ExternalNameSpace()"><!-- --></A><H3>
  291. ExternalNameSpace</H3>
  292. <PRE>
  293. public <B>ExternalNameSpace</B>()</PRE>
  294. <DL>
  295. </DL>
  296. <HR>
  297. <A NAME="ExternalNameSpace(org.gjt.sp.jedit.bsh.NameSpace, java.lang.String, java.util.Map)"><!-- --></A><H3>
  298. ExternalNameSpace</H3>
  299. <PRE>
  300. public <B>ExternalNameSpace</B>(<A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A>&nbsp;parent,
  301. java.lang.String&nbsp;name,
  302. java.util.Map&nbsp;externalMap)</PRE>
  303. <DL>
  304. </DL>
  305. <!-- ============ METHOD DETAIL ========== -->
  306. <A NAME="method_detail"><!-- --></A>
  307. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  308. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  309. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  310. <B>Method Detail</B></FONT></TH>
  311. </TR>
  312. </TABLE>
  313. <A NAME="getMap()"><!-- --></A><H3>
  314. getMap</H3>
  315. <PRE>
  316. public java.util.Map <B>getMap</B>()</PRE>
  317. <DL>
  318. <DD>Get the map view of this namespace.
  319. <P>
  320. <DD><DL>
  321. </DL>
  322. </DD>
  323. </DL>
  324. <HR>
  325. <A NAME="setMap(java.util.Map)"><!-- --></A><H3>
  326. setMap</H3>
  327. <PRE>
  328. public void <B>setMap</B>(java.util.Map&nbsp;map)</PRE>
  329. <DL>
  330. <DD>Set the external Map which to which this namespace synchronizes.
  331. The previous external map is detached from this namespace. Previous
  332. map values are retained in the external map, but are removed from the
  333. BeanShell namespace.
  334. <P>
  335. <DD><DL>
  336. </DL>
  337. </DD>
  338. </DL>
  339. <HR>
  340. <A NAME="unsetVariable(java.lang.String)"><!-- --></A><H3>
  341. unsetVariable</H3>
  342. <PRE>
  343. public void <B>unsetVariable</B>(java.lang.String&nbsp;name)</PRE>
  344. <DL>
  345. <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#unsetVariable(java.lang.String)">NameSpace</A></CODE></B></DD>
  346. <DD>Remove the variable from the namespace.
  347. <P>
  348. <DD><DL>
  349. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#unsetVariable(java.lang.String)">unsetVariable</A></CODE> in class <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></DL>
  350. </DD>
  351. <DD><DL>
  352. </DL>
  353. </DD>
  354. </DL>
  355. <HR>
  356. <A NAME="getVariableNames()"><!-- --></A><H3>
  357. getVariableNames</H3>
  358. <PRE>
  359. public java.lang.String[] <B>getVariableNames</B>()</PRE>
  360. <DL>
  361. <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getVariableNames()">NameSpace</A></CODE></B></DD>
  362. <DD>Get the names of variables defined in this namespace.
  363. (This does not show variables in parent namespaces).
  364. <P>
  365. <DD><DL>
  366. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getVariableNames()">getVariableNames</A></CODE> in class <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></DL>
  367. </DD>
  368. <DD><DL>
  369. </DL>
  370. </DD>
  371. </DL>
  372. <HR>
  373. <A NAME="getVariableImpl(java.lang.String, boolean)"><!-- --></A><H3>
  374. getVariableImpl</H3>
  375. <PRE>
  376. protected <A HREF="../../../../../org/gjt/sp/jedit/bsh/Variable.html" title="class in org.gjt.sp.jedit.bsh">Variable</A> <B>getVariableImpl</B>(java.lang.String&nbsp;name,
  377. boolean&nbsp;recurse)
  378. throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></PRE>
  379. <DL>
  380. <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getVariableImpl(java.lang.String, boolean)">NameSpace</A></CODE></B></DD>
  381. <DD>Locate a variable and return the Variable object with optional
  382. recursion through parent name spaces.
  383. <p/>
  384. If this namespace is static, return only static variables.
  385. <P>
  386. <DD><DL>
  387. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getVariableImpl(java.lang.String, boolean)">getVariableImpl</A></CODE> in class <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></DL>
  388. </DD>
  389. <DD><DL>
  390. <DT><B>Returns:</B><DD>the Variable value or null if it is not defined
  391. <DT><B>Throws:</B>
  392. <DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></CODE></DL>
  393. </DD>
  394. </DL>
  395. <HR>
  396. <A NAME="getDeclaredVariables()"><!-- --></A><H3>
  397. getDeclaredVariables</H3>
  398. <PRE>
  399. public <A HREF="../../../../../org/gjt/sp/jedit/bsh/Variable.html" title="class in org.gjt.sp.jedit.bsh">Variable</A>[] <B>getDeclaredVariables</B>()</PRE>
  400. <DL>
  401. <DD><DL>
  402. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getDeclaredVariables()">getDeclaredVariables</A></CODE> in class <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></DL>
  403. </DD>
  404. <DD><DL>
  405. </DL>
  406. </DD>
  407. </DL>
  408. <HR>
  409. <A NAME="setTypedVariable(java.lang.String, java.lang.Class, java.lang.Object, org.gjt.sp.jedit.bsh.Modifiers)"><!-- --></A><H3>
  410. setTypedVariable</H3>
  411. <PRE>
  412. public void <B>setTypedVariable</B>(java.lang.String&nbsp;name,
  413. java.lang.Class&nbsp;type,
  414. java.lang.Object&nbsp;value,
  415. <A HREF="../../../../../org/gjt/sp/jedit/bsh/Modifiers.html" title="class in org.gjt.sp.jedit.bsh">Modifiers</A>&nbsp;modifiers)
  416. throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></PRE>
  417. <DL>
  418. <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#setTypedVariable(java.lang.String, java.lang.Class, java.lang.Object, org.gjt.sp.jedit.bsh.Modifiers)">NameSpace</A></CODE></B></DD>
  419. <DD>Declare a variable in the local scope and set its initial value.
  420. Value may be null to indicate that we would like the default value
  421. for the variable type. (e.g. 0 for integer types, null for object
  422. types). An existing typed variable may only be set to the same type.
  423. If an untyped variable of the same name exists it will be overridden
  424. with the new typed var.
  425. The set will perform a Types.getAssignableForm() on the value if
  426. necessary.
  427. <p>
  428. Note: this method is primarily intended for use internally. If you use
  429. this method outside of the bsh package and wish to set variables with
  430. primitive values you will have to wrap them using bsh.Primitive.
  431. <P>
  432. <DD><DL>
  433. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#setTypedVariable(java.lang.String, java.lang.Class, java.lang.Object, org.gjt.sp.jedit.bsh.Modifiers)">setTypedVariable</A></CODE> in class <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></DL>
  434. </DD>
  435. <DD><DL>
  436. <DD><CODE>value</CODE> - If value is null, you'll get the default value for the type<DD><CODE>modifiers</CODE> - may be null
  437. <DT><B>Throws:</B>
  438. <DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../org/gjt/sp/jedit/bsh/Primitive.html" title="class in org.gjt.sp.jedit.bsh"><CODE>Primitive</CODE></A></DL>
  439. </DD>
  440. </DL>
  441. <HR>
  442. <A NAME="setMethod(java.lang.String, org.gjt.sp.jedit.bsh.BshMethod)"><!-- --></A><H3>
  443. setMethod</H3>
  444. <PRE>
  445. public void <B>setMethod</B>(java.lang.String&nbsp;name,
  446. <A HREF="../../../../../org/gjt/sp/jedit/bsh/BshMethod.html" title="class in org.gjt.sp.jedit.bsh">BshMethod</A>&nbsp;method)
  447. throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></PRE>
  448. <DL>
  449. <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#setMethod(java.lang.String, org.gjt.sp.jedit.bsh.BshMethod)">NameSpace</A></CODE></B></DD>
  450. <DD>Note: this is primarily for internal use.
  451. <P>
  452. <DD><DL>
  453. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#setMethod(java.lang.String, org.gjt.sp.jedit.bsh.BshMethod)">setMethod</A></CODE> in class <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></DL>
  454. </DD>
  455. <DD><DL>
  456. <DT><B>Throws:</B>
  457. <DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../org/gjt/sp/jedit/bsh/Interpreter.html#source(java.lang.String)"><CODE>Interpreter.source( String )</CODE></A>,
  458. <A HREF="../../../../../org/gjt/sp/jedit/bsh/Interpreter.html#eval(java.lang.String)"><CODE>Interpreter.eval( String )</CODE></A></DL>
  459. </DD>
  460. </DL>
  461. <HR>
  462. <A NAME="getMethod(java.lang.String, java.lang.Class[], boolean)"><!-- --></A><H3>
  463. getMethod</H3>
  464. <PRE>
  465. public <A HREF="../../../../../org/gjt/sp/jedit/bsh/BshMethod.html" title="class in org.gjt.sp.jedit.bsh">BshMethod</A> <B>getMethod</B>(java.lang.String&nbsp;name,
  466. java.lang.Class[]&nbsp;sig,
  467. boolean&nbsp;declaredOnly)
  468. throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></PRE>
  469. <DL>
  470. <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getMethod(java.lang.String, java.lang.Class[], boolean)">NameSpace</A></CODE></B></DD>
  471. <DD>Get the bsh method matching the specified signature declared in
  472. this name space or a parent.
  473. <p>
  474. Note: this method is primarily intended for use internally. If you use
  475. this method outside of the bsh package you will have to be familiar
  476. with BeanShell's use of the Primitive wrapper class.
  477. <P>
  478. <DD><DL>
  479. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getMethod(java.lang.String, java.lang.Class[], boolean)">getMethod</A></CODE> in class <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></DL>
  480. </DD>
  481. <DD><DL>
  482. <DD><CODE>declaredOnly</CODE> - if true then only methods declared directly in this
  483. namespace will be found and no inherited or imported methods will
  484. be visible.
  485. <DT><B>Returns:</B><DD>the BshMethod or null if not found
  486. <DT><B>Throws:</B>
  487. <DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/UtilEvalError.html" title="class in org.gjt.sp.jedit.bsh">UtilEvalError</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../../org/gjt/sp/jedit/bsh/Primitive.html" title="class in org.gjt.sp.jedit.bsh"><CODE>Primitive</CODE></A></DL>
  488. </DD>
  489. </DL>
  490. <HR>
  491. <A NAME="getAllNamesAux(java.util.Vector)"><!-- --></A><H3>
  492. getAllNamesAux</H3>
  493. <PRE>
  494. protected void <B>getAllNamesAux</B>(java.util.Vector&nbsp;vec)</PRE>
  495. <DL>
  496. <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getAllNamesAux(java.util.Vector)">NameSpace</A></CODE></B></DD>
  497. <DD>Helper for implementing NameSource
  498. <P>
  499. <DD><DL>
  500. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#getAllNamesAux(java.util.Vector)">getAllNamesAux</A></CODE> in class <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></DL>
  501. </DD>
  502. <DD><DL>
  503. </DL>
  504. </DD>
  505. </DL>
  506. <HR>
  507. <A NAME="clear()"><!-- --></A><H3>
  508. clear</H3>
  509. <PRE>
  510. public void <B>clear</B>()</PRE>
  511. <DL>
  512. <DD>Clear all variables, methods, and imports from this namespace and clear
  513. all values from the external map (via Map clear()).
  514. <P>
  515. <DD><DL>
  516. <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#clear()">clear</A></CODE> in class <CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html" title="class in org.gjt.sp.jedit.bsh">NameSpace</A></CODE></DL>
  517. </DD>
  518. <DD><DL>
  519. <DT><B>See Also:</B><DD><A HREF="../../../../../org/gjt/sp/jedit/bsh/NameSpace.html#loadDefaultImports()"><CODE>NameSpace.loadDefaultImports()</CODE></A></DL>
  520. </DD>
  521. </DL>
  522. <HR>
  523. <A NAME="putExternalMap(java.lang.String, java.lang.Object)"><!-- --></A><H3>
  524. putExternalMap</H3>
  525. <PRE>
  526. protected void <B>putExternalMap</B>(java.lang.String&nbsp;name,
  527. java.lang.Object&nbsp;value)</PRE>
  528. <DL>
  529. <DD>Place an unwrapped value in the external map.
  530. BeanShell primitive types are represented by their object wrappers, so
  531. it is not possible to differentiate between wrapper types and primitive
  532. types via the external Map.
  533. <P>
  534. <DD><DL>
  535. </DL>
  536. </DD>
  537. </DL>
  538. <!-- ========= END OF CLASS DATA ========= -->
  539. <HR>
  540. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  541. <A NAME="navbar_bottom"><!-- --></A>
  542. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  543. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  544. <TR>
  545. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  546. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  547. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  548. <TR ALIGN="center" VALIGN="top">
  549. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  550. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  551. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  552. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ExternalNameSpace.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  553. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  554. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  555. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  556. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  557. </TR>
  558. </TABLE>
  559. </TD>
  560. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  561. </EM>
  562. </TD>
  563. </TR>
  564. <TR>
  565. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  566. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/EvalError.html" title="class in org.gjt.sp.jedit.bsh"><B>PREV CLASS</B></A>&nbsp;
  567. &nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/Interpreter.html" title="class in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
  568. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  569. <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/ExternalNameSpace.html" target="_top"><B>FRAMES</B></A> &nbsp;
  570. &nbsp;<A HREF="ExternalNameSpace.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  571. &nbsp;
  572. <NOSCRIPT>
  573. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  574. </NOSCRIPT>
  575. </FONT></TD>
  576. </TR>
  577. <TR>
  578. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  579. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.gjt.sp.jedit.bsh.NameSpace">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  580. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  581. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  582. </TR>
  583. </TABLE>
  584. <A NAME="skip-navbar_bottom"></A>
  585. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  586. <HR>
  587. </BODY>
  588. </HTML>