com.jclark.xsl.expr

Class NamespaceElementTest

Implemented Interfaces:
PathPattern, Pattern, TopLevelPattern

(package private) class NamespaceElementTest
extends PathPatternBase

Constructor Summary

NamespaceElementTest(String ns)

Method Summary

int
getDefaultPriority()
priority when used in XSLT template match pattern
(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, getMatchName, getMatchNodeType

Constructor Details

NamespaceElementTest

(package private)  NamespaceElementTest(String ns)

Method Details

getDefaultPriority

public int getDefaultPriority()
priority when used in XSLT template match pattern
Specified by:
getDefaultPriority in interface PathPattern

getMatchNodeType

(package private)  byte getMatchNodeType()
Overrides:
getMatchNodeType in interface PathPatternBase

matches

public boolean matches(Node node,
                       ExprContext context)
return true if the given node matches this pattern when evaluated in the given ExpressionContext
Specified by:
matches in interface Pattern