org.w3c.dom.traversal
4 classes of the module java.xml.
Load them with:
using {
"org.w3c.dom.traversal"
}
DocumentTraversal#
interface · org.w3c.dom.traversal.DocumentTraversal
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createNodeIterator | createNodeIterator(root,whatToShow,filter,entityReferenceExpansion) | NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) |
createTreeWalker | createTreeWalker(root,whatToShow,filter,entityReferenceExpansion) | TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) |
NodeFilter#
interface · org.w3c.dom.traversal.NodeFilter
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FILTER_ACCEPT | short | constant · static | o.FILTER_ACCEPT |
FILTER_REJECT | short | constant · static | o.FILTER_REJECT |
FILTER_SKIP | short | constant · static | o.FILTER_SKIP |
SHOW_ALL | int | constant · static | o.SHOW_ALL |
SHOW_ELEMENT | int | constant · static | o.SHOW_ELEMENT |
SHOW_ATTRIBUTE | int | constant · static | o.SHOW_ATTRIBUTE |
SHOW_TEXT | int | constant · static | o.SHOW_TEXT |
SHOW_CDATA_SECTION | int | constant · static | o.SHOW_CDATA_SECTION |
SHOW_ENTITY_REFERENCE | int | constant · static | o.SHOW_ENTITY_REFERENCE |
SHOW_ENTITY | int | constant · static | o.SHOW_ENTITY |
SHOW_PROCESSING_INSTRUCTION | int | constant · static | o.SHOW_PROCESSING_INSTRUCTION |
SHOW_COMMENT | int | constant · static | o.SHOW_COMMENT |
SHOW_DOCUMENT | int | constant · static | o.SHOW_DOCUMENT |
SHOW_DOCUMENT_TYPE | int | constant · static | o.SHOW_DOCUMENT_TYPE |
SHOW_DOCUMENT_FRAGMENT | int | constant · static | o.SHOW_DOCUMENT_FRAGMENT |
SHOW_NOTATION | int | constant · static | o.SHOW_NOTATION |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
acceptNode | acceptNode(n) | short acceptNode(Node n) |
NodeIterator#
interface · org.w3c.dom.traversal.NodeIterator
Methods
| Method | Ring call | Java overloads |
|---|---|---|
detach | detach() | void detach() |
getExpandEntityReferences | getExpandEntityReferences() | boolean getExpandEntityReferences() |
getFilter | getFilter() | NodeFilter getFilter() |
getRoot | getRoot() | Node getRoot() |
getWhatToShow | getWhatToShow() | int getWhatToShow() |
nextNode | nextNode() | Node nextNode() |
previousNode | previousNode() | Node previousNode() |
TreeWalker#
interface · org.w3c.dom.traversal.TreeWalker
Methods
| Method | Ring call | Java overloads |
|---|---|---|
firstChild | firstChild() | Node firstChild() |
getCurrentNode | getCurrentNode() | Node getCurrentNode() |
getExpandEntityReferences | getExpandEntityReferences() | boolean getExpandEntityReferences() |
getFilter | getFilter() | NodeFilter getFilter() |
getRoot | getRoot() | Node getRoot() |
getWhatToShow | getWhatToShow() | int getWhatToShow() |
lastChild | lastChild() | Node lastChild() |
nextNode | nextNode() | Node nextNode() |
nextSibling | nextSibling() | Node nextSibling() |
parentNode | parentNode() | Node parentNode() |
previousNode | previousNode() | Node previousNode() |
previousSibling | previousSibling() | Node previousSibling() |
setCurrentNode | setCurrentNode(currentNode) | void setCurrentNode(Node currentNode) |