net.sf.saxon.expr

Class PathMap.PathMapNodeSet

public static class PathMap.PathMapNodeSet extends HashSet

A (mutable) set of nodes in the path map
Constructor Summary
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
Method Summary
voidaddDescendants()
Indicate that all the descendants of the nodes in this nodeset are required
voidaddNodeSet(PathMap.PathMapNodeSet nodes)
Combine two node sets into one
PathMap.PathMapNodeSetcreateArc(AxisExpression step)
Create an arc from each node in this node set to a corresponding newly-created target node
voidsetAtomized()
Set the atomized property on all nodes in this nodeset
voidsetHasUnknownDependencies()
Indicate that all the nodes have unknown dependencies

Constructor Detail

PathMapNodeSet

public PathMapNodeSet()
Create an initially-empty set of path map nodes

PathMapNodeSet

public PathMapNodeSet(PathMap.PathMapNode singleton)
Create a set of path map nodes that initially contains a single node

Parameters: singleton the single node to act as the initial content

Method Detail

addDescendants

public void addDescendants()
Indicate that all the descendants of the nodes in this nodeset are required

addNodeSet

public void addNodeSet(PathMap.PathMapNodeSet nodes)
Combine two node sets into one

Parameters: nodes the set of nodes to be added to this set

createArc

public PathMap.PathMapNodeSet createArc(AxisExpression step)
Create an arc from each node in this node set to a corresponding newly-created target node

Parameters: step the AxisExpression defining the transition

Returns: the set of new target nodes

setAtomized

public void setAtomized()
Set the atomized property on all nodes in this nodeset

setHasUnknownDependencies

public void setHasUnknownDependencies()
Indicate that all the nodes have unknown dependencies