KickJava   Java API By Example, From Geeks To Geeks.

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


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 WrappedTextualNamedValue implements ObjectWrapperIF {
17
18   private TextualNamedValue _theTextualNamedValue;
19
20   public WrappedTextualNamedValue() {
21     _theTextualNamedValue = new TextualNamedValue();
22   }
23
24   public TextualNamedValue getTextualNamedValue() {
25     return _theTextualNamedValue;
26   }
27
28 // public void addName(String aName) {
29
// throw new UnsupportedOperationException("The method addName is not implemented");
30
// }
31
//
32
// public void setName(String aName) {
33
// throw new UnsupportedOperationException("The method setName is not implemented");
34
// }
35
//
36
// public void addValue(String aValue) {
37
// throw new UnsupportedOperationException("The method addValue is not implemented");
38
// }
39
//
40
// public void setValue(String aValue) {
41
// throw new UnsupportedOperationException("The method setValue is not implemented");
42
// }
43
//
44
// public void setText(String aContent) {
45
// throw new UnsupportedOperationException("The method setText is not implemented");
46
// }
47

48   public Object JavaDoc getWrappedObject() {
49     return _theTextualNamedValue;
50   }
51 }
52
Popular Tags