Skip to content
cgendreau edited this page Apr 5, 2013 · 2 revisions

Field name

In all processor implementations, you can specify a field name. This name represents the name of the field that store the value you want to process. This is used with the processBean(...) function to extract the raw value and store the processed value from your object. Your object must follow the JavaBean conventions and the name of the field must be the same in the 'in' object than the 'out' object. Note that if you only use the specific process function, the field name will not be used.

Error handling

All processor can support one or more error handling strategy. The possible strategies as defined in the ErrorHandlingModeEnum enum are : USE_NULL, USE_EMPTY or USE_ORIGINAL. This strategy is used to set the returning value when the incoming value can not be processed. For instance, if you ask the CountryProcessor to process "xyz", what do you want as returning value?

Clone this wiki locally