4da322e4c641c7a5250ba2068b12c952d82ea08d
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugResourceValue.java
1 package net.sourceforge.phpeclipse.xdebug.php.model;
2
3 import org.w3c.dom.Node;
4
5 public class XDebugResourceValue extends XDebugAbstractValue {
6         public XDebugResourceValue(XDebugVariable variable, Node varNode, String typeName) {
7                 super(variable, varNode, typeName);
8         }
9         
10         public XDebugResourceValue(XDebugVariable variable, String typeName) {
11                 super(variable, typeName);
12         }
13
14         public void setType(String typeName) {
15                 fType = XDebugAbstractValue.VALUETYPE_RESOURCE;
16                 fTypeName = typeName;
17         }
18
19         public void renderValueString(String data) {
20                 fValueString = "\"" + data + "\"";
21         }
22
23         public boolean supportsValueModification() {
24                 return true;
25         }
26         
27         public boolean verifyValue(String expression) {
28                 return true;
29         }
30 }