org.slim3.struts.config
Class S3ActionMapping

java.lang.Object
  extended by org.apache.struts.config.ActionConfig
      extended by org.apache.struts.action.ActionMapping
          extended by org.slim3.struts.config.S3ActionMapping
All Implemented Interfaces:
Serializable

public class S3ActionMapping
extends ActionMapping

ActionMapping for Slim3.

Since:
3.0
Author:
higa
See Also:
Serialized Form

Field Summary
protected  BeanDesc actionBeanDesc
          The bean descriptor of the action.
protected  Class<?> actionClass
          The action class.
protected  ArrayMap<String,S3ExecuteConfig> executeConfigs
          The map for S3ExecuteConfig.
protected  Field formField
          The form field.
 
Fields inherited from class org.apache.struts.config.ActionConfig
attribute, cancellable, configured, exceptions, forward, forwards, include, input, moduleConfig, multipartClass, name, parameter, path, prefix, roleNames, roles, scope, suffix, type, unknown, validate
 
Constructor Summary
S3ActionMapping()
          Constructor.
 
Method Summary
 void addExecuteConfig(S3ExecuteConfig executeConfig)
          Adds execute configuration.
 S3ExecuteConfig findExecuteConfig(HttpServletRequest request)
          Find execute configuration.
 BeanDesc getActionBeanDesc()
          Returns the bean descriptor of the action.
 Class<?> getActionClass()
          Returns the action class.
 S3ExecuteConfig getExecuteConfig(String name)
          Returns execute configuration.
 int getExecuteConfigSize()
          Returns the number of execute configurations.
 String[] getExecuteMethodNames()
          Returns the execute method names.
 String getInput()
           
 boolean getValidate()
           
 void setActionClass(Class<?> actionClass)
          Sets the action class.
 
Methods inherited from class org.apache.struts.action.ActionMapping
findForward, findForwards, getInputForward
 
Methods inherited from class org.apache.struts.config.ActionConfig
addExceptionConfig, addForwardConfig, findException, findExceptionConfig, findExceptionConfigs, findForwardConfig, findForwardConfigs, freeze, getAttribute, getCancellable, getForward, getInclude, getModuleConfig, getMultipartClass, getName, getParameter, getPath, getPrefix, getRoleNames, getRoles, getScope, getSuffix, getType, getUnknown, removeExceptionConfig, removeForwardConfig, setAttribute, setCancellable, setForward, setInclude, setInput, setModuleConfig, setMultipartClass, setName, setParameter, setPath, setPrefix, setRoles, setScope, setSuffix, setType, setUnknown, setValidate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

actionClass

protected Class<?> actionClass
The action class.


actionBeanDesc

protected BeanDesc actionBeanDesc
The bean descriptor of the action.


executeConfigs

protected ArrayMap<String,S3ExecuteConfig> executeConfigs
The map for S3ExecuteConfig.


formField

protected Field formField
The form field.

Constructor Detail

S3ActionMapping

public S3ActionMapping()
Constructor.

Method Detail

getInput

public String getInput()
Overrides:
getInput in class ActionConfig

getValidate

public boolean getValidate()
Overrides:
getValidate in class ActionConfig

getActionClass

public Class<?> getActionClass()
Returns the action class.

Returns:
the action class

getActionBeanDesc

public BeanDesc getActionBeanDesc()
Returns the bean descriptor of the action.

Returns:
the bean descriptor of the action

setActionClass

public void setActionClass(Class<?> actionClass)
                    throws NullPointerException
Sets the action class.

Parameters:
actionClass - the action class
Throws:
NullPointerException - if the actionClass parameter is null

getExecuteConfigSize

public int getExecuteConfigSize()
Returns the number of execute configurations.

Returns:
the number of execute configurations

findExecuteConfig

public S3ExecuteConfig findExecuteConfig(HttpServletRequest request)
Find execute configuration.

Parameters:
request - the request
Returns:
execute configuration

getExecuteConfig

public S3ExecuteConfig getExecuteConfig(String name)
Returns execute configuration.

Parameters:
name - the name
Returns:
execute configuration

addExecuteConfig

public void addExecuteConfig(S3ExecuteConfig executeConfig)
Adds execute configuration.

Parameters:
executeConfig - the execute configuration

getExecuteMethodNames

public String[] getExecuteMethodNames()
Returns the execute method names.

Returns:
the execute method names


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.