com.gargoylesoftware.htmlunit.html
Class DomNamespaceNode
java.lang.Object
com.gargoylesoftware.htmlunit.html.DomNode
com.gargoylesoftware.htmlunit.html.DomNamespaceNode
- All Implemented Interfaces:
- Serializable, Cloneable, Node
- Direct Known Subclasses:
- DomAttr, DomElement
public abstract class DomNamespaceNode
- extends DomNode
Intermediate base class for DOM Nodes that have namespaces. That includes HtmlElement and HtmlAttr.
- Version:
- $Revision: 5301 $
- Author:
- David K. Taylor, Ahmed Ashour
- See Also:
- Serialized Form
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 |
Methods inherited from class com.gargoylesoftware.htmlunit.html.DomNode |
addDomChangeListener, appendChild, asText, asXml, checkChildHierarchy, cloneNode, compareDocumentPosition, fireNodeAdded, fireNodeDeleted, getAllHtmlChildElements, getAncestors, getAttributes, getBaseURI, getByXPath, getCanonicalXPath, getChildNodes, getChildren, getDescendants, getEndColumnNumber, getEndLineNumber, getFeature, getFirstByXPath, getFirstChild, getHtmlElementDescendants, getIndex, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getPage, getParentNode, getPreviousSibling, getReadyState, getScriptObject, getStartColumnNumber, getStartLineNumber, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, insertBefore, isAncestorOf, isAncestorOfAny, isBlock, isDefaultNamespace, isDisplayed, isEqualNode, isSameNode, isSupported, isTrimmedText, lookupNamespaceURI, lookupPrefix, mayBeDisplayed, normalize, notifyIncorrectness, onAddedToPage, onAllChildrenAddedToPage, printChildrenAsXml, printXml, remove, removeAllChildren, removeChild, removeDomChangeListener, replace, replaceChild, setNextSibling, setNodeValue, setParentNode, setPreviousSibling, setReadyState, setScriptObject, setTextContent, setUserData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomNamespaceNode
protected DomNamespaceNode(String namespaceURI,
String qualifiedName,
SgmlPage page)
- Creates an instance of a DOM node that can have a namespace.
- Parameters:
namespaceURI
- the URI that identifies an XML namespacequalifiedName
- the qualified name of the element type to instantiatepage
- the page that contains this element
getNamespaceURI
public String getNamespaceURI()
-
- Specified by:
getNamespaceURI
in interface Node
- Overrides:
getNamespaceURI
in class DomNode
getLocalName
public String getLocalName()
-
- Specified by:
getLocalName
in interface Node
- Overrides:
getLocalName
in class DomNode
getPrefix
public String getPrefix()
-
- Specified by:
getPrefix
in interface Node
- Overrides:
getPrefix
in class DomNode
setPrefix
public void setPrefix(String prefix)
-
- Specified by:
setPrefix
in interface Node
- Overrides:
setPrefix
in class DomNode
getQualifiedName
public String getQualifiedName()
- Returns this node's qualified name.
- Returns:
- this node's qualified name
Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.