org.apache.xpath.functions
Class FunctionDef1Arg
- ExpressionNode, ExpressionOwner, java.io.Serializable, SourceLocator, XPathVisitable
public class FunctionDef1Arg
Base class for functions that accept one argument that can be defaulted if
not specified.
boolean | Arg0IsNodesetExpr()- Tell if the expression is a nodeset expression.
|
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.
|
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 |
Arg0IsNodesetExpr
public boolean Arg0IsNodesetExpr()
Tell if the expression is a nodeset expression.
- true if the expression can be represented as a nodeset.
canTraverseOutsideSubtree
public boolean canTraverseOutsideSubtree()
Tell if this expression or it's subexpressions can traverse outside
the current subtree.
- canTraverseOutsideSubtree in interface FunctionOneArg
- true if traversal outside the context node's subtree can occur.
checkNumberArgs
public void checkNumberArgs(int argNum)
throws WrongNumberArgsException Check that the number of arguments passed to this function is correct.
- checkNumberArgs in interface FunctionOneArg
argNum - The number of arguments that is being passed to the function.
Copyright B) 2004 Apache XML Project. All Rights Reserved.