org.apache.poi.hssf.record
Class SubRecord

java.lang.Object
  extended by org.apache.poi.hssf.record.SubRecord
Direct Known Subclasses:
CommonObjectDataSubRecord, EmbeddedObjectRefSubRecord, EndSubRecord, GroupMarkerSubRecord, NoteStructureSubRecord

public abstract class SubRecord
extends java.lang.Object

Subrecords are part of the OBJ class.


Constructor Summary
protected SubRecord()
           
 
Method Summary
abstract  java.lang.Object clone()
           
static SubRecord createSubRecord(LittleEndianInput in)
           
protected abstract  int getDataSize()
           
 byte[] serialize()
           
abstract  void serialize(LittleEndianOutput out)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubRecord

protected SubRecord()
Method Detail

createSubRecord

public static SubRecord createSubRecord(LittleEndianInput in)

getDataSize

protected abstract int getDataSize()
Returns:
the size of the data for this record (which is always 4 bytes less than the total record size). Note however, that ushort encoded after the record sid is usually but not always the data size.

serialize

public byte[] serialize()

serialize

public abstract void serialize(LittleEndianOutput out)

clone

public abstract java.lang.Object clone()
Overrides:
clone in class java.lang.Object


Copyright 2009 The Apache Software Foundation or its licensors, as applicable.