acoliver    02/03/20 16:49:36

  Modified:    src/types/styles hdftype.xsl
  Log:
  I don't remember but I'm sure it was something
  
  Revision  Changes    Path
  1.3       +1 -42     jakarta-poi/src/types/styles/hdftype.xsl
  
  Index: hdftype.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/types/styles/hdftype.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- hdftype.xsl       17 Mar 2002 00:49:35 -0000      1.2
  +++ hdftype.xsl       21 Mar 2002 00:49:36 -0000      1.3
  @@ -68,6 +68,7 @@
   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"/>
  @@ -89,48 +90,6 @@
   <xsl:text>        </xsl:text>
   <xsl:value-of select="recutil:getFieldName(position(),@name,0)"/> = <xsl:value-of 
select="@default"/>;
   </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(&quot;Not a <xsl:value-of 
select="@name"/> record&quot;);
  -        }
       }
   
       protected void fillFields(byte [] data, short size, int offset)
  
  
  


Reply via email to