net.sf.swan.xpath.pattern
Class NodeTypeTest

java.lang.Object
  |
  +--net.sf.swan.xpath.pattern.NodeTest
        |
        +--net.sf.swan.xpath.pattern.NodeTypeTest
All Implemented Interfaces:
NodeTypes, Pattern

public class NodeTypeTest
extends NodeTest


Fields inherited from interface net.sf.swan.xpath.pattern.NodeTypes
ANY_NODE, ATTRIBUTE_NODE, COMMENT_NODE, DOCUMENT_NODE, ELEMENT_NODE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE
 
Constructor Summary
NodeTypeTest(short nodeType)
           
 
Method Summary
 double getDefaultPriority()
           
 short getMatchNodeType()
           
 boolean match(java.lang.Object node, org.jaxen.ContextSupport support)
           
 
Methods inherited from class net.sf.swan.xpath.pattern.NodeTest
getMatchNodeName, getNodeTypeName, simplify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTypeTest

public NodeTypeTest(short nodeType)
Method Detail

match

public boolean match(java.lang.Object node,
                     org.jaxen.ContextSupport support)
Overrides:
match in class NodeTest

getDefaultPriority

public double getDefaultPriority()

getMatchNodeType

public short getMatchNodeType()