org.apache.poi.hwpf.model
Class EscherRecordHolder

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

@Internal
public final class EscherRecordHolder
extends java.lang.Object

Based on AbstractEscherRecordHolder from HSSF.

Author:
Squeeself

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
 java.util.List<? extends EscherContainerRecord> getBStoreContainers()
           
 java.util.List<? extends EscherContainerRecord> getDgContainers()
           
 java.util.List<? extends EscherContainerRecord> getDggContainers()
           
 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<EscherRecord> getEscherRecords()
           
 java.util.List<? extends EscherContainerRecord> getSpContainers()
           
 java.util.List<? extends EscherContainerRecord> getSpgrContainers()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EscherRecordHolder

public EscherRecordHolder()

EscherRecordHolder

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

getEscherRecords

public java.util.List<EscherRecord> 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


getDgContainers

public java.util.List<? extends EscherContainerRecord> getDgContainers()

getDggContainers

public java.util.List<? extends EscherContainerRecord> getDggContainers()

getBStoreContainers

public java.util.List<? extends EscherContainerRecord> getBStoreContainers()

getSpgrContainers

public java.util.List<? extends EscherContainerRecord> getSpgrContainers()

getSpContainers

public java.util.List<? extends EscherContainerRecord> getSpContainers()


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