|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fo.properties.Property
org.apache.fop.fo.properties.ListProperty
public class ListProperty
Superclass for properties that are lists of other properties
Nested Class Summary | |
---|---|
static class |
ListProperty.Maker
Inner class for creating instances of ListProperty |
Field Summary | |
---|---|
protected java.util.List<Property> |
list
Vector containing the list of sub-properties |
Fields inherited from class org.apache.fop.fo.properties.Property |
---|
log |
Constructor Summary | |
---|---|
protected |
ListProperty()
Simple constructor used by subclasses to do some special processing. |
|
ListProperty(Property prop)
Create a new instance, using the given Property as the first
element in the list. |
Method Summary | |
---|---|
void |
addProperty(Property prop)
Add a new property to the list |
boolean |
equals(java.lang.Object obj)
|
java.util.List<Property> |
getList()
Return the java.util.List of Property instances
contained in this property. |
java.lang.Object |
getObject()
Return the java.util.List of Property instances,
cast as a java.lang.Object . |
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final java.util.List<Property> list
Constructor Detail |
---|
protected ListProperty()
public ListProperty(Property prop)
Property
as the first
element in the list.
prop
- the first property to be added to the listMethod Detail |
---|
public void addProperty(Property prop)
prop
- Property to be added to the listpublic java.util.List<Property> getList()
java.util.List
of Property
instances
contained in this property.
getList
in class Property
public java.lang.Object getObject()
java.util.List
of Property
instances,
cast as a java.lang.Object
.
getObject
in class Property
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
fop 2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |