Package org.apache.fop.fo.flow.table
Class BorderSpecification
- java.lang.Object
-
- org.apache.fop.fo.flow.table.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.
-
-
Field Summary
Fields Modifier and Type Field Description private CommonBorderPaddingBackground.BorderInfo
borderInfo
private static BorderSpecification
defaultBorder
private int
holder
-
Constructor Summary
Constructors Constructor Description BorderSpecification(CommonBorderPaddingBackground.BorderInfo borderInfo, int holder)
Creates a new border specification.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonBorderPaddingBackground.BorderInfo
getBorderInfo()
Returns this border's informations.(package private) static BorderSpecification
getDefaultBorder()
int
getHolder()
Returns the FO element declaring this border.java.lang.String
toString()
-
-
-
Field Detail
-
defaultBorder
private static BorderSpecification defaultBorder
-
borderInfo
private CommonBorderPaddingBackground.BorderInfo borderInfo
-
holder
private int holder
-
-
Constructor Detail
-
BorderSpecification
public BorderSpecification(CommonBorderPaddingBackground.BorderInfo borderInfo, int holder)
Creates a new border specification.- Parameters:
borderInfo
- the border's informationsholder
- the FO element declaring this border
-
-
Method Detail
-
getDefaultBorder
static BorderSpecification getDefaultBorder()
-
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 java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-