Added stuff for writing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353122 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d1c287c01d
commit
6ba649ee20
@ -100,6 +100,14 @@ public abstract class <xsl:value-of select="@name"/>AbstractType
|
||||
</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();
|
||||
|
Loading…
Reference in New Issue
Block a user