com.github.nmorel.gwtjackson.rebind.ObjectMapperGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwt-jackson Show documentation
Show all versions of gwt-jackson Show documentation
gwt-jackson is a GWT JSON serializer/deserializer mechanism based on Jackson annotations
package com.github.nmorel.gwtjackson.rebind;
import com.google.gwt.core.ext.Generator;
import com.google.gwt.core.ext.GeneratorContext;
import com.google.gwt.core.ext.TreeLogger;
import com.google.gwt.core.ext.UnableToCompleteException;
/**
* @author Nicolas Morel
*/
public class ObjectMapperGenerator extends Generator {
@Override
public String generate( TreeLogger logger, GeneratorContext context, String typeName ) throws UnableToCompleteException {
ObjectMapperCreator creator = new ObjectMapperCreator( logger, context );
return creator.create( typeName );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy