org.exist.xquery
Class NameTest
java.lang.Object
org.exist.xquery.TypeTest
org.exist.xquery.NameTest
- All Implemented Interfaces:
- NodeTest
public class NameTest
- extends TypeTest
NameTest
public NameTest(int type,
QName name)
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.