01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: AutolinkDestination.java 3693 2007-03-14 10:55:56Z gbevin $
07: */
08: package com.uwyn.rife.engine.testelements.exits;
09:
10: import com.uwyn.rife.engine.Element;
11: import com.uwyn.rife.tools.BeanUtils;
12:
13: public class AutolinkDestination extends Element {
14: public void processElement() {
15: print(getInput("value1") + "," + getInput("value2") + ","
16: + getInput("value4") + "\n");
17: BeanImpl1 bean1 = getNamedInputBean("bean1");
18: print(bean1.getString1()
19: + ","
20: + bean1.getString2()
21: + ","
22: + bean1.getString3()
23: + ","
24: + bean1.getEnum4()
25: + ","
26: + BeanUtils.getConcisePreciseDateFormat().format(
27: bean1.getDate5()) + "\n");
28: BeanImpl2 bean3 = getNamedInputBean("bean3");
29: print(bean3.getEnum4() + "," + bean3.getDate5() + ","
30: + bean3.getString6() + "," + bean3.getString7() + ","
31: + bean3.getString8() + "\n");
32: }
33: }
|