public abstract static class GlyphTable.Rule extends Object
Rule class implements an array of rule lookup records.| Modifier | Constructor and Description |
|---|---|
protected |
Rule(GlyphTable.RuleLookup[] lookups,
int inputSequenceLength)
Instantiate a Rule.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getInputSequenceLength() |
GlyphTable.RuleLookup[] |
getLookups() |
void |
resolveLookupReferences(Map<String,GlyphTable.LookupTable> lookupTables)
Resolve references to lookup tables, e.g., in RuleLookup, to the lookup tables themselves.
|
String |
toString() |
protected Rule(GlyphTable.RuleLookup[] lookups, int inputSequenceLength)
lookups - the rule's lookupsinputSequenceLength - the number of glyphs in the input sequence for this rulepublic GlyphTable.RuleLookup[] getLookups()
public int getInputSequenceLength()
public void resolveLookupReferences(Map<String,GlyphTable.LookupTable> lookupTables)
lookupTables - map from lookup table identifers, e.g. "lu4", to lookup tablesCopyright © 2023 Apache Software Foundation. All rights reserved.