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