protected DatasetBuilder readCatalogRef(DatasetBuilder parent, Element catRefElem) {
    String title = catRefElem.getAttributeValue("title", Catalog.xlinkNS);
    if (title == null) {
      title = catRefElem.getAttributeValue("name");
    }
    String href = catRefElem.getAttributeValue("href", Catalog.xlinkNS);
    CatalogRefBuilder catRef = new CatalogRefBuilder(parent);
    readDatasetInfo( catRef, catRefElem);
    catRef.setTitle(title);
    catRef.setHref(href);
    return catRef;
  }
protected DatasetBuilder readCatalogRef(DatasetBuilder parent, Element catRefElem) {
    String title = catRefElem.getAttributeValue("title", Catalog.xlinkNS);
    if (title == null) {
      title = catRefElem.getAttributeValue("name");
    }
    String href = catRefElem.getAttributeValue("href", Catalog.xlinkNS);
    CatalogRefBuilder catRef = new CatalogRefBuilder(parent);
    readDatasetInfo( catRef, catRefElem);
    catRef.setTitle(title);
    catRef.setHref(href);
    return catRef;
  }
protected DatasetBuilder readCatalogRef ( DatasetBuilder parent , Element catRefElem ) { String title = catRefElem . getAttributeValue ( "title" , Catalog . xlinkNS ) ; if ( title == null ) { title = catRefElem . getAttributeValue ( "name" ) ; } String href = catRefElem . getAttributeValue ( "href" , Catalog . xlinkNS ) ; CatalogRefBuilder catRef = new CatalogRefBuilder ( parent ) ; readDatasetInfo ( catRef , catRefElem ) ; catRef . setTitle ( title ) ; catRef . setHref ( href ) ; return catRef ; }
/*
<xsd:element name="catalogRef" substitutionGroup="dataset">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="DatasetType">
<xsd:attributeGroup ref="XLink"/>
<xsd:attribute name="useRemoteCatalogService" type="xsd:boolean"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
/ * <xsd : element name = catalogRef substitutionGroup = dataset > <xsd : complexType > <xsd : complexContent > <xsd : extension base = DatasetType > <xsd : attributeGroup ref = XLink / > <xsd : attribute name = useRemoteCatalogService type = xsd : boolean / > < / xsd : extension > < / xsd : complexContent > < / xsd : complexType > < / xsd : element >