01: package net.sourceforge.jaxor.api;
02:
03: import java.io.Serializable;
04:
05: /**
06: * Created By: Mike
07: * Date: Jan 31, 2004
08: * Time: 4:27:00 PM
09: *
10: * Last Checkin: $Author: mrettig $
11: * Date: $Date: 2004/01/31 22:38:40 $
12: * Revision: $Revision: 1.1 $
13: */
14: public interface MapperRegistry extends Serializable {
15: void register(Class clazz, Mapper mapper);
16:
17: void register(String clazz, Mapper mapper);
18:
19: Mapper get(Class clazz);
20:
21: String getName(String type);
22:
23: Mapper get(String type);
24:
25: Mapper getForObject(Object value);
26: }
|