Class SyncAttr

  extended by org.inria.ns.reflex.processor.ForeignAttribute.Impl
      extended by org.inria.ns.reflex.processor.xcl.SyncAttr
All Implemented Interfaces:
Comparable, ForeignAttribute

public class SyncAttr
extends ForeignAttribute.Impl

The @xcl:sync foreign attribute provides basic support for synchronization.

When not specified, no synchronization is expected, otherwise this attribute may have the following values :

Philippe Poulard

Nested Class Summary
Nested classes/interfaces inherited from interface org.inria.ns.reflex.processor.ForeignAttribute
ForeignAttribute.Impl, ForeignAttribute.Marker
Constructor Summary
Method Summary
 AbstractAction apply(AbstractAction parent, Element element, SortedList foreignAttrs)
          Create a new abstract action that wraps the action to unmarshal.
 int getPriority()
          Return the priority of this foreign attribute, that is 10.
Methods inherited from class org.inria.ns.reflex.processor.ForeignAttribute.Impl
compareTo, getName, getValue, setName, setValue
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SyncAttr()
Method Detail


public AbstractAction apply(AbstractAction parent,
                            Element element,
                            SortedList foreignAttrs)
Create a new abstract action that wraps the action to unmarshal. This foreign attribute applied when unmarshalling only.

parent - The action depending from.
element - The XML element that contains the foreign attribute.
foreignAttrs - The other foreign attributes found within the element that hosts the attribute. Not used.
The parent action, which is the wrapper action used for synchronisation purpose.


public int getPriority()
Return the priority of this foreign attribute, that is 10.

10 = the priority level of this foreign attribute.