java.io.Serializable
, javax.xml.transform.SourceLocator
, ExpressionNode
, ExpressionOwner
, XPathVisitable
public class FuncFormatNumb extends Function3Args
Constructor | Description |
---|---|
FuncFormatNumb() |
Modifier and Type | Method | Description |
---|---|---|
void |
checkNumberArgs(int argNum) |
Overide the superclass method to allow one or two arguments.
|
XObject |
execute(XPathContext xctxt) |
Execute the function.
|
void |
warn(XPathContext xctxt,
java.lang.String msg,
java.lang.Object[] args) |
Warn the user of a problem.
|
asIterator, asIteratorRaw, asNode, assertion, bool, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isStableNumber, num, xstr
callVisitors, postCompileStep
getArg1
callArgVisitors, canTraverseOutsideSubtree, deepEquals, fixupVariables, getArg2, setArg
getArg0, getExpression, setExpression
public XObject execute(XPathContext xctxt) throws javax.xml.transform.TransformerException
public void warn(XPathContext xctxt, java.lang.String msg, java.lang.Object[] args) throws javax.xml.transform.TransformerException
warn
in class Expression
xctxt
- The XPath runtime state.msg
- Warning message keyargs
- Arguments to be used in warning messageXSLProcessorException
- thrown if the active ProblemListener and XPathContext decide
the error condition is severe enough to halt processing.javax.xml.transform.TransformerException
public void checkNumberArgs(int argNum) throws WrongNumberArgsException
checkNumberArgs
in class Function3Args
argNum
- Number of arguments passed inWrongNumberArgsException
Copyright © 2014 Apache XML Project. All Rights Reserved.