01: /* Generated by Together */
02:
03: package com.rimfaxe.xml.xmlreader.xpath;
04:
05: /** The test for a nodeset that appears before the optional
06: * [predicate] in an xpath step.
07:
08: <blockquote><small> Copyright (C) 2002 Hewlett-Packard Company.
09: This file is part of Sparta, an XML Parser, DOM, and XPath library.
10: This library is free software; you can redistribute it and/or
11: modify it under the terms of the <a href="doc-files/LGPL.txt">GNU
12: Lesser General Public License</a> as published by the Free Software
13: Foundation; either version 2.1 of the License, or (at your option)
14: any later version. This library is distributed in the hope that it
15: will be useful, but WITHOUT ANY WARRANTY; without even the implied
16: warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
17: PURPOSE. </small></blockquote>
18: @version $Date: 2002/08/19 05:04:04 $ $Revision: 1.1.1.1 $
19: @author Eamonn O'Brien-Strain
20: */
21: public abstract class NodeTest {
22:
23: public abstract void accept(Visitor visitor) throws XPathException;
24:
25: /** Does this nodetest evaluate to a string values (attribute values
26: or text() nodes)*/
27: public abstract boolean isStringValue();
28:
29: }
30:
31: // $Log: NodeTest.java,v $
32: // Revision 1.1.1.1 2002/08/19 05:04:04 eobrain
33: // import from HP Labs internal CVS
34: //
35: // Revision 1.3 2002/08/18 23:38:46 eob
36: // Add copyright and other formatting and commenting in preparation for
37: // release to SourceForge.
38: //
39: // Revision 1.2 2002/06/14 19:40:19 eob
40: // Make test for isStringValue more object-oriented. Avoid "instanceof".
41: //
42: // Revision 1.1 2002/02/01 01:25:00 eob
43: // initial
|