Class FuncConcat

    • Constructor Detail

      • FuncConcat

        public FuncConcat()
    • Method Detail

      • execute

        public XObject execute​(XPathContext xctxt)
                        throws javax.xml.transform.TransformerException
        Execute an expression in the XPath runtime context, and return the result of the expression.
        Overrides:
        execute in class Function
        Parameters:
        xctxt - The XPath runtime context.
        Returns:
        The result of the expression in the form of a XObject.
        Throws:
        javax.xml.transform.TransformerException - if a runtime exception occurs.
      • checkNumberArgs

        public void checkNumberArgs​(int argNum)
                             throws WrongNumberArgsException
        Check that the number of arguments passed to this function is correct. This method is meant to be overloaded by derived classes, to check for the number of arguments for a specific function type. This method is called by the compiler for static number of arguments checking.
        Overrides:
        checkNumberArgs in class FunctionMultiArgs
        Parameters:
        argNum - The number of arguments that is being passed to the function.
        Throws:
        WrongNumberArgsException - if any