com.jclark.xsl.expr
Class AttributeTest
- PathPattern, Pattern, TopLevelPattern
(package private) class AttributeTest
A compiled XPath component that tests
a node to see if it is an attribute
with a (possibly?) specified name
AttributeTest
(package private) AttributeTest(Name name)
construct with the given name
getMatchName
(package private) Name getMatchName()
- getMatchName in interface PathPatternBase
- the Name we test for
getMatchNodeType
(package private) byte getMatchNodeType()
- getMatchNodeType in interface PathPatternBase
- om.Node.ATTRIBUTE
matches
public boolean matches(Node node,
ExprContext context)
- matches in interface Pattern
- true if the node is an ATTRIBUTE and has the
specified Name