128bd64d86c15be908d7c4f3c32f79dcd492414b
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugArrayValue.java
1 package net.sourceforge.phpeclipse.xdebug.php.model;
2
3 import org.eclipse.debug.core.DebugException;
4 import org.w3c.dom.Node;
5
6 public class XDebugArrayValue extends XDebugAbstractValue {
7         public XDebugArrayValue(XDebugStackFrame variable, Node value) throws DebugException {
8                 super(variable, value);
9         }
10
11         public void renderValueString(String data) throws DebugException  {
12                 if (data.equals("")) {
13                         fValueString = "empty";
14                 } else {
15                         if ("array".equals(getReferenceTypeName())) {
16                                 fValueString = "array";
17                         } else {
18                                 fValueString = data;
19                         }
20                 }
21         }
22
23         public boolean verifyValue(String expression) {
24                 return false;
25         }
26 }