📄 formbeanconfig.html
字号:
<PRE>
protected boolean <B>configured</B></PRE>
<DL>
<DD>Has this component been completely configured?</DL>
<HR>
<A NAME="formProperties"><!-- --></A><H3>
formProperties</H3>
<PRE>
protected java.util.HashMap <B>formProperties</B></PRE>
<DL>
<DD>The set of FormProperty elements defining dynamic form properties for this form bean, keyed by property name.</DL>
<HR>
<A NAME="lock"><!-- --></A><H3>
lock</H3>
<PRE>
protected java.lang.String <B>lock</B></PRE>
<DL>
<DD><p>The lockable object we can synchronize on when creating DynaActionFormClass.</p></DL>
<HR>
<A NAME="dynaActionFormClass"><!-- --></A><H3>
dynaActionFormClass</H3>
<PRE>
protected transient <A HREF="../../../../org/apache/struts/action/DynaActionFormClass.html">DynaActionFormClass</A> <B>dynaActionFormClass</B></PRE>
<DL>
<DD>The DynaActionFormClass associated with a DynaActionForm.</DL>
<HR>
<A NAME="dynamic"><!-- --></A><H3>
dynamic</H3>
<PRE>
protected boolean <B>dynamic</B></PRE>
<DL>
<DD>Is the form bean class an instance of DynaActionForm with dynamic properties?</DL>
<HR>
<A NAME="name"><!-- --></A><H3>
name</H3>
<PRE>
protected java.lang.String <B>name</B></PRE>
<DL>
<DD>The unique identifier of this form bean, which is used to reference this bean in <code>ActionMapping</code> instances as well as for the name of the request or session attribute under which the corresponding form bean instance is created or accessed.</DL>
<HR>
<A NAME="type"><!-- --></A><H3>
type</H3>
<PRE>
protected java.lang.String <B>type</B></PRE>
<DL>
<DD>The fully qualified Java class name of the implementation class to be used or generated.</DL>
<HR>
<A NAME="restricted"><!-- --></A><H3>
restricted</H3>
<PRE>
protected boolean <B>restricted</B></PRE>
<DL>
<DD>Is this DynaClass currently restricted (for DynaBeans with a MutableDynaClass).</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="FormBeanConfig()"><!-- --></A><H3>
FormBeanConfig</H3>
<PRE>
public <B>FormBeanConfig</B>()</PRE>
<DL>
</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="getDynaActionFormClass()"><!-- --></A><H3>
getDynaActionFormClass</H3>
<PRE>
public <A HREF="../../../../org/apache/struts/action/DynaActionFormClass.html">DynaActionFormClass</A> <B>getDynaActionFormClass</B>()</PRE>
<DL>
<DD><p>Return the DynaActionFormClass associated with a DynaActionForm.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the ActionForm is not dynamic</DL>
</DD>
</DL>
<HR>
<A NAME="getDynamic()"><!-- --></A><H3>
getDynamic</H3>
<PRE>
public boolean <B>getDynamic</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setDynamic(boolean)"><!-- --></A><H3>
setDynamic</H3>
<PRE>
public void <B>setDynamic</B>(boolean dynamic)</PRE>
<DL>
<DD><B>Deprecated.</B> <I>The value to be returned by <code>getDynamic()</code> is now computed automatically in <code>setType()</code></I>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public java.lang.String <B>getName</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setName(java.lang.String)"><!-- --></A><H3>
setName</H3>
<PRE>
public void <B>setName</B>(java.lang.String name)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getType()"><!-- --></A><H3>
getType</H3>
<PRE>
public java.lang.String <B>getType</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setType(java.lang.String)"><!-- --></A><H3>
setType</H3>
<PRE>
public void <B>setType</B>(java.lang.String type)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isRestricted()"><!-- --></A><H3>
isRestricted</H3>
<PRE>
public boolean <B>isRestricted</B>()</PRE>
<DL>
<DD><p>Indicates whether a MutableDynaClass is currently restricted.</p> <p>If so, no changes to the existing registration of property names, data types, readability, or writeability are allowed.</p><DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setRestricted(boolean)"><!-- --></A><H3>
setRestricted</H3>
<PRE>
public void <B>setRestricted</B>(boolean restricted)</PRE>
<DL>
<DD><p>Set whether a MutableDynaClass is currently restricted.</p> <p>If so, no changes to the existing registration of property names, data types, readability, or writeability are allowed.</p><DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="createActionForm(org.apache.struts.action.ActionServlet)"><!-- --></A><H3>
createActionForm</H3>
<PRE>
public <A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A> <B>createActionForm</B>(<A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A> servlet) throws java.lang.IllegalAccessException, java.lang.InstantiationException</PRE>
<DL>
<DD><p>Create and return an <code>ActionForm</code> instance appropriate to the information in this <code>FormBeanConfig</code>.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>servlet</CODE> - The action servlet<DT><B>Returns:</B><DD>ActionForm instance<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="addFormPropertyConfig(org.apache.struts.config.FormPropertyConfig)"><!-- --></A><H3>
addFormPropertyConfig</H3>
<PRE>
public void <B>addFormPropertyConfig</B>(<A HREF="../../../../org/apache/struts/config/FormPropertyConfig.html">FormPropertyConfig</A> config)</PRE>
<DL>
<DD>Add a new <code>FormPropertyConfig</code> instance to the set associated with this module.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - The new configuration instance to be added<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if this property name has already been defined</DL>
</DD>
</DL>
<HR>
<A NAME="findFormPropertyConfig(java.lang.String)"><!-- --></A><H3>
findFormPropertyConfig</H3>
<PRE>
public <A HREF="../../../../org/apache/struts/config/FormPropertyConfig.html">FormPropertyConfig</A> <B>findFormPropertyConfig</B>(java.lang.String name)</PRE>
<DL>
<DD>Return the form property configuration for the specified property name, if any; otherwise return <code>null</code>.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Form property name to find a configuration for</DL>
</DD>
</DL>
<HR>
<A NAME="findFormPropertyConfigs()"><!-- --></A><H3>
findFormPropertyConfigs</H3>
<PRE>
public <A HREF="../../../../org/apache/struts/config/FormPropertyConfig.html">FormPropertyConfig</A>[] <B>findFormPropertyConfigs</B>()</PRE>
<DL>
<DD>Return the form property configurations for this module. If there are none, a zero-length array is returned.<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="freeze()"><!-- --></A><H3>
freeze</H3>
<PRE>
public void <B>freeze</B>()</PRE>
<DL>
<DD>Freeze the configuration of this component.<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="removeFormPropertyConfig(org.apache.struts.config.FormPropertyConfig)"><!-- --></A><H3>
removeFormPropertyConfig</H3>
<PRE>
public void <B>removeFormPropertyConfig</B>(<A HREF="../../../../org/apache/struts/config/FormPropertyConfig.html">FormPropertyConfig</A> config)</PRE>
<DL>
<DD>Remove the specified form property configuration instance.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - FormPropertyConfig instance to be removed</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Return a String representation of this object.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="formBeanClass()"><!-- --></A><H3>
formBeanClass</H3>
<PRE>
protected java.lang.Class <B>formBeanClass</B>()</PRE>
<DL>
<DD>Return the <code>Class</code> instance for the form bean implementation configured by this <code>FormBeanConfig</code> instance. This method uses the same algorithm as <code>RequestUtils.applicationClass()</code> but is reproduced to avoid a runtime dependence.<DD><DL>
</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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FormBeanConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/struts/config/ExceptionConfig.html"><B>PREV CLASS</B></A>
<A HREF="../../../../org/apache/struts/config/FormPropertyConfig.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>
<A HREF="FormBeanConfig.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -