📄 viewcommandfactory.html
字号:
<TD><CODE><B><A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html#getFactory(com.ibm.wps.struts.common.ModuleContext)">getFactory</A></B>(<A HREF="../../../../../../com/ibm/wps/struts/common/ModuleContext.html" title="class in com.ibm.wps.struts.common">ModuleContext</A> moduleContext)</CODE><BR> Gets 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 <A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html" title="class in com.ibm.wps.portlets.struts.plugins">ViewCommandFactory</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html#getFactory(com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">getFactory</A></B>(<A HREF="../../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> viewCommandContext)</CODE><BR> Gets the ViewCommandFactory object for the module.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html" title="class in com.ibm.wps.portlets.struts">WpsStrutsViewCommand</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html#handleUnrecognizedExtension(java.lang.String, javax.servlet.http.HttpServletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)">handleUnrecognizedExtension</A></B>(java.lang.String uri, javax.servlet.http.HttpServletRequest request, <A HREF="../../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> executionContext)</CODE><BR> Handles an unrecognized extension.</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="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html#isDynamicallyIncludedContent(java.lang.String)">isDynamicallyIncludedContent</A></B>(java.lang.String uri)</CODE><BR> Determines 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 boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html#isDynamicallyIncludedContent(java.lang.String, java.lang.String)">isDynamicallyIncludedContent</A></B>(java.lang.String uri, java.lang.String extLowerCase)</CODE><BR> Determines 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 boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html#isStaticallyIncludedContent(java.lang.String)">isStaticallyIncludedContent</A></B>(java.lang.String uri)</CODE><BR> Determines 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 boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html#isStaticallyIncludedContent(java.lang.String, java.lang.String)">isStaticallyIncludedContent</A></B>(java.lang.String uri, java.lang.String extLowerCase)</CODE><BR> Determines 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 boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html#isTilesIncludedContent(java.lang.String, java.lang.String, javax.servlet.http.HttpServletRequest)">isTilesIncludedContent</A></B>(java.lang.String uri, java.lang.String extLowerCase, javax.servlet.http.HttpServletRequest request)</CODE><BR> Determines whether the given path can be included as a Struts Tiles JSP.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html#setFactory(com.ibm.wps.struts.common.ModuleContext, com.ibm.wps.portlets.struts.plugins.ViewCommandFactory)">setFactory</A></B>(<A HREF="../../../../../../com/ibm/wps/struts/common/ModuleContext.html" title="class in com.ibm.wps.struts.common">ModuleContext</A> moduleContext, <A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html" title="class in com.ibm.wps.portlets.struts.plugins">ViewCommandFactory</A> factory)</CODE><BR> Sets a new ViewCommandFactory object.</TD></TR></TABLE> <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> <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>The commons-logging 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.wps.struts.common.ModuleContext, com.ibm.wps.portlets.struts.plugins.ViewCommandFactory)"><!-- --></A><H3>setFactory</H3><PRE>public static void <B>setFactory</B>(<A HREF="../../../../../../com/ibm/wps/struts/common/ModuleContext.html" title="class in com.ibm.wps.struts.common">ModuleContext</A> moduleContext, <A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html" title="class in com.ibm.wps.portlets.struts.plugins">ViewCommandFactory</A> factory)</PRE><DL><DD>Sets 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.wps.struts.common.ModuleContext)"><!-- --></A><H3>getFactory</H3><PRE>public static <A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html" title="class in com.ibm.wps.portlets.struts.plugins">ViewCommandFactory</A> <B>getFactory</B>(<A HREF="../../../../../../com/ibm/wps/struts/common/ModuleContext.html" title="class in com.ibm.wps.struts.common">ModuleContext</A> moduleContext)</PRE><DL><DD>Gets 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>returns the ViewCommandFactory</DL></DD></DL><HR><A NAME="getFactory(com.ibm.wps.portlets.struts.ViewCommandExecutionContext)"><!-- --></A><H3>getFactory</H3><PRE>public static <A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/ViewCommandFactory.html" title="class in com.ibm.wps.portlets.struts.plugins">ViewCommandFactory</A> <B>getFactory</B>(<A HREF="../../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> viewCommandContext)</PRE><DL><DD>Gets the ViewCommandFactory object for the module.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>viewCommandContext</CODE> - the ViewCommandExecutionContext object<DT><B>Returns:</B><DD>returns the ViewCommandFactory</DL></DD></DL><HR><A NAME="createCommand(java.lang.String, javax.servlet.http.HttpServletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)"><!-- --></A><H3>createCommand</H3><PRE>public <A HREF="../../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html" title="class in com.ibm.wps.portlets.struts">WpsStrutsViewCommand</A> <B>createCommand</B>(java.lang.String uri, javax.servlet.http.HttpServletRequest request, <A HREF="../../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> executionContext)</PRE><DL><DD>Creates 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>returns a WpsStrutsViewCommand or <code>null</code></DL></DD></DL><HR><A NAME="createCommand(com.ibm.wps.portlets.struts.ErrorResponseInfo, javax.servlet.http.HttpServletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)"><!-- --></A><H3>createCommand</H3><PRE>public <A HREF="../../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html" title="class in com.ibm.wps.portlets.struts">WpsStrutsViewCommand</A> <B>createCommand</B>(<A HREF="../../../../../../com/ibm/wps/portlets/struts/ErrorResponseInfo.html" title="class in com.ibm.wps.portlets.struts">ErrorResponseInfo</A> errorInfo,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -