public static class GlyphTable.ChainedGlyphSequenceRule extends GlyphTable.GlyphSequenceRule
ChainedGlyphSequenceRule
class implements a subclass of GlyphSequenceRule
that supports matching on a specific glyph sequence in a specific chained contextual.Constructor and Description |
---|
ChainedGlyphSequenceRule(GlyphTable.RuleLookup[] lookups,
int inputSequenceLength,
int[] glyphs,
int[] backtrackGlyphs,
int[] lookaheadGlyphs)
Instantiate a ChainedGlyphSequenceRule.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getBacktrackGlyphs() |
int[] |
getLookaheadGlyphs() |
java.lang.String |
toString() |
getGlyphs, getGlyphs
getInputSequenceLength, getLookups, resolveLookupReferences
public ChainedGlyphSequenceRule(GlyphTable.RuleLookup[] lookups, int inputSequenceLength, int[] glyphs, int[] backtrackGlyphs, int[] lookaheadGlyphs)
lookups
- the rule's lookupsinputSequenceLength
- number of glyphs constituting input sequence (to be consumed)glyphs
- the rule's input glyph sequence to match, starting with second glyph in sequencebacktrackGlyphs
- the rule's backtrack glyph sequence to match, starting with first glyph in sequencelookaheadGlyphs
- the rule's lookahead glyph sequence to match, starting with first glyph in sequencepublic int[] getBacktrackGlyphs()
public int[] getLookaheadGlyphs()
public java.lang.String toString()
toString
in class GlyphTable.GlyphSequenceRule
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.