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

📄 viewcommandfactory.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the ViewCommandFactory object for this context</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html" title="class in com.ibm.portal.struts.plugins">ViewCommandFactory</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html#getFactory(com.ibm.portal.struts.command.ViewCommandExecutionContext)">getFactory</A></B>(<A HREF="../../../../../com/ibm/portal/struts/command/ViewCommandExecutionContext.html" title="class in com.ibm.portal.struts.command">ViewCommandExecutionContext</A>&nbsp;viewCommandContext)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the <code>ViewCommandFactory</code> object for the module context obtained  from the <code>ViewCommandExecutionContext</code></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html" title="class in com.ibm.portal.struts.command">StrutsViewCommand</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html#handleUnrecognizedExtension(java.lang.String, javax.portlet.PortletRequest, com.ibm.portal.struts.command.ViewCommandExecutionContext)">handleUnrecognizedExtension</A></B>(java.lang.String&nbsp;uri,                            javax.portlet.PortletRequest&nbsp;request,                            <A HREF="../../../../../com/ibm/portal/struts/command/ViewCommandExecutionContext.html" title="class in com.ibm.portal.struts.command">ViewCommandExecutionContext</A>&nbsp;executionContext)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handle unrecognized extension.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html#isDynamicallyIncludedContent(java.lang.String)">isDynamicallyIncludedContent</A></B>(java.lang.String&nbsp;uri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answer whether the given path can be included dynamically (like a JSP).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html#isDynamicallyIncludedContent(java.lang.String, java.lang.String)">isDynamicallyIncludedContent</A></B>(java.lang.String&nbsp;uri,                             java.lang.String&nbsp;extLowerCase)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answer whether the given path can be included dynamically (like a JSP).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html#isStaticallyIncludedContent(java.lang.String)">isStaticallyIncludedContent</A></B>(java.lang.String&nbsp;uri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answer whether the given path can be included statically (like HTML).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html#isStaticallyIncludedContent(java.lang.String, java.lang.String)">isStaticallyIncludedContent</A></B>(java.lang.String&nbsp;uri,                            java.lang.String&nbsp;extLowerCase)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answer whether the given path can be included statically (like HTML).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html#isTilesIncludedContent(java.lang.String, java.lang.String, javax.portlet.PortletRequest)">isTilesIncludedContent</A></B>(java.lang.String&nbsp;uri,                       java.lang.String&nbsp;extLowerCase,                       javax.portlet.PortletRequest&nbsp;request)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answer whether the given path can be included as Struts Tiles JSP.</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="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html#setFactory(com.ibm.portal.struts.common.ModuleContext, com.ibm.portal.struts.plugins.ViewCommandFactory)">setFactory</A></B>(<A HREF="../../../../../com/ibm/portal/struts/common/ModuleContext.html" title="class in com.ibm.portal.struts.common">ModuleContext</A>&nbsp;moduleContext,           <A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html" title="class in com.ibm.portal.struts.plugins">ViewCommandFactory</A>&nbsp;factory)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a new ViewCommandFactory object</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="log"><!-- --></A><H3>log</H3><PRE>protected static org.apache.commons.logging.Log <B>log</B></PRE><DL><DD>commons logger instance for this class<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ViewCommandFactory()"><!-- --></A><H3>ViewCommandFactory</H3><PRE>public <B>ViewCommandFactory</B>()</PRE><DL><DD>Default Constructor for the ViewCommandFactory class<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setFactory(com.ibm.portal.struts.common.ModuleContext, com.ibm.portal.struts.plugins.ViewCommandFactory)"><!-- --></A><H3>setFactory</H3><PRE>public static void <B>setFactory</B>(<A HREF="../../../../../com/ibm/portal/struts/common/ModuleContext.html" title="class in com.ibm.portal.struts.common">ModuleContext</A>&nbsp;moduleContext,                              <A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html" title="class in com.ibm.portal.struts.plugins">ViewCommandFactory</A>&nbsp;factory)</PRE><DL><DD>Set a new ViewCommandFactory object<P><DD><DL><DT><B>Parameters:</B><DD><CODE>moduleContext</CODE> - the module context<DD><CODE>factory</CODE> - the ViewCommandFactory object</DL></DD></DL><HR><A NAME="getFactory(com.ibm.portal.struts.common.ModuleContext)"><!-- --></A><H3>getFactory</H3><PRE>public static <A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html" title="class in com.ibm.portal.struts.plugins">ViewCommandFactory</A> <B>getFactory</B>(<A HREF="../../../../../com/ibm/portal/struts/common/ModuleContext.html" title="class in com.ibm.portal.struts.common">ModuleContext</A>&nbsp;moduleContext)</PRE><DL><DD>Get the ViewCommandFactory object for this context<P><DD><DL><DT><B>Parameters:</B><DD><CODE>moduleContext</CODE> - the module context to use to find the factory<DT><B>Returns:</B><DD>the view command factory for the module context</DL></DD></DL><HR><A NAME="getFactory(com.ibm.portal.struts.command.ViewCommandExecutionContext)"><!-- --></A><H3>getFactory</H3><PRE>public static <A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html" title="class in com.ibm.portal.struts.plugins">ViewCommandFactory</A> <B>getFactory</B>(<A HREF="../../../../../com/ibm/portal/struts/command/ViewCommandExecutionContext.html" title="class in com.ibm.portal.struts.command">ViewCommandExecutionContext</A>&nbsp;viewCommandContext)</PRE><DL><DD>Get the <code>ViewCommandFactory</code> object for the module context obtained  from the <code>ViewCommandExecutionContext</code><P><DD><DL><DT><B>Parameters:</B><DD><CODE>viewCommandContext</CODE> - the ViewCommandExecutionContext object<DT><B>Returns:</B><DD>the view command factory for the module context</DL></DD></DL><HR><A NAME="createCommand(java.lang.String, javax.portlet.PortletRequest, com.ibm.portal.struts.command.ViewCommandExecutionContext)"><!-- --></A><H3>createCommand</H3><PRE>public <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html" title="class in com.ibm.portal.struts.command">StrutsViewCommand</A> <B>createCommand</B>(java.lang.String&nbsp;uri,                                       javax.portlet.PortletRequest&nbsp;request,                                       <A HREF="../../../../../com/ibm/portal/struts/command/ViewCommandExecutionContext.html" title="class in com.ibm.portal.struts.command">ViewCommandExecutionContext</A>&nbsp;executionContext)</PRE><DL><DD>Create a command based on the given URI and request<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - path to resource<DD><CODE>request</CODE> - the request object<DD><CODE>executionContext</CODE> - the ViewCommandExecutionContext object<DT><B>Returns:</B><DD>a StrutsViewCommand or <code>null</code></DL></DD></DL><HR><A NAME="createCommand(com.ibm.portal.struts.portlet.ErrorResponseInfo, javax.portlet.PortletRequest, com.ibm.portal.struts.command.ViewCommandExecutionContext)"><!-- --></A><H3>createCommand</H3><PRE>public <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html" title="class in com.ibm.portal.struts.command">StrutsViewCommand</A> <B>createCommand</B>(<A HREF="../../../../../com/ibm/portal/struts/portlet/ErrorResponseInfo.html" title="class in com.ibm.portal.struts.portlet">ErrorResponseInfo</A>&nbsp;errorInfo,

⌨️ 快捷键说明

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