Class GlyphTable.ChainedGlyphSequenceRule
- java.lang.Object
-
- org.apache.fop.complexscripts.fonts.GlyphTable.Rule
-
- org.apache.fop.complexscripts.fonts.GlyphTable.GlyphSequenceRule
-
- org.apache.fop.complexscripts.fonts.GlyphTable.ChainedGlyphSequenceRule
-
- Enclosing class:
- GlyphTable
public static class GlyphTable.ChainedGlyphSequenceRule extends GlyphTable.GlyphSequenceRule
TheChainedGlyphSequenceRule
class implements a subclass ofGlyphSequenceRule
that supports matching on a specific glyph sequence in a specific chained contextual.
-
-
Field Summary
Fields Modifier and Type Field Description private int[]
backtrackGlyphs
private int[]
lookaheadGlyphs
-
Constructor Summary
Constructors Constructor Description ChainedGlyphSequenceRule(GlyphTable.RuleLookup[] lookups, int inputSequenceLength, int[] glyphs, int[] backtrackGlyphs, int[] lookaheadGlyphs)
Instantiate a ChainedGlyphSequenceRule.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
getBacktrackGlyphs()
int[]
getLookaheadGlyphs()
java.lang.String
toString()
-
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphTable.GlyphSequenceRule
getGlyphs, getGlyphs
-
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphTable.Rule
getInputSequenceLength, getLookups, resolveLookupReferences
-
-
-
-
Constructor Detail
-
ChainedGlyphSequenceRule
public ChainedGlyphSequenceRule(GlyphTable.RuleLookup[] lookups, int inputSequenceLength, int[] glyphs, int[] backtrackGlyphs, int[] lookaheadGlyphs)
Instantiate a ChainedGlyphSequenceRule.- Parameters:
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 sequence
-
-
Method Detail
-
getBacktrackGlyphs
public int[] getBacktrackGlyphs()
- Returns:
- the backtrack glyphs
-
getLookaheadGlyphs
public int[] getLookaheadGlyphs()
- Returns:
- the lookahead glyphs
-
toString
public java.lang.String toString()
- Overrides:
toString
in classGlyphTable.GlyphSequenceRule
-
-