jp.terasoluna.fw.web.struts.reset
Class ResetterResources

java.lang.Object
  extended by jp.terasoluna.fw.web.struts.reset.ResetterResources

public class ResetterResources
extends java.lang.Object

Class that retains the configuration information for reset.

This class retains the configuration information which is loaded from form reset definition file(reset.xml). Individual configuration information is retained as instance of ActionReset,FieldReset.

See Also:
Resetter, ResetterPlugIn, ActionReset, FieldReset, ResetterResources, FormEx, DynaValidatorActionFormEx, ValidatorActionFormEx

Field Summary
private  java.util.Map<java.lang.String,ActionReset> actionResets
           Map that retains the action elements.
static java.lang.String RESETTER_RESOURCES_KEY
          Key at the time of storing the instance of this class in the servlet context.
 
Constructor Summary
ResetterResources()
           
 
Method Summary
 ActionReset get(java.lang.String path)
          Fetches ActionReset instance by using action path as key.
 void setActionReset(ActionReset actionReset)
          Sets ActionReset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESETTER_RESOURCES_KEY

public static final java.lang.String RESETTER_RESOURCES_KEY
Key at the time of storing the instance of this class in the servlet context.

See Also:
Constant Field Values

actionResets

private java.util.Map<java.lang.String,ActionReset> actionResets
Map that retains the action elements.

Constructor Detail

ResetterResources

public ResetterResources()
Method Detail

setActionReset

public void setActionReset(ActionReset actionReset)
Sets ActionReset.

Parameters:
actionReset - Configuration information of action element
See Also:
ActionReset

get

public ActionReset get(java.lang.String path)
Fetches the ActionReset instance by using action path as key.

Parameters:
path - Action path
Returns:
Action elements linked with path argument.
See Also:
ActionReset