Revision 9304
Added by Jing Tao almost 9 years ago
LogV2toV1Converter.java | ||
---|---|---|
26 | 26 |
import java.io.IOException; |
27 | 27 |
import java.lang.reflect.InvocationTargetException; |
28 | 28 |
|
29 |
import org.apache.commons.beanutils.BeanUtils; |
|
30 | 29 |
import org.dataone.service.types.v1.Event; |
31 | 30 |
import org.dataone.service.types.v2.Log; |
32 | 31 |
import org.dataone.service.types.v2.LogEntry; |
33 |
import org.dataone.service.util.TypeMarshaller; |
|
34 | 32 |
import org.jibx.runtime.JiBXException; |
35 | 33 |
/** |
36 | 34 |
* This class represents a converter to convert an DataONE v2 Log object to a v1 Log object. |
Also available in: Unified diff
Use the TypeFactory to replace the TypeMarshaller according to the change in the d1_common_java.