Class OperationsAction

  extended by org.inria.ns.reflex.processor.core.AbstractAction
      extended by org.inria.ns.reflex.processor.xcl.OperationsAction
All Implemented Interfaces:
Executable, Presentable, NamespaceContextFactory
Direct Known Subclasses:

public class OperationsAction
extends AbstractAction

At runtime, the <xcl:operations> element set the boundaries of a group of operations to perform on X-operable objects, such as XML documents.

On user request, the set of operations may be applied on commit order. If no rollback order is encountered, an implicit commit is performed at the end of this action.

This action uses the internal global property $xcl:deferred-operations for its own usage. Users must not attempt to use this property for another usage that is intended for. Read and write actions should be use carefully on this property.

Philippe Poulard

Nested Class Summary
static class OperationsAction.Deferred
          A deferred update action doesn't perform updates immediatly, but registers them.
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
OperationsAction(Node node, AbstractAction parent)
          Creates a new instance of OperationsAction.
Method Summary
static AbstractAction unmarshal(AbstractAction parent, Element element)
          XML unmarshaller for OperationsAction.
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, runAction, runActions, toPrettyString, toPrettyString, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public OperationsAction(Node node,
                        AbstractAction parent)
Creates a new instance of OperationsAction.

node - The node from which the action has been unmarshalled. Used for namespace prefix resolution when performing XPath expressions.
parent - The action depending from.
Method Detail


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

parent - The action depending from
element - The XML element to unmarshall.
The OperationsAction created.
UnmarshalException - When the element and its content is not those expected.