public static class GlyphTable.ChainedCoverageSequenceRule extends GlyphTable.CoverageSequenceRule
ChainedCoverageSequenceRule
class implements a subclass of CoverageSequenceRule
that supports matching on a specific glyph class sequence in a specific chained contextual.Constructor and Description |
---|
GlyphTable.ChainedCoverageSequenceRule(GlyphTable.RuleLookup[] lookups,
int inputSequenceLength,
GlyphCoverageTable[] coverages,
GlyphCoverageTable[] backtrackCoverages,
GlyphCoverageTable[] lookaheadCoverages)
Instantiate a ChainedCoverageSequenceRule.
|
Modifier and Type | Method and Description |
---|---|
GlyphCoverageTable[] |
getBacktrackCoverages() |
GlyphCoverageTable[] |
getLookaheadCoverages() |
java.lang.String |
toString() |
getCoverages
getInputSequenceLength, getLookups, resolveLookupReferences
public GlyphTable.ChainedCoverageSequenceRule(GlyphTable.RuleLookup[] lookups, int inputSequenceLength, GlyphCoverageTable[] coverages, GlyphCoverageTable[] backtrackCoverages, GlyphCoverageTable[] lookaheadCoverages)
lookups
- the rule's lookupsinputSequenceLength
- number of glyphs constituting input sequence (to be consumed)coverages
- the rule's input glyph class sequence to match, starting with first glyph in sequencebacktrackCoverages
- the rule's backtrack glyph class sequence to match, starting with first glyph in sequencelookaheadCoverages
- the rule's lookahead glyph class sequence to match, starting with first glyph in sequencepublic GlyphCoverageTable[] getBacktrackCoverages()
public GlyphCoverageTable[] getLookaheadCoverages()
public java.lang.String toString()
toString
in class GlyphTable.CoverageSequenceRule
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.