if (!myAlreadyConvertedDefs.contains(_definitionName)) { CMGroupImpl content = (CMGroupImpl) def.getContent(); CMGroupImpl wrap = new CMGroupImpl(CMGroup.SEQUENCE, 0, CMContentImpl.UNBOUNDED); content.appendChild(wrap); CMNode dec = _elementCollection.getNamedItem(WebObjectsHTML40Namespace.ElementName.WEBOBJECT); if (dec != null) { wrap.appendChild(dec); }
CMGroupImpl content = (CMGroupImpl) def.getContent(); CMGroupImpl wrap = new CMGroupImpl(CMGroup.SEQUENCE, 0, CMContentImpl.UNBOUNDED); content.appendChild(wrap); CMNode dec = _elementCollection.getNamedItem(WebObjectsHTML40Namespace.ElementName.WEBOBJECT); if (dec != null) { wrap.appendChild(dec);
  protected ComplexTypeDefinition createUncachedTypeDefinition(String _definitionName, ElementCollection _elementCollection) {    ComplexTypeDefinition def = super.createUncachedTypeDefinition(_definitionName, _elementCollection);    if (!myAlreadyConvertedDefs.contains(_definitionName)) {      CMGroupImpl content = (CMGroupImpl) def.getContent();      CMGroupImpl wrap = new CMGroupImpl(CMGroup.SEQUENCE, 0, CMContentImpl.UNBOUNDED);      content.appendChild(wrap);      CMNode dec = _elementCollection.getNamedItem(WebObjectsHTML40Namespace.ElementName.WEBOBJECT);      if (dec != null) {        wrap.appendChild(dec);      }    }    return def;  }