org.inria.ns.reflex.processor.exp
Class EnablePrefixesAttr
java.lang.Object
org.inria.ns.reflex.processor.ForeignAttribute.Impl
org.inria.ns.reflex.processor.exp.InternalTuningDirective
org.inria.ns.reflex.processor.exp.EnablePrefixesAttr
- All Implemented Interfaces:
- Comparable, ForeignAttribute
public class EnablePrefixesAttr
- extends InternalTuningDirective
The @exp:enable-prefixes foreign attribute
is used to enable the prefixes to use.
When a prefix is explicitely enabled, the elements and
foreign attributes that use this prefix MUST be bound
to a module.
- Author:
- Philippe Poulard
- See Also:
DisablePrefixesAttr
EnablePrefixesAttr
public EnablePrefixesAttr()
applyDirective
public void applyDirective(AbstractAction parent,
Element element)
- Set the prefixes to enable. The value of this foreign attribute contains
the list of prefixes to enable. 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.