public abstract class ShapeRecord extends Object implements IDataType
Each individual shape record is byte-aligned within an array of shape records. One shape record is padded to a byte boundary before the next shape record begins.
Each shape record begins with a TypeFlag. If the TypeFlag is zero, the shape record is a non-edge record, and a further five bits of flag information follow.
Modifier and Type | Class and Description |
---|---|
static class |
ShapeRecord.ShapeRecordType
This is a type marker for subclasses of
ShapeRecord . |
Modifier | Constructor and Description |
---|---|
protected |
ShapeRecord(ShapeRecord.ShapeRecordType type)
Create a
ShapeRecord object from one of the four types. |
Modifier and Type | Method and Description |
---|---|
ShapeRecord.ShapeRecordType |
getShapeRecordType() |
boolean |
getTypeFlag() |
protected ShapeRecord(ShapeRecord.ShapeRecordType type)
ShapeRecord
object from one of the four types.type
- ShapeRecord typepublic boolean getTypeFlag()
public ShapeRecord.ShapeRecordType getShapeRecordType()
Copyright © 2016 The Apache Software Foundation. All rights reserved.