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