Class Base64EncodeFunction

  • All Implemented Interfaces:
    org.jaxen.Function

    public class Base64EncodeFunction
    extends Object
    implements org.jaxen.Function
    Implements the XPath extension function synapse:base64Encode(string)
    • Constructor Detail

      • Base64EncodeFunction

        public Base64EncodeFunction()
    • Method Detail

      • call

        public Object call​(org.jaxen.Context context,
                           List args)
                    throws org.jaxen.FunctionCallException
        Returns the base64 encoded string value of the first argument.
        Specified by:
        call in interface org.jaxen.Function
        Parameters:
        context - the context at the point in the expression when the function is called
        args - arguments of the functions
        Returns:
        The string value of a property
        Throws:
        org.jaxen.FunctionCallException