1 12 package org.openbravo.xmlEngine; 13 14 import java.text.DecimalFormat ; 15 16 import org.apache.log4j.Logger ; 17 18 class FunctionLtTemplate extends FunctionTemplate { 19 20 static Logger log4jFunctionLtTemplate = Logger.getLogger(FunctionLtTemplate.class); 21 22 public FunctionLtTemplate(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 log4jFunctionLtTemplate.info("New FunctionLtValue"); 32 functionValue = new FunctionLtValue(this, xmlDocument); 33 } 34 return functionValue; 35 } 36 37 } 38 | Popular Tags |