com.khubla.pragmatach.plugin.mongodb.serializer
Class BasicObjectSerializer
java.lang.Object
com.khubla.pragmatach.plugin.mongodb.serializer.BasicObjectSerializer
- All Implemented Interfaces:
- ObjectSerializer
public class BasicObjectSerializer
- extends Object
- implements ObjectSerializer
- Author:
- tom
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicObjectSerializer
public BasicObjectSerializer(Class<?> typeClazz)
- ctor
deserialize
public Object deserialize(com.mongodb.DBObject dbObject)
throws PragmatachException
- deserialize
- Specified by:
deserialize
in interface ObjectSerializer
- Throws:
PragmatachException
getTypeClazz
public Class<?> getTypeClazz()
serialize
public com.mongodb.BasicDBObject serialize(Object object)
throws PragmatachException
- serialize
- Specified by:
serialize
in interface ObjectSerializer
- Throws:
PragmatachException
Copyright © 2014 khubla.com. All rights reserved.