legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java
public void addMetadataContent( org.jdom2.Element mdataJdomElement, Object contentObject )
  {
    // convert to JDOM element
    //Element mdataJdomElement = builder.build( mdataElement );

    ArrayList catGenConfigList = (ArrayList) contentObject;
    Iterator iter = catGenConfigList.iterator();
    while ( iter.hasNext())
    {
      CatalogGenConfig cgc = (CatalogGenConfig) iter.next();
      mdataJdomElement.addContent( createCatGenConfigElement( cgc));
    }
  }
public void addMetadataContent( org.jdom2.Element mdataJdomElement, Object contentObject )
  {
    // convert to JDOM element
    //Element mdataJdomElement = builder.build( mdataElement );

    ArrayList catGenConfigList = (ArrayList) contentObject;
    Iterator iter = catGenConfigList.iterator();
    while ( iter.hasNext())
    {
      CatalogGenConfig cgc = (CatalogGenConfig) iter.next();
      mdataJdomElement.addContent( createCatGenConfigElement( cgc));
    }
  }
public void addMetadataContent ( org . jdom2 . Element mdataJdomElement , Object contentObject ) { // convert to JDOM element //Element mdataJdomElement = builder.build( mdataElement ); ArrayList catGenConfigList = ( ArrayList ) contentObject ; Iterator iter = catGenConfigList . iterator ( ) ; while ( iter . hasNext ( ) ) { CatalogGenConfig cgc = ( CatalogGenConfig ) iter . next ( ) ; mdataJdomElement . addContent ( createCatGenConfigElement ( cgc ) ) ; } }
Serialize the InvMetadata content object to a org.w3c.dom.Element

@param mdataJdomElement - add content to this org.w3c.dom.Element
@param contentObject - the content model
Serialize the InvMetadata content object to a org . w3c . dom . Element