?? viewcommandfactory.html
字號:
<BR> 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 <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> viewCommandContext)</CODE><BR> 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 <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 uri, javax.portlet.PortletRequest request, <A HREF="../../../../../com/ibm/portal/struts/command/ViewCommandExecutionContext.html" title="class in com.ibm.portal.struts.command">ViewCommandExecutionContext</A> executionContext)</CODE><BR> Handle 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/portal/struts/plugins/ViewCommandFactory.html#isDynamicallyIncludedContent(java.lang.String)">isDynamicallyIncludedContent</A></B>(java.lang.String uri)</CODE><BR> 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 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 uri, java.lang.String extLowerCase)</CODE><BR> 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 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 uri)</CODE><BR> 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 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 uri, java.lang.String extLowerCase)</CODE><BR> 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 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 uri, java.lang.String extLowerCase, javax.portlet.PortletRequest request)</CODE><BR> 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 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> moduleContext, <A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html" title="class in com.ibm.portal.struts.plugins">ViewCommandFactory</A> factory)</CODE><BR> Set 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>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> moduleContext, <A HREF="../../../../../com/ibm/portal/struts/plugins/ViewCommandFactory.html" title="class in com.ibm.portal.struts.plugins">ViewCommandFactory</A> 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> 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> 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 uri, javax.portlet.PortletRequest request, <A HREF="../../../../../com/ibm/portal/struts/command/ViewCommandExecutionContext.html" title="class in com.ibm.portal.struts.command">ViewCommandExecutionContext</A> 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> errorInfo,
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -