|
|||||||||
| 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
public abstract class 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_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, 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, 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 |
|---|
compareDocumentPosition, getBaseURI, getFeature, getNodeType, getTextContent, getUserData, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData |
| Method Detail |
|---|
public final java.lang.String getNodeName()
public final java.lang.String getNamespaceURI()
getNamespaceURI in interface org.w3c.dom.NodegetNamespaceURI in class DomNodepublic java.lang.String getPrefix()
getPrefix in interface org.w3c.dom.NodegetPrefix in class DomNodepublic void setPrefix(java.lang.String prefix)
setPrefix in interface org.w3c.dom.NodesetPrefix in class DomNodepublic java.lang.String getLocalName()
getLocalName in interface org.w3c.dom.NodegetLocalName 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 2012-01-06.