| java.lang.Object org.apache.xpath.Expression org.apache.xpath.patterns.NodeTest org.apache.xpath.patterns.StepPattern org.apache.xpath.patterns.FunctionPattern
FunctionPattern | public class FunctionPattern extends StepPattern (Code) | | Match pattern step that contains a function.
|
Method Summary | |
final public void | calcScore() Static calc of match score. | protected void | callSubtreeVisitors(XPathVisitor visitor) Call the visitor for the function. | public XObject | execute(XPathContext xctxt, int context) Test a node to see if it matches the given node test.
Parameters: xctxt - XPath runtime context. | public XObject | execute(XPathContext xctxt, int context, DTM dtm, int expType) Test a node to see if it matches the given node test.
Parameters: xctxt - XPath runtime context. | public XObject | execute(XPathContext xctxt) Test a node to see if it matches the given node test.
Parameters: xctxt - XPath runtime context. | 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.
Parameters: vars - List of QNames that correspond to variables. |
serialVersionUID | final static long serialVersionUID(Code) | | |
calcScore | final public void calcScore()(Code) | | Static calc of match score.
|
callSubtreeVisitors | protected void callSubtreeVisitors(XPathVisitor visitor)(Code) | | Call the visitor for the function.
|
fixupVariables | public void fixupVariables(java.util.Vector vars, int globalsSize)(Code) | | This function is used to fixup variables from QNames to stack frame
indexes at stylesheet build time.
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). |
Methods inherited from org.apache.xpath.patterns.StepPattern | public void calcScore()(Code)(Java Doc) public void calcTargetString()(Code)(Java Doc) protected void callSubtreeVisitors(XPathVisitor visitor)(Code)(Java Doc) public void callVisitors(ExpressionOwner owner, XPathVisitor visitor)(Code)(Java Doc) public boolean canTraverseOutsideSubtree()(Code)(Java Doc) public boolean deepEquals(Expression expr)(Code)(Java Doc) public XObject execute(XPathContext xctxt, int currentNode) throws javax.xml.transform.TransformerException(Code)(Java Doc) public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc) public XObject execute(XPathContext xctxt, int currentNode, DTM dtm, int expType) throws javax.xml.transform.TransformerException(Code)(Java Doc) final protected boolean executePredicates(XPathContext xctxt, DTM dtm, int currentNode) throws javax.xml.transform.TransformerException(Code)(Java Doc) final protected XObject executeRelativePathPattern(XPathContext xctxt, DTM dtm, int currentNode) throws javax.xml.transform.TransformerException(Code)(Java Doc) public void fixupVariables(java.util.Vector vars, int globalsSize)(Code)(Java Doc) public int getAxis()(Code)(Java Doc) public Expression getExpression()(Code)(Java Doc) public int getLastPos(XPathContext xctxt)(Code)(Java Doc) public double getMatchScore(XPathContext xctxt, int context) throws javax.xml.transform.TransformerException(Code)(Java Doc) public Expression getPredicate(int i)(Code)(Java Doc) final public int getPredicateCount()(Code)(Java Doc) public Expression[] getPredicates()(Code)(Java Doc) public int getProximityPosition(XPathContext xctxt)(Code)(Java Doc) public StepPattern getRelativePathPattern()(Code)(Java Doc) public String getTargetString()(Code)(Java Doc) public void setAxis(int axis)(Code)(Java Doc) public void setExpression(Expression exp)(Code)(Java Doc) public void setPredicates(Expression[] predicates)(Code)(Java Doc) public void setRelativePathPattern(StepPattern expr)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
Methods inherited from org.apache.xpath.Expression | public DTMIterator asIterator(XPathContext xctxt, int contextNode) throws javax.xml.transform.TransformerException(Code)(Java Doc) public DTMIterator asIteratorRaw(XPathContext xctxt, int contextNode) throws javax.xml.transform.TransformerException(Code)(Java Doc) public int asNode(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc) public void assertion(boolean b, java.lang.String msg)(Code)(Java Doc) public boolean bool(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc) public boolean canTraverseOutsideSubtree()(Code)(Java Doc) abstract public boolean deepEquals(Expression expr)(Code)(Java Doc) public void error(XPathContext xctxt, String msg, Object[] args) throws javax.xml.transform.TransformerException(Code)(Java Doc) public XObject execute(XPathContext xctxt, int currentNode) throws javax.xml.transform.TransformerException(Code)(Java Doc) public XObject execute(XPathContext xctxt, int currentNode, DTM dtm, int expType) throws javax.xml.transform.TransformerException(Code)(Java Doc) abstract public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc) public XObject execute(XPathContext xctxt, boolean destructiveOK) throws javax.xml.transform.TransformerException(Code)(Java Doc) public void executeCharsToContentHandler(XPathContext xctxt, ContentHandler handler) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException(Code)(Java Doc) public void exprAddChild(ExpressionNode n, int i)(Code)(Java Doc) public ExpressionNode exprGetChild(int i)(Code)(Java Doc) public int exprGetNumChildren()(Code)(Java Doc) public ExpressionNode exprGetParent()(Code)(Java Doc) public void exprSetParent(ExpressionNode n)(Code)(Java Doc) abstract public void fixupVariables(java.util.Vector vars, int globalsSize)(Code)(Java Doc) public int getColumnNumber()(Code)(Java Doc) public ExpressionNode getExpressionOwner()(Code)(Java Doc) public int getLineNumber()(Code)(Java Doc) public String getPublicId()(Code)(Java Doc) public String getSystemId()(Code)(Java Doc) public boolean isNodesetExpr()(Code)(Java Doc) final protected boolean isSameClass(Expression expr)(Code)(Java Doc) public boolean isStableNumber()(Code)(Java Doc) public double num(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc) public void warn(XPathContext xctxt, String msg, Object[] args) throws javax.xml.transform.TransformerException(Code)(Java Doc) public XMLString xstr(XPathContext xctxt) throws javax.xml.transform.TransformerException(Code)(Java Doc)
|
|
|