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

📄 componentdefinitionsfactorywrapper.html

📁 struts api,学习使用struts必备的文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE>

<A NAME="factory"><!-- --></A><H3>
factory</H3>
<PRE>
private <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html">ComponentDefinitionsFactory</A> <B>factory</B></PRE>
<DL>
<DD>The underlying factory.</DL>
<HR>

<A NAME="config"><!-- --></A><H3>
config</H3>
<PRE>
private <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A> <B>config</B></PRE>
<DL>
<DD>Factory configuration,</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="ComponentDefinitionsFactoryWrapper(org.apache.struts.tiles.ComponentDefinitionsFactory)"><!-- --></A><H3>
ComponentDefinitionsFactoryWrapper</H3>
<PRE>
public <B>ComponentDefinitionsFactoryWrapper</B>(<A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html">ComponentDefinitionsFactory</A>&nbsp;factory)</PRE>
<DL>
<DD>Constructor. Create new wrapper for specified factory.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>factory</CODE> - The factory to create a wrapper for.</DL>
</DD>
</DL>
<HR>

<A NAME="ComponentDefinitionsFactoryWrapper()"><!-- --></A><H3>
ComponentDefinitionsFactoryWrapper</H3>
<PRE>
public <B>ComponentDefinitionsFactoryWrapper</B>()</PRE>
<DL>
<DD>Constructor. Create new wrapper. The config object passed to init method should reference a factory implementing <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html"><CODE>ComponentDefinitionsFactory</CODE></A>.</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="getDefinition(java.lang.String, javax.servlet.ServletRequest, javax.servlet.ServletContext)"><!-- --></A><H3>
getDefinition</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinition.html">ComponentDefinition</A> <B>getDefinition</B>(java.lang.String&nbsp;name,                                         javax.servlet.ServletRequest&nbsp;request,                                         javax.servlet.ServletContext&nbsp;servletContext)                                  throws <A HREF="../../../../../org/apache/struts/tiles/NoSuchDefinitionException.html">NoSuchDefinitionException</A>,                                         <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></PRE>
<DL>
<DD>Get requested definition.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html#getDefinition(java.lang.String, javax.servlet.ServletRequest, javax.servlet.ServletContext)">getDefinition</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the definition.<DD><CODE>request</CODE> - The request we are processing.<DD><CODE>servletContext</CODE> - Our servlet context.<DT><B>Returns:</B><DD>ComponentDefition</DL>
</DD>
</DL>
<HR>

<A NAME="init(org.apache.struts.tiles.DefinitionsFactoryConfig, javax.servlet.ServletContext)"><!-- --></A><H3>
init</H3>
<PRE>
public void <B>init</B>(<A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A>&nbsp;config,                 javax.servlet.ServletContext&nbsp;servletContext)          throws <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></PRE>
<DL>
<DD>Call underlying factory init method.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html#init(org.apache.struts.tiles.DefinitionsFactoryConfig, javax.servlet.ServletContext)">init</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - DefinitionsFactoryConfig.<DD><CODE>servletContext</CODE> - Our servlet context.</DL>
</DD>
</DL>
<HR>

<A NAME="destroy()"><!-- --></A><H3>
destroy</H3>
<PRE>
public void <B>destroy</B>()</PRE>
<DL>
<DD>Do nothing because old life cycle has no equivalent.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html#destroy()">destroy</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setConfig(org.apache.struts.tiles.DefinitionsFactoryConfig, javax.servlet.ServletContext)"><!-- --></A><H3>
setConfig</H3>
<PRE>
public void <B>setConfig</B>(<A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A>&nbsp;config,                      javax.servlet.ServletContext&nbsp;servletContext)               throws <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></PRE>
<DL>
<DD>Set underlying factory configuration.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html#setConfig(org.apache.struts.tiles.DefinitionsFactoryConfig, javax.servlet.ServletContext)">setConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - DefinitionsFactoryConfig to use.<DD><CODE>servletContext</CODE> - Our servlet context.</DL>
</DD>
</DL>
<HR>

<A NAME="getConfig()"><!-- --></A><H3>
getConfig</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A> <B>getConfig</B>()</PRE>
<DL>
<DD>Get underlying factory configuration.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html#getConfig()">getConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html">DefinitionsFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>DefinitionsFactoryConfig.</DL>
</DD>
</DL>
<HR>

<A NAME="getInternalFactory()"><!-- --></A><H3>
getInternalFactory</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html">ComponentDefinitionsFactory</A> <B>getInternalFactory</B>()</PRE>
<DL>
<DD>Get internal factory.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>The internal ComponentDefitionsFactory.</DL>
</DD>
</DL>
<HR>

<A NAME="createFactoryInstance(java.lang.String)"><!-- --></A><H3>
createFactoryInstance</H3>
<PRE>
protected <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html">ComponentDefinitionsFactory</A> <B>createFactoryInstance</B>(java.lang.String&nbsp;classname)                                                     throws <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></PRE>
<DL>
<DD>Create Definition factory from provided classname which must implement <A HREF="../../../../../org/apache/struts/tiles/ComponentDefinitionsFactory.html"><CODE>ComponentDefinitionsFactory</CODE></A>. Factory class must extend <A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactory.html"><CODE>DefinitionsFactory</CODE></A>.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>classname</CODE> - Class name of the factory to create.<DT><B>Returns:</B><DD>newly created factory.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryException.html">DefinitionsFactoryException</A></CODE> - If an error occur while initializing factory</DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Return String representation. Calls toString() on underlying factory.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>String representation.</DL>
</DD>
</DL>
<HR>

<A NAME="createConfigMap(org.apache.struts.tiles.DefinitionsFactoryConfig)"><!-- --></A><H3>
createConfigMap</H3>
<PRE>
public static java.util.Map <B>createConfigMap</B>(<A HREF="../../../../../org/apache/struts/tiles/DefinitionsFactoryConfig.html">DefinitionsFactoryConfig</A>&nbsp;config)</PRE>
<DL>
<DD>Create map of configuration attributes from configuration object. Mapping is done between old names and new names.<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - The DefinitionsFactoryConfig to use.<DT><B>Returns:</B><DD>Map Map of name/value pairs.</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/ComponentDefinitionsFactoryWrapper.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;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../../org/apache/struts/tiles/definition/ReloadableDefinitionsFactory.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="ComponentDefinitionsFactoryWrapper.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 + -