org.inria.ns.reflex.processor.asl
Class AttributeAction.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.AttributeAction
              extended by org.inria.ns.reflex.processor.asl.AttributeAction.NamespaceRef
All Implemented Interfaces:
Executable, Identifiable, Presentable, NamespaceContextFactory
Enclosing class:
AttributeAction

public static class AttributeAction.NamespaceRef
extends AttributeAction

Refers to an attribute set by its namespace URI.


Nested Class Summary
 class AttributeAction.NamespaceRef.AttributeNamespaceMatcher
          A material item for a namespace URI.
 
Nested classes/interfaces inherited from class org.inria.ns.reflex.processor.asl.AttributeAction
AttributeAction.Matcher, AttributeAction.NameRef, AttributeAction.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
AttributeAction.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.AttributeAction
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

AttributeAction.NamespaceRef

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

Parameters:
ns - The namespace URI of the attribute 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