Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » hssf » record » aggregates » [javadoc | source]
org.apache.poi.hssf.record.aggregates
public final class: ValueRecordsAggregate [javadoc | source]
java.lang.Object
   org.apache.poi.hssf.record.Record
      org.apache.poi.hssf.record.aggregates.ValueRecordsAggregate
Aggregate value records together. Things are easier to handle that way.
Field Summary
public static final  short sid     
 int firstcell     
 int lastcell     
 CellValueRecordInterface[][] records     
Constructor:
 public ValueRecordsAggregate() 
Method from org.apache.poi.hssf.record.aggregates.ValueRecordsAggregate Summary:
clone,   construct,   fillFields,   getFirstCellNum,   getIterator,   getLastCellNum,   getPhysicalNumberOfCells,   getRecordSize,   getRowCellBlockSize,   getSid,   insertCell,   removeCell,   rowHasCells,   serialize,   serializeCellRow,   validateSid
Methods from org.apache.poi.hssf.record.Record:
clone,   cloneViaReserialise,   fillFields,   getRecordSize,   getSid,   isInValueSection,   isValue,   serialize,   serialize,   toString,   validateSid
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.hssf.record.aggregates.ValueRecordsAggregate Detail:
 public Object clone() 
    Performs a deep clone of the record
 public int construct(int offset,
    List records) 
 protected  void fillFields(RecordInputStream in) 
    You never fill an aggregate
 public int getFirstCellNum() 
 public Iterator getIterator() 
 public int getLastCellNum() 
 public int getPhysicalNumberOfCells() 
 public int getRecordSize() 
 public int getRowCellBlockSize(int startRow,
    int endRow) 
    Tallies a count of the size of the cell records that are attached to the rows in the range specified.
 public short getSid() 
    return the non static version of the id for this record.
 public  void insertCell(CellValueRecordInterface cell) 
 public  void removeCell(CellValueRecordInterface cell) 
 public boolean rowHasCells(int row) 
    Returns true if the row has cells attached to it
 public int serialize(int offset,
    byte[] data) 
    called by the class that is responsible for writing this sucker. Subclasses should implement this so that their data is passed back in a byte array.
 public int serializeCellRow(int row,
    int offset,
    byte[] data) 
    Serializes the cells that are allocated to a certain row range
 protected  void validateSid(short id) 
    called by constructor, should throw runtime exception in the event of a record passed with a differing ID.