📄 beanvalidatorform.html
字号:
Return the <code>DynaBean</code> that this <code>ActionForm</code> is backed by.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> org.apache.commons.beanutils.DynaClass</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/validator/BeanValidatorForm.html#getDynaClass()">getDynaClass</A></B>()</CODE>
<BR>
Return the <code>DynaClass</code> instance that describes the set of properties available for this DynaBean.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/validator/BeanValidatorForm.html#getInstance()">getInstance</A></B>()</CODE>
<BR>
Return the <code>Bean</code> that this <code>ActionForm</code> is backed by.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/validator/BeanValidatorForm.html#getValidationKey(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest)">getValidationKey</A></B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping, javax.servlet.http.HttpServletRequest request)</CODE>
<BR>
Returns the Validation key</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/validator/BeanValidatorForm.html#isPathValidation()">isPathValidation</A></B>()</CODE>
<BR>
Indicates whether this form should validate based on the <code>ActionMapping</code>'s path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/validator/BeanValidatorForm.html#remove(java.lang.String, java.lang.String)">remove</A></B>(java.lang.String name, java.lang.String key)</CODE>
<BR>
Remove any existing value for the specified key on the specified mapped property.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/validator/BeanValidatorForm.html#set(java.lang.String, int, java.lang.Object)">set</A></B>(java.lang.String name, int index, java.lang.Object value)</CODE>
<BR>
Set the value of an indexed property with the specified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/validator/BeanValidatorForm.html#set(java.lang.String, java.lang.Object)">set</A></B>(java.lang.String name, java.lang.Object value)</CODE>
<BR>
Set the value of a simple property with the specified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/validator/BeanValidatorForm.html#set(java.lang.String, java.lang.String, java.lang.Object)">set</A></B>(java.lang.String name, java.lang.String key, java.lang.Object value)</CODE>
<BR>
Set the value of a mapped property with the specified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/validator/BeanValidatorForm.html#setPathValidation(boolean)">setPathValidation</A></B>(boolean pathValidation)</CODE>
<BR>
Set whether this form should validate based on the <code>ActionMapping</code>'s path.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/validator/BeanValidatorForm.html#size(java.lang.String)">size</A></B>(java.lang.String name)</CODE>
<BR>
Return the size of an indexed or mapped property.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.struts.validator.ValidatorForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.struts.validator.<A HREF="../../../../org/apache/struts/validator/ValidatorForm.html">ValidatorForm</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/apache/struts/validator/ValidatorForm.html#getPage()">getPage</A>, <A HREF="../../../../org/apache/struts/validator/ValidatorForm.html#getResultValueMap()">getResultValueMap</A>, <A HREF="../../../../org/apache/struts/validator/ValidatorForm.html#getValidatorResults()">getValidatorResults</A>, <A HREF="../../../../org/apache/struts/validator/ValidatorForm.html#reset(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest)">reset</A>, <A HREF="../../../../org/apache/struts/validator/ValidatorForm.html#setPage(int)">setPage</A>, <A HREF="../../../../org/apache/struts/validator/ValidatorForm.html#setValidatorResults(org.apache.commons.validator.ValidatorResults)">setValidatorResults</A>, <A HREF="../../../../org/apache/struts/validator/ValidatorForm.html#validate(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest)">validate</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.struts.action.ActionForm"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.struts.action.<A HREF="../../../../org/apache/struts/action/ActionForm.html">ActionForm</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/apache/struts/action/ActionForm.html#getMultipartRequestHandler()">getMultipartRequestHandler</A>, <A HREF="../../../../org/apache/struts/action/ActionForm.html#getServlet()">getServlet</A>, <A HREF="../../../../org/apache/struts/action/ActionForm.html#getServletWrapper()">getServletWrapper</A>, <A HREF="../../../../org/apache/struts/action/ActionForm.html#reset(org.apache.struts.action.ActionMapping, javax.servlet.ServletRequest)">reset</A>, <A HREF="../../../../org/apache/struts/action/ActionForm.html#setMultipartRequestHandler(org.apache.struts.upload.MultipartRequestHandler)">setMultipartRequestHandler</A>, <A HREF="../../../../org/apache/struts/action/ActionForm.html#setServlet(org.apache.struts.action.ActionServlet)">setServlet</A>, <A HREF="../../../../org/apache/struts/action/ActionForm.html#validate(org.apache.struts.action.ActionMapping, javax.servlet.ServletRequest)">validate</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<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="logger"><!-- --></A><H3>
logger</H3>
<PRE>
protected static org.apache.commons.logging.Log <B>logger</B></PRE>
<DL>
<DD>Commons Logging</DL>
<HR>
<A NAME="dynaBean"><!-- --></A><H3>
dynaBean</H3>
<PRE>
protected org.apache.commons.beanutils.DynaBean <B>dynaBean</B></PRE>
<DL>
<DD>The <code>DynaBean</code> that this ActionForm is backed by.</DL>
<HR>
<A NAME="pathValidation"><!-- --></A><H3>
pathValidation</H3>
<PRE>
protected boolean <B>pathValidation</B></PRE>
<DL>
<DD>Indicates whether the ActionMapping's path should be used for the validation key.</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="BeanValidatorForm(java.lang.Object)"><!-- --></A><H3>
BeanValidatorForm</H3>
<PRE>
public <B>BeanValidatorForm</B>(java.lang.Object bean)</PRE>
<DL>
<DD>Construct a new <code>BeanValidatorForm</code> with the specified bean.</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="setPathValidation(boolean)"><!-- --></A><H3>
setPathValidation</H3>
<PRE>
protected void <B>setPathValidation</B>(boolean pathValidation)</PRE>
<DL>
<DD><p>Set whether this form should validate based on the <code>ActionMapping</code>'s path.</p><DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isPathValidation()"><!-- --></A><H3>
isPathValidation</H3>
<PRE>
protected boolean <B>isPathValidation</B>()</PRE>
<DL>
<DD><p>Indicates whether this form should validate based on the <code>ActionMapping</code>'s path.</p><DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getDynaBean()"><!-- --></A><H3>
getDynaBean</H3>
<PRE>
public org.apache.commons.beanutils.DynaBean <B>getDynaBean</B>()</PRE>
<DL>
<DD><p>Return the <code>DynaBean</code> that this <code>ActionForm</code> is backed by.</p><DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getInstance()"><!-- --></A><H3>
getInstance</H3>
<PRE>
public java.lang.Object <B>getInstance</B>()</PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -