public abstract class DomNamespaceNode extends DomNode
DomNode.ChildIterator, DomNode.DescendantElementsIterator<T extends DomNode>AS_TEXT_BLANK, AS_TEXT_BLOCK_SEPARATOR, AS_TEXT_NEW_LINE, AS_TEXT_TAB, PROPERTY_ELEMENT, READY_STATE_COMPLETE, READY_STATE_INTERACTIVE, READY_STATE_LOADED, READY_STATE_LOADING, READY_STATE_UNINITIALIZEDATTRIBUTE_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| Modifier | Constructor and Description |
|---|---|
protected |
DomNamespaceNode(String namespaceURI,
String qualifiedName,
SgmlPage page)
Creates an instance of a DOM node that can have a namespace.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalName() |
String |
getNamespaceURI() |
String |
getPrefix() |
String |
getQualifiedName()
Returns this node's qualified name.
|
void |
processImportNode(Document doc)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Lifecycle method to support special processing for js method importNode. |
void |
setPrefix(String prefix) |
addCharacterDataChangeListener, addDomChangeListener, appendChild, asText, asXml, checkChildHierarchy, cloneNode, compareDocumentPosition, detach, fireCharacterDataChanged, fireNodeAdded, fireNodeDeleted, getAncestors, getAttributes, getBaseURI, getByXPath, getByXPath, getCanonicalXPath, getChildNodes, getChildren, getDescendants, getDomElementDescendants, getEndColumnNumber, getEndLineNumber, getFeature, getFirstByXPath, getFirstByXPath, getFirstChild, getHtmlElementDescendants, getHtmlPageOrNull, getIndex, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getPage, getParentNode, getPreviousSibling, getReadyState, getScriptableObject, getScriptObject, getStartColumnNumber, getStartLineNumber, getTextContent, getUserData, handles, hasAttributes, hasChildNodes, hasFeature, insertBefore, insertBefore, isAncestorOf, isAncestorOfAny, isAttachedToPage, isBlock, isDefaultNamespace, isDisplayed, isEqualNode, isSameNode, isSupported, isTrimmedText, lookupNamespaceURI, lookupPrefix, mayBeDisplayed, normalize, notifyIncorrectness, onAddedToDocumentFragment, onAddedToPage, onAllChildrenAddedToPage, printChildrenAsXml, printXml, querySelector, querySelectorAll, remove, removeAllChildren, removeCharacterDataChangeListener, removeChild, removeDomChangeListener, replace, replaceChild, setNextSibling, setNodeValue, setParentNode, setPreviousSibling, setReadyState, setScriptableObject, setTextContent, setUserDataprotected DomNamespaceNode(String namespaceURI, String qualifiedName, SgmlPage page)
namespaceURI - the URI that identifies an XML namespacequalifiedName - the qualified name of the element type to instantiatepage - the page that contains this elementpublic String getNamespaceURI()
getNamespaceURI in interface NodegetNamespaceURI in class DomNodepublic String getLocalName()
getLocalName in interface NodegetLocalName in class DomNodepublic String getPrefix()
public void setPrefix(String prefix)
public String getQualifiedName()
public void processImportNode(Document doc)
processImportNode in class DomNodedoc - the import target documentDocument.importNode(
com.gargoylesoftware.htmlunit.javascript.host.dom.Node, boolean),
HtmlScript.processImportNode(com.gargoylesoftware.htmlunit.javascript.host.dom.Document)Copyright © 2002–2016 Gargoyle Software Inc.. All rights reserved.