org.apache.xpath.patterns
public class FunctionPattern extends StepPattern
UNKNOWN: advanced
Constructor Summary | |
---|---|
FunctionPattern(Expression expr, int axis, int predaxis)
Construct a FunctionPattern from a
expression .
|
Method Summary | |
---|---|
void | calcScore()
Static calc of match score. |
XObject | execute(XPathContext xctxt, int context)
Test a node to see if it matches the given node test.
|
XObject | execute(XPathContext xctxt, int context, DTM dtm, int expType)
Test a node to see if it matches the given node test.
|
XObject | execute(XPathContext xctxt)
Test a node to see if it matches the given node test.
|
void | fixupVariables(Vector vars, int globalsSize)
This function is used to fixup variables from QNames to stack frame
indexes at stylesheet build time. |
expression
.
NEEDSDOC @param exprParameters: xctxt XPath runtime context.
Returns: SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_QNAME, or SCORE_OTHER.
Throws: javax.xml.transform.TransformerException
Parameters: xctxt XPath runtime context.
Returns: SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_QNAME, or SCORE_OTHER.
Throws: javax.xml.transform.TransformerException
Parameters: xctxt XPath runtime context.
Returns: SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_QNAME, or SCORE_OTHER.
Throws: javax.xml.transform.TransformerException
Parameters: vars List of QNames that correspond to variables. This list should be searched backwards for the first qualified name that corresponds to the variable reference qname. The position of the QName in the vector from the start of the vector will be its position in the stack frame (but variables above the globalsTop value will need to be offset to the current stack frame).