|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.biomoby.shared.NamespaceContextImpl
public class NamespaceContextImpl
This class is used to provide namespace context for XPath expression evaluation in the Seahawk data mapping rules file, and includes default mappings for prefixes such as moby:
Constructor Summary | |
---|---|
NamespaceContextImpl()
Populates the mapping table with an assortment of prefixes and namespaces used in Moby (see MobyPrefixResolver) |
|
NamespaceContextImpl(Node contextNode,
String defaultNSPrefix)
Traverses up the DOM from the given element to enumerate all of the prefix <-> namespace mappings valid for this node. |
|
NamespaceContextImpl(String ns,
String nsPrefix)
Sets just one prefix, the one provided, which also gets mapped to the blank prefix |
Method Summary | |
---|---|
String |
getNamespaceURI(String prefix)
|
String |
getPrefix(String namespaceURI)
|
Iterator |
getPrefixes(String namespaceURI)
|
void |
setPrefix(String namespaceURI,
String prefix)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamespaceContextImpl(String ns, String nsPrefix)
public NamespaceContextImpl(Node contextNode, String defaultNSPrefix)
public NamespaceContextImpl()
Method Detail |
---|
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface NamespaceContext
public String getPrefix(String namespaceURI)
getPrefix
in interface NamespaceContext
public void setPrefix(String namespaceURI, String prefix)
public Iterator getPrefixes(String namespaceURI)
getPrefixes
in interface NamespaceContext
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |