Package org.apache.poi.hslf.record
Class ExObjRefAtom
java.lang.Object
org.apache.poi.hslf.record.Record
org.apache.poi.hslf.record.RecordAtom
org.apache.poi.hslf.record.ExObjRefAtom
- All Implemented Interfaces:
GenericRecord
ExObjRefAtom (3009).
An atom record that specifies a reference to an external object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
long
Returns the type (held as a little endian in bytes 3 and 4) that this class handlesvoid
setExObjIdRef
(int id) void
writeOut
(OutputStream out) Write the contents of the record back, so it can be written to diskMethods inherited from class org.apache.poi.hslf.record.RecordAtom
getChildRecords, getMaxRecordLength, isAnAtom, setMaxRecordLength
Methods inherited from class org.apache.poi.hslf.record.Record
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
-
Constructor Details
-
ExObjRefAtom
public ExObjRefAtom()Create a new instance ofExObjRefAtom
-
-
Method Details
-
getRecordType
public long getRecordType()Description copied from class:Record
Returns the type (held as a little endian in bytes 3 and 4) that this class handles- Specified by:
getRecordType
in classRecord
- Returns:
- type of this record
RecordTypes.ExObjRefAtom
.
-
getExObjIdRef
public int getExObjIdRef() -
setExObjIdRef
public void setExObjIdRef(int id) -
writeOut
Write the contents of the record back, so it can be written to disk- Specified by:
writeOut
in classRecord
- Throws:
IOException
-
getGenericProperties
-