net.sf.swan.xpath.pattern
Class NamespaceTest

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

public class NamespaceTest
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
NamespaceTest(java.lang.String namespace, 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

NamespaceTest

public NamespaceTest(java.lang.String namespace,
                     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()