|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.werken.xpath.ElementNamespaceContext
A NamespaceContext which gets it's mappings
from an Element in a DOM4J tree.
It currently DOES NOT WORK
| Constructor Summary | |
ElementNamespaceContext(org.dom4j.Element element)
Construct the NamespaceContext from a DOM4J Element |
|
| Method Summary | |
org.dom4j.Namespace |
getNamespaceByPrefix(java.lang.String prefix)
|
java.lang.String |
translateNamespacePrefix(java.lang.String prefix)
Translate a namespace prefix into a URI Translate the prefix used in a component of an XPath into its expanded namespace URI. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ElementNamespaceContext(org.dom4j.Element element)
element - The DOM4J element to use for prefix->nsURI mapping| Method Detail |
public java.lang.String translateNamespacePrefix(java.lang.String prefix)
translateNamespacePrefix in interface NamespaceContextprefix - The namespace prefixContextSupport.setNamespaceContext(com.werken.xpath.NamespaceContext)public org.dom4j.Namespace getNamespaceByPrefix(java.lang.String prefix)
getNamespaceByPrefix in interface NamespaceContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||