org.apache.fop.complexscripts.fonts

## Class GlyphTable.RuleLookup

- java.lang.Object
- - org.apache.fop.complexscripts.fonts.GlyphTable.RuleLookup

- Enclosing class:
    GlyphTable

      public static class GlyphTable.RuleLookup
      extends java.lang.Object

  The `RuleLookup` class implements a rule lookup record, comprising a glyph sequence index and a lookup table index (in an applicable lookup list).

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RuleLookup(int sequenceIndex, int lookupIndex)` Instantiate a RuleLookup.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `GlyphTable.LookupTable` | `getLookup()`
    `int` | `getLookupIndex()`
    `int` | `getSequenceIndex()`
    `void` | `resolveLookupReferences(java.util.Map lookupTables)` Resolve references to lookup tables.
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RuleLookup

          public RuleLookup(int sequenceIndex,
                            int lookupIndex)

      Instantiate a RuleLookup.
      Parameters:
        `sequenceIndex` - the index into the input sequence
        `lookupIndex` - the lookup table index

  - ### Method Detail

    - #### getSequenceIndex

          public int getSequenceIndex()

      Returns:
        the sequence index

    - #### getLookupIndex

          public int getLookupIndex()

      Returns:
        the lookup index

    - #### getLookup

          public GlyphTable.LookupTable getLookup()

      Returns:
        the lookup table

    - #### resolveLookupReferences

          public void resolveLookupReferences(java.util.Map lookupTables)

      Resolve references to lookup tables.
      Parameters:
        `lookupTables` - map from lookup table identifers, e.g. "lu4", to lookup tables

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.