1 package org.sapia.soto.config;2 3 import org.sapia.util.text.TemplateContextIF;4 import org.sapia.util.xml.confix.ConfigurationException;5 import org.sapia.util.xml.confix.ObjectCreationCallback;6 import org.sapia.util.xml.confix.ObjectFactoryIF;7 8 9 /**10 * @author Yanick Duchesne11 *12 * <dl>13 * <dt><b>Copyright:</b><dd>Copyright © 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>14 * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the15 * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>16 * </dl>17 */18 public class If extends Condition implements ObjectCreationCallback {19 public If(TemplateContextIF ctx, ObjectFactoryIF fac) {20 super("if", ctx, fac);21 }22 23 public Object onCreate() throws ConfigurationException {24 return super.create();25 }26 }27