org.inria.ns.reflex.processor.asl
Class InterimStepAction.InterimAction
java.lang.Object
org.inria.ns.reflex.processor.core.AbstractAction
org.inria.ns.reflex.processor.core.AbstractFeedAction
org.inria.ns.reflex.processor.asl.InterimStepAction.InterimAction
- All Implemented Interfaces:
- Executable, Identifiable, Presentable, NamespaceContextFactory
- Enclosing class:
- InterimStepAction
public class InterimStepAction.InterimAction
- extends AbstractFeedAction
- implements Identifiable
An interim step has two facets : this context-feeder, and a STEP action (the
InterimStepAction outer class).
At runtime, the InterimAction feeds the context with the
InterimStepAction outer class.
The InterimStepAction class is the facet of the interim step
that is invoked when a matcher matches.
- Author:
- Philippe Poulard
|
Method Summary |
Object |
getData(DataSet dataSet)
Return the STEP facet of this action, that will feed the context. |
QName |
getId()
The identifier of the underlying step of this action. |
| Methods inherited from class org.inria.ns.reflex.processor.core.AbstractAction |
addAction, addFallbackAction, createContext, getCanonicalPath, getFallbackAction, getLocalFallbackAction, getLogger, getNamespaceContext, getNode, getParent, recover, recover, removeFallbackAction, reorganize, run, runActions, toPrettyString, toPrettyString, toString, unmarshal |
InterimStepAction.InterimAction
public InterimStepAction.InterimAction(Element element,
AbstractAction parent)
throws XPathException
- Creates a new instance of
InterimAction linked to an instance
of InterimStepAction.
- Parameters:
node - The node from which the action has been unmarshalled. Used for
namespace prefix resolution when performing XPath expressions.parent - The action depending from.
- Throws:
XPathException
getId
public QName getId()
- The identifier of the underlying step of this action.
- Specified by:
getId in interface Identifiable
- Returns:
- The ID of this object.
- See Also:
Identifiable.getId()
getData
public Object getData(DataSet dataSet)
throws ExecutionException,
XPathException
- Return the STEP facet of this action, that will feed the context.
- Specified by:
getData in class AbstractFeedAction
- Parameters:
dataSet - The set of datas used when the name is computed.
- Returns:
- The interim step.
- Throws:
ExecutionException - If the computation can't be performed.
XPathException