ch.hsr.bieridee.serializer
Class BeertypeListSerializer

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

public class BeertypeListSerializer
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
BeertypeListSerializer()
           
 
Method Summary
 java.lang.Class<BeertypeModel[]> handledType()
           
 void serialize(BeertypeModel[] beertypeModelList, 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

BeertypeListSerializer

public BeertypeListSerializer()
Method Detail

serialize

public void serialize(BeertypeModel[] beertypeModelList,
                      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[]>