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

java.lang.Object
  extended by org.inria.ns.reflex.processor.ForeignAttribute.Impl
      extended by org.inria.ns.reflex.processor.exp.InternalTuningDirective
          extended by org.inria.ns.reflex.processor.exp.UseCatalogAttr
All Implemented Interfaces:
Comparable, ForeignAttribute

public class UseCatalogAttr
extends InternalTuningDirective

The @exp:use-catalog foreign attribute can be used to register a catalog on the actual active sheet.

Author:
Philippe Poulard

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.processor.ForeignAttribute
ForeignAttribute.Impl, ForeignAttribute.Marker
 
Constructor Summary
UseCatalogAttr()
           
 
Method Summary
 void applyDirective(AbstractAction parent, Element element)
          Register a catalog to the current processor instance.
 
Methods inherited from class org.inria.ns.reflex.processor.exp.InternalTuningDirective
apply, getPriority
 
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
 
Methods inherited from interface org.inria.ns.reflex.processor.ForeignAttribute
getName, getValue, setName, setValue
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

UseCatalogAttr

public UseCatalogAttr()
Method Detail

applyDirective

public void applyDirective(AbstractAction parent,
                           Element element)
Register a catalog to the current processor instance. Its value contains the URI of the catalog to register. This foreign attribute applied when unmarshalling only.

Specified by:
applyDirective in class InternalTuningDirective
Parameters:
parent - The action depending from.
element - The XML element that contains the foreign attribute.