org.inria.ns.reflex.processor.asl
Class ElementAction.NamespaceRef

java.lang.Object
  extended by org.inria.ns.reflex.processor.core.AbstractAction
      extended by org.inria.ns.reflex.processor.asl.AbstractStepAction
          extended by org.inria.ns.reflex.processor.asl.ElementAction
              extended by org.inria.ns.reflex.processor.asl.ElementAction.NamespaceRef
All Implemented Interfaces:
Executable, Identifiable, Presentable, NamespaceContextFactory
Enclosing class:
ElementAction

public static class ElementAction.NamespaceRef
extends ElementAction

Refers to an element by its namespace URI.


Nested Class Summary
 class ElementAction.NamespaceRef.ElementNamespaceMatcher
          A concrete material item for a namespace URI.
 
Nested classes/interfaces inherited from class org.inria.ns.reflex.processor.asl.ElementAction
ElementAction.Matcher, ElementAction.NameRef, ElementAction.NamespaceRef
 
Nested classes/interfaces inherited from class org.inria.ns.reflex.processor.asl.AbstractStepAction
AbstractStepAction.ItemsLists
 
Nested classes/interfaces inherited from class org.inria.ns.reflex.processor.core.AbstractAction
AbstractAction.ParameterAdapter, AbstractAction.UselessAction
 
Field Summary
 
Fields inherited from class org.inria.ns.reflex.processor.asl.AbstractStepAction
STEP_USED_BUBBLE_MESSAGE
 
Fields inherited from class org.inria.ns.reflex.processor.core.AbstractAction
actions, parent, processorInstance
 
Constructor Summary
ElementAction.NamespaceRef(String ns, Element element, AbstractAction parent)
          Creates a new instance of NamespaceRef.
 
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.asl.ElementAction
unmarshal
 
Methods inherited from class org.inria.ns.reflex.processor.asl.AbstractStepAction
computeOccurs, getId, getMaxOccurs, getMinOccurs, invokeHandler, stableRun, unstableRun
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementAction.NamespaceRef

public ElementAction.NamespaceRef(String ns,
                                  Element element,
                                  AbstractAction parent)
                           throws XPathException
Creates a new instance of NamespaceRef.

Parameters:
ns - The namespace URI of the element definition, or the special values #any,#other, or #local.
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
Method Detail

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