com.jclark.xsl.expr

Interface Pattern

Known Subinterfaces:
PathPattern, TopLevelPattern
Known Implementing Classes:
AlternativesPattern, AnyElementOrAttributeTest, AttributeTest, ElementOrAttributeTest, ElementTest, FilterPattern, IdPattern, InheritPattern, KeyPattern, NamespaceAttributeTest, NamespaceElementTest, NamespaceTest, NodeTypeTest, ParentPattern, PathPatternBase, ProcessingInstructionTest

public interface Pattern

an XPATH (XSLT) match pattern

Method Summary

boolean
matches(Node node, ExprContext context)
return true if the given node matches this pattern when evaluated in the given ExpressionContext

Method Details

matches

public boolean matches(Node node,
                       ExprContext context)
            throws XSLException
return true if the given node matches this pattern when evaluated in the given ExpressionContext