1 package net.sourceforge.phpeclipse.xdebug.php.model;
3 import org.w3c.dom.Node;
5 public class XDebugBooleanValue extends XDebugAbstractValue {
6 public XDebugBooleanValue(XDebugStackFrame variable, Node value) {
7 super(variable, value);
10 public boolean supportsValueModification() {
14 public void renderValueString(String data) {
17 value=Integer.parseInt(data);
18 } catch (NumberFormatException e) {
19 data=data.toLowerCase();
20 if (data.equals("true") || data.equals("false"))
23 fValueString="not defined";
30 fValueString="not defined";
33 public boolean verifyValue(String expression) {
36 value=Integer.parseInt(expression);
37 } catch (NumberFormatException e) {
38 expression=expression.toLowerCase();
39 if (expression.equals("true") || expression.equals("false"))
44 if ((value>=0)&& (value <=1))