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

📄 tagattributeinfo.html

📁 j2ee帮助文档软件设计/软件工程 文件格式
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<A NAME="isRequired()"><!-- --></A><H3>isRequired</H3><PRE>public boolean <B>isRequired</B>()</PRE><DL><DD>Whether this attribute is required.<P><DD><DL><DT><B>Returns:</B><DD>if the attribute is required.</DL></DD></DL><HR><A NAME="getIdAttribute(javax.servlet.jsp.tagext.TagAttributeInfo[])"><!-- --></A><H3>getIdAttribute</H3><PRE>public static <A HREF="../../../../javax/servlet/jsp/tagext/TagAttributeInfo.html" title="class in javax.servlet.jsp.tagext">TagAttributeInfo</A> <B>getIdAttribute</B>(<A HREF="../../../../javax/servlet/jsp/tagext/TagAttributeInfo.html" title="class in javax.servlet.jsp.tagext">TagAttributeInfo</A>[]&nbsp;a)</PRE><DL><DD>Convenience static method that goes through an array of TagAttributeInfo objects and looks for "id".<P><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - An array of TagAttributeInfo<DT><B>Returns:</B><DD>The TagAttributeInfo reference with name "id"</DL></DD></DL><HR><A NAME="isFragment()"><!-- --></A><H3>isFragment</H3><PRE>public boolean <B>isFragment</B>()</PRE><DL><DD>Whether this attribute is of type JspFragment.<P><DD><DL><DT><B>Returns:</B><DD>if the attribute is of type JspFragment<DT><B>Since:</B></DT>  <DD>JSP 2.0</DD></DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getDescription</B>()</PRE><DL><DD>Gets the description string of this tag attribute.<P><DD><DL><DT><B>Returns:</B><DD>the description string of this tag attribute</DL></DD></DL><HR><A NAME="isDeferredValue()"><!-- --></A><H3>isDeferredValue</H3><PRE>public boolean <B>isDeferredValue</B>()</PRE><DL><DD>Returns <code>true</code> if this attribute is to be passed a <code>ValueExpression</code> so that expression evaluation can be deferred. <p>If this method returns <code>true</code>, then <code>getTypeName()</code> must return <code>"javax.el.ValueExpression"</code>.</p> <p>The <code>getExpectedType()</code> method can be used to retrieve the expected type this value expression will be constructed with.</p><P><DD><DL><DT><B>Returns:</B><DD><code>true</code> if this attribute accepts a deferred value;     <code>false</code> otherwise.<DT><B>Since:</B></DT>  <DD>JSP 2.1</DD></DL></DD></DL><HR><A NAME="isDeferredMethod()"><!-- --></A><H3>isDeferredMethod</H3><PRE>public boolean <B>isDeferredMethod</B>()</PRE><DL><DD>Returns <code>true</code> if this attribute is to be passed a <code>MethodExpression</code> so that expression evaluation can be deferred. <p>If this method returns <code>true</code>, then <code>getTypeName()</code> must return <code>"javax.el.MethodExpression"</code>.</p> <p>The <code>getMethodSignature()</code> method can be used to retrieve the expected method signature this method expression will be constructed with.</p><P><DD><DL><DT><B>Returns:</B><DD><code>true</code> if this attribute accepts a deferred method;     <code>false</code> otherwise.<DT><B>Since:</B></DT>  <DD>JSP 2.1</DD></DL></DD></DL><HR><A NAME="getExpectedTypeName()"><!-- --></A><H3>getExpectedTypeName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getExpectedTypeName</B>()</PRE><DL><DD>Returns the name of the expected type (as a String) of this deferred value attribute. <p>This method returns <code>null</code> if <code>isDeferredValue()</code> returns <code>false</code>.</p><P><DD><DL><DT><B>Returns:</B><DD>the name of the expected type<DT><B>Since:</B></DT>  <DD>JSP 2.1</DD></DL></DD></DL><HR><A NAME="getMethodSignature()"><!-- --></A><H3>getMethodSignature</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMethodSignature</B>()</PRE><DL><DD>Returns the expected method signature of this deferred method attribute. <p>This method returns <code>null</code> if <code>isDeferredMethod()</code> returns <code>false</code>.</p><P><DD><DL><DT><B>Returns:</B><DD>the method signature<DT><B>Since:</B></DT>  <DD>JSP 2.1</DD></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD>Returns a String representation of this TagAttributeInfo, suitable for debugging purposes.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a String representation of this TagAttributeInfo</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/servlet/jsp/tagext/TagAdapter.html" title="class in javax.servlet.jsp.tagext"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../javax/servlet/jsp/tagext/TagData.html" title="class in javax.servlet.jsp.tagext"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?javax/servlet/jsp/tagext/TagAttributeInfo.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="TagAttributeInfo.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -