com.jclark.xsl.expr
Class FilterPattern
- PathPattern, Pattern, TopLevelPattern
(package private) class FilterPattern
a pattern that has a predicate to eliminate some nodes
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
|
getMatchName
(package private) Name getMatchName()
by default, returns null
Element, Attribute and PI nodetype tests will override this
- getMatchName in interface PathPatternBase
getMatchNodeType
(package private) byte getMatchNodeType()
- getMatchNodeType in interface PathPatternBase
matches
public boolean matches(Node node,
ExprContext context)
throws XSLException
return true if the given node matches this pattern
when evaluated in the given ExpressionContext
- matches in interface Pattern