org.rhq.modules.plugins.jbossas7.json.serializer
Class PropertyValueSerializer

java.lang.Object
  extended by org.codehaus.jackson.map.JsonSerializer<PROPERTY_VALUE>
      extended by org.rhq.modules.plugins.jbossas7.json.serializer.PropertyValueSerializer

public class PropertyValueSerializer
extends org.codehaus.jackson.map.JsonSerializer<PROPERTY_VALUE>

Serialize the key/value pair from PROPERTY_VALUE into {"value of key":"value of value"}

Author:
Heiko W. Rupp

Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer
org.codehaus.jackson.map.JsonSerializer.None
 
Constructor Summary
PropertyValueSerializer()
           
 
Method Summary
 void serialize(PROPERTY_VALUE property_value, org.codehaus.jackson.JsonGenerator jsonGenerator, org.codehaus.jackson.map.SerializerProvider serializerProvider)
           
 
Methods inherited from class org.codehaus.jackson.map.JsonSerializer
handledType, serializeWithType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyValueSerializer

public PropertyValueSerializer()
Method Detail

serialize

public void serialize(PROPERTY_VALUE property_value,
                      org.codehaus.jackson.JsonGenerator jsonGenerator,
                      org.codehaus.jackson.map.SerializerProvider serializerProvider)
               throws IOException,
                      org.codehaus.jackson.JsonProcessingException
Specified by:
serialize in class org.codehaus.jackson.map.JsonSerializer<PROPERTY_VALUE>
Throws:
IOException
org.codehaus.jackson.JsonProcessingException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.