Class GlyphTable.Rule

    • Field Detail

      • inputSequenceLength

        private final int inputSequenceLength
    • Constructor Detail

      • Rule

        protected Rule​(GlyphTable.RuleLookup[] lookups,
                       int inputSequenceLength)
        Instantiate a Rule.
        Parameters:
        lookups - the rule's lookups
        inputSequenceLength - the number of glyphs in the input sequence for this rule
    • Method Detail

      • getInputSequenceLength

        public int getInputSequenceLength()
        Returns:
        the input sequence length
      • resolveLookupReferences

        public void resolveLookupReferences​(java.util.Map<java.lang.String,​GlyphTable.LookupTable> lookupTables)
        Resolve references to lookup tables, e.g., in RuleLookup, to the lookup tables themselves.
        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