com.oxygenxml.validate.nvdl
Class ResultAction
java.lang.Object
com.oxygenxml.validate.nvdl.Action
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.
ResultAction
ResultAction(ModeUsage modeUsage)
- Creates a result action with a given mode usage.
- Parameters:
modeUsage
- The mode usage.
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.