org.apache.fop.fo.flow.table

Class BorderSpecification


public class BorderSpecification
extends java.lang.Object

A border's informations, along with the FO element which declared it. Used for border resolution in the collapsing-border model.

Constructor Summary

BorderSpecification(CommonBorderPaddingBackground.BorderInfo borderInfo, int holder)
Creates a new border specification.

Method Summary

CommonBorderPaddingBackground.BorderInfo
getBorderInfo()
Returns this border's informations.
int
getHolder()
Returns the FO element declaring this border.
String
toString()

Constructor Details

BorderSpecification

public BorderSpecification(CommonBorderPaddingBackground.BorderInfo borderInfo,
                           int holder)
Creates a new border specification.
Parameters:
borderInfo - the border's informations
holder - the FO element declaring this border

Method Details

getBorderInfo

public CommonBorderPaddingBackground.BorderInfo getBorderInfo()
Returns this border's informations.
Returns:
this border's informations

getHolder

public int getHolder()
Returns the FO element declaring this border.

toString

public String toString()

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