com.jclark.xsl.expr
Class ParentPattern
- PathPattern, Pattern, TopLevelPattern
(package private) class ParentPattern
represents the concatenation of step patterns, right to left
in a LocationPathPattern
int | getDefaultPriority() - priority when used in XSLT template match pattern
|
(package private) Name | getMatchName() - gets the rightmost (final) step's matchNodeType
|
(package private) 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!
|
ParentPattern
(package private) ParentPattern(PathPatternBase childPattern,
Pattern parentPattern)
construct with a new stepPattern: childPattern and a previous parentPattern
matches
public boolean matches(Node node,
ExprContext context)
throws XSLException
if the rightmost step matches, and our parentPattern's matches() returns true for
this node's parent then we have a winner!
- matches in interface Pattern