public static class GlyphTable.ClassSequenceRule extends GlyphTable.Rule
ClassSequenceRule class implements a subclass of Rule
that supports matching on a specific glyph class sequence.| Constructor and Description |
|---|
ClassSequenceRule(GlyphTable.RuleLookup[] lookups,
int inputSequenceLength,
int[] classes)
Instantiate a ClassSequenceRule.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getClasses()
Obtain glyph classes.
|
int[] |
getClasses(int firstClass)
Obtain glyph classes augmented by specified first class entry.
|
java.lang.String |
toString() |
getInputSequenceLength, getLookups, resolveLookupReferencespublic ClassSequenceRule(GlyphTable.RuleLookup[] lookups, int inputSequenceLength, int[] classes)
lookups - the rule's lookupsinputSequenceLength - number of glyphs constituting input sequence (to be consumed)classes - the rule's glyph class sequence to match, starting with second glyph in sequencepublic int[] getClasses()
public int[] getClasses(int firstClass)
firstClass - to fill in first class entrypublic java.lang.String toString()
toString in class GlyphTable.RuleCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.