Class GlyphTable.RuleSet
java.lang.Object
org.docx4j.fonts.fop.complexscripts.fonts.GlyphTable.RuleSet
- Direct Known Subclasses:
GlyphTable.HomogeneousRuleSet
- Enclosing class:
- GlyphTable
public static class GlyphTable.RuleSet
extends java.lang.Object
The
RuleSet class implements a collection of rules, which
may or may not be the same rule type.-
Constructor Summary
Constructors Constructor Description RuleSet(GlyphTable.Rule[] rules)Instantiate a Rule Set. -
Method Summary
Modifier and Type Method Description GlyphTable.Rule[]getRules()voidresolveLookupReferences(java.util.Map<java.lang.String,GlyphTable.LookupTable> lookupTables)Resolve references to lookup tables, e.g., in RuleLookup, to the lookup tables themselves.java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
RuleSet
Instantiate a Rule Set.- Parameters:
rules- the rules- Throws:
AdvancedTypographicTableFormatException- if rules or some element of rules is null
-
-
Method Details
-
getRules
- Returns:
- the rules
-
resolveLookupReferences
public void resolveLookupReferences(java.util.Map<java.lang.String,GlyphTable.LookupTable> lookupTables)Resolve references to lookup tables, e.g., in RuleLookup, to the lookup tables themselves.- Parameters:
lookupTables- map from lookup table identifers, e.g. "lu4", to lookup tables
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-