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

📄 definitionsfactoryconfig.html

📁 struts api,学习使用struts必备的文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if the parser is validating.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html#isModuleAware()">isModuleAware</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the module aware flag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html#linkOldPropertyNames(java.util.Map)">linkOldPropertyNames</A></B>(java.util.Map&nbsp;properties)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Link old property names to new property names.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html#populate(java.util.Map)">populate</A></B>(java.util.Map&nbsp;properties)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Populate this config object from properties map, based on the specified name/value pairs.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html#setAttribute(java.lang.String, java.lang.Object)">setAttribute</A></B>(java.lang.String&nbsp;name,             java.lang.Object&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set value of an additional attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html#setDefinitionConfigFiles(java.lang.String)">setDefinitionConfigFiles</A></B>(java.lang.String&nbsp;aDefinitionConfigFiles)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the definition config files.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html#setFactoryClassname(java.lang.String)">setFactoryClassname</A></B>(java.lang.String&nbsp;aFactoryClassname)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the classname of the factory..</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html#setFactoryName(java.lang.String)">setFactoryName</A></B>(java.lang.String&nbsp;factoryName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the factory name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html#setModuleAware(boolean)">setModuleAware</A></B>(boolean&nbsp;moduleAware)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the module aware flag.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html#setParserValidate(boolean)">setParserValidate</A></B>(boolean&nbsp;aParserValidate)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the validating mode for the parser.</TD>
</TR>
</TABLE>
&nbsp;<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>
&nbsp;
<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="factoryClassname"><!-- --></A><H3>
factoryClassname</H3>
<PRE>
protected java.lang.String <B>factoryClassname</B></PRE>
<DL>
<DD>Fully qualified classname of the factory to create. If no classname is set, a default factory is created (of class "org.apache.struts.tiles.xmlDefinition.I18nFactorySet").</DL>
<HR>

<A NAME="parserValidate"><!-- --></A><H3>
parserValidate</H3>
<PRE>
protected boolean <B>parserValidate</B></PRE>
<DL>
<DD>Specifies whether the parser will validate configuration files. Default value is true.</DL>
<HR>

<A NAME="definitionConfigFiles"><!-- --></A><H3>
definitionConfigFiles</H3>
<PRE>
protected java.lang.String <B>definitionConfigFiles</B></PRE>
<DL>
<DD>Definition configuration file specified by user.</DL>
<HR>

<A NAME="moduleAware"><!-- --></A><H3>
moduleAware</H3>
<PRE>
protected boolean <B>moduleAware</B></PRE>
<DL>
<DD>Specifies whether the factory is "module-aware".</DL>
<HR>

<A NAME="factoryName"><!-- --></A><H3>
factoryName</H3>
<PRE>
protected java.lang.String <B>factoryName</B></PRE>
<DL>
<DD>The name associated to this factory. <br> With Struts 1.1, this name is the module name to which this factory belong. It is set by the system. <br> In prior versions, this property is not used.</DL>
<HR>

<A NAME="PARSER_DETAILS_PARAMETER_NAME"><!-- --></A><H3>
PARSER_DETAILS_PARAMETER_NAME</H3>
<PRE>
public static final java.lang.String <B>PARSER_DETAILS_PARAMETER_NAME</B></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>This will be removed in a release after Struts 1.2.</I>
<P>
<DD>Alternate name for parser debug details properties in configuration file.</DL>
<HR>

<A NAME="PARSER_VALIDATE_PARAMETER_NAME"><!-- --></A><H3>
PARSER_VALIDATE_PARAMETER_NAME</H3>
<PRE>
public static final java.lang.String <B>PARSER_VALIDATE_PARAMETER_NAME</B></PRE>
<DL>
<DD>Alternate name for parser validate properties in configuration file.</DL>
<HR>

<A NAME="FACTORY_CLASSNAME_PARAMETER_NAME"><!-- --></A><H3>
FACTORY_CLASSNAME_PARAMETER_NAME</H3>
<PRE>
public static final java.lang.String <B>FACTORY_CLASSNAME_PARAMETER_NAME</B></PRE>
<DL>
<DD>Alternate name for factory classname properties in configuration file.</DL>
<HR>

<A NAME="DEFINITIONS_CONFIG_PARAMETER_NAME"><!-- --></A><H3>
DEFINITIONS_CONFIG_PARAMETER_NAME</H3>
<PRE>
public static final java.lang.String <B>DEFINITIONS_CONFIG_PARAMETER_NAME</B></PRE>
<DL>
<DD>Alternate name for definition files properties in configuration file.</DL>
<HR>

<A NAME="TILES_DETAILS_PARAMETER_NAME"><!-- --></A><H3>
TILES_DETAILS_PARAMETER_NAME</H3>
<PRE>
public static final java.lang.String <B>TILES_DETAILS_PARAMETER_NAME</B></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>This will be removed in a release after Struts 1.2.</I>
<P>
<DD>Alternate name for definition debug details properties in configuration file.</DL>
<HR>

<A NAME="extraAttributes"><!-- --></A><H3>
extraAttributes</H3>
<PRE>
private java.util.Map <B>extraAttributes</B></PRE>
<DL>
<DD>Map of extra attribute available.</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="DefinitionsFactoryConfig()"><!-- --></A><H3>
DefinitionsFactoryConfig</H3>
<PRE>
public <B>DefinitionsFactoryConfig</B>()</PRE>
<DL>
<DD>Default constructor.</DL>
<HR>

<A NAME="DefinitionsFactoryConfig(java.util.Map)"><!-- --></A><H3>
DefinitionsFactoryConfig</H3>
<PRE>
public <B>DefinitionsFactoryConfig</B>(java.util.Map&nbsp;initParameters)</PRE>
<DL>
<DD>Constructor. Create configuration object, and initialize it with parameters from Map. Parameters corresponding to an attribute are filtered and stored in appropriate attribute.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>initParameters</CODE> - Map.</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="isModuleAware()"><!-- --></A><H3>
isModuleAware</H3>
<PRE>
public boolean <B>isModuleAware</B>()</PRE>
<DL>
<DD>Get the module aware flag.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><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="setModuleAware(boolean)"><!-- --></A><H3>
setModuleAware</H3>
<PRE>
public void <B>setModuleAware</B>(boolean&nbsp;moduleAware)</PRE>

⌨️ 快捷键说明

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