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()
NodeSetData
NodeSetData
in
document order. Attempts to modify the returned iterator
via the remove
method throw
UnsupportedOperationException
.iterator
in interface NodeSetData
Iterator
over the nodes in this
NodeSetData
in document orderpublic Node getRoot()
public boolean excludeComments()
Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.