📄 definitionsfactoryconfig.html
字号:
<DL>
<DD>Set the module aware flag.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>moduleAware</CODE> - <code>true</code>: user wants a single factory instance, <code>false</code>: user wants multiple factory instances (one per module with Struts)</DL>
</DD>
</DL>
<HR>
<A NAME="getFactoryClassname()"><!-- --></A><H3>
getFactoryClassname</H3>
<PRE>
public java.lang.String <B>getFactoryClassname</B>()</PRE>
<DL>
<DD>Get the classname of the factory.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Classname.</DL>
</DD>
</DL>
<HR>
<A NAME="setFactoryClassname(java.lang.String)"><!-- --></A><H3>
setFactoryClassname</H3>
<PRE>
public void <B>setFactoryClassname</B>(java.lang.String aFactoryClassname)</PRE>
<DL>
<DD>Set the classname of the factory..<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aFactoryClassname</CODE> - Classname of the factory.</DL>
</DD>
</DL>
<HR>
<A NAME="getParserValidate()"><!-- --></A><H3>
getParserValidate</H3>
<PRE>
public boolean <B>getParserValidate</B>()</PRE>
<DL>
<DD>Determines if the parser is validating.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><code>true<code> when in validating mode.</DL>
</DD>
</DL>
<HR>
<A NAME="setParserValidate(boolean)"><!-- --></A><H3>
setParserValidate</H3>
<PRE>
public void <B>setParserValidate</B>(boolean aParserValidate)</PRE>
<DL>
<DD>Set the validating mode for the parser.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aParserValidate</CODE> - <code>true</code> for validation, <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="getDefinitionConfigFiles()"><!-- --></A><H3>
getDefinitionConfigFiles</H3>
<PRE>
public java.lang.String <B>getDefinitionConfigFiles</B>()</PRE>
<DL>
<DD>Get the definition config files.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Defition config files.</DL>
</DD>
</DL>
<HR>
<A NAME="setDefinitionConfigFiles(java.lang.String)"><!-- --></A><H3>
setDefinitionConfigFiles</H3>
<PRE>
public void <B>setDefinitionConfigFiles</B>(java.lang.String aDefinitionConfigFiles)</PRE>
<DL>
<DD>Set the definition config files.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aDefinitionConfigFiles</CODE> - Definition config files.</DL>
</DD>
</DL>
<HR>
<A NAME="setAttribute(java.lang.String, java.lang.Object)"><!-- --></A><H3>
setAttribute</H3>
<PRE>
public void <B>setAttribute</B>(java.lang.String name, java.lang.Object value)</PRE>
<DL>
<DD>Set value of an additional attribute.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the attribute.<DD><CODE>value</CODE> - Value of the attribute.</DL>
</DD>
</DL>
<HR>
<A NAME="getAttribute(java.lang.String)"><!-- --></A><H3>
getAttribute</H3>
<PRE>
public java.lang.Object <B>getAttribute</B>(java.lang.String name)</PRE>
<DL>
<DD>Get value of an additional attribute.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the attribute.<DT><B>Returns:</B><DD>Value of the attribute, or null if not found.</DL>
</DD>
</DL>
<HR>
<A NAME="getAttributes()"><!-- --></A><H3>
getAttributes</H3>
<PRE>
public java.util.Map <B>getAttributes</B>()</PRE>
<DL>
<DD>Get additional attributes as a Map.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Map A Map containing attribute name - value pairs.</DL>
</DD>
</DL>
<HR>
<A NAME="populate(java.util.Map)"><!-- --></A><H3>
populate</H3>
<PRE>
public void <B>populate</B>(java.util.Map properties) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException</PRE>
<DL>
<DD>Populate this config object from properties map, based on the specified name/value pairs. This method uses the populate() method from org.apache.commons.beanutils.BeanUtil. <p> Properties keys are scanned for old property names, and linked to the new name if necessary. This modifies the properties map. <p> The particular setter method to be called for each property is determined using the usual JavaBeans introspection mechanisms. Thus, you may identify custom setter methods using a BeanInfo class that is associated with the class of the bean itself. If no such BeanInfo class is available, the standard method name conversion ("set" plus the capitalized name of the property in question) is used. <p> <strong>NOTE</strong>: It is contrary to the JavaBeans Specification to have more than one setter method (with different argument signatures) for the same property.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>properties</CODE> - Map keyed by property name, with the corresponding (String or String[]) value(s) to be set.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalAccessException</CODE> - if the caller does not have access to the property accessor method.<DD><CODE>java.lang.reflect.InvocationTargetException</CODE> - if the property accessor method throws an exception.<DT><B>See Also: </B><DD><CODE>BeanUtils</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="linkOldPropertyNames(java.util.Map)"><!-- --></A><H3>
linkOldPropertyNames</H3>
<PRE>
public static void <B>linkOldPropertyNames</B>(java.util.Map properties)</PRE>
<DL>
<DD>Link old property names to new property names. This modifies the map.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>properties</CODE> - Map keyed by property name, with the corresponding (String or String[]) value(s) to be set.</DL>
</DD>
</DL>
<HR>
<A NAME="getFactoryName()"><!-- --></A><H3>
getFactoryName</H3>
<PRE>
public java.lang.String <B>getFactoryName</B>()</PRE>
<DL>
<DD>Get the factory name.<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setFactoryName(java.lang.String)"><!-- --></A><H3>
setFactoryName</H3>
<PRE>
public void <B>setFactoryName</B>(java.lang.String factoryName)</PRE>
<DL>
<DD>Set the factory name.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>factoryName</CODE> - Name of the factory.</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/DefinitionsFactoryConfig.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/tiles/DefinitionNameAttribute.html"><B>PREV CLASS</B></A>
<A HREF="../../../../org/apache/struts/tiles/DefinitionsUtil.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="DefinitionsFactoryConfig.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 + -