com.jclark.xsl.expr

Class PathPatternBase

abstract class PathPatternBase extends Object implements PathPattern, TopLevelPattern

a (component of) a compiled XPath pattern expression
Method Summary
PathPattern[]getAlternatives()
by default, only return a list of length one (itself)
NamegetMatchName()
by default, returns null Element, Attribute and PI nodetype tests will override this
abstract bytegetMatchNodeType()

Method Detail

getAlternatives

public PathPattern[] getAlternatives()
by default, only return a list of length one (itself)

getMatchName

Name getMatchName()
by default, returns null Element, Attribute and PI nodetype tests will override this

getMatchNodeType

abstract byte getMatchNodeType()

UNKNOWN: one of the constants from om.Node