Class FuncFormatNumb

    • Constructor Detail

      • FuncFormatNumb

        public FuncFormatNumb()
    • Method Detail

      • execute

        public XObject execute​(XPathContext xctxt)
                        throws javax.xml.transform.TransformerException
        Execute the function. The function must return a valid object.
        Overrides:
        execute in class Function
        Parameters:
        xctxt - The current execution context.
        Returns:
        A valid XObject.
        Throws:
        javax.xml.transform.TransformerException
      • warn

        public void warn​(XPathContext xctxt,
                         java.lang.String msg,
                         java.lang.Object[] args)
                  throws javax.xml.transform.TransformerException
        Warn the user of a problem.
        Overrides:
        warn in class Expression
        Parameters:
        xctxt - The XPath runtime state.
        msg - Warning message key
        args - Arguments to be used in warning message
        Throws:
        XSLProcessorException - thrown if the active ProblemListener and XPathContext decide the error condition is severe enough to halt processing.
        javax.xml.transform.TransformerException