01: package com.rimfaxe.xml.xmlreader.xpath;
02:
03: /** A '@attrName < "n"' test.
04:
05: <blockquote><small> Copyright (C) 2002 Hewlett-Packard Company.
06: This file is part of Sparta, an XML Parser, DOM, and XPath library.
07: This library is free software; you can redistribute it and/or
08: modify it under the terms of the <a href="doc-files/LGPL.txt">GNU
09: Lesser General Public License</a> as published by the Free Software
10: Foundation; either version 2.1 of the License, or (at your option)
11: any later version. This library is distributed in the hope that it
12: will be useful, but WITHOUT ANY WARRANTY; without even the implied
13: warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14: PURPOSE. </small></blockquote>
15: @version $Date: 2002/10/30 16:27:27 $ $Revision: 1.2 $
16: @author Eamonn O'Brien-Strain
17: */
18: public class AttrLessExpr extends AttrRelationalExpr {
19:
20: /**
21: * Constructor for AttrLessThanExpr.
22: * @param attrName
23: * @param attrValue
24: */
25: public AttrLessExpr(String attrName, double attrValue) {
26: super (attrName, attrValue);
27: }
28:
29: /**
30: * @see com.hp.hpl.sparta.xpath.BooleanExpr#accept(BooleanExprVisitor)
31: */
32: public void accept(BooleanExprVisitor visitor)
33: throws XPathException {
34: visitor.visit(this );
35: }
36:
37: public String toString() {
38: return toString("<");
39: }
40: }
|