Package org.apache.fop.fo.properties
Class ListProperty
- java.lang.Object
-
- org.apache.fop.fo.properties.Property
-
- org.apache.fop.fo.properties.ListProperty
-
- Direct Known Subclasses:
BackgroundPositionShorthand
,FontFamilyProperty
,FontShorthandProperty
public class ListProperty extends Property
Superclass for properties that are lists of other properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListProperty.Maker
Inner class for creating instances ofListProperty
-
Constructor Summary
Constructors Modifier Constructor Description protected
ListProperty()
Simple constructor used by subclasses to do some special processing.ListProperty(Property prop)
Create a new instance, using the givenProperty
as the first element in the list.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(Property prop)
Add a new property to the listboolean
equals(java.lang.Object obj)
java.util.List<Property>
getList()
Return thejava.util.List
ofProperty
instances contained in this property.java.lang.Object
getObject()
int
hashCode()
-
Methods inherited from class org.apache.fop.fo.properties.Property
getCharacter, getColor, getCondLength, getEnum, getKeep, getLength, getLengthPair, getLengthRange, getNCname, getNumber, getNumeric, getSpace, getSpecifiedValue, getString, isAuto, setSpecifiedValue, toString
-
-
-
-
Field Detail
-
list
protected final java.util.List<Property> list
Vector containing the list of sub-properties
-
-
Method Detail
-
addProperty
public void addProperty(Property prop)
Add a new property to the list- Parameters:
prop
- Property to be added to the list
-
getList
public java.util.List<Property> getList()
Return thejava.util.List
ofProperty
instances contained in this property.
-
getObject
public java.lang.Object getObject()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-