KickJava   Java API By Example, From Geeks To Geeks.

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


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 WrappedConfig implements ObjectWrapperIF {
17
18   private Config _theConfig;
19
20   public WrappedConfig() {
21     _theConfig = new Config();
22   }
23
24   public Config getConfig() {
25     return _theConfig;
26   }
27
28   public void setName(String JavaDoc aName) {
29     throw new UnsupportedOperationException JavaDoc("The method setName is not implemented");
30   }
31
32   public void addWrappedNamedValue(WrappedNamedValue aWrapper) {
33     throw new UnsupportedOperationException JavaDoc("The method addWrappedNamedValue is not implemented");
34   }
35
36   public void addNamedValue(NamedValue aNamedValue) {
37     throw new UnsupportedOperationException JavaDoc("The method addNamedValue is not implemented");
38   }
39
40   public Object JavaDoc getWrappedObject() {
41     return _theConfig;
42   }
43 }
44
Popular Tags