1 11 package com.tonbeller.jpivot.table; 12 13 import org.w3c.dom.Element ; 14 15 20 public class CornerBuilderImpl extends PartBuilderSupport implements CornerBuilder { 21 22 25 public Element build(int colSpan, int rowSpan) { 26 Element corner = table.elem("corner"); 27 corner.setAttribute("rowspan", Integer.toString(rowSpan)); 28 corner.setAttribute("colspan", Integer.toString(colSpan)); 29 return corner; 30 } 31 32 } 33 | Popular Tags |