1 12 package org.openbravo.xmlEngine; 13 14 import java.text.DecimalFormat ; 15 16 import org.apache.log4j.Logger ; 17 18 class FunctionMinTemplate extends FunctionTemplate { 19 20 static Logger log4jFunctionMinTemplate = Logger.getLogger(FunctionMinTemplate.class); 21 22 public FunctionMinTemplate(String fieldName, DecimalFormat formatOutput, DecimalFormat formatSimple, 23 DataTemplate dataTemplate, 24 XmlComponentTemplate arg1, XmlComponentTemplate arg2) { 25 super(fieldName, formatOutput, formatSimple, dataTemplate, arg1, arg2); 26 } 27 28 public FunctionValue createFunctionValue(XmlDocument xmlDocument) { 29 FunctionValue functionValue = searchFunction(xmlDocument); 30 if (functionValue == null) { 31 log4jFunctionMinTemplate.info("New FunctionMinValue"); 32 functionValue = new FunctionMinValue(this, xmlDocument); 33 } 34 return functionValue; 35 } 36 37 } 38 | Popular Tags |