a140ffbe4f46932f3b8f0f8cd70b77d996df5dd4
[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 XDebugArrayValue(XDebugVariable variable, String typeName) {
13                 super(variable, typeName);
14         }
15
16
17         public void setType(String typeName) {
18                 fType=XDebugAbstractValue.VALUETYPE_ARRAY;
19                 fTypeName=typeName;
20
21         }
22
23         public void renderValueString(String data) {
24                 if (data.equals("")) {
25                         fValueString = /*"Array */"empty";
26                 } else {
27                         fValueString = /*"Array " + */data + " element(s)";                     
28                 }
29         }
30
31         public boolean verifyValue(String expression) {
32                 // TODO Auto-generated method stub
33                 return false;
34         }
35
36         /*public String toString() {
37                 return null;
38         }*/
39 }