September 2013
Intermediate to advanced
382 pages
8h 12m
English
In this recipe, we will illustrate how to define the custom functions in Java and how to import them into JDeveloper for the XSLT mapper.
The following text will cover the steps needed to define the custom functions and import them into JDeveloper:
ValueWithUnit.java) that is used as a placeholder for the function logic. What we do is concatenate the value of the field with its corresponding unit as follows:public class ValueWithUnit {
public static String formatValueWithUnit(String value, String unit) {
return value + " " + unit;
}
}Read now
Unlock full access