com.oxygenxml.validate.nvdl
Class ResultAction

java.lang.Object
  extended by com.oxygenxml.validate.nvdl.Action
      extended by com.oxygenxml.validate.nvdl.ResultAction
Direct Known Subclasses:
AttachAction, AttachPlaceholderAction, UnwrapAction

abstract class ResultAction
extends Action

Reult action. These actions change the sections, attach and unwrap.


Constructor Summary
ResultAction(ModeUsage modeUsage)
          Creates a result action with a given mode usage.
 
Method Summary
(package private) abstract  ResultAction changeCurrentMode(Mode mode)
          Get a similar action but with the current mode in the mode usage changed.
(package private) abstract  void perform(ContentHandler handler, SectionState state)
          Perform this action on a session state.
 
Methods inherited from class com.oxygenxml.validate.nvdl.Action
equals, getModeUsage, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultAction

ResultAction(ModeUsage modeUsage)
Creates a result action with a given mode usage.

Parameters:
modeUsage - The mode usage.
Method Detail

perform

abstract void perform(ContentHandler handler,
                      SectionState state)
               throws SAXException
Perform this action on a session state.

Parameters:
handler - The content handler???
state - The session state.
Throws:
SAXException

changeCurrentMode

abstract ResultAction changeCurrentMode(Mode mode)
Get a similar action but with the current mode in the mode usage changed. This is useful to get the actions from a mode that extends the mode that has this action.

Parameters:
mode - The new current mode.
Returns:
The new result action.