public static boolean parseBoolean(FXGNode node,String value,String name){
  if (value.equals("true"))   return true;
 else   if (value.equals("false"))   return false;
  throw new FXGException(node.getStartLine(),node.getStartColumn(),"InvalidBooleanValue",name,value);
}

public static boolean parseBoolean ( FXGNode node , String value , String name ) { if ( value . equals ( "true" ) ) return true ; else if ( value . equals ( "false" ) ) return false ; throw new FXGException ( node . getStartLine ( ) , node . getStartColumn ( ) , "InvalidBooleanValue" , name , value ) ; }
convert an fxg string value to a boolean .
