java.io.Serializable
, java.lang.Cloneable
, java.lang.Iterable<PathMap.PathMapNode>
, java.util.Collection<PathMap.PathMapNode>
, java.util.Set<PathMap.PathMapNode>
public static class PathMap.PathMapNodeSet extends java.util.HashSet<PathMap.PathMapNode>
Constructor | Description |
---|---|
PathMapNodeSet() |
Create an initially-empty set of path map nodes
|
PathMapNodeSet(PathMap.PathMapNode singleton) |
Create a set of path map nodes that initially contains a single node
|
Modifier and Type | Method | Description |
---|---|---|
void |
addDescendants() |
Indicate that all the descendants of the nodes in this nodeset are required
|
void |
addNodeSet(PathMap.PathMapNodeSet nodes) |
Combine two node sets into one
|
boolean |
allPathsAreWithinStreamableSnapshot() |
Determine whether the path is entirely within a streamable snapshot of a streamed document:
that is, it must only navigate to ancestors and to attributes of ancestors
|
PathMap.PathMapNodeSet |
createArc(byte axis,
NodeTest test) |
Create an arc from each node in this node set to a corresponding newly-created
target node
|
boolean |
hasReachableReturnables() |
Test whether there are any returnable nodes reachable from nodes in this nodeset
|
void |
setAtomized() |
Set the atomized property on all nodes in this nodeset
|
void |
setHasUnknownDependencies() |
Indicate that all the nodes have unknown dependencies
|
void |
setReturnable(boolean isReturned) |
Set the returnable property on all nodes in this nodeset
|
addAll, containsAll, retainAll, toArray, toArray, toString
add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator
public PathMapNodeSet()
public PathMapNodeSet(PathMap.PathMapNode singleton)
singleton
- the single node to act as the initial contentpublic PathMap.PathMapNodeSet createArc(byte axis, NodeTest test)
axis
- the axis of the step defining the transitiontest
- the node test of the step defining the transitionpublic void addNodeSet(PathMap.PathMapNodeSet nodes)
nodes
- the set of nodes to be added to this setpublic void setAtomized()
public void setReturnable(boolean isReturned)
public boolean hasReachableReturnables()
public boolean allPathsAreWithinStreamableSnapshot()
public void addDescendants()
public void setHasUnknownDependencies()