/*
* Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
* Distributed under the terms of either:
* - the common development and distribution license (CDDL), v1.0; or
* - the GNU Lesser General Public License, v2.1 or later
* $Id: InjectionDest1.java 3634 2007-01-08 21:42:24Z gbevin $
*/
package com.uwyn.rife.engine.testelements.globals;
import com.uwyn.rife.engine.Element;
import com.uwyn.rife.tools.StringUtils;
public class InjectionDest1 extends Element
{
private String mGlobalvar1;
private String[] mGlobalvar2;
public void setGlobalvar1(String globalvar1) { mGlobalvar1 = globalvar1; }
public void setGlobalvar2(String[] globalvar2) { mGlobalvar2 = globalvar2; }
public void processElement()
{
print(StringUtils.join(mGlobalvar2,"|")+","+mGlobalvar1);
}
}
|