Package org.apache.fop.fo.properties
Class FontFamilyProperty
- java.lang.Object
-
- org.apache.fop.fo.properties.Property
-
- org.apache.fop.fo.properties.ListProperty
-
- org.apache.fop.fo.properties.FontFamilyProperty
-
public final class FontFamilyProperty extends ListProperty
Property class for the font-family property.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FontFamilyProperty.Maker
Inner class for creating instances of ListProperty
-
Field Summary
Fields Modifier and Type Field Description private static PropertyCache<FontFamilyProperty>
CACHE
cache holding all canonical FontFamilyProperty instances-
Fields inherited from class org.apache.fop.fo.properties.ListProperty
list
-
-
Constructor Summary
Constructors Modifier Constructor Description private
FontFamilyProperty()
Default constructor.private
FontFamilyProperty(Property prop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(Property prop)
Add a new property to the listjava.lang.String
getString()
This method expects to be overridden by subclasses.-
Methods inherited from class org.apache.fop.fo.properties.ListProperty
equals, getList, getObject, hashCode
-
Methods inherited from class org.apache.fop.fo.properties.Property
getCharacter, getColor, getCondLength, getEnum, getKeep, getLength, getLengthPair, getLengthRange, getNCname, getNumber, getNumeric, getSpace, getSpecifiedValue, isAuto, setSpecifiedValue, toString
-
-
-
-
Field Detail
-
CACHE
private static final PropertyCache<FontFamilyProperty> CACHE
cache holding all canonical FontFamilyProperty instances
-
-
Constructor Detail
-
FontFamilyProperty
private FontFamilyProperty(Property prop)
- Parameters:
prop
- the first Property to be added to the list
-
FontFamilyProperty
private FontFamilyProperty()
Default constructor.
-
-
Method Detail
-
addProperty
public void addProperty(Property prop)
Add a new property to the list- Overrides:
addProperty
in classListProperty
- Parameters:
prop
- Property to be added to the list
-
-