legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java
private Object readMetadataContentJdom( InvDataset dataset, Element mdataElement )
  {
    Namespace catGenConfigNamespace = null;
    ArrayList catGenConfigList = new ArrayList();
    // Get the "catalogGenConfig" children elements with
    // CatalogGenConfig namespace first and then with THREDDS namespace.
   Iterator iter = mdataElement.getChildren( "catalogGenConfig", CATALOG_GEN_CONFIG_NAMESPACE_0_5 ).iterator();
    if ( ! iter.hasNext())
      iter = mdataElement.getChildren( "catalogGenConfig", mdataElement.getNamespace() ).iterator();

    while ( iter.hasNext() )
    {
      Element catGenConfigElement = (Element) iter.next();
      if ( debug )
      {
        log.debug( "readMetadataContent=" + catGenConfigElement);
      }
      catGenConfigList.add( readCatGenConfigElement( dataset, catGenConfigElement ) );
    }
    return ( catGenConfigList );
  }
private Object readMetadataContentJdom( InvDataset dataset, Element mdataElement )
  {
    Namespace catGenConfigNamespace = null;
    ArrayList catGenConfigList = new ArrayList();
    // Get the "catalogGenConfig" children elements with
    // CatalogGenConfig namespace first and then with THREDDS namespace.
   Iterator iter = mdataElement.getChildren( "catalogGenConfig", CATALOG_GEN_CONFIG_NAMESPACE_0_5 ).iterator();
    if ( ! iter.hasNext())
      iter = mdataElement.getChildren( "catalogGenConfig", mdataElement.getNamespace() ).iterator();

    while ( iter.hasNext() )
    {
      Element catGenConfigElement = (Element) iter.next();
      if ( debug )
      {
        log.debug( "readMetadataContent=" + catGenConfigElement);
      }
      catGenConfigList.add( readCatGenConfigElement( dataset, catGenConfigElement ) );
    }
    return ( catGenConfigList );
  }
private Object readMetadataContentJdom ( InvDataset dataset , Element mdataElement ) { Namespace catGenConfigNamespace = null ; ArrayList catGenConfigList = new ArrayList ( ) ; // Get the "catalogGenConfig" children elements with // CatalogGenConfig namespace first and then with THREDDS namespace. Iterator iter = mdataElement . getChildren ( "catalogGenConfig" , CATALOG_GEN_CONFIG_NAMESPACE_0_5 ) . iterator ( ) ; if ( ! iter . hasNext ( ) ) iter = mdataElement . getChildren ( "catalogGenConfig" , mdataElement . getNamespace ( ) ) . iterator ( ) ; while ( iter . hasNext ( ) ) { Element catGenConfigElement = ( Element ) iter . next ( ) ; if ( debug ) { log . debug ( "readMetadataContent=" + catGenConfigElement ) ; } catGenConfigList . add ( readCatGenConfigElement ( dataset , catGenConfigElement ) ) ; } return ( catGenConfigList ) ; }
Given a metadata JDOM element, return metadata content object
(ArrayList of CatalogGenConfig).
<p/>
From the given metadata JDOM element, build (and return) an
ArrayList of CatalogGenConfig instances.
Given a metadata JDOM element return metadata content object ( ArrayList of CatalogGenConfig ) . <p / > From the given metadata JDOM element build ( and return ) an ArrayList of CatalogGenConfig instances .