co.uk.sentinelweb.views.draw.file.export.json.v2.gson
Class GSONLayer

java.lang.Object
  extended by co.uk.sentinelweb.views.draw.file.export.json.v2.JSONParent
      extended by co.uk.sentinelweb.views.draw.file.export.json.v2.gson.GSONLayer

public class GSONLayer
extends JSONParent


Field Summary
 
Fields inherited from class co.uk.sentinelweb.views.draw.file.export.json.v2.JSONParent
reUseJSONObjects
 
Constructor Summary
GSONLayer(SaveFile _saveFile)
           
 
Method Summary
 Layer fromJSON(com.google.gson.Gson gson, com.google.gson.stream.JsonReader reader, GSONGroup gsg, GSONStroke gss)
           
 void toJSON(Layer g, com.google.gson.Gson gson, com.google.gson.stream.JsonWriter writer, GSONGroup gsg, GSONStroke gss)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GSONLayer

public GSONLayer(SaveFile _saveFile)
Method Detail

toJSON

public void toJSON(Layer g,
                   com.google.gson.Gson gson,
                   com.google.gson.stream.JsonWriter writer,
                   GSONGroup gsg,
                   GSONStroke gss)
            throws java.io.IOException
Throws:
java.io.IOException

fromJSON

public Layer fromJSON(com.google.gson.Gson gson,
                      com.google.gson.stream.JsonReader reader,
                      GSONGroup gsg,
                      GSONStroke gss)
               throws java.lang.Exception
Throws:
java.lang.Exception