Package net.sf.saxon.tree.util
This package provides a number of re-usable utility classes and methods used by more than one tree model implementation.
-
Interface Summary Interface Description SteppingNode This interface can be implemented by an implementation of NodeInfo to take advantage of a generic implementation of the descendant axis found in classSteppingNavigator
-
Class Summary Class Description AttributeCollectionImpl AttributeCollectionImpl is an implementation of the SAX2 interface Attributes.DocumentNumberAllocator This class (which has one instance per Configuration) is used to allocate unique document numbers.IndexedStack<T> This class replicates functionality that is available in a Java Stack, but not in a C# Stack, for example the ability to access elements by direct index (0-based, counting from the bottom of the stack).NamespaceResolverWithDefault This class is a NamespaceResolver that modifies an underyling NamespaceResolver by changing the mapping of the null prefix to be a specified namespace, rather than the one used by the underlying namespace resolver.Navigator The Navigator class provides helper classes for navigating a tree, irrespective of its implementationNavigator.AncestorEnumeration General-purpose implementation of the ancestor and ancestor-or-self axesNavigator.AxisFilter AxisFilter is an iterator that applies a NodeTest filter to the nodes returned by an underlying AxisIterator.Navigator.ChildrenAsIterable A class that delivers the children of a node as a Java IterableNavigator.DescendantEnumeration General-purpose implementation of the descendant and descendant-or-self axes, in terms of the child axis.Navigator.EmptyTextFilter EmptyTextFilter is an iterator that applies removes any zero-length text nodes returned by an underlying AxisIterator.Navigator.FollowingEnumeration General purpose implementation of the following axis, in terms of the ancestor, child, and following-sibling axesNavigator.PrecedingEnumeration Helper method to iterate over the preceding axis, or Saxon's internal preceding-or-ancestor axis, by making use of the ancestor, descendant, and preceding-sibling axes.Orphan A node (implementing the NodeInfo interface) representing an attribute, text node, comment, processing instruction, or namespace that has no parent (and of course no children).ProcInstParser ProcInstParser is used to parse pseudo-attributes within Processing Instructions.SteppingNavigator The SteppingNavigator is a utility class containing methods to assist with navigating a tree whose nodes implement theSteppingNode
interfaceSteppingNavigator.DescendantAxisIterator An iterator over the descendant or descendant-or-self axis