1. package org.apache.xalan.templates;
  2. /**
  3. * A class that implements this interface will call a XSLTVisitor
  4. * for itself and members within it's heararchy. If the XSLTVistor's
  5. * method returns false, the sub-member heararchy will not be
  6. * traversed.
  7. */
  8. public interface XSLTVisitable
  9. {
  10. /**
  11. * This will traverse the heararchy, calling the visitor for
  12. * each member. If the called visitor method returns
  13. * false, the subtree should not be called.
  14. *
  15. * @param visitor The visitor whose appropriate method will be called.
  16. */
  17. public void callVisitors(XSLTVisitor visitor);
  18. }