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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
nodeName
protected final QName nodeName
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(org.w3c.dom.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(org.w3c.dom.Node other)
matches
public boolean matches(javax.xml.stream.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 java.lang.String toString()
- Overrides:
toString in class TypeTest