public static class GlyphTable.ChainedClassSequenceRule extends GlyphTable.ClassSequenceRule
ChainedClassSequenceRule
class implements a subclass of ClassSequenceRule
that supports matching on a specific glyph class sequence in a specific chained contextual.Constructor and Description |
---|
GlyphTable.ChainedClassSequenceRule(GlyphTable.RuleLookup[] lookups,
int inputSequenceLength,
int[] classes,
int[] backtrackClasses,
int[] lookaheadClasses)
Instantiate a ChainedClassSequenceRule.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getBacktrackClasses() |
int[] |
getLookaheadClasses() |
java.lang.String |
toString() |
getClasses, getClasses
getInputSequenceLength, getLookups, resolveLookupReferences
public GlyphTable.ChainedClassSequenceRule(GlyphTable.RuleLookup[] lookups, int inputSequenceLength, int[] classes, int[] backtrackClasses, int[] lookaheadClasses)
lookups
- the rule's lookupsinputSequenceLength
- number of glyphs constituting input sequence (to be consumed)classes
- the rule's input glyph class sequence to match, starting with second glyph in sequencebacktrackClasses
- the rule's backtrack glyph class sequence to match, starting with first glyph in sequencelookaheadClasses
- the rule's lookahead glyph class sequence to match, starting with first glyph in sequencepublic int[] getBacktrackClasses()
public int[] getLookaheadClasses()
public java.lang.String toString()
toString
in class GlyphTable.ClassSequenceRule
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.