org.extex.font.format.xtf.tables
Class XtfTableDirectory.Entry

java.lang.Object
  extended by org.extex.font.format.xtf.tables.XtfTableDirectory.Entry
All Implemented Interfaces:
XMLWriterConvertible
Enclosing class:
XtfTableDirectory

public static class XtfTableDirectory.Entry
extends java.lang.Object
implements XMLWriterConvertible

Class for a TTF TableDirectory-Entry.

Type Name Description
ULONG tag 4 -byte identifier.
ULONG checkSum CheckSum for this table.
ULONG offset Offset from beginning of TrueType font file.
ULONG length Length of this table.


Method Summary
 int getCheckSum()
          Returns the checkSum.
 int getLength()
          Returns the length.
 int getOffset()
          Returns the offset.
 int getTag()
          Returns the tag.
 java.lang.String getTagName()
          Returns the tag name.
 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
 

Method Detail

getCheckSum

public int getCheckSum()
Returns the checkSum.

Returns:
Returns the checkSum.

getLength

public int getLength()
Returns the length.

Returns:
Returns the length.

getOffset

public int getOffset()
Returns the offset.

Returns:
Returns the offset.

getTag

public int getTag()
Returns the tag.

Returns:
Returns the tag.

getTagName

public java.lang.String getTagName()
Returns the tag name.

Returns:
Returns the tag name.

writeXML

public void writeXML(XMLStreamWriter writer)
              throws java.io.IOException
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( org.extex.util.xml.XMLStreamWriter)