org.inria.ns.reflex.processor.asl
Class ElementAction.NameRef
java.lang.Object
org.inria.ns.reflex.processor.core.AbstractAction
org.inria.ns.reflex.processor.asl.AbstractStepAction
org.inria.ns.reflex.processor.asl.ElementAction
org.inria.ns.reflex.processor.asl.ElementAction.NameRef
- All Implemented Interfaces:
- Executable, Identifiable, Presentable, NamespaceContextFactory
- Enclosing class:
- ElementAction
public static class ElementAction.NameRef
- extends ElementAction
Refers to an element by its name.
|
Method Summary |
void |
runAction(DataSet dataSet)
Execute the action by adding a data to the current context. |
| 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 |
ElementAction.NameRef
public ElementAction.NameRef(QName nameRef,
Element element,
AbstractAction parent)
throws XPathException
- Creates a new instance of
NameRef.
- Parameters:
name - The name of the element definition.element - The element from which the action has been unmarshalled.
Used for namespace prefix resolution when performing XPath
expressions.parent - The action depending from.
- Throws:
XPathException
runAction
public void runAction(DataSet dataSet)
throws ExecutionException,
XPathException
- Execute the action by adding a data to the current context.
- Overrides:
runAction in class AbstractStepAction
- Parameters:
dataSet - The set of datas used when the action is running.
- Throws:
ExecutionException - If the action can't be performed.
XPathException