Class GeometryAdapterFactory

  • All Implemented Interfaces:
    com.google.gson.TypeAdapterFactory

    public abstract class GeometryAdapterFactory
    extends java.lang.Object
    implements com.google.gson.TypeAdapterFactory
    A Geometry type adapter factory for convenience for serialization/deserialization.
    Since:
    4.6.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.gson.TypeAdapterFactory create()
      Create a new instance of Geometry type adapter factory, this is passed into the Gson Builder.
      • 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.TypeAdapterFactory

        create
    • Constructor Detail

      • GeometryAdapterFactory

        public GeometryAdapterFactory()
    • Method Detail

      • create

        public static com.google.gson.TypeAdapterFactory create()
        Create a new instance of Geometry type adapter factory, this is passed into the Gson Builder.
        Returns:
        a new GSON TypeAdapterFactory
        Since:
        4.4.0