| org.apache.struts.config.ActionConfig org.apache.struts.action.ActionMapping
All known Subclasses: org.apache.struts.webapp.examples.CustomActionMapping, org.apache.struts.action.RequestActionMapping, org.apache.struts.config.CustomMappingTest, org.apache.struts.webapp.example2.ApplicationMapping, org.apache.struts.webapp.example.ApplicationMapping, org.apache.struts.action.SessionActionMapping,
ActionMapping | public class ActionMapping extends ActionConfig (Code) | | An ActionMapping represents the information that the
controller, RequestProcessor , knows about the mapping of a
particular request to an instance of a particular Action
class. The ActionMapping instance used to select a particular
Action is passed on to that Action , thereby
providing access to any custom configuration information included with the
ActionMapping object.
Since Struts 1.1 this class extends ActionConfig .
NOTE - This class would have been deprecated and
replaced by org.apache.struts.config.ActionConfig except for
the fact that it is part of the public API that existing applications are
using.
version: $Rev: 471754 $ $Date: 2005-08-26 21:58:39 -0400 (Fri, 26 Aug 2005) version: $ |
findForward | public ActionForward findForward(String forwardName)(Code) | | Find and return the ForwardConfig instance defining how
forwarding to the specified logical name should be handled. This is
performed by checking local and then global configurations for the
specified forwarding configuration. If no forwarding configuration can
be found, return null .
Parameters: forwardName - Logical name of the forwarding instance to bereturned The local or global forward with the specified name. |
findForwards | public String[] findForwards()(Code) | | Return the logical names of all locally defined forwards for this
mapping. If there are no such forwards, a zero-length array is
returned.
The forward names for this action mapping. |
getInputForward | public ActionForward getInputForward()(Code) | | Create (if necessary) and return an
ActionForward that
corresponds to the input property of this Action.
The input forward for this action mapping. since: Struts 1.1 |
Methods inherited from org.apache.struts.config.ActionConfig | public void addExceptionConfig(ExceptionConfig config)(Code)(Java Doc) public void addForwardConfig(ForwardConfig config)(Code)(Java Doc) protected boolean checkCircularInheritance(ModuleConfig moduleConfig)(Code)(Java Doc) public ExceptionConfig findException(Class type)(Code)(Java Doc) public ExceptionConfig findExceptionConfig(String type)(Code)(Java Doc) public ExceptionConfig[] findExceptionConfigs()(Code)(Java Doc) public ForwardConfig findForwardConfig(String name)(Code)(Java Doc) public ForwardConfig[] findForwardConfigs()(Code)(Java Doc) public void freeze()(Code)(Java Doc) public String getActionId()(Code)(Java Doc) public String getAttribute()(Code)(Java Doc) public boolean getCancellable()(Code)(Java Doc) public String getCatalog()(Code)(Java Doc) public String getCommand()(Code)(Java Doc) public String getExtends()(Code)(Java Doc) public String getForward()(Code)(Java Doc) public String getInclude()(Code)(Java Doc) public String getInput()(Code)(Java Doc) public ModuleConfig getModuleConfig()(Code)(Java Doc) public String getMultipartClass()(Code)(Java Doc) public String getName()(Code)(Java Doc) public String getParameter()(Code)(Java Doc) public String getPath()(Code)(Java Doc) public String getPrefix()(Code)(Java Doc) public String[] getRoleNames()(Code)(Java Doc) public String getRoles()(Code)(Java Doc) public String getScope()(Code)(Java Doc) public String getSuffix()(Code)(Java Doc) public String getType()(Code)(Java Doc) public boolean getUnknown()(Code)(Java Doc) public boolean getValidate()(Code)(Java Doc) protected void inheritExceptionHandlers(ActionConfig baseConfig) throws ClassNotFoundException, IllegalAccessException, InstantiationException, InvocationTargetException(Code)(Java Doc) protected void inheritForwards(ActionConfig baseConfig) throws ClassNotFoundException, IllegalAccessException, InstantiationException, InvocationTargetException(Code)(Java Doc) public void inheritFrom(ActionConfig config) throws ClassNotFoundException, IllegalAccessException, InstantiationException, InvocationTargetException(Code)(Java Doc) public boolean isExtensionProcessed()(Code)(Java Doc) public void processExtends(ModuleConfig moduleConfig) throws ClassNotFoundException, IllegalAccessException, InstantiationException, InvocationTargetException(Code)(Java Doc) public void removeExceptionConfig(ExceptionConfig config)(Code)(Java Doc) public void removeForwardConfig(ForwardConfig config)(Code)(Java Doc) public void setActionId(String actionId)(Code)(Java Doc) public void setAttribute(String attribute)(Code)(Java Doc) public void setCancellable(boolean cancellable)(Code)(Java Doc) public void setCatalog(String catalog)(Code)(Java Doc) public void setCommand(String command)(Code)(Java Doc) public void setExtends(String inherit)(Code)(Java Doc) public void setForward(String forward)(Code)(Java Doc) public void setInclude(String include)(Code)(Java Doc) public void setInput(String input)(Code)(Java Doc) public void setModuleConfig(ModuleConfig moduleConfig)(Code)(Java Doc) public void setMultipartClass(String multipartClass)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setParameter(String parameter)(Code)(Java Doc) public void setPath(String path)(Code)(Java Doc) public void setPrefix(String prefix)(Code)(Java Doc) public void setRoles(String roles)(Code)(Java Doc) public void setScope(String scope)(Code)(Java Doc) public void setSuffix(String suffix)(Code)(Java Doc) public void setType(String type)(Code)(Java Doc) public void setUnknown(boolean unknown)(Code)(Java Doc) public void setValidate(boolean validate)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|