| java.lang.Object org.apache.poi.hslf.record.Record org.apache.poi.hslf.record.RecordContainer
All known Subclasses: org.apache.poi.hslf.record.PositionDependentRecordContainer, org.apache.poi.hslf.record.EscherTextboxWrapper, org.apache.poi.hslf.record.DummyRecordWithChildren, org.apache.poi.hslf.record.SlideListWithText, org.apache.poi.hslf.record.Comment2000, org.apache.poi.hslf.record.FontCollection, org.apache.poi.hslf.record.ExHyperlink, org.apache.poi.hslf.record.InteractiveInfo, org.apache.poi.hslf.record.ExObjList, org.apache.poi.hslf.record.ExEmbed,
RecordContainer | abstract public class RecordContainer extends Record (Code) | | Abstract class which all container records will extend. Providers
helpful methods for writing child records out to disk
author: Nick Burch |
Method Summary | |
public void | addChildAfter(Record newChild, Record after) | public void | addChildBefore(Record newChild, Record before) | public void | appendChildRecord(Record newChild) Add a new child record onto a record's list of children. | public Record[] | getChildRecords() | public boolean | isAnAtom() | public void | moveChildBefore(Record child, Record before) | public void | moveChildrenAfter(Record firstChild, int number, Record after) | public void | moveChildrenBefore(Record firstChild, int number, Record before) | public void | writeOut(byte headerA, byte headerB, long type, Record[] children, OutputStream out) Write out our header, and our children. |
addChildAfter | public void addChildAfter(Record newChild, Record after)(Code) | | Adds the given Child Record after the supplied record
Parameters: newChild - Parameters: after - |
addChildBefore | public void addChildBefore(Record newChild, Record before)(Code) | | Adds the given Child Record before the supplied record
Parameters: newChild - Parameters: before - |
appendChildRecord | public void appendChildRecord(Record newChild)(Code) | | Add a new child record onto a record's list of children.
|
getChildRecords | public Record[] getChildRecords()(Code) | | Return any children
|
isAnAtom | public boolean isAnAtom()(Code) | | We're not an atom
|
moveChildBefore | public void moveChildBefore(Record child, Record before)(Code) | | Moves the given Child Record to before the supplied record
|
moveChildrenAfter | public void moveChildrenAfter(Record firstChild, int number, Record after)(Code) | | Moves the given Child Records to after the supplied record
|
moveChildrenBefore | public void moveChildrenBefore(Record firstChild, int number, Record before)(Code) | | Moves the given Child Records to before the supplied record
|
writeOut | public void writeOut(byte headerA, byte headerB, long type, Record[] children, OutputStream out) throws IOException(Code) | | Write out our header, and our children.
Parameters: headerA - the first byte of the header Parameters: headerB - the second byte of the header Parameters: type - the record type Parameters: children - our child records Parameters: out - the stream to write to |
|
|