com.hp.hpl.sparta.xpath
Class PositionEqualsExpr

java.lang.Object
  |
  +--com.hp.hpl.sparta.xpath.BooleanExpr
        |
        +--com.hp.hpl.sparta.xpath.PositionEqualsExpr

public class PositionEqualsExpr
extends BooleanExpr

Test position within element list.

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 GNU Lesser General Public License 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.

Version:
$Date: 2002/09/18 05:22:06 $ $Revision: 1.1 $
Author:
Eamonn O'Brien-Strain

Constructor Summary
PositionEqualsExpr(int position)
           
 
Method Summary
 void accept(Visitor visitor)
           
 int getPosition()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PositionEqualsExpr

public PositionEqualsExpr(int position)
Method Detail

accept

public void accept(Visitor visitor)
            throws XPathException
Overrides:
accept in class BooleanExpr

getPosition

public int getPosition()