org.commonjava.tensor.io.json
Class AbstractRelCollectionSer<T extends org.apache.maven.graph.effective.EProjectRelationshipCollection>

java.lang.Object
  extended by org.commonjava.tensor.io.json.AbstractRelCollectionSer<T>
All Implemented Interfaces:
com.google.gson.JsonDeserializer<T>, com.google.gson.JsonSerializer<T>
Direct Known Subclasses:
AbstractProjectNetSer, EProjectCycleSer, EProjectRelsSer

public abstract class AbstractRelCollectionSer<T extends org.apache.maven.graph.effective.EProjectRelationshipCollection>
extends Object
implements com.google.gson.JsonSerializer<T>, com.google.gson.JsonDeserializer<T>


Constructor Summary
AbstractRelCollectionSer()
           
 
Method Summary
protected  org.apache.maven.graph.effective.ref.EProjectKey deserializeKey(com.google.gson.JsonObject obj, com.google.gson.JsonDeserializationContext ctx)
           
protected  List<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> deserializeRelationships(com.google.gson.JsonObject obj, com.google.gson.JsonDeserializationContext ctx)
           
protected  com.google.gson.JsonArray serializeRelationships(T src, com.google.gson.JsonObject obj, com.google.gson.JsonSerializationContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.gson.JsonSerializer
serialize
 
Methods inherited from interface com.google.gson.JsonDeserializer
deserialize
 

Constructor Detail

AbstractRelCollectionSer

public AbstractRelCollectionSer()
Method Detail

deserializeRelationships

protected final List<org.apache.maven.graph.effective.rel.ProjectRelationship<?>> deserializeRelationships(com.google.gson.JsonObject obj,
                                                                                                           com.google.gson.JsonDeserializationContext ctx)

deserializeKey

protected final org.apache.maven.graph.effective.ref.EProjectKey deserializeKey(com.google.gson.JsonObject obj,
                                                                                com.google.gson.JsonDeserializationContext ctx)

serializeRelationships

protected final com.google.gson.JsonArray serializeRelationships(T src,
                                                                 com.google.gson.JsonObject obj,
                                                                 com.google.gson.JsonSerializationContext ctx)


Copyright © 2013. All Rights Reserved.