cdm/src/main/java/thredds/client/catalog/builder/CatalogBuilder.java
protected AccessBuilder readAccess(DatasetBuilder dataset, Element accessElem) {
    String urlPath = accessElem.getAttributeValue("urlPath");
    String serviceName = accessElem.getAttributeValue("serviceName");
    String dataFormat = accessElem.getAttributeValue("dataFormat");

    Service s = serviceMap.get(serviceName);
    if (s == null) {
      errlog.format("Cant find service name='%s'%n", serviceName);
      logger.debug("Can't find service name='{}'", serviceName);
    }
    return new AccessBuilder(dataset, urlPath, s, dataFormat, readDataSize(accessElem));
  }
protected AccessBuilder readAccess(DatasetBuilder dataset, Element accessElem) {
    String urlPath = accessElem.getAttributeValue("urlPath");
    String serviceName = accessElem.getAttributeValue("serviceName");
    String dataFormat = accessElem.getAttributeValue("dataFormat");

    Service s = serviceMap.get(serviceName);
    if (s == null) {
      errlog.format("Cant find service name='%s'%n", serviceName);
      logger.debug("Can't find service name='{}'", serviceName);
    }
    return new AccessBuilder(dataset, urlPath, s, dataFormat, readDataSize(accessElem));
  }
protected AccessBuilder readAccess ( DatasetBuilder dataset , Element accessElem ) { String urlPath = accessElem . getAttributeValue ( "urlPath" ) ; String serviceName = accessElem . getAttributeValue ( "serviceName" ) ; String dataFormat = accessElem . getAttributeValue ( "dataFormat" ) ; Service s = serviceMap . get ( serviceName ) ; if ( s == null ) { errlog . format ( "Cant find service name='%s'%n" , serviceName ) ; logger . debug ( "Can't find service name='{}'" , serviceName ) ; } return new AccessBuilder ( dataset , urlPath , s , dataFormat , readDataSize ( accessElem ) ) ; }
/* <xsd:element name="access">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="dataSize" minOccurs="0"/>   // whyd we do that ?
</xsd:sequence>
<xsd:attribute name="urlPath" type="xsd:token" use="required"/>
<xsd:attribute name="serviceName" type="xsd:string"/>
<xsd:attribute name="dataFormat" type="dataFormatTypes"/>
</xsd:complexType>
</xsd:element >
/ * <xsd : element name = access > <xsd : complexType > <xsd : sequence > <xsd : element ref = dataSize minOccurs = 0 / > // whyd we do that ? < / xsd : sequence > <xsd : attribute name = urlPath type = xsd : token use = required / > <xsd : attribute name = serviceName type = xsd : string / > <xsd : attribute name = dataFormat type = dataFormatTypes / > < / xsd : complexType > < / xsd : element >