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
Superclass for properties that are lists of other properties
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Inner class for creating instances ofListProperty
-
Field Summary
Modifier and TypeFieldDescriptionVector containing the list of sub-properties -
Constructor Summary
ModifierConstructorDescriptionprotected
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
Modifier and TypeMethodDescriptionvoid
addProperty
(Property prop) Add a new property to the listboolean
getList()
Return thejava.util.List
ofProperty
instances contained in this property.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 Details
-
list
Vector containing the list of sub-properties
-
-
Constructor Details
-
ListProperty
protected ListProperty()Simple constructor used by subclasses to do some special processing. -
ListProperty
Create a new instance, using the givenProperty
as the first element in the list.- Parameters:
prop
- the first property to be added to the list
-
-
Method Details
-
addProperty
Add a new property to the list- Parameters:
prop
- Property to be added to the list
-
getList
Return thejava.util.List
ofProperty
instances contained in this property. -
getObject
-
hashCode
public int hashCode() -
equals
-