public class ShpNull extends java.lang.Object implements ShpShape
Copyright 2006-2007 Partner Software, Inc.
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
ShapeType |
getType()
Returns the type for this shape.
|
void |
writeBytes(ShapeByteWriter writer)
Writes this shape, in binary format, to the given output.
|
public static final ShpNull INSTANCE
public ShpNull()
public ShpNull(ShapeByteReader reader)
public ShapeType getType()
ShpShapepublic void writeBytes(ShapeByteWriter writer)
ShpShapewriteBytes in interface ShpShape