Initial Commit
[packages] / xemacs-packages / jde / java / src / jde / debugger / DisplayableValue.java
1 package jde.debugger;
2
3 import com.sun.jdi.Type;
4 import com.sun.jdi.LocalVariable;
5 import com.sun.jdi.ClassNotLoadedException;
6 import com.sun.jdi.Value;
7
8
9 /**
10  * DisplayableValue.java
11  *
12  *
13  * Created: Fri Feb 01 12:02:55 2002
14  *
15  * @author <a href="mailto:petter.mahlen@chello.se">Petter Måhlén</a>
16  * @version $Revision: 1.1 $
17  */
18
19 public class DisplayableValue {
20   private Value         m_value;
21     
22   public DisplayableValue(Value value) {
23     m_value     = value;
24   }
25
26
27   public Value getValue() {
28     return m_value;
29   }
30
31   public void setValue(Value value) {
32     m_value = value;
33   }
34     
35   public String toString() {
36     if (m_value == null) {
37       return "null value";
38     }
39         
40     return m_value.toString();
41   }
42 }// DisplayableValue