org.extex.font.format.xtf.tables.gps
Class XtfGPOSPairTable.PairTableFormat2

java.lang.Object
  extended by org.extex.font.format.xtf.tables.gps.XtfLookupTable
      extended by org.extex.font.format.xtf.tables.gps.XtfGPOSPairTable
          extended by org.extex.font.format.xtf.tables.gps.XtfGPOSPairTable.PairTableFormat2
All Implemented Interfaces:
XMLWriterConvertible
Enclosing class:
XtfGPOSPairTable

public static class XtfGPOSPairTable.PairTableFormat2
extends XtfGPOSPairTable
implements XMLWriterConvertible

Pair Format 2


Nested Class Summary
 
Nested classes/interfaces inherited from class org.extex.font.format.xtf.tables.gps.XtfGPOSPairTable
XtfGPOSPairTable.PairTableFormat1, XtfGPOSPairTable.PairTableFormat2
 
Field Summary
 
Fields inherited from class org.extex.font.format.xtf.tables.gps.XtfGPOSPairTable
coverage, valueFormat1, valueFormat2
 
Fields inherited from class org.extex.font.format.xtf.tables.gps.XtfLookupTable
count
 
Method Summary
 Class1Record[] getClass1RecordArray()
          Getter for class1RecordArray.
 ClassDefTable getClassDef1()
          Getter for classDef1.
 ClassDefTable getClassDef2()
          Getter for classDef2.
 PairValue getPairValue(int firstGlyph, int secondGlyph)
          Returns the PairValue for the combination first and second Glyph.
 void writeXML(XMLStreamWriter writer)
          Write the data to a XMLStreamWriter.
 
Methods inherited from class org.extex.font.format.xtf.tables.gps.XtfGPOSPairTable
getCoverage, getValueFormat1, getValueFormat2, newInstance
 
Methods inherited from class org.extex.font.format.xtf.tables.gps.XtfLookupTable
getCount, getFormat, getXtfGlyph
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getClass1RecordArray

public Class1Record[] getClass1RecordArray()
Getter for class1RecordArray.

Returns:
the class1RecordArray

getClassDef1

public ClassDefTable getClassDef1()
Getter for classDef1.

Returns:
the classDef1

getClassDef2

public ClassDefTable getClassDef2()
Getter for classDef2.

Returns:
the classDef2

getPairValue

public PairValue getPairValue(int firstGlyph,
                              int secondGlyph)
Returns the PairValue for the combination first and second Glyph.

Specified by:
getPairValue in class XtfGPOSPairTable
Parameters:
firstGlyph - The first glyph.
secondGlyph - The second glyph.
Returns:
Returns the PairValue for the combination first and second Glyph.
See Also:
XtfGPOSPairTable.getPairValue(int, int)

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)