|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--gnu.xml.dom.DomNode
|
+--gnu.xml.dom.DomNsNode
Abstract implemention of namespace support. This facilitates sharing code for attribute and element nodes.
| 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 | |
java.lang.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. |
java.lang.String |
getNamespaceURI()
DOM L2 Returns the node's namespace URI or null if the node name is not namespace scoped. |
java.lang.String |
getNodeName()
DOM L1 Returns the node's name, including any namespace prefix. |
java.lang.String |
getPrefix()
DOM L2 Returns any prefix part of the node's name (before any colon). |
void |
setPrefix(java.lang.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, createEvent, dispatchEvent, getAttributes, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getLength, getNextSibling, getNodeType, 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 |
| Method Detail |
public final java.lang.String getNodeName()
public final java.lang.String getNamespaceURI()
getNamespaceURI in class DomNodepublic java.lang.String getPrefix()
getPrefix in class DomNodeorg.w3c.dom.NodeDOMException - INVALID_CHARACTER_ERR: Raised if the specified prefix contains an
illegal character.
prefix is
malformed, if the namespaceURI of this node is
null, if the specified prefix is "xml" and the
namespaceURI of this node is different from "
http://www.w3.org/XML/1998/namespace", if this node is an attribute
and the specified prefix is "xmlns" and the
namespaceURI of this node is different from "
http://www.w3.org/2000/xmlns/", or if this node is an attribute and
the qualifiedName of this node is "xmlns" .public void setPrefix(java.lang.String prefix)
setPrefix in class DomNodepublic java.lang.String getLocalName()
getLocalName in class DomNode
|
Source code is GPL'd in the JAXP subproject at http://savannah.gnu.org/projects/classpathx |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||