|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.formats.shapefile.ShpNull
public class ShpNull
A null shape. These are used in shapefiles to indicate removed or otherwise missing graphics. They have no actual geometry.
Copyright 2006-2007 Partner Software, Inc.
| Field Summary | |
|---|---|
static ShpNull |
INSTANCE
Since all ShpNull objects have no state and are thus equivalent, you can just use this handy instance constant for all your ShpNull needs. |
| Constructor Summary | |
|---|---|
ShpNull()
Creates a new ShpNull object.Using INSTANCE is recommended, however. |
|
ShpNull(ShapeByteReader reader)
Creates a new ShpNull object from the given input, not that it uses it. |
|
| Method Summary | |
|---|---|
ShapeType |
getType()
Returns the type for this shape. |
void |
writeBytes(ShapeByteWriter writer)
Writes this shape, in binary format, to the given output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ShpNull INSTANCE
| Constructor Detail |
|---|
public ShpNull()
public ShpNull(ShapeByteReader reader)
| Method Detail |
|---|
public ShapeType getType()
ShpShape
getType in interface ShpShapepublic void writeBytes(ShapeByteWriter writer)
ShpShape
writeBytes in interface ShpShape
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||