org.extex.font.format.xtf.tables
Class TtfTableCMAP.IndexEntry

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

public class TtfTableCMAP.IndexEntry
extends java.lang.Object
implements XMLWriterConvertible

cmap index entry.

Type Description
USHORT Platform ID.
USHORT Platform-specific encoding ID.
ULONG Byte offset from beginning of table to the subtable for this encoding.


Method Summary
 int getEncodingId()
          Returns the encoding id.
 java.lang.String getEncodingName()
          Returns the encoding name.
 int getOffset()
          Returns the offset.
 int getPlatformId()
          Returns the platform id.
 java.lang.String getPlatformName()
          Returns the platform name.
 java.lang.String toString()
          Returns the info for this class.
 void writeXML(XMLStreamWriter writer)
          Write the data to a XMLStreamWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getEncodingId

public int getEncodingId()
Returns the encoding id.

Returns:
Returns the encoding id

getEncodingName

public java.lang.String getEncodingName()
Returns the encoding name.

Returns:
Returns the encoding name.

getOffset

public int getOffset()
Returns the offset.

Returns:
returns the offset

getPlatformId

public int getPlatformId()
Returns the platform id.

Returns:
Returns the platform id

getPlatformName

public java.lang.String getPlatformName()
Returns the platform name.

Returns:
Returns the platform name.

toString

public java.lang.String toString()
Returns the info for this class.

Overrides:
toString in class java.lang.Object
Returns:
Returns the info for this class

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)