com.jclark.xsl.expr
class ParentPattern extends PathPatternBase
Constructor Summary | |
---|---|
ParentPattern(PathPatternBase childPattern, Pattern parentPattern)
construct with a new stepPattern: childPattern and a previous parentPattern |
Method Summary | |
---|---|
int | getDefaultPriority() |
Name | getMatchName()
gets the rightmost (final) step's matchNodeType |
byte | getMatchNodeType()
gets the rightmost (final) step's matchNodeType |
boolean | matches(Node node, ExprContext context)
if the rightmost step matches, and our parentPattern's matches() returns true for
this node's parent then we have a winner! |