⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ognlruntime.html

📁 ONGL学习的好书,介绍ONGL的相关知识
💻 HTML
📖 第 1 页 / 共 5 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the package name of the object's class.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Class[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getParameterTypes(java.lang.reflect.Constructor)">getParameterTypes</A></B>(java.lang.reflect.Constructor&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the parameter types of the given method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Class[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getParameterTypes(java.lang.reflect.Method)">getParameterTypes</A></B>(java.lang.reflect.Method&nbsp;m)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the parameter types of the given method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.security.Permission</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getPermission(java.lang.reflect.Method)">getPermission</A></B>(java.lang.reflect.Method&nbsp;method)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Permission will be named "invoke.<declaring-class>.<method-name>".</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getPointerString(int)">getPointerString</A></B>(int&nbsp;num)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a "pointer" string in the usual format for these        things - 0x<hex digits>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getPointerString(java.lang.Object)">getPointerString</A></B>(java.lang.Object&nbsp;o)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a "pointer" string in the usual format for these        things - 0x<hex digits> for the object given.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getPrimitiveDefaultValue(java.lang.Class)">getPrimitiveDefaultValue</A></B>(java.lang.Class&nbsp;forClass)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getProperty(ognl.OgnlContext, java.lang.Object, java.lang.Object)">getProperty</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,            java.lang.Object&nbsp;source,            java.lang.Object&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../ognl/PropertyAccessor.html" title="interface in ognl">PropertyAccessor</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getPropertyAccessor(java.lang.Class)">getPropertyAccessor</A></B>(java.lang.Class&nbsp;cls)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.beans.PropertyDescriptor</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getPropertyDescriptor(java.lang.Class, java.lang.String)">getPropertyDescriptor</A></B>(java.lang.Class&nbsp;targetClass,                      java.lang.String&nbsp;propertyName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns a PropertyDescriptor for the given class and property name using        a Map lookup (using getPropertyDescriptorsMap()).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.beans.PropertyDescriptor</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getPropertyDescriptorFromArray(java.lang.Class, java.lang.String)">getPropertyDescriptorFromArray</A></B>(java.lang.Class&nbsp;targetClass,                               java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the property descriptor with the given name for the target class given.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.Map</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getPropertyDescriptors(java.lang.Class)">getPropertyDescriptors</A></B>(java.lang.Class&nbsp;targetClass)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method returns the property descriptors for the given class as a Map</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.beans.PropertyDescriptor[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getPropertyDescriptorsArray(java.lang.Class)">getPropertyDescriptorsArray</A></B>(java.lang.Class&nbsp;targetClass)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.reflect.Method</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getSetMethod(ognl.OgnlContext, java.lang.Class, java.lang.String)">getSetMethod</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,             java.lang.Class&nbsp;targetClass,             java.lang.String&nbsp;propertyName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getStaticField(ognl.OgnlContext, java.lang.String, java.lang.String)">getStaticField</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,               java.lang.String&nbsp;className,               java.lang.String&nbsp;fieldName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getTargetClass(java.lang.Object)">getTargetClass</A></B>(java.lang.Object&nbsp;o)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the "target" class of an object for looking up accessors that        are registered on the target.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getUniqueDescriptor(java.lang.Object)">getUniqueDescriptor</A></B>(java.lang.Object&nbsp;object)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a unique descriptor string that includes the object's        class' base name and a unique integer identifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#getUniqueDescriptor(java.lang.Object, boolean)">getUniqueDescriptor</A></B>(java.lang.Object&nbsp;object,                    boolean&nbsp;fullyQualified)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a unique descriptor string that includes the object's        class and a unique integer identifier.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#hasField(ognl.OgnlContext, java.lang.Object, java.lang.Class, java.lang.String)">hasField</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,         java.lang.Object&nbsp;target,         java.lang.Class&nbsp;inClass,         java.lang.String&nbsp;propertyName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#hasGetMethod(ognl.OgnlContext, java.lang.Object, java.lang.Class, java.lang.String)">hasGetMethod</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,             java.lang.Object&nbsp;target,             java.lang.Class&nbsp;targetClass,             java.lang.String&nbsp;propertyName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#hasGetProperty(ognl.OgnlContext, java.lang.Object, java.lang.Object)">hasGetProperty</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,               java.lang.Object&nbsp;target,               java.lang.Object&nbsp;oname)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#hasSetMethod(ognl.OgnlContext, java.lang.Object, java.lang.Class, java.lang.String)">hasSetMethod</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,             java.lang.Object&nbsp;target,             java.lang.Class&nbsp;targetClass,             java.lang.String&nbsp;propertyName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#hasSetProperty(ognl.OgnlContext, java.lang.Object, java.lang.Object)">hasSetProperty</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,               java.lang.Object&nbsp;target,               java.lang.Object&nbsp;oname)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#invokeMethod(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])">invokeMethod</A></B>(java.lang.Object&nbsp;target,             java.lang.reflect.Method&nbsp;method,             java.lang.Object[]&nbsp;argsArray)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#isFieldAccessible(ognl.OgnlContext, java.lang.Object, java.lang.Class, java.lang.String)">isFieldAccessible</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,                  java.lang.Object&nbsp;target,                  java.lang.Class&nbsp;inClass,                  java.lang.String&nbsp;propertyName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#isFieldAccessible(ognl.OgnlContext, java.lang.Object, java.lang.reflect.Field, java.lang.String)">isFieldAccessible</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,                  java.lang.Object&nbsp;target,                  java.lang.reflect.Field&nbsp;field,                  java.lang.String&nbsp;propertyName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#isInstance(ognl.OgnlContext, java.lang.Object, java.lang.String)">isInstance</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,           java.lang.Object&nbsp;value,           java.lang.String&nbsp;className)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#isMethodAccessible(ognl.OgnlContext, java.lang.Object, java.lang.reflect.Method, java.lang.String)">isMethodAccessible</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,                   java.lang.Object&nbsp;target,                   java.lang.reflect.Method&nbsp;method,                   java.lang.String&nbsp;propertyName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#isMoreSpecific(java.lang.Class[], java.lang.Class[])">isMoreSpecific</A></B>(java.lang.Class[]&nbsp;classes1,               java.lang.Class[]&nbsp;classes2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells whether the first array of classes is more specific than the second.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#isTypeCompatible(java.lang.Object, java.lang.Class)">isTypeCompatible</A></B>(java.lang.Object&nbsp;object,                 java.lang.Class&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells whether the given object is compatible with the given class ---that is, whether the given object can be passed as an argument to a method or constructor whose parameter type is the given class.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#setElementsAccessor(java.lang.Class, ognl.ElementsAccessor)">setElementsAccessor</A></B>(java.lang.Class&nbsp;cls,                    <A HREF="../ognl/ElementsAccessor.html" title="interface in ognl">ElementsAccessor</A>&nbsp;accessor)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../ognl/OgnlRuntime.html#setFieldValue(ognl.OgnlContext, java.lang.Object, java.lang.String, java.lang.Object)">setFieldValue</A></B>(<A HREF="../ognl/OgnlContext.html" title="class in ognl">OgnlContext</A>&nbsp;context,              java.lang.Object&nbsp;target,              java.lang.String&nbsp;propertyName,              java.lang.Object&nbsp;value)</CODE>

<BR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -