Package org.apache.commons.jelly
Interface NamespaceAwareTag
- All Superinterfaces:
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 Summary
Modifier and TypeMethodDescriptionvoid
setNamespaceContext
(Map prefixToUriMap) Sets the namespace context in scope when this tag is usedMethods inherited from interface org.apache.commons.jelly.Tag
doTag, getBody, getContext, getParent, invokeBody, setBody, setContext, setParent
-
Method Details
-
setNamespaceContext
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
-