Class GeometrySerializerJtsWkb

java.lang.Object
com.esotericsoftware.kryo.kryo5.Serializer<org.locationtech.jts.geom.Geometry>
org.apache.jena.geosparql.kryo.GeometrySerializerJtsWkb

public class GeometrySerializerJtsWkb extends com.esotericsoftware.kryo.kryo5.Serializer<org.locationtech.jts.geom.Geometry>
Geometry de-/serialization via the WKB facilities of JTS.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    GeometrySerializerJtsWkb(org.locationtech.jts.geom.GeometryFactory geometryFactory)
     
    GeometrySerializerJtsWkb(org.locationtech.jts.io.WKBReader reader, org.locationtech.jts.io.WKBWriter writer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.locationtech.jts.geom.Geometry
    read(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Input input, Class<? extends org.locationtech.jts.geom.Geometry> type)
     
    void
    write(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Output output, org.locationtech.jts.geom.Geometry geometry)
     

    Methods inherited from class com.esotericsoftware.kryo.kryo5.Serializer

    copy, getAcceptsNull, isImmutable, setAcceptsNull, setImmutable

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GeometrySerializerJtsWkb

      public GeometrySerializerJtsWkb()
    • GeometrySerializerJtsWkb

      public GeometrySerializerJtsWkb(org.locationtech.jts.geom.GeometryFactory geometryFactory)
    • GeometrySerializerJtsWkb

      public GeometrySerializerJtsWkb(org.locationtech.jts.io.WKBReader reader, org.locationtech.jts.io.WKBWriter writer)
  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Output output, org.locationtech.jts.geom.Geometry geometry)
      Specified by:
      write in class com.esotericsoftware.kryo.kryo5.Serializer<org.locationtech.jts.geom.Geometry>
    • read

      public org.locationtech.jts.geom.Geometry read(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Input input, Class<? extends org.locationtech.jts.geom.Geometry> type)
      Specified by:
      read in class com.esotericsoftware.kryo.kryo5.Serializer<org.locationtech.jts.geom.Geometry>