Package com.esri.gpt.catalog.harvest.protocols

Examples of com.esri.gpt.catalog.harvest.protocols.HarvestProtocolDCAT


  @Override
  public IValidator create(HrRecord record) {
    if (record!=null && getProtocolClass().isInstance(record.getProtocol())) {
      String url = record.getHostUrl();
      HarvestProtocolDCAT protocol = (HarvestProtocolDCAT) record.getProtocol();
      return new DCATValidator(url, protocol);
    }
    return null;
  }
View Full Code Here


    return "DCAT";
  }

  @Override
  public Protocol newProtocol() {
    return new HarvestProtocolDCAT();
  }
View Full Code Here

TOP

Related Classes of com.esri.gpt.catalog.harvest.protocols.HarvestProtocolDCAT

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.