org.inria.ns.reflex.processor.exp
Class ExtendedFunctionAction.Predefined

java.lang.Object
  extended by org.inria.ns.reflex.processor.core.AbstractAction
      extended by org.inria.ns.reflex.processor.core.AbstractFeedAction
          extended by org.inria.ns.reflex.processor.exp.AbstractDefinitionAction
              extended by org.inria.ns.reflex.processor.exp.ExtendedFunctionAction
                  extended by org.inria.ns.reflex.processor.exp.ExtendedFunctionAction.Predefined
All Implemented Interfaces:
Executable, Presentable, NamespaceContextFactory
Enclosing class:
ExtendedFunctionAction

public static class ExtendedFunctionAction.Predefined
extends ExtendedFunctionAction

A predefined function action.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.inria.ns.reflex.processor.exp.ExtendedFunctionAction
ExtendedFunctionAction.Macro, ExtendedFunctionAction.Predefined
 
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.core.AbstractAction
actions, parent, processorInstance
 
Constructor Summary
ExtendedFunctionAction.Predefined(String clazz, Element element, AbstractAction parent)
          Create a new definition action.
 
Method Summary
 void addToModule(Module module)
          Add this function to the module.
 
Methods inherited from class org.inria.ns.reflex.processor.exp.ExtendedFunctionAction
unmarshal
 
Methods inherited from class org.inria.ns.reflex.processor.exp.AbstractDefinitionAction
getData
 
Methods inherited from class org.inria.ns.reflex.processor.core.AbstractFeedAction
runAction
 
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

ExtendedFunctionAction.Predefined

public ExtendedFunctionAction.Predefined(String clazz,
                                         Element element,
                                         AbstractAction parent)
                                  throws XMLException
Create a new definition action.

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:
XMLException
Method Detail

addToModule

public void addToModule(Module module)
Add this function to the module.

Specified by:
addToModule in class AbstractDefinitionAction
Parameters:
module - The module that must have the same namespace than the function name.