@CodeCompletion
public String encode(String encode, Object input) throws FormattingException {
ObjectFormatter formatter = getwgacore().getEncodingFormatter(encode, this);
if (formatter != null) {
return formatter.format(input);
}
else {
addwarning("No encoding formatter registered under encoding key '" + encode + "'");
return input.toString();
}