Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.jclark.xsl.expr.PathPatternBase
com.jclark.xsl.expr.AttributeTest
(package private) class AttributeTest
extends PathPatternBase
Constructor Summary | |
|
Method Summary | |
int | |
(package private) Name | |
(package private) byte | |
boolean |
|
Methods inherited from class com.jclark.xsl.expr.PathPatternBase | |
getAlternatives , getMatchName , getMatchNodeType |
public int getDefaultPriority()
- Specified by:
- getDefaultPriority in interface PathPattern
- Returns:
- 0
(package private) Name getMatchName()
- Overrides:
- getMatchName in interface PathPatternBase
- Returns:
- the Name we test for
(package private) byte getMatchNodeType()
- Overrides:
- getMatchNodeType in interface PathPatternBase
- Returns:
- om.Node.ATTRIBUTE
public boolean matches(Node node, ExprContext context)
- Returns:
- true if the node is an ATTRIBUTE and has the specified Name