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 void renderValueString(String data) {
- fDataString = data;
- fValueString = "\""+data+"\"";
+ fValueString = "\"" + data + "\"";
}
public boolean supportsValueModification() {
return true;
}
- /*public String toString() {
- return fDataString;
- }*/
-
- /*public String toString() {
- return null;
- }*/
-
public boolean verifyValue(String expression) {
return true;
}
import org.w3c.dom.Node;
public class XDebugStringValue extends XDebugAbstractValue {
-
- private String fDataString;
public XDebugStringValue(XDebugVariable variable, Node varNode,
String typeName) {
super(variable, varNode, typeName);
- fDataString=null;
}
public XDebugStringValue(XDebugVariable variable, String typeName) {
super(variable, typeName);
- fDataString=null;
}
public void setType(String typeName) {
- fType=XDebugAbstractValue.VALUETYPE_STRING;
- fTypeName=typeName;
-
+ fType = XDebugAbstractValue.VALUETYPE_STRING;
+ fTypeName = typeName;
}
public void renderValueString(String data) {
- fDataString=data;
- fValueString="\""+data+"\"";
+ fValueString = "\"" + data + "\"";
}
public boolean supportsValueModification() {
return true;
}
-
- /*public String toString() {
- return null; //fDataString;
- }*/
-
public boolean verifyValue(String expression) {
- // TODO Auto-generated method stub
return true;
}
-
}