public class DOMSubTreeData extends Object implements NodeSetData
| Constructor and Description |
|---|
DOMSubTreeData(Node root,
boolean excludeComments) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
excludeComments() |
Node |
getRoot() |
Iterator |
iterator()
Returns a read-only iterator over the nodes contained in this
NodeSetData in
document order. |
public DOMSubTreeData(Node root, boolean excludeComments)
public Iterator iterator()
NodeSetDataNodeSetData in
document order. Attempts to modify the returned iterator
via the remove method throw
UnsupportedOperationException.iterator in interface NodeSetDataIterator over the nodes in this
NodeSetData in document orderpublic Node getRoot()
public boolean excludeComments()
Copyright © 2000–2023 The Apache Software Foundation. All rights reserved.