|
||||||||||
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.KeyPattern
represents an XSLT/XPath pattern of the form key('foo', 'bar')
Constructor Summary | |
(package private) |
KeyPattern(java.lang.String keyName,
java.lang.String keyVal)
|
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()
by default, returns null Element, Attribute and PI nodetype tests will override this |
(package private) byte |
getMatchNodeType()
|
boolean |
matches(Node node,
ExprContext context)
return true if the given node matches this pattern when evaluated in the given ExpressionContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
KeyPattern(java.lang.String keyName, java.lang.String keyVal)
Method Detail |
public boolean matches(Node node, ExprContext context)
Pattern
byte getMatchNodeType()
getMatchNodeType
in class PathPatternBase
public int getDefaultPriority()
PathPattern
public PathPattern[] getAlternatives()
getAlternatives
in interface TopLevelPattern
Name getMatchName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |