package net.sourceforge.phpeclipse.xdebug.php.model;
+import org.eclipse.debug.core.DebugException;
import org.w3c.dom.Node;
public class XDebugResourceValue extends XDebugAbstractValue {
- private String fDataString;
-
- public XDebugResourceValue(XDebugVariable variable, Node varNode, String typeName) {
- super(variable, varNode, typeName);
- fDataString=null;
- }
-
- public XDebugResourceValue(XDebugVariable variable, String typeName) {
- super(variable, typeName);
- fDataString=null;
- }
-
-
- public void setType(String typeName) {
- fType = XDebugAbstractValue.VALUETYPE_RESOURCE;
- fTypeName = typeName;
+ public XDebugResourceValue(XDebugStackFrame variable, Node value) throws DebugException {
+ super(variable, value);
}
public void renderValueString(String data) {
- fDataString = data;
- fValueString = "\""+data+"\"";
- }
-
- public boolean supportsValueModification() {
- return true;
- }
-
- public String toString() {
- return fDataString;
- }
-
- public boolean verifyValue(String expression) {
- return true;
+ setValueString("\"" + data + "\"");
}
}
\ No newline at end of file