// A border should only be rendered if the border style is not none
// and the border width is valid.
final ChoicePropertyHandler borderWidthHandler =
new ChoicePropertyHandler();
borderWidthHandler.addHandlers(PropertyGroups.BORDER_WIDTH_PROPERTIES,
new PositivePixelLengthHandler());
final ChoicePropertyHandler borderStyleHandler =
new ChoicePropertyHandler();
borderStyleHandler.addHandlers(PropertyGroups.BORDER_STYLE_PROPERTIES,