1 package org.apache.slide.projector.processor.process; 2 3 import java.util.logging.Logger ; 4 5 import org.apache.slide.projector.descriptor.ValueFactoryManager; 6 import org.apache.slide.projector.value.Value; 7 import org.jdom.Element; 8 9 public class ParameterConfiguration { 10 private static Logger logger = Logger.getLogger(ParameterConfiguration.class.getName()); 11 12 private String name; 13 private Value value; 14 15 public ParameterConfiguration(String name) { 16 this.name = name; 17 } 18 19 public String getName() { 20 return name; 21 } 22 23 public void configure(Element element) { 24 this.value = ValueFactoryManager.getInstance().loadValue(element); 25 } 26 27 public Value getValue() { 28 return value; 29 } 30 } | Popular Tags |