public abstract class NodeAdaptor extends Object implements 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| Constructor and Description |
|---|
NodeAdaptor() |
| Modifier and Type | Method and Description |
|---|---|
Node |
appendChild(Node newChild) |
String |
getBaseURI() |
Object |
getFeature(String feature,
String version) |
String |
getLocalName() |
String |
getNamespaceURI() |
String |
getPrefix() |
Node |
insertBefore(Node newChild,
Node refChild) |
boolean |
isDefaultNamespace(String namespaceURI) |
boolean |
isSupported(String feature,
String version) |
String |
lookupNamespaceURI(String prefix) |
String |
lookupPrefix(String namespaceURI) |
void |
normalize() |
Node |
removeChild(Node oldChild) |
Node |
replaceChild(Node newChild,
Node oldChild) |
void |
setNodeValue(String nodeValue) |
void |
setPrefix(String prefix) |
void |
setTextContent(String textContent) |
Object |
setUserData(String key,
Object data,
UserDataHandler handler) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloneNode, compareDocumentPosition, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, isEqualNode, isSameNodepublic void setNodeValue(String nodeValue) throws DOMException
setNodeValue in interface NodeDOMExceptionpublic Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore in interface NodeDOMExceptionpublic Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild in interface NodeDOMExceptionpublic Node removeChild(Node oldChild) throws DOMException
removeChild in interface NodeDOMExceptionpublic Node appendChild(Node newChild) throws DOMException
appendChild in interface NodeDOMExceptionpublic boolean isSupported(String feature, String version)
isSupported in interface Nodepublic String getNamespaceURI()
getNamespaceURI in interface Nodepublic void setPrefix(String prefix) throws DOMException
setPrefix in interface NodeDOMExceptionpublic String getLocalName()
getLocalName in interface Nodepublic String getBaseURI()
getBaseURI in interface Nodepublic void setTextContent(String textContent) throws DOMException
setTextContent in interface NodeDOMExceptionpublic String lookupPrefix(String namespaceURI)
lookupPrefix in interface Nodepublic boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace in interface Nodepublic String lookupNamespaceURI(String prefix)
lookupNamespaceURI in interface Nodepublic Object getFeature(String feature, String version)
getFeature in interface Nodepublic Object setUserData(String key, Object data, UserDataHandler handler)
setUserData in interface NodeCopyright © 2023. All rights reserved.