| java.lang.Object org.apache.xpath.Expression org.apache.xpath.functions.Function org.apache.xpath.functions.FunctionOneArg
All known Subclasses: org.apache.xpath.functions.FuncCeiling, org.apache.xpath.functions.FuncRound, org.apache.xpath.functions.FuncLang, org.apache.xpath.functions.FuncSum, org.apache.xpath.functions.FunctionDef1Arg, org.apache.xpath.functions.FuncFloor, org.apache.xpath.functions.FuncExtFunctionAvailable, org.apache.xpath.functions.Function2Args, org.apache.xpath.functions.FuncBoolean, org.apache.xpath.functions.FuncCount, org.apache.xpath.functions.FuncUnparsedEntityURI, org.apache.xpath.functions.FuncId, org.apache.xpath.functions.FuncNot, org.apache.xpath.functions.FuncExtElementAvailable, org.apache.xpath.functions.FuncSystemProperty,
m_arg0 | Expression m_arg0(Code) | | The first argument passed to the function (at index 0).
|
serialVersionUID | final static long serialVersionUID(Code) | | |
canTraverseOutsideSubtree | public boolean canTraverseOutsideSubtree()(Code) | | Tell if this expression or it's subexpressions can traverse outside
the current subtree.
true if traversal outside the context node's subtree can occur. |
checkNumberArgs | public void checkNumberArgs(int argNum) throws WrongNumberArgsException(Code) | | Check that the number of arguments passed to this function is correct.
Parameters: argNum - The number of arguments that is being passed to the function. throws: WrongNumberArgsException - |
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). |
getArg0 | public Expression getArg0()(Code) | | Return the first argument passed to the function (at index 0).
An expression that represents the first argument passed to the function. |
setArg | public void setArg(Expression arg, int argNum) throws WrongNumberArgsException(Code) | | Set an argument expression for a function. This method is called by the
XPath compiler.
Parameters: arg - non-null expression that represents the argument. Parameters: argNum - The argument number index. throws: WrongNumberArgsException - If the argNum parameter is greater than 0. |
Fields inherited from org.apache.xpath.functions.Function | final static long serialVersionUID(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)
|
|
|