|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jclark.xsl.expr.PathPatternBase
com.jclark.xsl.expr.ParentPattern
represents the concatenation of step patterns, right to left in a LocationPathPattern
Constructor Summary | |
(package private) |
ParentPattern(PathPatternBase childPattern,
Pattern parentPattern)
construct with a new stepPattern: childPattern and a previous parentPattern |
Method Summary | |
PathPattern[] |
getAlternatives()
by default, only return a list of length one (itself) |
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! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
ParentPattern(PathPatternBase childPattern, Pattern parentPattern)
Method Detail |
public boolean matches(Node node, ExprContext context) throws XSLException
XSLException
public int getDefaultPriority()
PathPattern
Name getMatchName()
getMatchName
in class PathPatternBase
byte getMatchNodeType()
getMatchNodeType
in class PathPatternBase
public PathPattern[] getAlternatives()
getAlternatives
in interface TopLevelPattern
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |