com.oxygenxml.validate.nvdl
Class ActionSet

java.lang.Object
  extended by com.oxygenxml.validate.nvdl.ActionSet

 class ActionSet
extends Object

Stores a set of element actions. The actions are result actions and no result actions. An action set contains only one result action and more no result actions.


Field Summary
private  boolean cancelNestedActions
          Cancel nested actions flag.
private  NoResultAction[] noResultActions
          The no result actions.
private  ResultAction resultAction
          The result action.
 
Constructor Summary
ActionSet()
           
 
Method Summary
(package private)  void addNoResultAction(NoResultAction action)
          Adds a no result action to the no result actions.
(package private)  ActionSet changeCurrentMode(Mode mode)
          Gets a new ActionSet containing all the actions with the current mode changed.
(package private)  boolean getCancelNestedActions()
          Getter for the cancel nested actions flag.
(package private)  NoResultAction[] getNoResultActions()
          Getter for the no result actions array.
(package private)  ResultAction getResultAction()
          Getter for the result action.
(package private)  void setCancelNestedActions(boolean cancelNestedActions)
          Set the cancel nested actions flag.
(package private)  void setResultAction(ResultAction resultAction)
          Setter for the result action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resultAction

private ResultAction resultAction
The result action.


noResultActions

private NoResultAction[] noResultActions
The no result actions.


cancelNestedActions

private boolean cancelNestedActions
Cancel nested actions flag.

Constructor Detail

ActionSet

ActionSet()
Method Detail

getResultAction

ResultAction getResultAction()
Getter for the result action.

Returns:
The result action.

setResultAction

void setResultAction(ResultAction resultAction)
Setter for the result action.

Parameters:
resultAction - The result action.

addNoResultAction

void addNoResultAction(NoResultAction action)
Adds a no result action to the no result actions.

Parameters:
action - The no result action.

getNoResultActions

NoResultAction[] getNoResultActions()
Getter for the no result actions array.

Returns:
The no result actions.

getCancelNestedActions

boolean getCancelNestedActions()
Getter for the cancel nested actions flag.


setCancelNestedActions

void setCancelNestedActions(boolean cancelNestedActions)
Set the cancel nested actions flag.

Parameters:
cancelNestedActions - The new value.

changeCurrentMode

ActionSet changeCurrentMode(Mode mode)
Gets a new ActionSet containing all the actions with the current mode changed.

Parameters:
mode - The new current mode.
Returns:
A new ActionSet with actions with the current mode changed.