net.sourceforge.toscanaj.dbviewer
Class HTMLDatabaseViewer
java.lang.Object
net.sourceforge.toscanaj.dbviewer.HTMLDatabaseViewer
- All Implemented Interfaces:
- DatabaseViewer
- public class HTMLDatabaseViewer
- extends java.lang.Object
- implements DatabaseViewer
Shows a database view using HTML.
A definition for this viewer looks like this:
The input file will be loaded and displayed as an HTML page.
There can be a section in the HTML marked with ...
which is the part that shall repeated for each item displayed. All
occurances of entries like within that will be
filled
with the content of the field for the object and changed into s.
Fields without the section can be used for aggregates, e.g. you can
do sums or averages with them. If the whole template has no repeat, the viewer
can be used as viewer for single items using .
The element can contain directly instead of using the "url"
attribute.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLDatabaseViewer
public HTMLDatabaseViewer()
initialize
public void initialize(DatabaseViewerManager dbManager)
- Specified by:
initialize
in interface DatabaseViewer
showView
public void showView(java.lang.String whereClause)
- Specified by:
showView
in interface DatabaseViewer
The ToscanaJ project