org.extex.font.format.xtf.tables
Class RangeRecord

java.lang.Object
  extended by org.extex.font.format.xtf.tables.RangeRecord
All Implemented Interfaces:
XMLWriterConvertible

public class RangeRecord
extends java.lang.Object
implements XMLWriterConvertible

Class for a range record.

Type Name Description
GlyphID Start First GlyphID in the range
GlyphID End Last GlyphID in the range
uint16 StartCoverageIndex Coverage Index of first GlyphID in range

Version:
$Revision: 6604 $
Author:
Michael Niedermair

Constructor Summary
RangeRecord(RandomAccessR rar)
          Creates a new object.
 
Method Summary
 int getEnd()
          Getter for end.
 int getStart()
          Getter for start.
 int getStartCoverageIndex()
          Getter for startCoverageIndex.
 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

RangeRecord

public RangeRecord(RandomAccessR rar)
            throws java.io.IOException
Creates a new object.

Parameters:
rar - input
Throws:
java.io.IOException - if a io-error occurred.
Method Detail

getEnd

public int getEnd()
Getter for end.

Returns:
the end

getStart

public int getStart()
Getter for start.

Returns:
the start

getStartCoverageIndex

public int getStartCoverageIndex()
Getter for startCoverageIndex.

Returns:
the startCoverageIndex

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( org.extex.util.xml.XMLStreamWriter)