Class NodeTest

Direct Known Subclasses:
AllElementTest, AttrTest, ElementTest, ParentNodeTest, TextTest, ThisNodeTest

public abstract class NodeTest
extends java.lang.Object

The test for a nodeset that appears before the optional [predicate] in an xpath step.

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.

$Date: 2002/08/19 05:04:04 $ $Revision: $
Eamonn O'Brien-Strain

Constructor Summary
Method Summary
abstract  void accept(Visitor visitor)
abstract  boolean isStringValue()
          Does this nodetest evaluate to a string values (attribute values or text() nodes)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public NodeTest()
Method Detail


public abstract void accept(Visitor visitor)
                     throws XPathException


public abstract boolean isStringValue()
Does this nodetest evaluate to a string values (attribute values or text() nodes)