01: /*
02: * MCS Media Computer Software
03: * Copyright (c) 2005 by MCS
04: * --------------------------------------
05: * Created on 23.04.2005 by w.klaas
06: *
07: * Licensed under the Apache License, Version 2.0 (the "License");
08: * you may not use this file except in compliance with the License.
09: * You may obtain a copy of the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software
14: * distributed under the License is distributed on an "AS IS" BASIS,
15: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16: * See the License for the specific language governing permissions and
17: * limitations under the License.
18: */
19: package de.mcs.jmeasurement.renderer;
20:
21: /**
22: * This interface will be used in the <code>getReport()</code> of the
23: * <code>MeasureFactory</code> for defining a header and a footer for the
24: * report and for the pages of a report.
25: * @author w.klaas
26: */
27: public interface MeasureDataRendererPage {
28:
29: /**
30: * This methode will be called first for a report.
31: * @return getting the header for an report
32: */
33: String getReportHeader();
34:
35: /**
36: * This methode will be called at last for a report.
37: * @return getting the footer for an report
38: */
39: String getReportFooter();
40:
41: /**
42: * This methode will be called everytime a new page of the report begins.
43: * @return getting a header for an page
44: */
45: String beginPage();
46:
47: /**
48: * This methode will be called at the end of a page of the report.
49: * @return getting a footer for an page
50: */
51: String endPage();
52:
53: }
|