ch.hsr.bieridee.serializer
Class BeertypeSerializer

java.lang.Object
  extended by org.codehaus.jackson.map.JsonSerializer<BeertypeModel>
      extended by ch.hsr.bieridee.serializer.BeertypeSerializer

public class BeertypeSerializer
extends org.codehaus.jackson.map.JsonSerializer<BeertypeModel>

Json Serializer for the beertype domain class.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer
org.codehaus.jackson.map.JsonSerializer.None
 
Constructor Summary
BeertypeSerializer()
           
 
Method Summary
 java.lang.Class<BeertypeModel> handledType()
           
 void serialize(BeertypeModel beertype, org.codehaus.jackson.JsonGenerator jsonGenerator, org.codehaus.jackson.map.SerializerProvider serializerProvider)
           
 
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
 

Constructor Detail

BeertypeSerializer

public BeertypeSerializer()
Method Detail

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>