1 12 package org.displaytag.render; 13 14 import org.displaytag.model.Column; 15 import org.displaytag.model.Row; 16 import org.displaytag.model.TableModel; 17 18 19 27 public abstract class TableWriterAdapter extends TableWriterTemplate 28 { 29 30 33 protected void writeEmptyListMessage(String emptyListMessage) throws Exception 34 { 35 } 36 37 40 protected void writeTopBanner(TableModel model) throws Exception 41 { 42 } 43 44 47 protected void writeTableOpener(TableModel model) throws Exception 48 { 49 } 50 51 54 protected void writeCaption(TableModel model) throws Exception 55 { 56 } 57 58 61 protected void writeTableHeader(TableModel model) throws Exception 62 { 63 } 64 65 68 protected void writePreBodyFooter(TableModel model) throws Exception 69 { 70 } 71 72 75 protected void writeTableBodyOpener(TableModel model) throws Exception 76 { 77 } 78 79 82 protected void writeTableBodyCloser(TableModel model) throws Exception 83 { 84 } 85 86 89 protected void writePostBodyFooter(TableModel model) throws Exception 90 { 91 } 92 93 96 protected void writeTableCloser(TableModel model) throws Exception 97 { 98 } 99 100 103 protected void writeBottomBanner(TableModel model) throws Exception 104 { 105 } 106 107 110 protected void writeDecoratedTableFinish(TableModel model) throws Exception 111 { 112 } 113 114 117 protected void writeDecoratedRowStart(TableModel model) throws Exception 118 { 119 } 120 121 124 protected void writeRowOpener(Row row) throws Exception 125 { 126 } 127 128 131 protected void writeColumnOpener(Column column) throws Exception 132 { 133 } 134 135 138 protected void writeColumnValue(Object value, Column column) throws Exception 139 { 140 } 141 142 145 protected void writeColumnCloser(Column column) throws Exception 146 { 147 } 148 149 152 protected void writeRowWithNoColumns(String string) throws Exception 153 { 154 } 155 156 159 protected void writeRowCloser(Row row) throws Exception 160 { 161 } 162 163 166 protected void writeDecoratedRowFinish(TableModel model) throws Exception 167 { 168 } 169 170 173 protected void writeEmptyListRowMessage(String message) throws Exception 174 { 175 } 176 } 177 | Popular Tags |