|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.html.DomNode
com.gargoylesoftware.htmlunit.html.DomNamespaceNode
public abstract class DomNamespaceNode
Intermediate base class for DOM Nodes that have namespaces. That includes HtmlElement and HtmlAttr.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.gargoylesoftware.htmlunit.html.DomNode |
|---|
DomNode.ChildIterator, DomNode.DescendantElementsIterator |
| Field Summary |
|---|
| Fields inherited from class com.gargoylesoftware.htmlunit.html.DomNode |
|---|
ATTRIBUTE_NODE, COMMENT_NODE, DOCUMENT_NODE, ELEMENT_NODE, PROPERTY_ELEMENT, READY_STATE_COMPLETE, READY_STATE_INTERACTIVE, READY_STATE_LOADED, READY_STATE_LOADING, READY_STATE_UNINITIALIZED, TEXT_NODE |
| Constructor Summary | |
|---|---|
protected |
DomNamespaceNode(String namespaceURI,
String qualifiedName,
Page page)
Create an instance of a DOM node that can have a namespace. |
| Method Summary | |
|---|---|
String |
getLocalName()
Returns the local part of the qualified name of this node. |
String |
getNamespaceURI()
The namespace URI of this node, or null if it is unspecified (see ). |
String |
getPrefix()
The namespace prefix of this node, or null if it is unspecified. |
String |
getQualifiedName()
Returns the qualified name of this node. |
void |
setPrefix(String prefix)
Set the namespace prefix of this node, or null if it is unspecified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DomNamespaceNode(String namespaceURI,
String qualifiedName,
Page page)
namespaceURI - the URI that identifies an XML namespace.qualifiedName - The qualified name of the element type to instantiate.page - The page that contains this element.| Method Detail |
|---|
public String getNamespaceURI()
getNamespaceURI in class DomNodepublic String getLocalName()
getLocalName in class DomNodepublic String getPrefix()
getPrefix in class DomNodepublic void setPrefix(String prefix)
setPrefix in class DomNodeprefix - The namespace prefix of this node, or null if it is unspecified.public String getQualifiedName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||