java.io.Serializable, javax.xml.transform.SourceLocator, ExpressionNode, ExpressionOwner, XPathVisitablepublic class FuncDocument extends Function2Args
| Constructor | Description |
|---|---|
FuncDocument() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
checkNumberArgs(int argNum) |
Overide the superclass method to allow one or two arguments.
|
void |
error(XPathContext xctxt,
java.lang.String msg,
java.lang.Object[] args) |
Tell the user of an error, and probably throw an
exception.
|
XObject |
execute(XPathContext xctxt) |
Execute the function.
|
boolean |
isNodesetExpr() |
Tell if the expression is a nodeset expression.
|
void |
warn(XPathContext xctxt,
java.lang.String msg,
java.lang.Object[] args) |
Warn the user of a problem.
|
asIterator, asIteratorRaw, asNode, assertion, bool, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isStableNumber, num, xstrcallVisitors, postCompileStepcallArgVisitors, canTraverseOutsideSubtree, deepEquals, fixupVariables, getArg1, setArggetArg0, getExpression, setExpressionpublic XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
public void error(XPathContext xctxt, java.lang.String msg, java.lang.Object[] args) throws javax.xml.transform.TransformerException
error in class Expressionxctxt - The XPath runtime state.msg - The error message keyargs - Arguments to be used in the error messageXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.javax.xml.transform.TransformerExceptionpublic void warn(XPathContext xctxt, java.lang.String msg, java.lang.Object[] args) throws javax.xml.transform.TransformerException
warn in class Expressionxctxt - The XPath runtime state.msg - Warning message keyargs - Arguments to be used in the warning messageXSLProcessorException - thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.javax.xml.transform.TransformerExceptionpublic void checkNumberArgs(int argNum)
throws WrongNumberArgsException
checkNumberArgs in class Function2ArgsargNum - Number of arguments passed in to this functionWrongNumberArgsExceptionpublic boolean isNodesetExpr()
isNodesetExpr in class ExpressionCopyright © 2014 Apache XML Project. All Rights Reserved.