jd.xml.xslt.pattern
Class RootPattern

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

public class RootPattern
extends Pattern

RootPattern represents the root path pattern.


Field Summary
static Pattern INSTANCE
          The instance.
 
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
 

Field Detail

INSTANCE

public static final Pattern INSTANCE
The instance.

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