net.sf.swan.xpath.pattern
Class NameTest

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

public class NameTest
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
NameTest(java.lang.String namespace, java.lang.String localName, short nodeType)
           
 
Method Summary
 double getDefaultPriority()
           
 java.lang.String getLocalName()
           
 java.lang.String getMatchNodeName()
           
 short getMatchNodeType()
           
 java.lang.String getNamespaceUri()
           
 boolean match(java.lang.Object node, org.jaxen.ContextSupport support)
           
 
Methods inherited from class net.sf.swan.xpath.pattern.NodeTest
getNodeTypeName, simplify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameTest

public NameTest(java.lang.String namespace,
                java.lang.String localName,
                short nodeType)
Method Detail

match

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

getNamespaceUri

public java.lang.String getNamespaceUri()

getLocalName

public java.lang.String getLocalName()

getDefaultPriority

public double getDefaultPriority()

getMatchNodeType

public short getMatchNodeType()

getMatchNodeName

public java.lang.String getMatchNodeName()
Overrides:
getMatchNodeName in class NodeTest