Package net.sf.saxon.tree.util


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.

  • Class
    Description
    AttributeCollectionImpl is an implementation of the SAX2 interface Attributes.
    This class (which has one instance per Configuration) is used to allocate unique document numbers.
    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).
    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.
    The Navigator class provides helper classes for navigating a tree, irrespective of its implementation
    General-purpose implementation of the ancestor and ancestor-or-self axes
    AxisFilter is an iterator that applies a NodeTest filter to the nodes returned by an underlying AxisIterator.
    A class that delivers the children of a node as a Java Iterable
    General-purpose implementation of the descendant and descendant-or-self axes, in terms of the child axis.
    EmptyTextFilter is an iterator that applies removes any zero-length text nodes returned by an underlying AxisIterator.
    General purpose implementation of the following axis, in terms of the ancestor, child, and following-sibling axes
    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.
    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 is used to parse pseudo-attributes within Processing Instructions.
    The SteppingNavigator is a utility class containing methods to assist with navigating a tree whose nodes implement the SteppingNode interface
    An iterator over the descendant or descendant-or-self axis
    This interface can be implemented by an implementation of NodeInfo to take advantage of a generic implementation of the descendant axis found in class SteppingNavigator