public class FunctionPattern extends StepPattern
m_axism_name, m_whatToShow, SCORE_NODETEST, SCORE_NONE, SCORE_NSWILD, SCORE_OTHER, SCORE_QNAME, SHOW_BYFUNCTION, WILD| Constructor and Description |
|---|
FunctionPattern(Expression expr,
int axis)
Construct a FunctionPattern from a
expression. |
| Modifier and Type | Method and Description |
|---|---|
void |
calcScore()
Static calc of match score.
|
protected void |
callSubtreeVisitors(XPathVisitor visitor)
Call the visitors on the subtree.
|
XObject |
execute(XPathContext xctxt)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
execute(XPathContext xctxt,
int context)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
XObject |
execute(XPathContext xctxt,
int context,
DTM dtm,
int expType)
Execute an expression in the XPath runtime context, and return the result of the expression.
|
calcTargetString, callVisitors, canTraverseOutsideSubtree, deepEquals, executePredicates, executeRelativePathPattern, getAxis, getLastPos, getPredicate, getPredicateCount, getPredicates, getProximityPosition, getRelativePathPattern, setAxis, setPredicates, setRelativePathPattern, toStringgetLocalName, getNamespace, getNodeTypeTest, getStaticScore, getWhatToShow, initNodeTest, initNodeTest, setLocalName, setNamespace, setStaticScore, setWhatToShowasIterator, asNode, assertion, bool, error, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, numpublic FunctionPattern(Expression expr, int axis)
expression.
NEEDSDOC @param expr
public final void calcScore()
calcScore in class StepPatternpublic XObject execute(XPathContext xctxt, int context) throws TransformerException
execute in class StepPatternxctxt - The XPath runtime context.context - The currentNode.XObject.TransformerException - if a runtime exception occurs.public XObject execute(XPathContext xctxt, int context, DTM dtm, int expType) throws TransformerException
execute in class StepPatternxctxt - The XPath runtime context.context - The currentNode.dtm - The DTM of the current node.expType - The expanded type ID of the current node.XObject.TransformerException - if a runtime exception occurs.public XObject execute(XPathContext xctxt) throws TransformerException
execute in class StepPatternxctxt - The XPath runtime context.XObject.TransformerException - if a runtime exception occurs.protected void callSubtreeVisitors(XPathVisitor visitor)
callSubtreeVisitors in class StepPatternCopyright © 2022–2023. All rights reserved.