Updates a tag element with values from the javadoc node.
439451
private TagElement setTagValues(TagElement tag, TagKind tagKind, DocTree javadocNode,
      DocTree body) {
    tag.setTagKind(tagKind);
    setPos(javadocNode, tag);
    scan(body, tag);
    return tag;
  }
1034758
function updateDataIs(expr, parent, tagName) {
      var tag = expr.tag || expr.dom._tag;
      var ref;

      var ref$1 = tag ? tag.__ : {};
      var head = ref$1.head;
      var isVirtual = expr.dom.tagName === 'VIRTUAL';

      if (tag && expr.tagName === tagName) {
        tag.update();
        return
      }

      // sync _parent to accommodate changing tagnames
      if (tag) {
        // need placeholder before unmount
        if(isVirtual) {
          ref = createDOMPlaceholder();
          head.parentNode.insertBefore(ref, head);
        }

        tag.unmount(true);
      }

      // unable to get the tag name
      if (!isString(tagName)) { return }

      expr.impl = __TAG_IMPL[tagName];

      // unknown implementation
      if (!expr.impl) { return }

      expr.tag = tag = initChild(
        expr.impl, {
          root: expr.dom,
          parent: parent,
          tagName: tagName
        },
        expr.dom.innerHTML,
        parent
      );

      each(expr.attrs, function (a) { return setAttribute(tag.root, a.name, a.value); });
      expr.tagName = tagName;
      tag.mount();

      // root exist first time, after use placeholder
      if (isVirtual) { makeReplaceVirtual(tag, ref || tag.root); }

      // parent is the placeholder tag, not the dynamic tag so clean up
      parent.__.onUnmount = function () {
        var delName = tag.opts.dataIs;
        arrayishRemove(tag.parent.tags, delName, tag);
        arrayishRemove(tag.__.parent.tags, delName, tag);
        tag.unmount();
      };
    }
907777
function updateTableDom() {
  const tableBody = this.ui.tableBody;

  /* Empty the table body to prepare for sorting the rows
     TODO: It might make sense to use innerHTML
     from a performance and garbage collection standpoint. */
  while ( tableBody.lastChild ) {
    tableBody.removeChild( tableBody.lastChild );
  }

  const documentFragment = document.createDocumentFragment();
  for ( let i = 0; i < this.tableData.length; i++ ) {
    documentFragment.appendChild( this.tableData[i][1] );
  }

  tableBody.appendChild( documentFragment );
  this.trigger( 'table:updated' );

  return tableBody;
}
1094326
protected void updateExtension(Extension value, String xmlTag, Counter counter, Element element)
   {
      Element root = element;
      Counter innerCount = new Counter(counter.getDepth() + 1);
      findAndReplaceSimpleElement(innerCount, root, "groupId", value.getGroupId(), null);
      findAndReplaceSimpleElement(innerCount, root, "artifactId", value.getArtifactId(), null);
      findAndReplaceSimpleElement(innerCount, root, "version", value.getVersion(), null);
   }
668376
protected void updateResource(Resource value, String xmlTag, Counter counter, Element element)
   {
      Element root = element;
      Counter innerCount = new Counter(counter.getDepth() + 1);
      findAndReplaceSimpleElement(innerCount, root, "targetPath", value.getTargetPath(), null);
      findAndReplaceSimpleElement(innerCount, root, "filtering",
               (value.isFiltering() == false) ? null : String.valueOf(value.isFiltering()), "false");
      findAndReplaceSimpleElement(innerCount, root, "directory", value.getDirectory(), null);
      findAndReplaceSimpleLists(innerCount, root, value.getIncludes(), "includes", "include");
      findAndReplaceSimpleLists(innerCount, root, value.getExcludes(), "excludes", "exclude");
   }
9900
def update(self):
        """"""
        self.json = c.get_document(self.uri.did).json()
        self.e_list = c.element_list(self.uri.as_dict()).json()
277214
public void setTagValues(String name, String values[]) {
        removeTag(name);
        XtraTag tag = new XtraTag(name);
        for (int i = 0; i < values.length; i++) {
            tag.values.addElement(new XtraValue(values[i]));
        }
        tags.addElement(tag);
    }
1293443
public void updateTags(Reference reference, Collection<String> tags) {
		getResourceFactory()
				.getApiResource("/tag/" + reference.toURLFragment())
				.entity(tags, MediaType.APPLICATION_JSON_TYPE).put();
	}
660206
protected void addNewField(Item item, String values) {
        if(logger.isDebugEnabled()) {
            logger.debug("Tagging item with field: " + newField + " and value: " + values);
        }
        Document document = item.getDescriptorDom();
        if(document != null) {
            Element root = document.getRootElement();
            if(root != null) {
                for(String value : values.split(",")) {
                    Element newElement = root.addElement(newField);
                    newElement.setText(value);
                }
            }
        }
    }
212021
@Override
    public synchronized void insertUpdate(DocumentEvent e) {
        int len = e.getLength();
        int off = e.getOffset();
        if (outputMark > off) {
            outputMark += len;
        }
    }
734283
protected void updateModelBase(ModelBase value, String xmlTag, Counter counter, Element element)
   {
      boolean shouldExist = value != null;
      Element root = updateElement(counter, element, xmlTag, shouldExist);
      if (shouldExist)
      {
         Counter innerCount = new Counter(counter.getDepth() + 1);
         findAndReplaceSimpleLists(innerCount, root, value.getModules(), "modules", "module");
         iterateRepository(innerCount, root, value.getRepositories(), "repositories", "repository");
         iterateRepository(innerCount, root, value.getPluginRepositories(), "pluginRepositories",
                  "pluginRepository");
         iterateDependency(innerCount, root, value.getDependencies(), "dependencies", "dependency");
         findAndReplaceXpp3DOM(innerCount, root, "reports", (Xpp3Dom) value.getReports());
         updateReporting(value.getReporting(), "reporting", innerCount, root);
         updateDependencyManagement(value.getDependencyManagement(), "dependencyManagement", innerCount, root);
         updateDistributionManagement(value.getDistributionManagement(), "distributionManagement", innerCount, root);
         findAndReplaceProperties(innerCount, root, "properties", value.getProperties());
      }
   }
343595
private void attachDocCommentAsMetaData(ASTNode node, String docCommentNodeText) {
        if (!groovydocEnabled) {
            return;
        }

        if (!(node instanceof GroovydocHolder)) {
            return;
        }

        node.putNodeMetaData(DOC_COMMENT, new groovy.lang.groovydoc.Groovydoc(docCommentNodeText, (GroovydocHolder) node));
    }
469853
def add_element_to_doc(doc, tag, value):
    """"""
    element = doc.find(".//%s" % tag)
    if element is None:
        element = etree.SubElement(doc, tag)
    element.text = value
85092
protected void updateLicense(License value, String xmlTag, Counter counter, Element element)
   {
      Element root = element;
      Counter innerCount = new Counter(counter.getDepth() + 1);
      findAndReplaceSimpleElement(innerCount, root, "name", value.getName(), null);
      findAndReplaceSimpleElement(innerCount, root, "url", value.getUrl(), null);
      findAndReplaceSimpleElement(innerCount, root, "distribution", value.getDistribution(), null);
      findAndReplaceSimpleElement(innerCount, root, "comments", value.getComments(), null);
   }
1309897
function updateValues(node, map) {
    dom.fontSize[map].value = node.fontSize;
    dom.imageSize[map].value = node.image.size;
    dom.backgroundColor[map].value = node.colors.background;
    dom.branchColor[map].value = node.colors.branch || "#ffffff";
    dom.nameColor[map].value = node.colors.name;
}
528507
def update(self):
        """"""
        if self._is_ignored or "tags" not in self._tag_group_dict:
            return
        for i in range(len(self._tag_group_dict["tags"])):
            tag_dict = self._tag_group_dict["tags"][i]
            for tag in self._tags:
                if tag.name == tag_dict["common.ALLTYPES_NAME"]:
                    self._tag_group_dict["tags"][i] = tag.as_dict()
                    break

        for i in range(len(self._sub_groups)):
            sub_group = self._sub_groups[i]
            sub_group.update()
            self._tag_group_dict["tag_groups"][i] = sub_group.as_dict()
694666
private void updateValue() {
        if (table != null) {
            int oldCount = this.count;
            this.count = table.getSelectedRowCount();
            maybeNotifyListeners(oldCount, count);
        }
    }