com.jclark.xsl.expr
Class ElementTest
- PathPattern, Pattern, TopLevelPattern
(package private) class ElementTest
A compiled XPath expression (component)
tests a node for being an ELEMENT with a
given Name
ElementTest
(package private) ElementTest(Name name)
construct with the Name to be tested
getMatchName
(package private) Name getMatchName()
- getMatchName in interface PathPatternBase
- the Name to test
getMatchNodeType
(package private) byte getMatchNodeType()
- getMatchNodeType in interface PathPatternBase
- om.Node.ELEMENT
matches
public boolean matches(Node node,
ExprContext context)
- matches in interface Pattern
- true if the node is an Element and has the
Name we're testing