package net.sourceforge.phpeclipse.xdebug.php.model; import org.w3c.dom.Node; public class XDebugIntValue extends XDebugAbstractValue { public XDebugIntValue(XDebugVariable variable, Node varNode,String TypeName) { super(variable, varNode,TypeName); } public void setType(String typeName) { fType = XDebugAbstractValue.VALUETYPE_INT; fTypeName = typeName; } public boolean supportsValueModification() { return true; } public void renderValueString(String dataString) { fValueString = dataString; } public boolean verifyValue(String expression) { try { Integer.parseInt(expression); } catch (NumberFormatException e) { return false; } return true; } }