jd.xml.xslt.pattern
Class NumberCountPattern

java.lang.Object
  extended byjd.xml.xslt.pattern.Pattern
      extended byjd.xml.xslt.pattern.NumberCountPattern

public class NumberCountPattern
extends Pattern

NumberCountPattern is a pattern used by a NumberTemplate.


Constructor Summary
NumberCountPattern(XPathNode node)
           
 
Method Summary
 void accept(PatternVisitor visitor)
          Accept a PatternVisitor.
 boolean match(XPathContext context)
          Test if the context node matches the pattern.
 
Methods inherited from class jd.xml.xslt.pattern.Pattern
calculatePriority, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumberCountPattern

public NumberCountPattern(XPathNode node)
Method Detail

match

public boolean match(XPathContext context)
Test if the context node matches the pattern.

Specified by:
match in class Pattern

accept

public void accept(PatternVisitor visitor)
Accept a PatternVisitor.

Specified by:
accept in class Pattern