com.jclark.xsl.expr
Class ElementOrAttributeTest

java.lang.Object
  extended by com.jclark.xsl.expr.ElementOrAttributeTest
All Implemented Interfaces:
Pattern

 class ElementOrAttributeTest
extends java.lang.Object
implements Pattern


Constructor Summary
ElementOrAttributeTest(Name name)
           
 
Method Summary
 boolean matches(Node node, ExprContext context)
          return true if the given node matches this pattern when evaluated in the given ExpressionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementOrAttributeTest

ElementOrAttributeTest(Name name)
Method Detail

matches

public boolean matches(Node node,
                       ExprContext context)
Description copied from interface: Pattern
return true if the given node matches this pattern when evaluated in the given ExpressionContext

Specified by:
matches in interface Pattern