com.jclark.xsl.expr
Class NodeTypeTest

java.lang.Object
  extended by com.jclark.xsl.expr.PathPatternBase
      extended by com.jclark.xsl.expr.NodeTypeTest
All Implemented Interfaces:
PathPattern, Pattern, TopLevelPattern

 class NodeTypeTest
extends PathPatternBase


Constructor Summary
NodeTypeTest(byte type)
           
 
Method Summary
 int getDefaultPriority()
           
(package private)  byte getMatchNodeType()
           
 boolean matches(Node node, ExprContext context)
           
 
Methods inherited from class com.jclark.xsl.expr.PathPatternBase
getAlternatives, getMatchName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTypeTest

NodeTypeTest(byte type)
Method Detail

matches

public boolean matches(Node node,
                       ExprContext context)

getMatchNodeType

byte getMatchNodeType()
Specified by:
getMatchNodeType in class PathPatternBase

getDefaultPriority

public int getDefaultPriority()