Top Description Fields Constructors Methods
org.apache.poi.hssf.record.aggregates

public final Class DataValidityTable

extends RecordAggregate
Class Inheritance
Imports
java.util.ArrayList, .List, org.apache.poi.hssf.model.RecordStream, org.apache.poi.hssf.record.DVALRecord, .DVRecord

Manages the DVALRecord and DVRecords for a single sheet

See OOO excelfileformat.pdf section 4.14

Field Summary

Modifier and TypeField and Description
private final DVALRecord
private final List<DVRecord>
_validationList

The list of data validations for the current sheet.

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
visitContainedRecords(RecordAggregate.RecordVisitor
The visitor to use for callbacks while walking this object
rv
)

Implements abstract org.apache.poi.hssf.record.aggregates.RecordAggregate.visitContainedRecords.

Visit each of the atomic BIFF records contained in this RecordAggregate in the order that they should be written to file.

Inherited from org.apache.poi.hssf.record.aggregates.RecordAggregate:
getRecordSizeserialize

Field Detail

_headerRecback to summary
private final DVALRecord _headerRec
_validationListback to summary
private final List<DVRecord> _validationList

The list of data validations for the current sheet. Note - this may be empty (contrary to OOO documentation)

Constructor Detail

DataValidityTableback to summary
public DataValidityTable(RecordStream rs)
DataValidityTableback to summary
public DataValidityTable()

Method Detail

addDataValidationback to summary
public void addDataValidation(DVRecord dvRecord)
visitContainedRecordsback to summary
public void visitContainedRecords(RecordAggregate.RecordVisitor rv)

Implements abstract org.apache.poi.hssf.record.aggregates.RecordAggregate.visitContainedRecords.

Doc from org.apache.poi.hssf.record.aggregates.RecordAggregate.visitContainedRecords.

Visit each of the atomic BIFF records contained in this RecordAggregate in the order that they should be written to file. Implementors may or may not return the actual Records being used to manage POI's internal implementation. Callers should not assume either way, and therefore only attempt to modify those Records after cloning

Parameters
rv:RecordAggregate.RecordVisitor

The visitor to use for callbacks while walking this object

Annotations
@Override