| Package | Description |
|---|---|
| org.w3c.dom | |
| org.w3c.dom.events | |
| org.w3c.dom.html | |
| org.w3c.dom.ranges | |
| org.w3c.dom.stylesheets | |
| org.w3c.dom.traversal |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CDATASection
CDATA sections are used to escape blocks of text containing characters that
would otherwise be regarded as markup.
|
interface |
CharacterData |
interface |
Comment |
interface |
Document |
interface |
DocumentFragment |
interface |
DocumentType |
interface |
Element |
interface |
Entity
This interface represents an entity, either parsed or unparsed, in an XML
document.
|
interface |
EntityReference
EntityReference objects may be inserted into the structure
model when an entity reference is in the source document, or when the
user wishes to insert an entity reference. |
interface |
Notation
This interface represents a notation declared in the DTD.
|
interface |
ProcessingInstruction |
interface |
Text |
| Modifier and Type | Method and Description |
|---|---|
Node |
Document.adoptNode(Node node) |
Node |
Node.appendChild(Node newChild) |
Node |
Node.cloneNode(boolean deep) |
Node |
Node.getFirstChild() |
Node |
Node.getLastChild() |
Node |
NamedNodeMap.getNamedItem(String name)
Retrieves a node specified by name.
|
Node |
NamedNodeMap.getNamedItemNS(String namespaceURI,
String localName)
Retrieves a node specified by local name and namespace URI.
|
Node |
Node.getNextSibling() |
Node |
CaretPosition.getOffsetNode() |
Node |
Node.getParentNode() |
Node |
Node.getPreviousSibling() |
Node |
Document.importNode(Node node,
boolean deep) |
Node |
Node.insertBefore(Node newChild,
Node refChild) |
Node |
NodeList.item(int index) |
Node |
NamedNodeMap.item(int index)
Returns the
indexth item in the map. |
Node |
Node.removeChild(Node oldChild) |
Node |
NamedNodeMap.removeNamedItem(String name)
Removes a node specified by name.
|
Node |
NamedNodeMap.removeNamedItemNS(String namespaceURI,
String localName)
Removes a node specified by local name and namespace URI.
|
Node |
Node.replaceChild(Node newChild,
Node oldChild) |
Node |
NamedNodeMap.setNamedItem(Node arg)
Adds a node using its
nodeName attribute. |
Node |
NamedNodeMap.setNamedItemNS(Node arg)
Adds a node using its
namespaceURI and
localName. |
| Modifier and Type | Method and Description |
|---|---|
Node |
Document.adoptNode(Node node) |
Node |
Node.appendChild(Node newChild) |
short |
Node.compareDocumentPosition(Node other) |
void |
UserDataHandler.handle(short operation,
String key,
Object data,
Node src,
Node dst)
This method is called whenever the node for which this handler is
registered is imported or cloned.
|
Node |
Document.importNode(Node node,
boolean deep) |
Node |
Node.insertBefore(Node newChild,
Node refChild) |
boolean |
Node.isEqualNode(Node node) |
boolean |
Node.isSameNode(Node node) |
Node |
Node.removeChild(Node oldChild) |
Node |
Node.replaceChild(Node newChild,
Node oldChild) |
Node |
NamedNodeMap.setNamedItem(Node arg)
Adds a node using its
nodeName attribute. |
Node |
NamedNodeMap.setNamedItemNS(Node arg)
Adds a node using its
namespaceURI and
localName. |
| Modifier and Type | Method and Description |
|---|---|
void |
MutationNameEvent.initMutationNameEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Node relatedNodeArg,
String prevNamespaceURIArg,
String prevNodeNameArg) |
| Modifier and Type | Method and Description |
|---|---|
Node |
Range.getCommonAncestorContainer() |
Node |
Range.getEndContainer() |
Node |
Range.getStartContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
Range.insertNode(Node newNode) |
void |
Range.selectNode(Node refNode) |
void |
Range.selectNodeContents(Node refNode) |
void |
Range.setEnd(Node refNode,
int offset) |
void |
Range.setEndAfter(Node refNode) |
void |
Range.setEndBefore(Node refNode) |
void |
Range.setStart(Node refNode,
int offset) |
void |
Range.setStartAfter(Node refNode) |
void |
Range.setStartBefore(Node refNode) |
void |
Range.surroundContents(Node newParent) |
| Modifier and Type | Method and Description |
|---|---|
Node |
StyleSheet.getOwnerNode() |
| Modifier and Type | Method and Description |
|---|---|
Node |
TreeWalker.firstChild() |
Node |
TreeWalker.getCurrentNode() |
Node |
TreeWalker.getRoot() |
Node |
NodeIterator.getRoot() |
Node |
TreeWalker.lastChild() |
Node |
TreeWalker.nextNode() |
Node |
NodeIterator.nextNode() |
Node |
TreeWalker.nextSibling() |
Node |
TreeWalker.parentNode() |
Node |
TreeWalker.previousNode() |
Node |
NodeIterator.previousNode() |
Node |
TreeWalker.previousSibling() |
| Modifier and Type | Method and Description |
|---|---|
short |
NodeFilter.acceptNode(Node n) |
NodeIterator |
DocumentTraversal.createNodeIterator(Node root,
int whatToShow,
NodeFilter filter,
boolean entityReferenceExpansion) |
TreeWalker |
DocumentTraversal.createTreeWalker(Node root,
int whatToShow,
NodeFilter filter,
boolean entityReferenceExpansion) |
void |
TreeWalker.setCurrentNode(Node currentNode) |
Copyright © 2016. All Rights Reserved.