Package org.apache.fop.fo.properties
Class BoxCornerPropShorthandParser
java.lang.Object
org.apache.fop.fo.properties.GenericShorthandParser
org.apache.fop.fo.properties.BoxCornerPropShorthandParser
- All Implemented Interfaces:
ShorthandParser
Shorthand property parser for Box rounded corner properties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Property
convertValueForProperty
(int propId, Property property, PropertyMaker maker, PropertyList propertyList) Stores 1 or 2 values of same type representing rounded corner radii.Methods inherited from class org.apache.fop.fo.properties.GenericShorthandParser
getElement, getValueForProperty, validate
-
Constructor Details
-
BoxCornerPropShorthandParser
public BoxCornerPropShorthandParser()Default constructor.
-
-
Method Details
-
convertValueForProperty
protected Property convertValueForProperty(int propId, Property property, PropertyMaker maker, PropertyList propertyList) throws PropertyException Stores 1 or 2 values of same type representing rounded corner radii. If 2 value are present the first is the corner radius in the IP direction, the second in the BP direction. Converts a property name into a Property- Overrides:
convertValueForProperty
in classGenericShorthandParser
- Parameters:
propId
- the property ID in the Constants interfaceproperty
- ...maker
- the Property.Maker to be used in the conversionpropertyList
- the PropertyList from which the Property should be extracted- Returns:
- the Property matching the parameters, or null if not found
- Throws:
PropertyException
- (when?)
-