This package defines a number of utility and helper classes for implementing tree models.
Navigator class provides many utility methods, for example to implement various
axes in terms
of other axes, and to support numbering.
Orphan class is a general-purpose implementation of a node with no parent, no
attributes, and no children.
Interface Summary Interface Description CharSequenceConsumerInterface that accepts a string in the form of a sequence of CharSequences, which are conceptually concatenated (though in some implementations, the final string may never be materialized in memory) SteppingNode<N extends SteppingNode>This interface can be implemented by an implementation of NodeInfo to take advantage of a generic implementation of the descendant axis found in class
Class Summary Class Description AttributeCollectionImplAttributeCollectionImpl is an implementation of the SAX2 interface Attributes. DocumentNumberAllocatorThis class (which has one instance per Configuration) is used to allocate unique document numbers. FastStringBufferA simple implementation of a class similar to StringBuffer. NamespaceResolverWithDefaultThis 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. NavigatorThe Navigator class provides helper classes for navigating a tree, irrespective of its implementation Navigator.AncestorEnumerationGeneral-purpose implementation of the ancestor and ancestor-or-self axes Navigator.AxisFilterAxisFilter is an iterator that applies a NodeTest filter to the nodes returned by an underlying AxisIterator. Navigator.DescendantEnumerationGeneral-purpose implementation of the descendant and descendant-or-self axes, in terms of the child axis. Navigator.EmptyTextFilterEmptyTextFilter is an iterator that applies removes any zero-length text nodes returned by an underlying AxisIterator. Navigator.FollowingEnumerationGeneral purpose implementation of the following axis, in terms of the ancestor, child, and following-sibling axes Navigator.PrecedingEnumerationHelper 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. OrphanA node (implementing the NodeInfo interface) representing an attribute, text node, comment, processing instruction, or namespace that has no parent (and of course no children). ProcInstParserProcInstParser is used to parse pseudo-attributes within Processing Instructions. SteppingNavigatorThe SteppingNavigator is a utility class containing methods to assist with navigating a tree whose nodes implement the
SteppingNavigator.DescendantAxisIterator<N extends SteppingNode<N>>An iterator over the descendant or descendant-or-self axis