if (0 == typeStr.CompareWithConversion("radio", PR_TRUE) || 0 == typeStr.CompareWithConversion("checkbox", PR_TRUE)) {
if (0 == typeStr.LowerCaseEqualsLiteral("radio", PR_TRUE) || 0 == typeStr.LowerCaseEqualsLiteral("checkbox", PR_TRUE)) {
JNIEXPORT jstring JNICALL Java_org_mozilla_dom_NodeImpl_getNodeValue  (JNIEnv *env, jobject jthis){  nsIDOMNode* node = (nsIDOMNode*)     env->GetLongField(jthis, JavaDOMGlobals::nodePtrFID);  if (!node)    return NULL;  nsString ret;  nsresult rv;  OMDNI_QUERY_AND_CALL(node, GetValue, ret)  if (input) {    nsAutoString typeStr;    PRBool isChecked;    if (NS_SUCCEEDED(rv = input->GetType(typeStr))) {      if (0 == typeStr.CompareWithConversion("radio", PR_TRUE) ||	  0 == typeStr.CompareWithConversion("checkbox", PR_TRUE)) {	if (NS_SUCCEEDED(rv = input->GetChecked(&isChecked))) {	  if (isChecked) {	    ret.AssignWithConversion("CHECKED");	  }	  else {	    ret.AssignWithConversion("");	  }	}      }    }  }      if (!OMDNI_didCall) {    rv = node->GetNodeValue(ret);  }  if (NS_FAILED(rv)) {    JavaDOMGlobals::ExceptionType exceptionType = JavaDOMGlobals::EXCEPTION_RUNTIME;    if (rv == NS_ERROR_DOM_DOMSTRING_SIZE_ERR) {      exceptionType = JavaDOMGlobals::EXCEPTION_DOM;    }    JavaDOMGlobals::ThrowException(env,      "Node.getNodeValue: failed", rv, exceptionType);    return NULL;  }  jstring jret = env->NewString((jchar*) ret.get(), ret.Length());  if (!jret) {    JavaDOMGlobals::ThrowException(env,      "Node.getNodeValue: NewString failed");    return NULL;  }  return jret;}