01: /**
02: * Miroslav Popov, Nov 15, 2005
03: * miroslav.popov@gmail.com
04: */package org.enhydra.snapper.business;
05:
06: /**
07: * @author Miroslav Popov
08: *
09: */
10: public class XSLHelper {
11:
12: public static int counter = 0;
13:
14: public static void incrementCounter(String value) {
15: counter += Integer.parseInt(value);
16: }
17:
18: public static String getCounter() {
19: return Integer.toString(counter);
20: }
21:
22: public static void resetCounter() {
23: counter = 0;
24: }
25: }
|