01: /* Generated by Together */
02:
03: package com.rimfaxe.xml.xmlreader.xpath;
04:
05: /**
06: * Something that crawls over the parse tree. This is a participant
07: * in the Visitor Pattern [Gamma et al, #331]. You pass a visitor to
08: * the XPath.accept method which then passes it to all the nodes on
09: * the parse tree, each one of which calls back one of the visitor's
10: * visit methods.
11:
12: <blockquote><small> Copyright (C) 2002 Hewlett-Packard Company.
13: This file is part of Sparta, an XML Parser, DOM, and XPath library.
14: This library is free software; you can redistribute it and/or
15: modify it under the terms of the <a href="doc-files/LGPL.txt">GNU
16: Lesser General Public License</a> as published by the Free Software
17: Foundation; either version 2.1 of the License, or (at your option)
18: any later version. This library is distributed in the hope that it
19: will be useful, but WITHOUT ANY WARRANTY; without even the implied
20: warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
21: PURPOSE. </small></blockquote>
22: @version $Date: 2002/12/13 18:06:03 $ $Revision: 1.5 $
23: @author Eamonn O'Brien-Strain
24: * @stereotype visitor
25: */
26: public interface Visitor extends NodeTestVisitor, BooleanExprVisitor {
27:
28: }
29:
30: // $Log: Visitor.java,v $
31: // Revision 1.5 2002/12/13 18:06:03 eobrain
32: // Factor Visitor out into separate visitors for node tests and predicates.
33: //
34: // Revision 1.4 2002/12/05 04:34:38 eobrain
35: // Add support for greater than and less than relational expressions in predicates.
36: //
37: // Revision 1.3 2002/10/30 16:29:51 eobrain
38: // Feature request [ 630127 ] Support /a/b[text()='foo']
39: // http://sourceforge.net/projects/sparta-xml/
40: //
41: // Revision 1.2 2002/09/18 05:29:45 eobrain
42: // Support xpath predicates of the form [1], [2], ...
43: //
44: // Revision 1.1.1.1 2002/08/19 05:04:03 eobrain
45: // import from HP Labs internal CVS
46: //
47: // Revision 1.5 2002/08/18 23:39:21 eob
48: // Add copyright and other formatting and commenting in preparation for
49: // release to SourceForge.
50: //
51: // Revision 1.4 2002/06/14 19:35:12 eob
52: // Add handling of "text()" in XPath expressions.
53: //
54: // Revision 1.3 2002/06/04 05:27:34 eob
55: // Simplify use of visitor pattern to make code easier to understand.
56: //
57: // Revision 1.2 2002/02/04 22:12:29 eob
58: // Add handling of nodetest for attribute.
59: //
60: // Revision 1.1 2002/02/01 02:49:59 eob
61: // initial
|