com.jclark.xsl.expr

Class IdPattern

class IdPattern extends PathPatternBase

represents an XSLT/XPath pattern of the form id('foo')
Constructor Summary
IdPattern(String id)
Method Summary
intgetDefaultPriority()
bytegetMatchNodeType()
booleanmatches(Node node, ExprContext context)

Constructor Detail

IdPattern

IdPattern(String id)

Method Detail

getDefaultPriority

public int getDefaultPriority()

getMatchNodeType

byte getMatchNodeType()

Returns: om.Node.ELEMENT

matches

public boolean matches(Node node, ExprContext context)

Returns: true if the given node carries the id under consideration