cfboom.gson

Interface InstanceCreator

cfboom.gson.InstanceCreator
All Known Implementing Classes:
DefaultTypeAdapter , TypeAdapter

This interface is implemented to create instances of a class.

Class Attributes:
  • author : Joel Tobey
  •  
    Method Summary
    any createInstance(string class)
         Gson invokes this call-back method during deserialization to create.

    Method Detail

    createInstance

    public any createInstance(string class)

    Gson invokes this call-back method during deserialization to create an instance of the specified class.

    Parameters:
    class