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