com.jclark.xsl.expr

Class PathPatternBase

Implemented Interfaces:
PathPattern, Pattern, TopLevelPattern
Known Direct Subclasses:
AttributeTest, ElementTest, FilterPattern, IdPattern, KeyPattern, NamespaceAttributeTest, NamespaceElementTest, NodeTypeTest, ParentPattern, ProcessingInstructionTest

(package private) abstract class PathPatternBase
extends java.lang.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)
(package private) Name
getMatchName()
by default, returns null Element, Attribute and PI nodetype tests will override this
(package private) abstract byte
getMatchNodeType()

Method Details

getAlternatives

public PathPattern[] getAlternatives()
by default, only return a list of length one (itself)
Specified by:
getAlternatives in interface TopLevelPattern

getMatchName

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

getMatchNodeType

(package private)  abstract byte getMatchNodeType()