var $AdfDhtmlTextPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlValuePeer$$, "AdfDhtmlTextPeer");
$goog$exportSymbol$$("AdfDhtmlTextPeer", $AdfDhtmlTextPeer$$);
$AdfDhtmlTextPeer$$.$InitSubclass$ = function $$AdfDhtmlTextPeer$$$$InitSubclass$$() {
  this.$_inlineEditor$ = $JSCompiler_alias_NULL$$
};
$goog$exportSymbol$$("AdfDhtmlTextPeer.InitSubclass", $AdfDhtmlTextPeer$$.$InitSubclass$);
$AdfDhtmlTextPeer$$.prototype.$SetDisplayValue$ = function $$AdfDhtmlTextPeer$$$$$SetDisplayValue$$($component$$1680_currParent$$inline_4316$$, $domElement$$494$$, $newValue$$147$$) {
  if($component$$1680_currParent$$inline_4316$$.getEscape()) {
    $AdfAgent$$.$AGENT$.$setTextContent$($domElement$$494$$, $newValue$$147$$)
  }else {
    if("SCRIPT" !== $domElement$$494$$.tagName) {
      $domElement$$494$$.innerHTML = $newValue$$147$$
    }else {
      $component$$1680_currParent$$inline_4316$$ = $domElement$$494$$.parentNode;
      for(var $children$$inline_5761$$ = [], $childCount$$inline_4318_endId$$inline_5762$$ = $domElement$$494$$.id + "_end", $currChild$$inline_5763_i$$inline_4319$$ = $domElement$$494$$.nextSibling;$currChild$$inline_5763_i$$inline_4319$$ && $currChild$$inline_5763_i$$inline_4319$$.id !== $childCount$$inline_4318_endId$$inline_5762$$;) {
        $children$$inline_5761$$.push($currChild$$inline_5763_i$$inline_4319$$), $currChild$$inline_5763_i$$inline_4319$$ = $currChild$$inline_5763_i$$inline_4319$$.nextSibling
      }
      $childCount$$inline_4318_endId$$inline_5762$$ = $children$$inline_5761$$.length;
      for($currChild$$inline_5763_i$$inline_4319$$ = 0;$currChild$$inline_5763_i$$inline_4319$$ < $childCount$$inline_4318_endId$$inline_5762$$;$currChild$$inline_5763_i$$inline_4319$$++) {
        $component$$1680_currParent$$inline_4316$$.removeChild($children$$inline_5761$$[$currChild$$inline_5763_i$$inline_4319$$])
      }
      $domElement$$494$$.insertAdjacentHTML("afterend", $newValue$$147$$)
    }
  }
  return $JSCompiler_alias_TRUE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTextPeer.prototype.SetDisplayValue", {$SetDisplayValue$:$AdfDhtmlTextPeer$$.prototype.$SetDisplayValue$});
$AdfDhtmlTextPeer$$.prototype.$GetDisplayValue$ = function $$AdfDhtmlTextPeer$$$$$GetDisplayValue$$($component$$1681$$, $domElement$$495$$) {
  $AdfDomUtils$$.$stripScripts$($domElement$$495$$);
  return $component$$1681$$.getEscape() ? $AdfAgent$$.$AGENT$.$getTextContent$($domElement$$495$$) : $domElement$$495$$.innerHTML
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTextPeer.prototype.GetDisplayValue", {$GetDisplayValue$:$AdfDhtmlTextPeer$$.prototype.$GetDisplayValue$});
$AdfDhtmlTextPeer$$.prototype.$GetInlineEditor$ = function $$AdfDhtmlTextPeer$$$$$GetInlineEditor$$() {
  var $inlineEditor$$9$$ = $AdfDhtmlTextPeer$$.$_inlineEditor$;
  $inlineEditor$$9$$ == $JSCompiler_alias_NULL$$ && ($inlineEditor$$9$$ = new $AdfRichPlainTextEditor$$("value"), $AdfDhtmlTextPeer$$.$_inlineEditor$ = $inlineEditor$$9$$);
  return $inlineEditor$$9$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTextPeer.prototype.GetInlineEditor", {$GetInlineEditor$:$AdfDhtmlTextPeer$$.prototype.$GetInlineEditor$});
$AdfDhtmlTextPeer$$.prototype.$getConvertedValue$ = function $$AdfDhtmlTextPeer$$$$$getConvertedValue$$($component$$1682$$, $submittedValue$$25$$) {
  $component$$1682$$ == $JSCompiler_alias_NULL$$ && ($component$$1682$$ = this.$getComponent$());
  if($component$$1682$$.getConverter) {
    var $converter$$17$$ = $component$$1682$$.getConverter();
    if($converter$$17$$ != $JSCompiler_alias_NULL$$ && !($converter$$17$$ instanceof $AdfMissingConverter$$)) {
      return $AdfDhtmlTextPeer$$.$superclass$.$getConvertedValue$.call(this, $component$$1682$$, $submittedValue$$25$$)
    }
  }
  return $submittedValue$$25$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTextPeer.prototype.getConvertedValue", {$getConvertedValue$:$AdfDhtmlTextPeer$$.prototype.$getConvertedValue$});
