diff options
author | Andrew C. Oliver <acoliver@apache.org> | 2002-03-21 00:49:36 +0000 |
---|---|---|
committer | Andrew C. Oliver <acoliver@apache.org> | 2002-03-21 00:49:36 +0000 |
commit | e2bab1264a3743e6e43e5ee9cd41794e9210fd83 (patch) | |
tree | 30487ffcc0bc420351fe59900404a0df808ca8c8 | |
parent | 50d32856b6760008ed8640c755d32796f8fcb3c8 (diff) | |
download | poi-e2bab1264a3743e6e43e5ee9cd41794e9210fd83.tar.gz poi-e2bab1264a3743e6e43e5ee9cd41794e9210fd83.zip |
I don't remember but I'm sure it was something
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352258 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/types/styles/hdftype.xsl | 43 |
1 files changed, 1 insertions, 42 deletions
diff --git a/src/types/styles/hdftype.xsl b/src/types/styles/hdftype.xsl index de07f12f90..95a173348a 100644 --- a/src/types/styles/hdftype.xsl +++ b/src/types/styles/hdftype.xsl @@ -68,6 +68,7 @@ import org.apache.poi.util.BitField; import org.apache.poi.util.LittleEndian; import org.apache.poi.util.StringUtil; import org.apache.poi.util.HexDump; +import org.apache.poi.hdf.model.hdftypes.HDFType; /** * <xsl:value-of select="/record/description"/> @@ -91,48 +92,6 @@ public class <xsl:value-of select="@name"/>Type </xsl:if></xsl:for-each> } - /** - * Constructs a <xsl:value-of select="@name"/> record and sets its fields appropriately. - * - * @param id id must be <xsl:value-of select="@id"/> or an exception - * will be throw upon validation - * @param size size the size of the data area of the record - * @param data data of the record (should not contain sid/len) - */ - - public <xsl:value-of select="@name"/>Type(short id, short size, byte [] data) - { - super(id, size, data); - } - - /** - * Constructs a <xsl:value-of select="@name"/> record and sets its fields appropriately. - * - * @param id id must be <xsl:value-of select="@id"/> or an exception - * will be throw upon validation - * @param size size the size of the data area of the record - * @param data data of the record (should not contain sid/len) - * @param offset of the record's data - */ - - public <xsl:value-of select="@name"/>Type(short id, short size, byte [] data, int offset) - { - super(id, size, data, offset); - } - - /** - * Checks the sid matches the expected side for this record - * - * @param id the expected sid. - */ - protected void validateSid(short id) - { - if (id != sid) - { - throw new HDFTypeFormatException("Not a <xsl:value-of select="@name"/> record"); - } - } - protected void fillFields(byte [] data, short size, int offset) { <xsl:variable name="fieldIterator" select="field:new()"/> |