String.valueOf(StrictGeomUtility.toExternalValue(right.getWidth())));
attList.setAttribute(null, "border-right-style",
String.valueOf(right.getBorderStyle()));
}
final BorderCorner topLeft = bg.getTopLeft();
if (topLeft != null && BorderCorner.EMPTY.equals(topLeft) == false)
{
attList.setAttribute(null, "border-top-left-x",
String.valueOf(StrictGeomUtility.toExternalValue(topLeft.getWidth())));
attList.setAttribute(null, "border-top-left-y",
String.valueOf(StrictGeomUtility.toExternalValue(topLeft.getHeight())));
}
final BorderCorner topRight = bg.getTopRight();
if (topRight != null && BorderCorner.EMPTY.equals(topRight) == false)
{
attList.setAttribute(null, "border-top-right-x",
String.valueOf(StrictGeomUtility.toExternalValue(topRight.getWidth())));
attList.setAttribute(null, "border-top-right-y",
String.valueOf(StrictGeomUtility.toExternalValue(topRight.getHeight())));
}
final BorderCorner bottomLeft = bg.getBottomLeft();
if (bottomLeft != null && BorderCorner.EMPTY.equals(bottomLeft) == false)
{
attList.setAttribute(null, "border-bottom-left-x",
String.valueOf(StrictGeomUtility.toExternalValue(bottomLeft.getWidth())));
attList.setAttribute(null, "border-bottom-left-y",
String.valueOf(StrictGeomUtility.toExternalValue(bottomLeft.getHeight())));
}
final BorderCorner bottomRight = bg.getBottomRight();
if (bottomRight != null && BorderCorner.EMPTY.equals(bottomRight) == false)
{
attList.setAttribute(null, "border-bottom-right-x",
String.valueOf(StrictGeomUtility.toExternalValue(bottomRight.getWidth())));
attList.setAttribute(null, "border-bottom-right-y",
String.valueOf(StrictGeomUtility.toExternalValue(bottomRight.getHeight())));
}
return attList;
}