KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > slide > projector > processor > process > ParameterConfiguration


1 package org.apache.slide.projector.processor.process;
2
3 import java.util.logging.Logger JavaDoc;
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 JavaDoc logger = Logger.getLogger(ParameterConfiguration.class.getName());
11
12     private String JavaDoc name;
13     private Value value;
14
15     public ParameterConfiguration(String JavaDoc name) {
16         this.name = name;
17     }
18
19     public String JavaDoc 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