sackley     2003/06/04 19:00:50

  Modified:    src/types/styles hdftype.xsl
  Log:
  Added stuff for writing
  
  Revision  Changes    Path
  1.9       +8 -0      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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- hdftype.xsl       30 Apr 2003 04:39:07 -0000      1.8
  +++ hdftype.xsl       5 Jun 2003 02:00:50 -0000       1.9
  @@ -100,6 +100,14 @@
   </xsl:for-each>
       }
   
  +    public void serialize(byte[] data, int offset)
  +    {
  +<xsl:variable name="fieldIterator" select="field:new()"/>
  +<xsl:for-each select="//fields/field">
  +<xsl:text>        </xsl:text><xsl:value-of 
select="field:serialiseEncoder($fieldIterator,position(),@name,@size,@type)"/>;
  +</xsl:for-each>
  +    }
  +
       public String toString()
       {
           StringBuffer buffer = new StringBuffer();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to