01: /*
02: * MCS Media Computer Software Copyright (c) 2005 by MCS
03: * -------------------------------------- Created on 23.04.2005 by w.klaas
04: *
05: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
06: * use this file except in compliance with the License. You may obtain a copy of
07: * the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14: * License for the specific language governing permissions and limitations under
15: * the License.
16: */
17: package de.mcs.jmeasurement.renderer;
18:
19: import de.mcs.jmeasurement.MeasurePoint;
20:
21: /**
22: * this is the interface for the data renderer, which will create the string
23: * representations of one MeasurePoint.
24: *
25: * @author w.klaas
26: */
27: public interface MeasureDataRenderer {
28:
29: /**
30: * This methode will generate the string representation of the desired
31: * renderer for one measure point.
32: *
33: * @param point
34: * goes in.
35: * @param prefix
36: * some renderer need a differentation of the caller, like the
37: * Snapshot renderer and the main render, so the renderer could
38: * build different links for any of them.
39: * @return String the string representation of the values
40: * @since 0.64
41: */
42: String getDataAsString(MeasurePoint point, String prefix);
43: }
|