org.apache.xpath.patterns
Class FunctionPattern
- ExpressionOwner, java.io.Serializable, ExpressionNode, SourceLocator, SubContextList, XPathVisitable
public class FunctionPattern
Match pattern step that contains a function.
- Serialized Form
calcScore , calcTargetString , callVisitors , canTraverseOutsideSubtree , deepEquals , execute , execute , execute , fixupVariables , getAxis , getExpression , getLastPos , getMatchScore , getPredicate , getPredicateCount , getPredicates , getProximityPosition , getRelativePathPattern , getTargetString , setAxis , setExpression , setPredicates , setRelativePathPattern , toString |
callVisitors , debugWhatToShow , deepEquals , execute , execute , execute , fixupVariables , getDefaultScore , getLocalName , getNamespace , getNodeTypeTest , getStaticScore , getWhatToShow , initNodeTest , initNodeTest , setLocalName , setNamespace , setStaticScore , setWhatToShow |
asIterator , asIteratorRaw , asNode , assertion , bool , canTraverseOutsideSubtree , deepEquals , error , execute , execute , execute , execute , executeCharsToContentHandler , exprAddChild , exprGetChild , exprGetNumChildren , exprGetParent , exprSetParent , fixupVariables , getColumnNumber , getExpressionOwner , getLineNumber , getPublicId , getSystemId , isNodesetExpr , isStableNumber , num , warn , xstr |
FunctionPattern
public FunctionPattern(Expression expr,
int axis,
int predaxis)
calcScore
public final void calcScore()
Static calc of match score.
- calcScore in interface StepPattern
fixupVariables
public void fixupVariables(java.util.Vector vars,
int globalsSize)
This function is used to fixup variables from QNames to stack frame
indexes at stylesheet build time.
- fixupVariables in interface StepPattern
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).
Copyright B) 2004 Apache XML Project. All Rights Reserved.