package com.hp.hpl.sparta.xpath;

/**
 * Compare attribute relative to integer.
 *
   <blockquote><small> Copyright (C) 2002 Hewlett-Packard Company.
   This file is part of Sparta, an XML Parser, DOM, and XPath library.
   This library is free software; you can redistribute it and/or
   modify it under the terms of the <a href="doc-files/LGPL.txt">GNU
   Lesser General Public License</a> as published by the Free Software
   Foundation; either version 2.1 of the License, or (at your option)
   any later version.  This library is distributed in the hope that it
   will be useful, but WITHOUT ANY WARRANTY; without even the implied
   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
   PURPOSE. </small></blockquote>
   @version  $Date: 2005-06-08 13:47:38 +0900 $  $Revision: 3192 $
   @author Eamonn O'Brien-Strain
 */
public abstract class AttrRelationalExpr extends AttrExpr
{

    AttrRelationalExpr(String attrName, int attrValue){
        super(attrName);
        attrValue_ = attrValue;
    }
    public long getAttrValue(){
        return attrValue_;
    }
    protected String toString(String op){
        return "["+super.toString()+op+"\'"+attrValue_+"\']";
    }
    private final int attrValue_;

}

// $Log: AttrRelationalExpr.java,v $
// Revision 1.1  2005/01/24 06:42:52  go
// 新規登録
//
// Revision 1.1  2005/01/24 04:16:28  go
// 新規登録
//
// Revision 1.1  2005/01/11 18:29:35  go
// 実機稼動対応
//
// Revision 1.1.1.1  2004/12/02 23:20:43  go
// import to haw cvs
//
// Revision 1.1  2002/10/30 16:16:52  eobrain
// initial
//
