All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jrodeo.bson.marshallers.DefaultMarshallerFactory Maven / Gradle / Ivy

Go to download

A tool to create Java marshallers to and from bson. Currently used in a data access layer serialize Json to Bson for MongoDB storage.

There is a newer version: 0.9.15
Show newest version
package com.jrodeo.bson.marshallers;

/**
 * This default factory adds some hand generated Marshallers.
 */
public class DefaultMarshallerFactory extends AbstractMarshallerFactory {

    public DefaultMarshallerFactory() {
        super();
        registerMarshaller(new ObjectIdMarshaller());
        registerMarshaller(new UUIDMarshaller());
        registerMarshaller(new DateMarshaller());
        registerMarshaller(new BigDecimalMarshaller());
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy