org.apache.fop.fo
Class 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.
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.
|
addAttributesToList, findBasePropertyName, findSubPropertyName, get, get, getAbsolutePositionProps, getAccessibilityProps, getAuralProps, getBorderPaddingBackgroundProps, getExplicit, getExplicitOrShorthand, getFObj, getFontProps, getFromParent, getHyphenationProps, getInherited, getMarginBlockProps, getMarginInlineProps, getNearestSpecified, getParentFObj, getParentPropertyList, getRelativePositionProps, getTextDecorationProps, getWritingMode, getWritingMode, handleInvalidProperty, isValidPropertyName, putExplicit, setWritingMode |
StaticPropertyList
public StaticPropertyList(FObj fObjToAttach,
PropertyList parentPropertyList) Construct a StaticPropertyList.
fObjToAttach - The FObj object.parentPropertyList - The parent property list.
get
public Property get(int propId,
boolean bTryInherit,
boolean bTryDefault)
throws PropertyException Override PropertyList.get() and provides fast caching of previously
retrieved property values.
- get in interface PropertyList
getExplicit
public Property getExplicit(int propId)
Return the value explicitly specified on this FO.
- getExplicit in interface PropertyList
propId - The ID of the property whose value is desired.
- The value if the property is explicitly set, otherwise null.
putExplicit
public void putExplicit(int propId,
Property value) Set an value defined explicitly on this FO.
- putExplicit in interface PropertyList
propId - The ID of the property whose value is desired.value - The value of the property to set.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.