|
Qizx/Open v0.4p2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.xfra.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()
toString in class java.lang.Objectpublic int getNodeKind()
NodeTest
getNodeKind in interface NodeTestpublic boolean staticallyCheckable()
NodeTest
staticallyCheckable in interface NodeTest
public boolean accepts(int nodeKind,
QName nodeName)
NodeTestNodeTest.needsNode().
accepts in interface NodeTestpublic boolean needsNode()
NodeTest
needsNode in interface NodeTestpublic boolean accepts(Node node)
NodeTest
accepts in interface NodeTest
|
Copyright Xavier FRANC 2003-2004 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||