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 private
AggregateMatcher(FontTriplet.Matcher... matchers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(FontTriplet triplet)
Indicates whether the givenFontTriplet
matches 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.Matcher
Indicates whether the givenFontTriplet
matches a particular criterium.- Specified by:
matches
in interfaceFontTriplet.Matcher
- Parameters:
triplet
- the font triplet- Returns:
- true if the font triplet is a match
-
-