public class FunctionDef1Arg extends FunctionOneArg
| Constructor and Description |
|---|
FunctionDef1Arg() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canTraverseOutsideSubtree()
Tell if this expression or it's subexpressions can traverse outside the current subtree.
|
void |
checkNumberArgs(int argNum)
Check that the number of arguments passed to this function is correct.
|
protected int |
getArg0AsNode(XPathContext xctxt)
Execute the first argument expression that is expected to return a nodeset.
|
protected double |
getArg0AsNumber(XPathContext xctxt)
Execute the first argument expression that is expected to return a number.
|
protected XString |
getArg0AsString(XPathContext xctxt)
Execute the first argument expression that is expected to return a string.
|
protected void |
reportWrongNumberArgs()
Constructs and throws a WrongNumberArgException with the appropriate message for this function
object.
|
callArgVisitors, deepEquals, setArgcallVisitors, execute, postCompileStepasIterator, asNode, assertion, bool, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, numprotected int getArg0AsNode(XPathContext xctxt) throws TransformerException
xctxt - Runtime XPath context.TransformerException - if an error occurs while executing the
argument expression.protected XString getArg0AsString(XPathContext xctxt) throws TransformerException
xctxt - Runtime XPath context.TransformerException - if an error occurs while executing the
argument expression.protected double getArg0AsNumber(XPathContext xctxt) throws TransformerException
xctxt - Runtime XPath context.TransformerException - if an error occurs while executing the
argument expression.public void checkNumberArgs(int argNum)
throws WrongNumberArgsException
checkNumberArgs in class FunctionOneArgargNum - The number of arguments that is being passed to the function.WrongNumberArgsException - if anyprotected void reportWrongNumberArgs()
throws WrongNumberArgsException
reportWrongNumberArgs in class FunctionOneArgWrongNumberArgsException - if anypublic boolean canTraverseOutsideSubtree()
canTraverseOutsideSubtree in class FunctionOneArgCopyright © 2022–2023. All rights reserved.