1 24 package org.ofbiz.minilang.operation; 25 26 import java.util.*; 27 28 import org.w3c.dom.*; 29 import org.ofbiz.base.util.*; 30 31 38 public class ConstantOper extends MakeInStringOperation { 39 40 String constant; 41 42 public ConstantOper(Element element) { 43 super(element); 44 constant = UtilXml.elementValue(element); 45 } 46 47 public String exec(Map inMap, List messages, Locale locale, ClassLoader loader) { 48 return constant; 49 } 50 } 51 | Popular Tags |