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

📄 dynaactionform.html

📁 struts api,学习使用struts必备的文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<PRE>
public java.lang.Object <B>get</B>(java.lang.String&nbsp;name,                            java.lang.String&nbsp;key)</PRE>
<DL>
<DD><p>Return the value of a mapped property with the specified name, or <code>null</code> if there is no value for the specified key. </p><DD><DL>
<DT><B>Specified by: </B><DD><CODE>get</CODE> in interface <CODE>org.apache.commons.beanutils.DynaBean</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property whose value is to be retrieved<DD><CODE>key</CODE> - Key of the value to be retrieved<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if there is no property  of the specified name<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the specified property  exists, but is not mapped</DL>
</DD>
</DL>
<HR>

<A NAME="getString(java.lang.String)"><!-- --></A><H3>
getString</H3>
<PRE>
public java.lang.String <B>getString</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Return the value of a <code>String</code> property with the specified name. This is equivalent to calling <code>(String) dynaForm.get(name)</code>.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property whose value is to be retrieved<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if there is no property  of the specified name<DD><CODE>NullPointerException</CODE> - if the type specified for the  property is invalid<DD><CODE>ClassCastException</CODE> - if the property is not a String.<DT><B>Since: </B><DD>Struts 1.2</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getStrings(java.lang.String)"><!-- --></A><H3>
getStrings</H3>
<PRE>
public java.lang.String[] <B>getStrings</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Return the value of a <code>String[]</code> property with the specified name. This is equivalent to calling <code>(String[]) dynaForm.get(name)</code>.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property whose value is to be retrieved<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if there is no property  of the specified name<DD><CODE>NullPointerException</CODE> - if the type specified for the  property is invalid<DD><CODE>ClassCastException</CODE> - if the property is not a String[].<DT><B>Since: </B><DD>Struts 1.2</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="getDynaClass()"><!-- --></A><H3>
getDynaClass</H3>
<PRE>
public org.apache.commons.beanutils.DynaClass <B>getDynaClass</B>()</PRE>
<DL>
<DD><p>Return the <code>DynaClass</code> instance that describes the set of properties available for this <code>DynaBean</code>.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE>getDynaClass</CODE> in interface <CODE>org.apache.commons.beanutils.DynaBean</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getMap()"><!-- --></A><H3>
getMap</H3>
<PRE>
public java.util.Map <B>getMap</B>()</PRE>
<DL>
<DD><p>Returns the <code>Map</code> containing the property values.  This is done mostly to facilitate accessing the <code>DynaActionForm</code> through JavaBeans accessors, in order to use the JavaServer Pages Standard Tag Library (JSTL).</p> <p>For instance, the normal JSTL EL syntax for accessing an <code>ActionForm</code> would be something like this: <pre>  ${formbean.prop}</pre> The JSTL EL syntax for accessing a <code>DynaActionForm</code> looks something like this (because of the presence of this <code>getMap()</code> method): <pre>  ${dynabean.map.prop}</pre> </p><DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="remove(java.lang.String, java.lang.String)"><!-- --></A><H3>
remove</H3>
<PRE>
public void <B>remove</B>(java.lang.String&nbsp;name,                   java.lang.String&nbsp;key)</PRE>
<DL>
<DD><p>Remove any existing value for the specified key on the specified mapped property.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE>remove</CODE> in interface <CODE>org.apache.commons.beanutils.DynaBean</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property for which a value is to  be removed<DD><CODE>key</CODE> - Key of the value to be removed<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if there is no property  of the specified name</DL>
</DD>
</DL>
<HR>

<A NAME="set(java.lang.String, java.lang.Object)"><!-- --></A><H3>
set</H3>
<PRE>
public void <B>set</B>(java.lang.String&nbsp;name,                java.lang.Object&nbsp;value)</PRE>
<DL>
<DD><p>Set the value of a simple property with the specified name.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE>set</CODE> in interface <CODE>org.apache.commons.beanutils.DynaBean</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property whose value is to be set<DD><CODE>value</CODE> - Value to which this property is to be set<DT><B>Throws:</B><DD><CODE>org.apache.commons.beanutils.ConversionException</CODE> - if the specified value cannot be  converted to the type required for this property<DD><CODE>java.lang.IllegalArgumentException</CODE> - if there is no property  of the specified name<DD><CODE>NullPointerException</CODE> - if the type specified for the  property is invalid<DD><CODE>NullPointerException</CODE> - if an attempt is made to set a  primitive property to null</DL>
</DD>
</DL>
<HR>

<A NAME="set(java.lang.String, int, java.lang.Object)"><!-- --></A><H3>
set</H3>
<PRE>
public void <B>set</B>(java.lang.String&nbsp;name,                int&nbsp;index,                java.lang.Object&nbsp;value)</PRE>
<DL>
<DD><p>Set the value of an indexed property with the specified name.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE>set</CODE> in interface <CODE>org.apache.commons.beanutils.DynaBean</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property whose value is to be set<DD><CODE>index</CODE> - Index of the property to be set<DD><CODE>value</CODE> - Value to which this property is to be set<DT><B>Throws:</B><DD><CODE>org.apache.commons.beanutils.ConversionException</CODE> - if the specified value cannot be  converted to the type required for this property<DD><CODE>java.lang.IllegalArgumentException</CODE> - if there is no property  of the specified name<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the specified property  exists, but is not indexed<DD><CODE>java.lang.IndexOutOfBoundsException</CODE> - if the specified index  is outside the range of the underlying property</DL>
</DD>
</DL>
<HR>

<A NAME="set(java.lang.String, java.lang.String, java.lang.Object)"><!-- --></A><H3>
set</H3>
<PRE>
public void <B>set</B>(java.lang.String&nbsp;name,                java.lang.String&nbsp;key,                java.lang.Object&nbsp;value)</PRE>
<DL>
<DD><p>Set the value of a mapped property with the specified name.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE>set</CODE> in interface <CODE>org.apache.commons.beanutils.DynaBean</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property whose value is to be set<DD><CODE>key</CODE> - Key of the property to be set<DD><CODE>value</CODE> - Value to which this property is to be set<DT><B>Throws:</B><DD><CODE>org.apache.commons.beanutils.ConversionException</CODE> - if the specified value cannot be  converted to the type required for this property<DD><CODE>java.lang.IllegalArgumentException</CODE> - if there is no property  of the specified name<DD><CODE>java.lang.IllegalArgumentException</CODE> - if the specified property  exists, but is not mapped</DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD><p>Render a String representation of this object.</p><DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setDynaActionFormClass(org.apache.struts.action.DynaActionFormClass)"><!-- --></A><H3>
setDynaActionFormClass</H3>
<PRE>
void <B>setDynaActionFormClass</B>(<A HREF="../../../../org/apache/struts/action/DynaActionFormClass.html">DynaActionFormClass</A>&nbsp;dynaClass)</PRE>
<DL>
<DD><p>Set the <code>DynaActionFormClass</code> instance with which we are associated.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dynaClass</CODE> - The DynaActionFormClass instance for this bean</DL>
</DD>
</DL>
<HR>

<A NAME="getDynaProperty(java.lang.String)"><!-- --></A><H3>
getDynaProperty</H3>
<PRE>
protected org.apache.commons.beanutils.DynaProperty <B>getDynaProperty</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Return the property descriptor for the specified property name.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property for which to retrieve the descriptor<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if this is not a valid property  name for our DynaClass</DL>
</DD>
</DL>
<HR>

<A NAME="isDynaAssignable(java.lang.Class, java.lang.Class)"><!-- --></A><H3>
isDynaAssignable</H3>
<PRE>
protected boolean <B>isDynaAssignable</B>(java.lang.Class&nbsp;dest,                                   java.lang.Class&nbsp;source)</PRE>
<DL>
<DD><p>Indicates if an object of the source class is assignable to the destination class.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>dest</CODE> - Destination class<DD><CODE>source</CODE> - Source class</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <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="class-use/DynaActionForm.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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="../../../../org/apache/struts/action/ActionServletWrapper.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/struts/action/DynaActionFormClass.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="DynaActionForm.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&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>
<!-- =========== END OF NAVBAR =========== -->

<HR>
Copyright 

⌨️ 快捷键说明

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