Interface XPathVisitable

All Known Implementing Classes:
And, AttributeIterator, AxesWalker, BasicTestIterator, Bool, ChildIterator, ChildTestIterator, ContextMatchStepPattern, DescendantIterator, Div, Equals, Expression, FilterExprWalker, FuncBoolean, FuncCeiling, FuncConcat, FuncContains, FuncCount, FuncFalse, FuncFloor, FuncId, FuncLang, FuncLast, FuncLocalPart, FuncNamespace, FuncNormalizeSpace, FuncNot, FuncNumber, FuncPosition, FuncQname, FuncRound, FuncStartsWith, FuncString, FuncStringLength, FuncSubstring, FuncSubstringAfter, FuncSubstringBefore, FuncSum, Function, Function2Args, Function3Args, FunctionDef1Arg, FunctionMultiArgs, FunctionOneArg, FunctionPattern, FuncTranslate, FuncTrue, Gt, Gte, LocPathIterator, Lt, Lte, Minus, Mod, Mult, Neg, NodeSequence, NodeTest, NotEquals, Number, OneStepIterator, OneStepIteratorForward, Operation, Or, Plus, PredicatedNodeTest, ReverseAxesWalker, SelfIteratorNoPredicate, StepPattern, String, UnaryOperation, UnionChildIterator, UnionPathIterator, UnionPattern, WalkingIterator, WalkingIteratorSorted, XBoolean, XBooleanStatic, XNodeSet, XNumber, XObject, XString

public interface XPathVisitable
A class that implements this interface will call a XPathVisitor for itself and members within its hierarchy. If the XPathVisitor's method returns false, the sub-member hierarchy will not be traversed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This will traverse the hierarchy, calling the visitor for each member.
  • Method Details

    • callVisitors

      void callVisitors(XPathVisitor visitor)
      This will traverse the hierarchy, calling the visitor for each member. If the called visitor method returns false, the subtree should not be called.
      Parameters:
      visitor - The visitor whose appropriate method will be called.