|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.path.Test
org.basex.query.path.NodeTest
public class NodeTest
Extended node test.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.path.Test |
---|
Test.Mode |
Field Summary |
---|
Fields inherited from class org.basex.query.path.Test |
---|
ATT, COM, DOC, ELM, mode, name, NOD, NSP, PI, TXT, type |
Constructor Summary | |
---|---|
NodeTest(NodeType nt,
QNm nm)
Constructor. |
|
NodeTest(NodeType nt,
QNm nm,
Type et,
boolean st)
Constructor. |
|
NodeTest(QNm nm)
Convenience constructor for element tests. |
Method Summary | |
---|---|
Test |
copy()
Copies this test. |
boolean |
eq(ANode node)
Tests if the test yields true. |
Test |
intersect(Test other)
Computes the intersection between two tests. |
java.lang.String |
toString()
|
Methods inherited from class org.basex.query.path.Test |
---|
compile, eq, get, nsSensitive, sameAs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeTest(QNm nm)
nm
- node namepublic NodeTest(NodeType nt, QNm nm)
nt
- node typenm
- optional node namepublic NodeTest(NodeType nt, QNm nm, Type et, boolean st)
nt
- node typenm
- optional node nameet
- extended node typest
- strip flag; only relevant if specified type is xs:untyped
Method Detail |
---|
public Test copy()
Test
copy
in class Test
public boolean eq(ANode node)
Test
eq
in class Test
node
- node to be checked
public java.lang.String toString()
toString
in class java.lang.Object
public Test intersect(Test other)
Test
intersect
in class Test
other
- other test
null
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |