com.jclark.xsl.expr
Class ParentPattern

java.lang.Object
  extended by com.jclark.xsl.expr.PathPatternBase
      extended by com.jclark.xsl.expr.ParentPattern
All Implemented Interfaces:
PathPattern, Pattern, TopLevelPattern

 class ParentPattern
extends PathPatternBase


Constructor Summary
ParentPattern(PathPatternBase childPattern, Pattern parentPattern)
           
 
Method Summary
 int getDefaultPriority()
           
(package private)  Name getMatchName()
           
(package private)  byte getMatchNodeType()
           
 boolean matches(Node node, ExprContext context)
           
 
Methods inherited from class com.jclark.xsl.expr.PathPatternBase
getAlternatives
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParentPattern

ParentPattern(PathPatternBase childPattern,
              Pattern parentPattern)
Method Detail

matches

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

getDefaultPriority

public int getDefaultPriority()

getMatchName

Name getMatchName()
Overrides:
getMatchName in class PathPatternBase

getMatchNodeType

byte getMatchNodeType()
Specified by:
getMatchNodeType in class PathPatternBase