Top Description Interfaces Classes
module java.xml

Package com.sun.org.apache.xpath.internal.axes


Implementation of XPath LocationPath support -- primary classes are LocPathIterator and UnionPathIterator.

Interface Summary

Modifier and TypeInterface and Description
public interface
ContextNodeList

Classes who implement this interface can be a current node list, also refered to here as a context node list.

public interface
PathComponent

Classes who implement this information provide information needed for static analysis of a path component.

public interface
SubContextList

A class that implements this interface is a sub context node list, meaning it is a node list for a location path step for a predicate.

Class Summary

Modifier and TypeClass and Description
public class
AttributeIterator

This class implements an optimized iterator for attribute axes patterns.

public class
AxesWalker

Serves as common interface for axes Walkers, and stores common state variables.

public abstract class
BasicTestIterator

Base for iterators that handle predicates.

public class
ChildIterator

This class implements an optimized iterator for "node()" patterns, that is, any children of the context node.

public class
ChildTestIterator

This class implements an optimized iterator for children patterns that have a node test, and possibly a predicate.

public class
DescendantIterator

This class implements an optimized iterator for descendant, descendant-or-self, or "//foo" patterns.

public class
public class
FilterExprIteratorSimple

Class to use for one-step iteration that doesn't have a predicate, and doesn't need to set the context.

public class
FilterExprWalker

Walker for the OP_VARIABLE, or OP_EXTFUNCTION, or OP_FUNCTION, or OP_GROUP, op codes.

public class
public class
IteratorPool

Pool of object of a given type to pick from to help memory usage

public abstract class
LocPathIterator

This class extends NodeSetDTM, which implements NodeIterator, and fetches nodes one at a time in document order based on a XPath LocationPath.

public class
MatchPatternIterator

This class treats a LocationPath as a filtered iteration over the tree, evaluating each node in a super axis traversal against the LocationPath interpreted as a match pattern.

public class
NodeSequence

This class is the dynamic wrapper for a Xalan DTMIterator instance, and provides random access capabilities.

public class
OneStepIterator

This class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate.

public class
OneStepIteratorForward

This class implements a general iterator for those LocationSteps with only one step, and perhaps a predicate, that only go forward (i.e. it can not be used with ancestors, preceding, etc.)

public abstract class
public class
ReverseAxesWalker

Walker for a reverse axes.

public class
public class
SelfIteratorNoPredicate

This class implements an optimized iterator for "." patterns, that is, the self axes without any predicates.

public class
UnionChildIterator

This class defines a simplified type of union iterator that only tests along the child axes.

public class
UnionPathIterator

This class extends NodeSetDTM, which implements DTMIterator, and fetches nodes one at a time in document order based on a XPath UnionExpr.

public class
WalkerFactory

This class is both a factory for XPath location path expressions, which are built from the opcode map output, and an analysis engine for the location path expressions in order to provide optimization hints.

public class
WalkingIterator

Location path iterator that uses Walkers.

public class
WalkingIteratorSorted

This class iterates over set of nodes that needs to be sorted.