Package org.apache.synapse.util.xpath
Class URLEncodeFunction
- java.lang.Object
-
- org.apache.synapse.util.xpath.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 Summary
Constructors Constructor Description URLEncodeFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
call(org.jaxen.Context context, List args)
Returns the url-encoded string value of the first argument.
-
-
-
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 interfaceorg.jaxen.Function
- Parameters:
context
- the context at the point in the expression when the function is calledargs
- arguments of the functions- Returns:
- The string value of a property
- Throws:
org.jaxen.FunctionCallException
-
-