|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.util.XPathNamespaceContext
public class XPathNamespaceContext
A simple namespace context used for XPath expression evaluation.
Constructor Summary | |
---|---|
XPathNamespaceContext()
|
Method Summary | |
---|---|
java.lang.String |
getNamespaceURI(java.lang.String prefix)
Get the namespace URI for the specified prefix. |
java.lang.String |
getPrefix(java.lang.String namespaceURI)
Get the prefix for the specified namespace URI. |
java.util.Iterator<?> |
getPrefixes(java.lang.String namespaceURI)
Get the prefixes for the specified namespace URI. |
void |
setMapping(java.lang.String prefix,
java.lang.String uri)
Initialise the prefix/namespace URI mapping. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPathNamespaceContext()
Method Detail |
---|
public java.lang.String getNamespaceURI(java.lang.String prefix)
getNamespaceURI
in interface javax.xml.namespace.NamespaceContext
The
- prefix.
public java.lang.String getPrefix(java.lang.String namespaceURI)
getPrefix
in interface javax.xml.namespace.NamespaceContext
The
- namespace URI.
public java.util.Iterator<?> getPrefixes(java.lang.String namespaceURI)
getPrefixes
in interface javax.xml.namespace.NamespaceContext
The
- namespace URI.
public void setMapping(java.lang.String prefix, java.lang.String uri)
prefix
- The prefix.uri
- The namespace URI.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |