legacy/src/main/java/thredds/cataloggen/config/CatGenConfigMetadataFactory.java
private ResultService readResultServiceElement( InvDataset parentDataset,
                                                  Element resultServiceElement)
  {
    String name = resultServiceElement.getAttributeValue( "name");
    String serviceType = resultServiceElement.getAttributeValue( "serviceType");
    String base = resultServiceElement.getAttributeValue( "base");
    String suffix = resultServiceElement.getAttributeValue( "suffix");
    String accessPointHeader =
      resultServiceElement.getAttributeValue( "accessPointHeader");

    return( new ResultService( name, ServiceType.getType( serviceType), base, suffix,
                               accessPointHeader));
  }
private ResultService readResultServiceElement( InvDataset parentDataset,
                                                  Element resultServiceElement)
  {
    String name = resultServiceElement.getAttributeValue( "name");
    String serviceType = resultServiceElement.getAttributeValue( "serviceType");
    String base = resultServiceElement.getAttributeValue( "base");
    String suffix = resultServiceElement.getAttributeValue( "suffix");
    String accessPointHeader =
      resultServiceElement.getAttributeValue( "accessPointHeader");

    return( new ResultService( name, ServiceType.getType( serviceType), base, suffix,
                               accessPointHeader));
  }
private ResultService readResultServiceElement ( InvDataset parentDataset , Element resultServiceElement ) { String name = resultServiceElement . getAttributeValue ( "name" ) ; String serviceType = resultServiceElement . getAttributeValue ( "serviceType" ) ; String base = resultServiceElement . getAttributeValue ( "base" ) ; String suffix = resultServiceElement . getAttributeValue ( "suffix" ) ; String accessPointHeader = resultServiceElement . getAttributeValue ( "accessPointHeader" ) ; return ( new ResultService ( name , ServiceType . getType ( serviceType ) , base , suffix , accessPointHeader ) ) ; }
Return a ResultService when given a 'resultService' JDOM element.
Return a ResultService when given a resultService JDOM element .