org.apache.fop.fo.properties

Class BoxPropShorthandParser

Implemented Interfaces:
ShorthandParser

public class BoxPropShorthandParser
extends GenericShorthandParser

Shorthand property parser for Box properties

Constructor Summary

BoxPropShorthandParser()
Default constructor.

Method Summary

protected Property
convertValueForProperty(int propId, Property property, PropertyMaker maker, PropertyList propertyList)
Stores 1 to 4 values of same type.

Methods inherited from class org.apache.fop.fo.properties.GenericShorthandParser

convertValueForProperty, getElement, getValueForProperty

Constructor Details

BoxPropShorthandParser

public BoxPropShorthandParser()
Default constructor.

Method Details

convertValueForProperty

protected Property convertValueForProperty(int propId,
                                           Property property,
                                           PropertyMaker maker,
                                           PropertyList propertyList)
            throws PropertyException
Stores 1 to 4 values of same type. Set the given property based on the number of values set. Example: padding, border-width, border-color, border-style, margin int, Property, PropertyMaker, PropertyList)
Overrides:
convertValueForProperty in interface GenericShorthandParser

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.