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