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