|
JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.taglibs.standard.tag.common.xml.JSTLXPathNamespaceContext
public class JSTLXPathNamespaceContext
Implemenation of XML Namespace context processing given a URI or prefix
Constructor Summary | |
---|---|
JSTLXPathNamespaceContext()
No-arg constructor which would create empty HashMap of namespaces |
|
JSTLXPathNamespaceContext(HashMap nses)
|
Method Summary | |
---|---|
protected void |
addNamespace(String prefix,
String uri)
Populate map of Prefix and NameSpace URI's entries |
String |
getNamespaceURI(String prefix)
Get Namespace URI bound to a prefix in the current scope |
String |
getPrefix(String namespaceURI)
Get Prefix bound to Namespace URI in the current scope |
Iterator |
getPrefixes(String namespaceURI)
Get all Prefixes bound to Namespace URI in the current scope |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSTLXPathNamespaceContext()
public JSTLXPathNamespaceContext(HashMap nses)
Method Detail |
---|
public String getNamespaceURI(String prefix) throws IllegalArgumentException
getNamespaceURI
in interface NamespaceContext
Prefix
- Parameter
IllegalArgumentException
- if prefix is nullpublic String getPrefix(String namespaceURI)
getPrefix
in interface NamespaceContext
Namespace
- URI
IllegalArgumentException
- if Namespace URI is nullpublic Iterator getPrefixes(String namespaceURI)
getPrefixes
in interface NamespaceContext
Namespace
- URI
IllegalArgumentException
- if Namespace URI is nullprotected void addNamespace(String prefix, String uri)
|
JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |