/**
  * Get the contour line cap style. Use associated <code>ContourLineAttribute</code> if it exists
  * and has capStyleOverrideen set to <code>false</code>.
  */
 public int getCapStyle() {
   if (attr_ != null && attr_.isCapStyleOverridden()) {
     return attr_.getCapStyle();
   } else {
     return super.getCapStyle();
   }
 }