|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectMultiPointHandler
public class MultiPointHandler
| Constructor Summary | |
|---|---|
MultiPointHandler(GeometryFactory gf)
Creates new MultiPointHandler |
|
MultiPointHandler(ShapeType type,
GeometryFactory gf)
|
|
| Method Summary | |
|---|---|
int |
getLength(Object geometry)
Calcuates the record length of this object. |
ShapeType |
getShapeType()
Returns the shapefile shape type value for a point |
Object |
read(ByteBuffer buffer,
ShapeType type,
boolean flatGeometry)
Read a geometry from the ByteBuffer. |
void |
write(ByteBuffer buffer,
Object geometry)
Write the geometry into the ByteBuffer. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiPointHandler(GeometryFactory gf)
public MultiPointHandler(ShapeType type,
GeometryFactory gf)
throws ShapefileException
ShapefileException| Method Detail |
|---|
public ShapeType getShapeType()
getShapeType in interface ShapeHandlerpublic int getLength(Object geometry)
getLength in interface ShapeHandlergeometry - The geometry to analyze.
public Object read(ByteBuffer buffer,
ShapeType type,
boolean flatGeometry)
ShapeHandler
read in interface ShapeHandlerbuffer - The ByteBuffer to read from.
public void write(ByteBuffer buffer,
Object geometry)
ShapeHandler
write in interface ShapeHandlerbuffer - The ByteBuffer to write to.geometry - The geometry to write.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||