Class URLEncodeFunction

  • All Implemented Interfaces:
    org.jaxen.Function

    public class URLEncodeFunction
    extends Object
    implements org.jaxen.Function
    Implements the XPath extension function synapse:url-encode(string)
    • Constructor Detail

      • URLEncodeFunction

        public URLEncodeFunction()
    • Method Detail

      • call

        public Object call​(org.jaxen.Context context,
                           List args)
                    throws org.jaxen.FunctionCallException
        Returns the url-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