org.apache.synapse.util.xpath
Class Base64EncodeFunction
java.lang.Object
org.apache.synapse.util.xpath.Base64EncodeFunction
- All Implemented Interfaces:
- Function
public class Base64EncodeFunction
- extends Object
- implements Function
Implements the XPath extension function synapse:base64Encode(string)
Method Summary |
Object |
call(Context context,
List args)
Returns the base64 encoded string value of the first argument. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL_STRING
public static final String NULL_STRING
- See Also:
- Constant Field Values
Base64EncodeFunction
public Base64EncodeFunction()
call
public Object call(Context context,
List args)
throws FunctionCallException
- Returns the base64 encoded string value of the first argument.
- Specified by:
call
in interface 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:
FunctionCallException
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.