org.apache.poi.hwpf.model
Class EscherRecordHolder

java.lang.Object
  extended by org.apache.poi.hwpf.model.EscherRecordHolder

public class EscherRecordHolder
extends java.lang.Object

Based on AbstractEscherRecordHolder fomr HSSF.

Author:
Squeeself

Field Summary
protected  java.util.ArrayList escherRecords
           
 
Constructor Summary
EscherRecordHolder()
           
EscherRecordHolder(byte[] data, int offset, int size)
           
 
Method Summary
 EscherRecord findFirstWithId(short id)
          Descends into all our children, returning the first EscherRecord with the given id, or null if none found
 EscherContainerRecord getEscherContainer()
          If we have a EscherContainerRecord as one of our children (and most top level escher holders do), then return that.
 java.util.List getEscherRecords()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

escherRecords

protected java.util.ArrayList escherRecords
Constructor Detail

EscherRecordHolder

public EscherRecordHolder()

EscherRecordHolder

public EscherRecordHolder(byte[] data,
                          int offset,
                          int size)
Method Detail

getEscherRecords

public java.util.List getEscherRecords()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getEscherContainer

public EscherContainerRecord getEscherContainer()
If we have a EscherContainerRecord as one of our children (and most top level escher holders do), then return that.


findFirstWithId

public EscherRecord findFirstWithId(short id)
Descends into all our children, returning the first EscherRecord with the given id, or null if none found



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