KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.sapia.util.xml.confix.test;
2
3 import org.sapia.util.xml.confix.ObjectWrapperIF;
4
5
6 /**
7  *
8  *
9  * @author Jean-Cedric Desrochers
10  *
11  * <dl>
12  * <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>
13  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
14  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
15  * </dl>
16  */

17 public class WrappedTextualConfig implements ObjectWrapperIF {
18
19   private TextualConfig _theConfig;
20
21   public WrappedTextualConfig() {
22     _theConfig = new TextualConfig();
23   }
24
25   public TextualConfig getTextualConfig() {
26     return _theConfig;
27   }
28
29 // public void setText(String aContent) {
30
// throw new UnsupportedOperationException("The method setText is not implemented");
31
// }
32
//
33
// public void setName(String aName) {
34
// throw new UnsupportedOperationException("The method setName is not implemented");
35
// }
36
//
37
// public void addWrappedNamedValue(WrappedNamedValue aWrapper) {
38
// throw new UnsupportedOperationException("The method addWrappedNamedValue is not implemented");
39
// }
40
//
41
// public void addNamedValue(NamedValue aNamedValue) {
42
// throw new UnsupportedOperationException("The method addNamedValue is not implemented");
43
// }
44

45   public Object JavaDoc getWrappedObject() {
46     return _theConfig;
47   }
48 }
49
Popular Tags