ch.hsr.bieridee.serializer
Class TagSerializer
java.lang.Object
org.codehaus.jackson.map.JsonSerializer<TagModel>
ch.hsr.bieridee.serializer.TagSerializer
public class TagSerializer
- extends org.codehaus.jackson.map.JsonSerializer<TagModel>
JSON serializer for the tag class.
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer |
org.codehaus.jackson.map.JsonSerializer.None |
Method Summary |
java.lang.Class<TagModel> |
handledType()
|
void |
serialize(TagModel tag,
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 |
TagSerializer
public TagSerializer()
serialize
public void serialize(TagModel tag,
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<TagModel>
- Throws:
java.io.IOException
org.codehaus.jackson.JsonProcessingException
handledType
public java.lang.Class<TagModel> handledType()
- Overrides:
handledType
in class org.codehaus.jackson.map.JsonSerializer<TagModel>