class GeometryCollectionSqlServerEncoder extends AbstractSqlServerEncoder
Encoder for GeometryCollections.| Modifier and Type | Field and Description |
|---|---|
private OpenGisType |
openGisType |
| Constructor and Description |
|---|
GeometryCollectionSqlServerEncoder(OpenGisType openGisType) |
| Modifier and Type | Method and Description |
|---|---|
<P extends Position> |
accepts(Geometry<P> geom) |
protected Shape |
createShape(int parentShapeIndex,
java.util.List<Figure> figures) |
protected void |
encode(Geometry<?> geom,
int parentShapeIndex,
CountingPositionSequenceBuilder<?> coordinates,
java.util.List<Figure> figures,
java.util.List<Shape> shapes)
Appends the points, figures, shapes to the resp.
|
protected void |
encodeComponent(Geometry geom,
int thisShapeIndex,
CountingPositionSequenceBuilder coordinates,
java.util.List<Figure> figures,
java.util.List<Shape> shapes) |
encode, encodeFigures, encodePoints, encodeShapes, setCoordinateprivate final OpenGisType openGisType
GeometryCollectionSqlServerEncoder(OpenGisType openGisType)
protected void encode(Geometry<?> geom, int parentShapeIndex, CountingPositionSequenceBuilder<?> coordinates, java.util.List<Figure> figures, java.util.List<Shape> shapes)
AbstractSqlServerEncoderencode in class AbstractSqlServerEncodergeom - geometry to serializationparentShapeIndex - index of the parent Shape for the geometrycoordinates - coordinate list to append tofigures - figure list to append toshapes - shape list to append toprotected void encodeComponent(Geometry geom, int thisShapeIndex, CountingPositionSequenceBuilder coordinates, java.util.List<Figure> figures, java.util.List<Shape> shapes)