code: protected void updateActivationOS(ActivationOS 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);
           findAndReplaceSimpleElement(innerCount, root, "name", value.getName(), null);
           findAndReplaceSimpleElement(innerCount, root, "family", value.getFamily(), null);
           findAndReplaceSimpleElement(innerCount, root, "arch", value.getArch(), null);
           findAndReplaceSimpleElement(innerCount, root, "version", value.getVersion(), null);
        }
     }
docs: Method updateActivationOS.
  
  @param value
  @param element
  @param counter
  @param xmlTag