poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sack...@apache.org
Subject cvs commit: jakarta-poi/src/types/styles hdftype.xsl
Date Thu, 05 Jun 2003 02:00:50 GMT
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();
  
  
  

Mime
View raw message