|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.fo.PropertyList
org.apache.fop.fo.StaticPropertyList
public class StaticPropertyList
A very fast implementation of PropertyList that uses arrays to store the explicit set properties and another array to store cached values.
| Field Summary |
|---|
| Fields inherited from class org.apache.fop.fo.PropertyList |
|---|
parentPropertyList |
| Constructor Summary | |
|---|---|
StaticPropertyList(FObj fObjToAttach,
PropertyList parentPropertyList)
Construct a StaticPropertyList. |
|
| Method Summary | |
|---|---|
Property |
get(int propId,
boolean bTryInherit,
boolean bTryDefault)
Override PropertyList.get() and provides fast caching of previously retrieved property values. |
Property |
getExplicit(int propId)
Return the value explicitly specified on this FO. |
void |
putExplicit(int propId,
Property value)
Set an value defined explicitly on this FO. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticPropertyList(FObj fObjToAttach,
PropertyList parentPropertyList)
fObjToAttach - The FObj object.parentPropertyList - The parent property list.| Method Detail |
|---|
public Property getExplicit(int propId)
getExplicit in class PropertyListpropId - The ID of the property whose value is desired.
public void putExplicit(int propId,
Property value)
putExplicit in class PropertyListpropId - The ID of the property whose value is desired.value - The value of the property to set.
public Property get(int propId,
boolean bTryInherit,
boolean bTryDefault)
throws PropertyException
get in class PropertyListpropId - the property's idbTryInherit - true for inherited properties, or when the inherited
value is neededbTryDefault - true when the default value may be used as a last resort
PropertyException - if there is a problem evaluating the property
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||