|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.xolite.dom.DomPrefixResolver
public class DomPrefixResolver
Implementation of the NamespaceContext interface based on a DOM node.
You give it a DOM node and it creates the namespace context of this Node = all the namespaces declared in the path from this
node to the document root.
| Constructor Summary | |
|---|---|
DomPrefixResolver(Node base)
|
|
| Method Summary | |
|---|---|
String |
getNamespaceURI(String prefix)
Get namespace URI corresponding to the given prefix. |
String |
getPrefix(String namespaceURI)
Get the first perfix mapped to the given namespace. |
Iterator<String> |
getPrefixes(String namespaceURI)
Get all the prefixs mapped to the given namespace. |
void |
setNode(Node newBase)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DomPrefixResolver(Node base)
| Method Detail |
|---|
public void setNode(Node newBase)
public String getNamespaceURI(String prefix)
getNamespaceURI in interface NamespaceContextNamespaceContext.getNamespaceURI(java.lang.String)public String getPrefix(String namespaceURI)
getPrefix in interface NamespaceContextNamespaceContext.getPrefix(java.lang.String)public Iterator<String> getPrefixes(String namespaceURI)
getPrefixes in interface NamespaceContextNamespaceContext.getPrefixes(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||