Interface NamespaceAwareTag

All Superinterfaces:
Tag

public interface NamespaceAwareTag extends Tag

NamespaceAwareTag represents a Jelly custom tag which needs to be aware of the XML Namespace context in which it is used. When the tag is used it will be given the namespace context which is a Map keyed on the namespace prefixes and the values are the namespace URIs in scope in the tags element.

Version:
$Revision: 155420 $
Author:
James Strachan
  • Method Details

    • setNamespaceContext

      void setNamespaceContext(Map prefixToUriMap)
      Sets the namespace context in scope when this tag is used
      Parameters:
      prefixToUriMap - is a Map where the keys are the namespace prefixes and the values are the namespace URIs