• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hazendaz / displaytag / 1753

12 Feb 2026 03:17AM UTC coverage: 77.321% (-0.01%) from 77.334%
1753

push

github

web-flow
Merge pull request #1102 from hazendaz/renovate/javax-support-logback-monorepo

Update dependency ch.qos.logback:logback-classic to v1.5.29 (javax-support)

1438 of 2003 branches covered (71.79%)

Branch coverage included in aggregate %.

4034 of 5074 relevant lines covered (79.5%)

0.8 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

45.45
/displaytag/src/main/java/org/displaytag/render/TableWriterAdapter.java
1
/*
2
 * SPDX-License-Identifier: MIT
3
 * See LICENSE file for details.
4
 *
5
 * Copyright 2002-2026 Fabrizio Giustina, the Displaytag team
6
 */
7
package org.displaytag.render;
8

9
import org.displaytag.model.Column;
10
import org.displaytag.model.Row;
11
import org.displaytag.model.TableModel;
12

13
/**
14
 * Convenience abstract adapter for constructing a table view; contains only stub implementations. This class exists as
15
 * a convenience for creating table-writer objects. Extend this class to create a table writer and override the methods
16
 * of interest. This class also protects subclasses from future additions to TableWriterTemplate they may not be
17
 * interested in.
18
 */
19
public abstract class TableWriterAdapter extends TableWriterTemplate {
1✔
20

21
    /**
22
     * Write empty list message.
23
     *
24
     * @param emptyListMessage
25
     *            the empty list message
26
     *
27
     * @throws Exception
28
     *             the exception
29
     *
30
     * @see org.displaytag.render.TableWriterTemplate#writeEmptyListMessage(java.lang.String)
31
     */
32
    @Override
33
    protected void writeEmptyListMessage(final String emptyListMessage) throws Exception {
34
    }
×
35

36
    /**
37
     * Write top banner.
38
     *
39
     * @param model
40
     *            the model
41
     *
42
     * @throws Exception
43
     *             the exception
44
     *
45
     * @see org.displaytag.render.TableWriterTemplate#writeTopBanner(org.displaytag.model.TableModel)
46
     */
47
    @Override
48
    protected void writeTopBanner(final TableModel model) throws Exception {
49
    }
1✔
50

51
    /**
52
     * Write table opener.
53
     *
54
     * @param model
55
     *            the model
56
     *
57
     * @throws Exception
58
     *             the exception
59
     *
60
     * @see org.displaytag.render.TableWriterTemplate#writeTableOpener(org.displaytag.model.TableModel)
61
     */
62
    @Override
63
    protected void writeTableOpener(final TableModel model) throws Exception {
64
    }
×
65

66
    /**
67
     * Write caption.
68
     *
69
     * @param model
70
     *            the model
71
     *
72
     * @throws Exception
73
     *             the exception
74
     *
75
     * @see org.displaytag.render.TableWriterTemplate#writeCaption(org.displaytag.model.TableModel)
76
     */
77
    @Override
78
    protected void writeCaption(final TableModel model) throws Exception {
79
    }
×
80

81
    /**
82
     * Write table header.
83
     *
84
     * @param model
85
     *            the model
86
     *
87
     * @throws Exception
88
     *             the exception
89
     *
90
     * @see org.displaytag.render.TableWriterTemplate#writeTableHeader(org.displaytag.model.TableModel)
91
     */
92
    @Override
93
    protected void writeTableHeader(final TableModel model) throws Exception {
94
    }
×
95

96
    /**
97
     * Write pre body footer.
98
     *
99
     * @param model
100
     *            the model
101
     *
102
     * @throws Exception
103
     *             the exception
104
     *
105
     * @see org.displaytag.render.TableWriterTemplate#writePreBodyFooter(org.displaytag.model.TableModel)
106
     */
107
    @Override
108
    protected void writePreBodyFooter(final TableModel model) throws Exception {
109
    }
×
110

111
    /**
112
     * Write table body opener.
113
     *
114
     * @param model
115
     *            the model
116
     *
117
     * @throws Exception
118
     *             the exception
119
     *
120
     * @see org.displaytag.render.TableWriterTemplate#writeTableBodyOpener(org.displaytag.model.TableModel)
121
     */
122
    @Override
123
    protected void writeTableBodyOpener(final TableModel model) throws Exception {
124
    }
1✔
125

126
    /**
127
     * Write table body closer.
128
     *
129
     * @param model
130
     *            the model
131
     *
132
     * @throws Exception
133
     *             the exception
134
     *
135
     * @see org.displaytag.render.TableWriterTemplate#writeTableBodyCloser(org.displaytag.model.TableModel)
136
     */
137
    @Override
138
    protected void writeTableBodyCloser(final TableModel model) throws Exception {
139
    }
1✔
140

141
    /**
142
     * Write post body footer.
143
     *
144
     * @param model
145
     *            the model
146
     *
147
     * @throws Exception
148
     *             the exception
149
     *
150
     * @see org.displaytag.render.TableWriterTemplate#writePostBodyFooter(org.displaytag.model.TableModel)
151
     */
152
    @Override
153
    protected void writePostBodyFooter(final TableModel model) throws Exception {
154
    }
1✔
155

156
    /**
157
     * Write table closer.
158
     *
159
     * @param model
160
     *            the model
161
     *
162
     * @throws Exception
163
     *             the exception
164
     *
165
     * @see org.displaytag.render.TableWriterTemplate#writeTableCloser(org.displaytag.model.TableModel)
166
     */
167
    @Override
168
    protected void writeTableCloser(final TableModel model) throws Exception {
169
    }
1✔
170

171
    /**
172
     * Write bottom banner.
173
     *
174
     * @param model
175
     *            the model
176
     *
177
     * @throws Exception
178
     *             the exception
179
     *
180
     * @see org.displaytag.render.TableWriterTemplate#writeBottomBanner(org.displaytag.model.TableModel)
181
     */
182
    @Override
183
    protected void writeBottomBanner(final TableModel model) throws Exception {
184
    }
1✔
185

186
    /**
187
     * Write decorated table finish.
188
     *
189
     * @param model
190
     *            the model
191
     *
192
     * @throws Exception
193
     *             the exception
194
     *
195
     * @see org.displaytag.render.TableWriterTemplate#writeDecoratedTableFinish(org.displaytag.model.TableModel)
196
     */
197
    @Override
198
    protected void writeDecoratedTableFinish(final TableModel model) throws Exception {
199
    }
×
200

201
    /**
202
     * Write decorated row start.
203
     *
204
     * @param model
205
     *            the model
206
     *
207
     * @throws Exception
208
     *             the exception
209
     *
210
     * @see org.displaytag.render.TableWriterTemplate#writeDecoratedRowStart(org.displaytag.model.TableModel)
211
     */
212
    @Override
213
    protected void writeDecoratedRowStart(final TableModel model) throws Exception {
214
    }
×
215

216
    /**
217
     * Write row opener.
218
     *
219
     * @param row
220
     *            the row
221
     *
222
     * @throws Exception
223
     *             the exception
224
     *
225
     * @see org.displaytag.render.TableWriterTemplate#writeRowOpener(org.displaytag.model.Row)
226
     */
227
    @Override
228
    protected void writeRowOpener(final Row row) throws Exception {
229
    }
1✔
230

231
    /**
232
     * Write column opener.
233
     *
234
     * @param column
235
     *            the column
236
     *
237
     * @throws Exception
238
     *             the exception
239
     *
240
     * @see org.displaytag.render.TableWriterTemplate#writeColumnOpener(org.displaytag.model.Column)
241
     */
242
    @Override
243
    protected void writeColumnOpener(final Column column) throws Exception {
244
    }
×
245

246
    /**
247
     * Write column value.
248
     *
249
     * @param value
250
     *            the value
251
     * @param column
252
     *            the column
253
     *
254
     * @throws Exception
255
     *             the exception
256
     *
257
     * @see org.displaytag.render.TableWriterTemplate#writeColumnValue(Object,org.displaytag.model.Column)
258
     */
259
    @Override
260
    protected void writeColumnValue(final Object value, final Column column) throws Exception {
261
    }
×
262

263
    /**
264
     * Write column closer.
265
     *
266
     * @param column
267
     *            the column
268
     *
269
     * @throws Exception
270
     *             the exception
271
     *
272
     * @see org.displaytag.render.TableWriterTemplate#writeColumnCloser(org.displaytag.model.Column)
273
     */
274
    @Override
275
    protected void writeColumnCloser(final Column column) throws Exception {
276
    }
1✔
277

278
    /**
279
     * Write row with no columns.
280
     *
281
     * @param string
282
     *            the string
283
     *
284
     * @throws Exception
285
     *             the exception
286
     *
287
     * @see org.displaytag.render.TableWriterTemplate#writeRowWithNoColumns(java.lang.String)
288
     */
289
    @Override
290
    protected void writeRowWithNoColumns(final String string) throws Exception {
291
    }
×
292

293
    /**
294
     * Write row closer.
295
     *
296
     * @param row
297
     *            the row
298
     *
299
     * @throws Exception
300
     *             the exception
301
     *
302
     * @see org.displaytag.render.TableWriterTemplate#writeRowCloser(org.displaytag.model.Row)
303
     */
304
    @Override
305
    protected void writeRowCloser(final Row row) throws Exception {
306
    }
1✔
307

308
    /**
309
     * Write decorated row finish.
310
     *
311
     * @param model
312
     *            the model
313
     *
314
     * @throws Exception
315
     *             the exception
316
     *
317
     * @see org.displaytag.render.TableWriterTemplate#writeDecoratedRowFinish(org.displaytag.model.TableModel)
318
     */
319
    @Override
320
    protected void writeDecoratedRowFinish(final TableModel model) throws Exception {
321
    }
×
322

323
    /**
324
     * Write empty list row message.
325
     *
326
     * @param message
327
     *            the message
328
     *
329
     * @throws Exception
330
     *             the exception
331
     *
332
     * @see org.displaytag.render.TableWriterTemplate#writeEmptyListRowMessage(java.lang.String)
333
     */
334
    @Override
335
    protected void writeEmptyListRowMessage(final String message) throws Exception {
336
    }
×
337
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc