org.exist.xquery
Class AnyNodeTest

java.lang.Object
  extended by org.exist.xquery.AnyNodeTest
All Implemented Interfaces:
NodeTest

public class AnyNodeTest
extends Object
implements NodeTest

The class AnyNodeTest

Author:
Wolfgang Meier (wolfgang@exist-db.org)

Constructor Summary
AnyNodeTest()
           
 
Method Summary
 void dump(ExpressionDumper dumper)
           
 QName getName()
          The method getName
 int getType()
          The method getType
 boolean isWildcardTest()
          The method isWildcardTest
 boolean matches(Node node)
          The method matches
 boolean matches(NodeProxy proxy)
          The method matches
 boolean matches(XMLStreamReader reader)
           
 void setType(int nodeType)
          The method setType
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnyNodeTest

public AnyNodeTest()
Method Detail

getName

public QName getName()
Description copied from interface: NodeTest
The method getName

Specified by:
getName in interface NodeTest
Returns:
a QName value

isWildcardTest

public boolean isWildcardTest()
Description copied from interface: NodeTest
The method isWildcardTest

Specified by:
isWildcardTest in interface NodeTest
Returns:
a boolean value

matches

public boolean matches(Node node)
Description copied from interface: NodeTest
The method matches

Specified by:
matches in interface NodeTest
Parameters:
node - a Node value
Returns:
a boolean value

matches

public boolean matches(NodeProxy proxy)
Description copied from interface: NodeTest
The method matches

Specified by:
matches in interface NodeTest
Parameters:
proxy - a NodeProxy value
Returns:
a boolean value

matches

public boolean matches(XMLStreamReader reader)
Specified by:
matches in interface NodeTest

dump

public void dump(ExpressionDumper dumper)

toString

public String toString()
Overrides:
toString in class Object

setType

public void setType(int nodeType)
Description copied from interface: NodeTest
The method setType

Specified by:
setType in interface NodeTest
Parameters:
nodeType - an int value

getType

public int getType()
Description copied from interface: NodeTest
The method getType

Specified by:
getType in interface NodeTest
Returns:
an int value


Copyright (C) Wolfgang Meier. All rights reserved.