public class StaticPropertyList extends PropertyList
parentPropertyList
Constructor and Description |
---|
StaticPropertyList(FObj fObjToAttach,
PropertyList parentPropertyList)
Construct a StaticPropertyList.
|
Modifier and Type | Method and Description |
---|---|
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, getAbsolutePositionProps, getAuralProps, getBorderPaddingBackgroundProps, getExplicitOrShorthand, getFObj, getFontProps, getFromParent, getHyphenationProps, getInherited, getMarginBlockProps, getMarginInlineProps, getNearestSpecified, getParentFObj, getParentPropertyList, getPropertyForAttribute, getRelativePositionProps, getTextDecorationProps, getUnknownPropertyValues, handleInvalidProperty, isValidPropertyName, selectFromWritingMode, validatePropertyValue
public StaticPropertyList(FObj fObjToAttach, PropertyList parentPropertyList)
fObjToAttach
- The FObj object.parentPropertyList
- The parent property list.public Property getExplicit(int propId)
getExplicit
in class PropertyList
propId
- The ID of the property whose value is desired.public void putExplicit(int propId, Property value)
putExplicit
in class PropertyList
propId
- 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 PropertyList
propId
- 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 resortPropertyException
- if there is a problem evaluating the propertyCopyright © 2025 Apache Software Foundation. All rights reserved.