org.exist.xquery
Class NameTest

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

public class NameTest
extends TypeTest


Constructor Summary
NameTest(int type, QName name)
           
 
Method Summary
 void dump(ExpressionDumper dumper)
           
 QName getName()
          The method getName
 boolean isWildcardTest()
          The method isWildcardTest
 boolean matches(Node other)
          The method matches
 boolean matches(NodeProxy proxy)
          The method matches
 boolean matches(XMLStreamReader reader)
           
 boolean matchesName(Node other)
           
 String toString()
           
 
Methods inherited from class org.exist.xquery.TypeTest
getType, setType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameTest

public NameTest(int type,
                QName name)
Method Detail

getName

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

Specified by:
getName in interface NodeTest
Overrides:
getName in class TypeTest
Returns:
a QName value

matches

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

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

matches

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

Specified by:
matches in interface NodeTest
Overrides:
matches in class TypeTest
Parameters:
other - a Node value
Returns:
a boolean value

matchesName

public boolean matchesName(Node other)

matches

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

isWildcardTest

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

Specified by:
isWildcardTest in interface NodeTest
Overrides:
isWildcardTest in class TypeTest
Returns:
a boolean value

dump

public void dump(ExpressionDumper dumper)

toString

public String toString()
Overrides:
toString in class TypeTest


Copyright (C) Wolfgang Meier. All rights reserved.