PositionDependentRecord
BinaryTagDataBlob
, Document
, DummyPositionSensitiveRecordWithChildren
, Environment
, SheetContainer
public abstract class PositionDependentRecordContainer extends RecordContainer implements PositionDependentRecord
Modifier and Type | Field | Description |
---|---|---|
protected int |
myLastOnDiskOffset |
Our location on the disk, as of the last write out
|
_children
Constructor | Description |
---|---|
PositionDependentRecordContainer() |
Modifier and Type | Method | Description |
---|---|---|
int |
getLastOnDiskOffset() |
Fetch our location on the disk, as of the last write out
|
int |
getSheetId() |
Fetch our sheet ID, as found from a PersistPtrHolder.
|
void |
setLastOnDiskOffset(int offset) |
Update the Record's idea of where on disk it lives, after a write out.
|
void |
setSheetId(int id) |
Set our sheet ID, as found from a PersistPtrHolder
|
void |
updateOtherRecordReferences(java.util.Hashtable<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup) |
Since we're a container, we don't mind if other records move about.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildRecordAtOffset, createRecordForType, findChildRecords, getRecordType, writeLittleEndian, writeLittleEndian, writeOut
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, handleParentAwareRecords, isAnAtom, moveChildBefore, moveChildrenAfter, moveChildrenBefore, removeChild, setChildRecord, writeOut
protected int myLastOnDiskOffset
public int getSheetId()
public void setSheetId(int id)
public int getLastOnDiskOffset()
getLastOnDiskOffset
in interface PositionDependentRecord
public void setLastOnDiskOffset(int offset)
setLastOnDiskOffset
in interface PositionDependentRecord
public void updateOtherRecordReferences(java.util.Hashtable<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
updateOtherRecordReferences
in interface PositionDependentRecord
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.