propertyresolver.html

来自「j2ee帮助文档软件设计/软件工程 文件格式」· HTML 代码 · 共 552 行 · 第 1/3 页

HTML
552
字号
</DD></DL><HR><A NAME="isReadOnly(java.lang.Object, java.lang.Object)"><!-- --></A><H3>isReadOnly</H3><PRE>public abstract boolean <B>isReadOnly</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;base,                                   <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;property)                            throws <A HREF="../../../javax/faces/el/EvaluationException.html" title="class in javax.faces.el">EvaluationException</A>,                                   <A HREF="../../../javax/faces/el/PropertyNotFoundException.html" title="class in javax.faces.el">PropertyNotFoundException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD><p>Checks if the specified property is read-only.</p> <p>For a bean base object, the property is coerced to a <code>String</code> and used as the property name. For all other base object types (e.g., a Map), the property is used without any coercing.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>base</CODE> - The base object whose property is to be analyzed<DD><CODE>property</CODE> - The property to be analyzed<DT><B>Returns:</B><DD><code>true</code> if the specified property of the specified  base object is known to be immutable; otherwise <code>false</code><DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/faces/el/EvaluationException.html" title="class in javax.faces.el">EvaluationException</A></CODE> - if an exception is thrown while testing  the property (the thrown exception must be included as the  <code>cause</code> property of this exception)<DD><CODE><A HREF="../../../javax/faces/el/PropertyNotFoundException.html" title="class in javax.faces.el">PropertyNotFoundException</A></CODE> - if the specified bean base  object property does not exist or if <code>base</code> or   <code>property</code> is <code>null</code></DL></DD></DL><HR><A NAME="isReadOnly(java.lang.Object, int)"><!-- --></A><H3>isReadOnly</H3><PRE>public abstract boolean <B>isReadOnly</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;base,                                   int&nbsp;index)                            throws <A HREF="../../../javax/faces/el/EvaluationException.html" title="class in javax.faces.el">EvaluationException</A>,                                   <A HREF="../../../javax/faces/el/PropertyNotFoundException.html" title="class in javax.faces.el">PropertyNotFoundException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD><p>Checks if the specified index is read-only.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>base</CODE> - The base object whose property is to be analyzed<DD><CODE>index</CODE> - The index of the value whose type is to be returned<DT><B>Returns:</B><DD><code>true</code> if the value at the specified index of  the specified base object is known to be immutable; otherwise,  <code>false</code><DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/faces/el/EvaluationException.html" title="class in javax.faces.el">EvaluationException</A></CODE> - if an exception is thrown while testing  the property (the thrown exception must be included as the  <code>cause</code> property of this exception)<DD><CODE><A HREF="../../../javax/faces/el/PropertyNotFoundException.html" title="class in javax.faces.el">PropertyNotFoundException</A></CODE> - if the index is out of  bounds or if <code>base</code> is <code>null</code></DL></DD></DL><HR><A NAME="getType(java.lang.Object, java.lang.Object)"><!-- --></A><H3>getType</H3><PRE>public abstract <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> <B>getType</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;base,                              <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;property)                       throws <A HREF="../../../javax/faces/el/EvaluationException.html" title="class in javax.faces.el">EvaluationException</A>,                              <A HREF="../../../javax/faces/el/PropertyNotFoundException.html" title="class in javax.faces.el">PropertyNotFoundException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD><p>Return the <code>java.lang.Class</code> representing the type of the specified property.  An instance of any Object of that type my be set as the value of that property, as long as the property is not read-only.  The actual value of the property, if non-null, is guaranteed to be an instance of this type, or an instance of a subclass of this type.  This method is also useful for discovering the type of Objects that may be set as the value of the property.</p> <p>For a bean base object, the property is coerced to a <code>String</code> and used as the property name.  For all other base object types (e.g., a Map), the property is used without any coercing.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>base</CODE> - The base object whose property is to be analyzed<DD><CODE>property</CODE> - The property to be analyzed<DT><B>Returns:</B><DD>the <code>java.lang.Class</code> representing the type of  the specified property of the specified base object, if it can be  determined; otherwise <code>null</code><DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/faces/el/EvaluationException.html" title="class in javax.faces.el">EvaluationException</A></CODE> - if an exception is thrown while testing  the property (the thrown exception must be included as the  <code>cause</code> property of this exception)<DD><CODE><A HREF="../../../javax/faces/el/PropertyNotFoundException.html" title="class in javax.faces.el">PropertyNotFoundException</A></CODE> - if the specified bean base  object property does not exist or if <code>base</code> or  <code>property</code> is <code>null</code></DL></DD></DL><HR><A NAME="getType(java.lang.Object, int)"><!-- --></A><H3>getType</H3><PRE>public abstract <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> <B>getType</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;base,                              int&nbsp;index)                       throws <A HREF="../../../javax/faces/el/EvaluationException.html" title="class in javax.faces.el">EvaluationException</A>,                              <A HREF="../../../javax/faces/el/PropertyNotFoundException.html" title="class in javax.faces.el">PropertyNotFoundException</A></PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD><p>Return the <code>java.lang.Class</code> representing the type of the specified index.</p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>base</CODE> - The base object whose property is to be analyzed<DD><CODE>index</CODE> - The index of the value whose type is to be returned<DT><B>Returns:</B><DD>The <code>java.lang.Class</code> representing the type of  value at the specified index of the specified base object, if it  can be determined; otherwise <code>null</code><DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/faces/el/EvaluationException.html" title="class in javax.faces.el">EvaluationException</A></CODE> - if an exception is thrown while testing  the property (the thrown exception must be included as the  <code>cause</code> property of this exception)<DD><CODE><A HREF="../../../javax/faces/el/PropertyNotFoundException.html" title="class in javax.faces.el">PropertyNotFoundException</A></CODE> - if the index is out of  bounds or if <code>base</code> is <code>null</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/faces/el/PropertyNotFoundException.html" title="class in javax.faces.el"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/faces/el/ReferenceSyntaxException.html" title="class in javax.faces.el"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?javax/faces/el/PropertyResolver.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="PropertyResolver.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../legal/license.html" target="_top">license terms.</a></font></BODY></HTML>

⌨️ 快捷键说明

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