org.dozer
Interface ConfigurableCustomConverter

All Superinterfaces:
CustomConverter
All Known Implementing Classes:
DozerConverter

public interface ConfigurableCustomConverter
extends CustomConverter

Public custom converter interface. In the Dozer mapping file(s), you can add some XML to tell Dozer to use a custom converter for certain class A and class B types. When a custom converter is specified for a class A and class B combination, Dozer will invoke the custom converter to perform the data mapping instead of the standard mapping logic. This interface also gives you the opportunity to send a configuration parameter to it

http://dozer.sourceforge.net/documentation/customconverter.html

Author:
johnsen.knut-erik

Method Summary
 void setParameter(String parameter)
          Setter for converter static parameter.
 
Methods inherited from interface org.dozer.CustomConverter
convert
 

Method Detail

setParameter

void setParameter(String parameter)
Setter for converter static parameter. Method is guaranteed to be called before the first execution.

Parameters:
parameter - - converter instance, which is injected via custom-converter-param attribute


Copyright © 2005-2011 dozer. All Rights Reserved.