org.apache.poi.hslf.record
Class RecordContainer

java.lang.Object
  extended byorg.apache.poi.hslf.record.Record
      extended byorg.apache.poi.hslf.record.RecordContainer
Direct Known Subclasses:
DummyRecordWithChildren, EscherTextboxWrapper, PositionDependentRecordContainer, SlideListWithText

public abstract class RecordContainer
extends Record

Abstract class which all container records will extend. Providers helpful methods for writing child records out to disk

Author:
Nick Burch

Constructor Summary
RecordContainer()
           
 
Method Summary
 boolean isAnAtom()
          We're not an atom
 void writeOut(byte headerA, byte headerB, long type, Record[] children, java.io.OutputStream out)
          Write out our header, and our children.
 
Methods inherited from class org.apache.poi.hslf.record.Record
createRecordForType, findChildRecords, getChildRecords, getRecordType, writeLittleEndian, writeLittleEndian, writeOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordContainer

public RecordContainer()
Method Detail

isAnAtom

public boolean isAnAtom()
We're not an atom

Specified by:
isAnAtom in class Record

writeOut

public void writeOut(byte headerA,
                     byte headerB,
                     long type,
                     Record[] children,
                     java.io.OutputStream out)
              throws java.io.IOException
Write out our header, and our children.

Parameters:
headerA - the first byte of the header
headerB - the second byte of the header
type - the record type
children - our child records
out - the stream to write to
Throws:
java.io.IOException


Copyright 2005 The Apache Software Foundation or its licensors, as applicable.