Class EWKTUtils.EWKTTarget

  • Enclosing class:
    EWKTUtils

    public static final class EWKTUtils.EWKTTarget
    extends GeometryUtils.Target
    Converter output target that writes a EWKT.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int dimensionSystem  
      private boolean inMulti  
      private java.lang.StringBuilder output  
      private int type  
    • Constructor Summary

      Constructors 
      Constructor Description
      EWKTTarget​(java.lang.StringBuilder output, int dimensionSystem)
      Creates a new EWKT output target.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addCoordinate​(double x, double y, double z, double m, int index, int total)
      Invoked to add a coordinate to a geometry.
      protected void endCollectionItem​(GeometryUtils.Target target, int type, int index, int total)
      Invoked after writing of a collection item.
      protected void endNonEmptyPolygon()
      Invoked after writing of non-empty POLYGON.
      protected void endObject​(int type)
      Invoked after writing of the object.
      protected void init​(int srid)
      Initializes top-level target.
      protected void startCollection​(int type, int numItems)
      Invoked before writing of a collection.
      protected GeometryUtils.Target startCollectionItem​(int index, int total)
      Invoked before writing of a collection item.
      protected void startLineString​(int numPoints)
      Invoked before writing a LINESTRING.
      protected void startPoint()
      Invoked before writing a POINT.
      protected void startPolygon​(int numInner, int numPoints)
      Invoked before writing a POLYGON.
      protected void startPolygonInner​(int numInner)
      Invoked before writing an inner polygon in POLYGON.
      private void writeDouble​(double v)  
      private void writeHeader​(int type)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait