KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > util > xml > confix > test > WrappedNamedValue


1 package org.sapia.util.xml.confix.test;
2
3 import org.sapia.util.xml.confix.ObjectWrapperIF;
4
5 /**
6  *
7  *
8  * @author Jean-Cedric Desrochers
9  *
10  * <dl>
11  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
12  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
13  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
14  * </dl>
15  */

16 public class WrappedNamedValue implements ObjectWrapperIF {
17
18   private NamedValue _theNamedValue;
19
20   public WrappedNamedValue() {
21     _theNamedValue = new NamedValue();
22   }
23
24   public NamedValue getNamedValue() {
25     return _theNamedValue;
26   }
27
28 // public void setName(String aName) {
29
// throw new UnsupportedOperationException("The method setName is not implemented");
30
// }
31
//
32
// public void setValue(String aValue) {
33
// throw new UnsupportedOperationException("The method setValue is not implemented");
34
// }
35

36   public Object JavaDoc getWrappedObject() {
37     return _theNamedValue;
38   }
39 }
40
Popular Tags