|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 NamespaceContextPrefix - Parameter
IllegalArgumentException - if prefix is nullpublic String getPrefix(String namespaceURI)
getPrefix in interface NamespaceContextNamespace - URI
IllegalArgumentException - if Namespace URI is nullpublic Iterator getPrefixes(String namespaceURI)
getPrefixes in interface NamespaceContextNamespace - URI
IllegalArgumentException - if Namespace URI is null
protected void addNamespace(String prefix,
String uri)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||