com.jclark.xsl.expr
class NodeTypeTest extends PathPatternBase
| Constructor Summary | |
|---|---|
| NodeTypeTest(byte type)
construct with one of the constants from om.Node | |
| Method Summary | |
|---|---|
| int | getDefaultPriority() |
| byte | getMatchNodeType() |
| boolean | matches(Node node, ExprContext context)
return true if this represents the "node()" test, else
return true if the node's type matches the test |
Returns: one of the constants on om.Node ... the type of node we match