org.inria.ns.reflex.processor.asl
Class TextAction.TypeNameRef

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

public static class TextAction.TypeNameRef
extends TextAction.InlineType

Defines a text action that refers to a data type by its name.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.inria.ns.reflex.processor.asl.TextAction.InlineType
TextAction.InlineType.WrappedTypeMatcher
 
Nested classes/interfaces inherited from class org.inria.ns.reflex.processor.asl.TextAction
TextAction.InlineType, TextAction.Matcher, TextAction.Pattern, TextAction.TypeNameRef, TextAction.Value
 
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
TextAction.TypeNameRef(QName typeName, Element element, AbstractAction parent)
          Creates a new instance of TextAction that refers to a type.
 
Method Summary
 void runAction(DataSet dataSet)
          Feed the context with a text matcher.
 
Methods inherited from class org.inria.ns.reflex.processor.asl.TextAction
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

TextAction.TypeNameRef

public TextAction.TypeNameRef(QName typeName,
                              Element element,
                              AbstractAction parent)
                       throws XPathException
Creates a new instance of TextAction that refers to a type.

Parameters:
typeName - The name of the type referenced.
element - 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
Method Detail

runAction

public void runAction(DataSet dataSet)
               throws ExecutionException,
                      XPathException
Feed the context with a text matcher.

Overrides:
runAction in class TextAction.InlineType
Parameters:
dataSet - The set of datas used when the action is running.
Throws:
ExecutionException - If the action can't be performed.
XPathException