ch.hsr.bieridee.serializer
Class BeertypeSerializer
java.lang.Object
org.codehaus.jackson.map.JsonSerializer<BeertypeModel>
ch.hsr.bieridee.serializer.BeertypeSerializer
public class BeertypeSerializer
- extends org.codehaus.jackson.map.JsonSerializer<BeertypeModel>
Json Serializer for the beertype domain class.
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer |
org.codehaus.jackson.map.JsonSerializer.None |
Methods inherited from class org.codehaus.jackson.map.JsonSerializer |
isUnwrappingSerializer, serializeWithType, unwrappingSerializer |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeertypeSerializer
public BeertypeSerializer()
serialize
public void serialize(BeertypeModel beertype,
org.codehaus.jackson.JsonGenerator jsonGenerator,
org.codehaus.jackson.map.SerializerProvider serializerProvider)
throws java.io.IOException,
org.codehaus.jackson.JsonProcessingException
- Specified by:
serialize
in class org.codehaus.jackson.map.JsonSerializer<BeertypeModel>
- Throws:
java.io.IOException
org.codehaus.jackson.JsonProcessingException
handledType
public java.lang.Class<BeertypeModel> handledType()
- Overrides:
handledType
in class org.codehaus.jackson.map.JsonSerializer<BeertypeModel>