Class 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 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
      • resolveLookupReferences

        public void resolveLookupReferences​(java.util.Map<java.lang.String,​GlyphTable.LookupTable> 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