com.jclark.xsl.expr

Class ProcessingInstructionTest

Implemented Interfaces:
PathPattern, Pattern, TopLevelPattern

(package private) class ProcessingInstructionTest
extends PathPatternBase

Constructor Summary

ProcessingInstructionTest(Name name)

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)

Methods inherited from class com.jclark.xsl.expr.PathPatternBase

getAlternatives, getMatchName, getMatchNodeType

Constructor Details

ProcessingInstructionTest

(package private)  ProcessingInstructionTest(Name name)

Method Details

getDefaultPriority

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

getMatchName

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

getMatchNodeType

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

matches

public boolean matches(Node node,
                       ExprContext context)
Specified by:
matches in interface Pattern