de.dante.extex.font.type.tfm
Class TFMExtensibleRecipe

java.lang.Object
  extended byde.dante.extex.font.type.tfm.TFMExtensibleRecipe
All Implemented Interfaces:
java.io.Serializable, XMLWriterConvertible

public class TFMExtensibleRecipe
extends java.lang.Object
implements XMLWriterConvertible, java.io.Serializable

Class for extensible recipe.

Extensible characters are specified by an extensible_recipe, which consists of four bytes called top, mid, bot, and rep (in this order). These bytes are the character codes of individual pieces used to build up a large symbol.

Information from: The DVI Driver Standard, Level 0 The TUG DVI Driver Standards Committee

Version:
$Revision: 1.4 $
Author:
Michael Niedermair
See Also:
Serialized Form

Constructor Summary
TFMExtensibleRecipe(RandomAccessR rar, int id)
          Create a new object
 
Method Summary
 short getBot()
          Returns the bot.
 short getMid()
          Returns the mid.
 short getRep()
          Returns the rep.
 short getTop()
          Returns the top.
 void writeXML(XMLStreamWriter writer)
          Write the data to a XMLStreamWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TFMExtensibleRecipe

public TFMExtensibleRecipe(RandomAccessR rar,
                           int id)
                    throws java.io.IOException
Create a new object

Parameters:
rar - the input
id - the id
Throws:
java.io.IOException - if an IO-error occurs.
Method Detail

getBot

public short getBot()
Returns the bot.

Returns:
Returns the bot.

getMid

public short getMid()
Returns the mid.

Returns:
Returns the mid.

getRep

public short getRep()
Returns the rep.

Returns:
Returns the rep.

getTop

public short getTop()
Returns the top.

Returns:
Returns the top.

writeXML

public void writeXML(XMLStreamWriter writer)
              throws java.io.IOException
Description copied from interface: XMLWriterConvertible
Write the data to a XMLStreamWriter.

Specified by:
writeXML in interface XMLWriterConvertible
Parameters:
writer - the XML-Writer
Throws:
java.io.IOException - if an IO-error occurs.
See Also:
XMLWriterConvertible.writeXML(de.dante.util.xml.XMLStreamWriter)