|
|||||||||
| 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.ElementTest
class ElementTest
A compiled XPath expression (component) tests a node for being an ELEMENT with a given Name
| Constructor Summary | |
|---|---|
ElementTest(Name name)
construct with the Name to be tested |
|
| Method Summary | |
|---|---|
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 com.jclark.xsl.expr.PathPatternBase |
|---|
getAlternatives |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ElementTest(Name name)
| Method Detail |
|---|
public boolean matches(Node node,
ExprContext context)
Pattern
Name getMatchName()
PathPatternBase
getMatchName in class PathPatternBasebyte getMatchNodeType()
getMatchNodeType in class PathPatternBasepublic int getDefaultPriority()
PathPattern
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||