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

📄 dynaactionformclass.html

📁 struts api,学习使用struts必备的文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="beanClass"><!-- --></A><H3>
beanClass</H3>
<PRE>
protected transient java.lang.Class <B>beanClass</B></PRE>
<DL>
<DD><p>The <code>DynaActionForm</code> implementation <code>Class</code> which we will use to create new bean instances.</p></DL>
<HR>

<A NAME="config"><!-- --></A><H3>
config</H3>
<PRE>
protected <A HREF="../../../../org/apache/struts/config/FormBeanConfig.html">FormBeanConfig</A> <B>config</B></PRE>
<DL>
<DD><p>The form bean configuration information for this class.</p></DL>
<HR>

<A NAME="name"><!-- --></A><H3>
name</H3>
<PRE>
protected java.lang.String <B>name</B></PRE>
<DL>
<DD><p>The "dynamic class name" for this <code>DynaClass</code>.</p></DL>
<HR>

<A NAME="properties"><!-- --></A><H3>
properties</H3>
<PRE>
protected org.apache.commons.beanutils.DynaProperty[] <B>properties</B></PRE>
<DL>
<DD><p>The set of dynamic properties that are part of this DynaClass.</p></DL>
<HR>

<A NAME="propertiesMap"><!-- --></A><H3>
propertiesMap</H3>
<PRE>
protected java.util.HashMap <B>propertiesMap</B></PRE>
<DL>
<DD><p>The set of dynamic properties that are part of this <code>DynaClass</code>, keyed by the property name.  Individual descriptor instances will be the same instances as those in the <code>properties</code> list.</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="DynaActionFormClass(org.apache.struts.config.FormBeanConfig)"><!-- --></A><H3>
DynaActionFormClass</H3>
<PRE>
public <B>DynaActionFormClass</B>(<A HREF="../../../../org/apache/struts/config/FormBeanConfig.html">FormBeanConfig</A>&nbsp;config)</PRE>
<DL>
<DD><p>Construct a new <code>DynaActionFormClass</code> for the specified form bean configuration.  This constructor is private; <code>DynaActionFormClass</code> instances will be created as needed via calls to the static <code>createDynaActionFormClass()</code> method.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - The FormBeanConfig instance describing the properties  of the bean to be created<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the bean implementation class  specified in the configuration is not DynaActionForm (or a subclass  of DynaActionForm)</DL>
</DD>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>()</PRE>
<DL>
<DD><p>Return the name of this <code>DynaClass</code> (analogous to the <code>getName()</code> method of <code>java.lang.Class</code), which allows the same <code>DynaClass</code> implementation class to support different dynamic classes, with different sets of properties.<DD><DL>
<DT><B>Specified by: </B><DD><CODE>getName</CODE> in interface <CODE>org.apache.commons.beanutils.DynaClass</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getDynaProperty(java.lang.String)"><!-- --></A><H3>
getDynaProperty</H3>
<PRE>
public org.apache.commons.beanutils.DynaProperty <B>getDynaProperty</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Return a property descriptor for the specified property, if it exists; otherwise, return <code>null</code>.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE>getDynaProperty</CODE> in interface <CODE>org.apache.commons.beanutils.DynaClass</CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the dynamic property for which a descriptor  is requested<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if no property name is specified</DL>
</DD>
</DL>
<HR>

<A NAME="getDynaProperties()"><!-- --></A><H3>
getDynaProperties</H3>
<PRE>
public org.apache.commons.beanutils.DynaProperty[] <B>getDynaProperties</B>()</PRE>
<DL>
<DD><p>Return an array of <code>DynaProperty</code>s for the properties currently defined in this <code>DynaClass</code>.  If no properties are defined, a zero-length array will be returned.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE>getDynaProperties</CODE> in interface <CODE>org.apache.commons.beanutils.DynaClass</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="newInstance()"><!-- --></A><H3>
newInstance</H3>
<PRE>
public org.apache.commons.beanutils.DynaBean <B>newInstance</B>()                                                  throws java.lang.IllegalAccessException,                                                         java.lang.InstantiationException</PRE>
<DL>
<DD><p>Instantiate and return a new <A HREF="../../../../org/apache/struts/action/DynaActionForm.html"><CODE>DynaActionForm</CODE></A> instance, associated with this <code>DynaActionFormClass</code>.  The properties of the returned <A HREF="../../../../org/apache/struts/action/DynaActionForm.html"><CODE>DynaActionForm</CODE></A> will have been initialized to the default values specified in the form bean configuration information.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE>newInstance</CODE> in interface <CODE>org.apache.commons.beanutils.DynaClass</CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.lang.IllegalAccessException</CODE> - if the Class or the appropriate  constructor is not accessible<DD><CODE>java.lang.InstantiationException</CODE> - if this Class represents an abstract  class, an array class, a primitive type, or void; or if instantiation  fails for some other reason</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 <code>String</code> 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="clear()"><!-- --></A><H3>
clear</H3>
<PRE>
public static void <B>clear</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>No longer need to Clear our cache of <code>DynaActionFormClass</code> instances.</I>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="createDynaActionFormClass(org.apache.struts.config.FormBeanConfig)"><!-- --></A><H3>
createDynaActionFormClass</H3>
<PRE>
public static <A HREF="../../../../org/apache/struts/action/DynaActionFormClass.html">DynaActionFormClass</A> <B>createDynaActionFormClass</B>(<A HREF="../../../../org/apache/struts/config/FormBeanConfig.html">FormBeanConfig</A>&nbsp;config)</PRE>
<DL>
<DD>Return the <code>DynaActionFormClass</code> instance for the specified form bean configuration instance.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getBeanClass()"><!-- --></A><H3>
getBeanClass</H3>
<PRE>
protected java.lang.Class <B>getBeanClass</B>()</PRE>
<DL>
<DD><p>Return the implementation class we are using to construct new instances, re-introspecting our <A HREF="../../../../org/apache/struts/config/FormBeanConfig.html"><CODE>FormBeanConfig</CODE></A> if necessary (that is, after being deserialized, since <code>beanClass</code> is marked transient).</p><DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="introspect(org.apache.struts.config.FormBeanConfig)"><!-- --></A><H3>
introspect</H3>
<PRE>
protected void <B>introspect</B>(<A HREF="../../../../org/apache/struts/config/FormBeanConfig.html">FormBeanConfig</A>&nbsp;config)</PRE>
<DL>
<DD><p>Introspect our form bean configuration to identify the supported properties.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - The FormBeanConfig instance describing the properties  of the bean to be created<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the bean implementation class  specified in the configuration is not DynaActionForm (or a subclass  of DynaActionForm)</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/DynaActionFormClass.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/DynaActionForm.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/struts/action/ExceptionHandler.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="DynaActionFormClass.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 + -