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

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.DisablePrefixesAttr
All Implemented Interfaces:
Comparable, ForeignAttribute

public class DisablePrefixesAttr
extends InternalTuningDirective

The @exp:disable-prefixes foreign attribute is used to disable the prefixes to use.

When a prefix is explicitely disabled, the elements that use this prefix cause a fallback request. The foreign attributes that use this prefix are ignored if they are found inside an active tag.

Author:
Philippe Poulard
See Also:
EnablePrefixesAttr

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.processor.ForeignAttribute
ForeignAttribute.Impl, ForeignAttribute.Marker
 
Constructor Summary
DisablePrefixesAttr()
           
 
Method Summary
 void applyDirective(AbstractAction parent, Element element)
          Set the prefixes to disable.
 
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

DisablePrefixesAttr

public DisablePrefixesAttr()
Method Detail

applyDirective

public void applyDirective(AbstractAction parent,
                           Element element)
Set the prefixes to disable. The value of this foreing attribute contains the list of prefixes to disable. 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.