public abstract static class GlyphTable.Rule
extends java.lang.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(java.util.Map<java.lang.String,GlyphTable.LookupTable> lookupTables)
Resolve references to lookup tables, e.g., in RuleLookup, to the lookup tables themselves.
|
java.lang.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(java.util.Map<java.lang.String,GlyphTable.LookupTable> lookupTables)
lookupTables
- map from lookup table identifers, e.g. "lu4", to lookup tablespublic java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.