gnu.xml.dom
Class DomNsNode
java.lang.Object
|
+--gnu.xml.dom.DomNode
|
+--gnu.xml.dom.DomNsNode
public abstract class
DomNsNodeextends
DomNode Abstract implemention of namespace support. This facilitates
sharing code for attribute and element nodes.
Author:getLocalName
public String getLocalName()
DOM L2
Returns the local part of the node's name (after any colon),
or null if the node name is not namespace scoped.
getNamespaceURI
public final String getNamespaceURI()
DOM L2
Returns the node's namespace URI
or null if the node name is not namespace scoped.
getNodeName
public final String getNodeName()
DOM L1
Returns the node's name, including any namespace prefix.
getPrefix
public String getPrefix()
DOM L2
Returns any prefix part of the node's name (before any colon).
setPrefix
public void setPrefix(java.lang.String prefix)
DOM L2
Assigns the prefix part of the node's name (before any colon).
Parameters:
Abstract implemention of namespace support. This facilitates sharing code for attribute and element nodes.