net.sf.swan.xpath.pattern
Interface Pattern

All Superinterfaces:
NodeTypes
All Known Implementing Classes:
FunctionTestPattern, NodeTest, PredicatedPattern, UnionPattern

public interface Pattern
extends NodeTypes


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
 
Method Summary
 double getDefaultPriority()
           
 java.lang.String getMatchNodeName()
           
 short getMatchNodeType()
           
 boolean match(java.lang.Object node, org.jaxen.ContextSupport support)
           
 Pattern simplify()
           
 

Method Detail

match

public boolean match(java.lang.Object node,
                     org.jaxen.ContextSupport support)
              throws org.jaxen.JaxenException

getDefaultPriority

public double getDefaultPriority()

getMatchNodeType

public short getMatchNodeType()

getMatchNodeName

public java.lang.String getMatchNodeName()

simplify

public Pattern simplify()