Package org.apache.synapse.util.xpath
Class Base64EncodeFunction
- java.lang.Object
-
- org.apache.synapse.util.xpath.Base64EncodeFunction
-
- All Implemented Interfaces:
org.jaxen.Function
public class Base64EncodeFunction extends Object implements org.jaxen.Function
Implements the XPath extension function synapse:base64Encode(string)
-
-
Field Summary
Fields Modifier and Type Field Description static String
NULL_STRING
-
Constructor Summary
Constructors Constructor Description Base64EncodeFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
call(org.jaxen.Context context, List args)
Returns the base64 encoded string value of the first argument.
-
-
-
Field Detail
-
NULL_STRING
public static final String NULL_STRING
- See Also:
- Constant Field Values
-
-
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 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
-
-