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 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(Map<String,GlyphTable.LookupTable> lookupTables)` Resolve references to lookup tables.
    `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(Map<String,GlyphTable.LookupTable> lookupTables)

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

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2025 Apache Software Foundation. All rights reserved.