org.inria.ns.reflex.processor.exp
Class PredefinedPropertyAction

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.PredefinedPropertyAction
All Implemented Interfaces:
Executable, Presentable, NamespaceContextFactory
Direct Known Subclasses:
PredefinedPropertyAction.Macro, PredefinedPropertyAction.Predefined

public abstract class PredefinedPropertyAction
extends AbstractDefinitionAction

The <exp:property> element populates a module with a predefined property definition.

Author:
Philippe Poulard

Nested Class Summary
static class PredefinedPropertyAction.Macro
          A macro property action.
static class PredefinedPropertyAction.Predefined
          A predefined property action.
 
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
PredefinedPropertyAction(Element element, AbstractAction parent)
          Create a new definition action.
 
Method Summary
static AbstractAction unmarshal(AbstractAction parent, Element element)
          XML unmarshaller for PredefinedPropertyAction.
 
Methods inherited from class org.inria.ns.reflex.processor.exp.AbstractDefinitionAction
addToModule, 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

PredefinedPropertyAction

public PredefinedPropertyAction(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

unmarshal

public static AbstractAction unmarshal(AbstractAction parent,
                                       Element element)
                                throws XMLException
XML unmarshaller for PredefinedPropertyAction.

Parameters:
parent - The action depending from.
element - The XML element to unmarshall.
Returns:
null: this action populate the module while unmarshalling.
Throws:
UnmarshalException - When the element and its content is not those expected.
XMLException