Document.CreateNodeIterator
Contents
[
Hide
]CreateNodeIterator(Node)
Create a new NodeIterator over the subtree rooted at the specified node.
public INodeIterator CreateNodeIterator(Node root)
Parameter | Type | Description |
---|---|---|
root | Node | node which will be iterated together with its children. The iterator is initially positioned just before this node. The whatToShow flags and the filter, if any, are not considered when setting this position. The root must not be null. |
Return Value
The newly created NodeIterator.
Exceptions
exception | condition |
---|---|
dOMException | NOT_SUPPORTED_ERR: Raised if the specified root is null. |
See Also
- interface INodeIterator
- class Node
- class Document
- package com.aspose.html.Dom
- package Aspose.HTML
CreateNodeIterator(Node, long)
Create a new NodeIterator over the subtree rooted at the specified node.
public INodeIterator CreateNodeIterator(Node root, long whatToShow)
Parameter | Type | Description |
---|---|---|
root | Node | node which will be iterated together with its children. The iterator is initially positioned just before this node. The whatToShow flags and the filter, if any, are not considered when setting this position. The root must not be null. |
whatToShow | Int64 | flag specifies which node types may appear in the logical view of the tree presented by the iterator. See the description of NodeFilter for the set of possible SHOW_ values.These flags can be combined using OR. |
Return Value
The newly created NodeIterator.
Exceptions
exception | condition |
---|---|
dOMException | NOT_SUPPORTED_ERR: Raised if the specified root is null. |
See Also
- interface INodeIterator
- class Node
- class Document
- package com.aspose.html.Dom
- package Aspose.HTML
CreateNodeIterator(Node, long, INodeFilter)
Create a new NodeIterator over the subtree rooted at the specified node.
public INodeIterator CreateNodeIterator(Node root, long whatToShow, INodeFilter filter)
Parameter | Type | Description |
---|---|---|
root | Node | node which will be iterated together with its children. The iterator is initially positioned just before this node. The whatToShow flags and the filter, if any, are not considered when setting this position. The root must not be null. |
whatToShow | Int64 | flag specifies which node types may appear in the logical view of the tree presented by the iterator. See the description of NodeFilter for the set of possible SHOW_ values.These flags can be combined using OR. |
filter | INodeFilter | NodeFilter to be used with this TreeWalker, or null to indicate no filter. |
Return Value
The newly created NodeIterator.
Exceptions
exception | condition |
---|---|
dOMException | NOT_SUPPORTED_ERR: Raised if the specified root is null. |
See Also
- interface INodeIterator
- class Node
- interface INodeFilter
- class Document
- package com.aspose.html.Dom
- package Aspose.HTML