|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.xml.dom.DomNode
gnu.xml.dom.DomNsNode
Abstract implemention of namespace support. This facilitates sharing code for attribute and element nodes.
Field Summary |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary | |
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. |
String |
getNamespaceURI()
DOM L2 Returns the node's namespace URI or null if the node name is not namespace scoped. |
String |
getNodeName()
DOM L1 Returns the node's name, including any namespace prefix. |
String |
getPrefix()
DOM L2 Returns any prefix part of the node's name (before any colon). |
void |
setPrefix(String prefix)
DOM L2 Assigns the prefix part of the node's name (before any colon). |
Methods inherited from class gnu.xml.dom.DomNode |
addEventListener, appendChild, clone, cloneNode, compact, createEvent, dispatchEvent, getAttributes, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getLength, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isReadonly, isSupported, item, makeReadonly, nameAndTypeEquals, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, trimToSize |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
getNodeType |
Method Detail |
public final String getNodeName()
public final String getNamespaceURI()
getNamespaceURI
in interface Node
getNamespaceURI
in class DomNode
public String getPrefix()
getPrefix
in interface Node
getPrefix
in class DomNode
public void setPrefix(String prefix)
setPrefix
in interface Node
setPrefix
in class DomNode
public String getLocalName()
getLocalName
in interface Node
getLocalName
in class DomNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2004-08-21.