PageRenderTime 129ms CodeModel.GetById 106ms app.highlight 17ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
HTML | 297 lines | 244 code | 41 blank | 12 comment | 0 complexity | 3ae9bd625cd6f92dfefc8f740527786d MD5 | raw file
  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:50 GMT-08:00 2008 -->
  6<TITLE>
  7ReflectManager (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.bsh.ReflectManager class">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
 13
 14
 15<NOSCRIPT>
 16</NOSCRIPT>
 17
 18</HEAD>
 19
 20<BODY BGCOLOR="white" >
 21
 22
 23<!-- ========= START OF TOP NAVBAR ======= -->
 24<A NAME="navbar_top"><!-- --></A>
 25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 27<TR>
 28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 29<A NAME="navbar_top_firstrow"><!-- --></A>
 30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 31  <TR ALIGN="center" VALIGN="top">
 32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ReflectManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 40  </TR>
 41</TABLE>
 42</TD>
 43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 44</EM>
 45</TD>
 46</TR>
 47
 48<TR>
 49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 50&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/Primitive.html" title="class in org.gjt.sp.jedit.bsh"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/Remote.html" title="class in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
 52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 53  <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/ReflectManager.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="ReflectManager.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 55&nbsp;
 56<NOSCRIPT>
 57  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 58</NOSCRIPT>
 59
 60
 61</FONT></TD>
 62</TR>
 63<TR>
 64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 65  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 67DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 68</TR>
 69</TABLE>
 70<A NAME="skip-navbar_top"></A>
 71<!-- ========= END OF TOP NAVBAR ========= -->
 72
 73<HR>
 74<!-- ======== START OF CLASS DATA ======== -->
 75<H2>
 76<FONT SIZE="-1">
 77org.gjt.sp.jedit.bsh</FONT>
 78<BR>
 79Class ReflectManager</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.bsh.ReflectManager</B>
 83</PRE>
 84<DL>
 85<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/bsh/reflect/ReflectManagerImpl.html" title="class in org.gjt.sp.jedit.bsh.reflect">ReflectManagerImpl</A></DD>
 86</DL>
 87<HR>
 88<DL>
 89<DT><PRE>public abstract class <B>ReflectManager</B><DT>extends java.lang.Object</DL>
 90</PRE>
 91
 92<P>
 93ReflectManager is a dynamically loaded extension that supports extended
 94        reflection features supported by JDK1.2 and greater.
 95
 96        In particular it currently supports accessible method and field access 
 97        supported by JDK1.2 and greater.
 98<P>
 99
100<P>
101<HR>
102
103<P>
104
105<!-- ======== CONSTRUCTOR SUMMARY ======== -->
106
107<A NAME="constructor_summary"><!-- --></A>
108<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
109<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
110<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
111<B>Constructor Summary</B></FONT></TH>
112</TR>
113<TR BGCOLOR="white" CLASS="TableRowColor">
114<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html#ReflectManager()">ReflectManager</A></B>()</CODE>
115
116<BR>
117&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
118</TR>
119</TABLE>
120&nbsp;
121<!-- ========== METHOD SUMMARY =========== -->
122
123<A NAME="method_summary"><!-- --></A>
124<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
125<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
126<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
127<B>Method Summary</B></FONT></TH>
128</TR>
129<TR BGCOLOR="white" CLASS="TableRowColor">
130<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131<CODE>static&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html" title="class in org.gjt.sp.jedit.bsh">ReflectManager</A></CODE></FONT></TD>
132<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html#getReflectManager()">getReflectManager</A></B>()</CODE>
133
134<BR>
135&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the singleton bsh ReflectManager.</TD>
136</TR>
137<TR BGCOLOR="white" CLASS="TableRowColor">
138<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
139<CODE>static&nbsp;boolean</CODE></FONT></TD>
140<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html#RMSetAccessible(java.lang.Object)">RMSetAccessible</A></B>(java.lang.Object&nbsp;obj)</CODE>
141
142<BR>
143&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reflect Manager Set Accessible.</TD>
144</TR>
145<TR BGCOLOR="white" CLASS="TableRowColor">
146<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147<CODE>abstract &nbsp;boolean</CODE></FONT></TD>
148<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html#setAccessible(java.lang.Object)">setAccessible</A></B>(java.lang.Object&nbsp;o)</CODE>
149
150<BR>
151&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a java.lang.reflect Field, Method, Constructor, or Array of
152                accessible objects to accessible mode.</TD>
153</TR>
154</TABLE>
155&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
156<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
157<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
158<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
159</TR>
160<TR BGCOLOR="white" CLASS="TableRowColor">
161<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
162</TR>
163</TABLE>
164&nbsp;
165<P>
166
167<!-- ========= CONSTRUCTOR DETAIL ======== -->
168
169<A NAME="constructor_detail"><!-- --></A>
170<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
171<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
172<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
173<B>Constructor Detail</B></FONT></TH>
174</TR>
175</TABLE>
176
177<A NAME="ReflectManager()"><!-- --></A><H3>
178ReflectManager</H3>
179<PRE>
180public <B>ReflectManager</B>()</PRE>
181<DL>
182</DL>
183
184<!-- ============ METHOD DETAIL ========== -->
185
186<A NAME="method_detail"><!-- --></A>
187<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
188<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
189<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
190<B>Method Detail</B></FONT></TH>
191</TR>
192</TABLE>
193
194<A NAME="getReflectManager()"><!-- --></A><H3>
195getReflectManager</H3>
196<PRE>
197public static <A HREF="../../../../../org/gjt/sp/jedit/bsh/ReflectManager.html" title="class in org.gjt.sp.jedit.bsh">ReflectManager</A> <B>getReflectManager</B>()
198                                        throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/Capabilities.Unavailable.html" title="class in org.gjt.sp.jedit.bsh">Capabilities.Unavailable</A></PRE>
199<DL>
200<DD>Return the singleton bsh ReflectManager.
201<P>
202<DD><DL>
203
204<DT><B>Throws:</B>
205<DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/Capabilities.Unavailable.html" title="class in org.gjt.sp.jedit.bsh">Capabilities.Unavailable</A></CODE></DL>
206</DD>
207</DL>
208<HR>
209
210<A NAME="RMSetAccessible(java.lang.Object)"><!-- --></A><H3>
211RMSetAccessible</H3>
212<PRE>
213public static boolean <B>RMSetAccessible</B>(java.lang.Object&nbsp;obj)
214                               throws <A HREF="../../../../../org/gjt/sp/jedit/bsh/Capabilities.Unavailable.html" title="class in org.gjt.sp.jedit.bsh">Capabilities.Unavailable</A></PRE>
215<DL>
216<DD>Reflect Manager Set Accessible.
217                Convenience method to invoke the reflect manager.
218<P>
219<DD><DL>
220
221<DT><B>Throws:</B>
222<DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/bsh/Capabilities.Unavailable.html" title="class in org.gjt.sp.jedit.bsh">Capabilities.Unavailable</A></CODE></DL>
223</DD>
224</DL>
225<HR>
226
227<A NAME="setAccessible(java.lang.Object)"><!-- --></A><H3>
228setAccessible</H3>
229<PRE>
230public abstract boolean <B>setAccessible</B>(java.lang.Object&nbsp;o)</PRE>
231<DL>
232<DD>Set a java.lang.reflect Field, Method, Constructor, or Array of
233                accessible objects to accessible mode.
234<P>
235<DD><DL>
236
237<DT><B>Returns:</B><DD>true if the object was accessible or false if it was not.</DL>
238</DD>
239</DL>
240<!-- ========= END OF CLASS DATA ========= -->
241<HR>
242
243
244<!-- ======= START OF BOTTOM NAVBAR ====== -->
245<A NAME="navbar_bottom"><!-- --></A>
246<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
247<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
248<TR>
249<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
250<A NAME="navbar_bottom_firstrow"><!-- --></A>
251<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
252  <TR ALIGN="center" VALIGN="top">
253  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
254  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
255  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
256  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ReflectManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
257  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
258  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
259  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
260  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
261  </TR>
262</TABLE>
263</TD>
264<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
265</EM>
266</TD>
267</TR>
268
269<TR>
270<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
271&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/Primitive.html" title="class in org.gjt.sp.jedit.bsh"><B>PREV CLASS</B></A>&nbsp;
272&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/bsh/Remote.html" title="class in org.gjt.sp.jedit.bsh"><B>NEXT CLASS</B></A></FONT></TD>
273<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
274  <A HREF="../../../../../index.html?org/gjt/sp/jedit/bsh/ReflectManager.html" target="_top"><B>FRAMES</B></A>  &nbsp;
275&nbsp;<A HREF="ReflectManager.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
276&nbsp;
277<NOSCRIPT>
278  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
279</NOSCRIPT>
280
281
282</FONT></TD>
283</TR>
284<TR>
285<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
286  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
287<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
288DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
289</TR>
290</TABLE>
291<A NAME="skip-navbar_bottom"></A>
292<!-- ======== END OF BOTTOM NAVBAR ======= -->
293
294<HR>
295
296</BODY>
297</HTML>