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
Nested ClassesModifier and TypeClassDescriptionstatic classInner class for creating instances ofListProperty -
Field Summary
FieldsModifier and TypeFieldDescriptionVector containing the list of sub-properties -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSimple constructor used by subclasses to do some special processing.ListProperty(Property prop) Create a new instance, using the givenPropertyas the first element in the list. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(Property prop) Add a new property to the listbooleangetList()Return thejava.util.ListofPropertyinstances contained in this property.inthashCode()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 givenPropertyas 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.ListofPropertyinstances contained in this property. -
getObject
-
hashCode
public int hashCode() -
equals
-