|
Qizx/open API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.axyana.qizxopen.dm.UnionNodeTest
Logical OR of two NodeTests.
Field Summary | |
NodeTest |
t1
|
NodeTest |
t2
|
Constructor Summary | |
UnionNodeTest(NodeTest t1,
NodeTest t2)
|
Method Summary | |
boolean |
accepts(int nodeKind,
QName nodeName)
Optimized test method. |
boolean |
accepts(Node node)
Generic test method. |
int |
getNodeKind()
Returns the node kind (Node.ELEMENT, Node.TEXT etc) specifically matched, or -1 if several kinds can be matched. |
boolean |
needsNode()
Tells whether more information than the node kind and its name are necessary to perform the test. |
boolean |
staticallyCheckable()
Returns true for simple node test (node kind only). |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public NodeTest t1
public NodeTest t2
Constructor Detail |
public UnionNodeTest(NodeTest t1, NodeTest t2)
Method Detail |
public java.lang.String toString()
public int getNodeKind()
NodeTest
getNodeKind
in interface NodeTest
public boolean staticallyCheckable()
NodeTest
staticallyCheckable
in interface NodeTest
public boolean accepts(int nodeKind, QName nodeName)
NodeTest
NodeTest.needsNode()
.
accepts
in interface NodeTest
public boolean needsNode()
NodeTest
needsNode
in interface NodeTest
public boolean accepts(Node node)
NodeTest
accepts
in interface NodeTest
|
© 2005 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |