|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.xquery.TypeTest
public class TypeTest
Tests if a node is of a given node type.
Constructor Summary | |
---|---|
TypeTest(int nodeType)
|
Method Summary | |
---|---|
QName |
getName()
The method getName |
int |
getType()
The method getType |
boolean |
isWildcardTest()
The method isWildcardTest |
boolean |
matches(Node other)
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 |
---|
public TypeTest(int nodeType)
Method Detail |
---|
public void setType(int nodeType)
NodeTest
setType
setType
in interface NodeTest
nodeType
- an int
valuepublic int getType()
NodeTest
getType
getType
in interface NodeTest
int
valuepublic QName getName()
NodeTest
getName
getName
in interface NodeTest
QName
valuepublic String toString()
toString
in class Object
public boolean matches(NodeProxy proxy)
NodeTest
matches
matches
in interface NodeTest
proxy
- a NodeProxy
value
boolean
valuepublic boolean matches(Node other)
NodeTest
matches
matches
in interface NodeTest
other
- a Node
value
boolean
valuepublic boolean matches(XMLStreamReader reader)
matches
in interface NodeTest
public boolean isWildcardTest()
NodeTest
isWildcardTest
isWildcardTest
in interface NodeTest
boolean
value
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |