Package org.apache.fop.render.afp
Class AFPFontConfig.AggregateMatcher
- java.lang.Object
-
- org.apache.fop.render.afp.AFPFontConfig.AggregateMatcher
-
- All Implemented Interfaces:
FontTriplet.Matcher
- Enclosing class:
- AFPFontConfig
private static final class AFPFontConfig.AggregateMatcher extends java.lang.Object implements FontTriplet.Matcher
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<FontTriplet.Matcher>matchers
-
Constructor Summary
Constructors Modifier Constructor Description privateAggregateMatcher(FontTriplet.Matcher... matchers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(FontTriplet triplet)Indicates whether the givenFontTripletmatches a particular criterium.
-
-
-
Field Detail
-
matchers
private final java.util.List<FontTriplet.Matcher> matchers
-
-
Constructor Detail
-
AggregateMatcher
private AggregateMatcher(FontTriplet.Matcher... matchers)
-
-
Method Detail
-
matches
public boolean matches(FontTriplet triplet)
Description copied from interface:FontTriplet.MatcherIndicates whether the givenFontTripletmatches a particular criterium.- Specified by:
matchesin interfaceFontTriplet.Matcher- Parameters:
triplet- the font triplet- Returns:
- true if the font triplet is a match
-
-