com.jclark.xsl.expr
Class FilterPattern

java.lang.Object
  |
  +--com.jclark.xsl.expr.PathPatternBase
        |
        +--com.jclark.xsl.expr.FilterPattern
All Implemented Interfaces:
PathPattern, Pattern, TopLevelPattern

class FilterPattern
extends PathPatternBase


Nested Class Summary
(package private)  class FilterPattern.Context
           
 
Constructor Summary
(package private) FilterPattern(PathPatternBase pattern, BooleanExpr predicate)
           
 
Method Summary
 PathPattern[] getAlternatives()
           
 int getDefaultPriority()
           
(package private)  Name getMatchName()
           
(package private)  byte getMatchNodeType()
           
 boolean matches(Node node, ExprContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterPattern

FilterPattern(PathPatternBase pattern,
              BooleanExpr predicate)
Method Detail

matches

public boolean matches(Node node,
                       ExprContext context)
                throws XSLException
XSLException

getDefaultPriority

public int getDefaultPriority()

getMatchName

Name getMatchName()
Overrides:
getMatchName in class PathPatternBase

getMatchNodeType

byte getMatchNodeType()
Specified by:
getMatchNodeType in class PathPatternBase

getAlternatives

public PathPattern[] getAlternatives()
Specified by:
getAlternatives in interface TopLevelPattern