org.exist.xquery
Class TypeTest
java.lang.Object
org.exist.xquery.TypeTest
- All Implemented Interfaces:
- NodeTest
- Direct Known Subclasses:
- NameTest
- public class TypeTest
- extends java.lang.Object
- implements NodeTest
Tests if a node is of a given node type.
- Author:
- Wolfgang Meier (wolfgang@exist-db.org)
|
Constructor Summary |
TypeTest(int nodeType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
nodeType
protected int nodeType
TypeTest
public TypeTest(int nodeType)
setType
public void setType(int nodeType)
- Specified by:
setType in interface NodeTest
getType
public int getType()
- Specified by:
getType in interface NodeTest
getName
public QName getName()
- Specified by:
getName in interface NodeTest
isOfType
protected boolean isOfType(short type)
toString
public java.lang.String toString()
matches
public boolean matches(NodeProxy proxy)
- Specified by:
matches in interface NodeTest
matches
public boolean matches(org.w3c.dom.Node other)
- Specified by:
matches in interface NodeTest
isWildcardTest
public boolean isWildcardTest()
- Specified by:
isWildcardTest in interface NodeTest
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.