Package com.esri.gpt.framework.resource.common

Examples of com.esri.gpt.framework.resource.common.StringUri


  final Date updateDate = queryUpdateDate(con);
  return new Native() {

      @Override
      public SourceUri getSourceUri() {
        return new StringUri(sourceUri);
      }

      @Override
      public String getContent() throws IOException {
        return content;
View Full Code Here


    this.baseRecord = baseRecord;
  }

  @Override
  public SourceUri getSourceUri() {
    return new StringUri(baseRecord.getIdentifier());
  }
View Full Code Here

      recs++;
      maxReached = criteria!=null && criteria.getMaxRecords()!=null && recs>criteria.getMaxRecords();
      if (maxReached) break;
      final String id = (String) xPath.evaluate("identifier/text()", nd, XPathConstants.STRING);
      Publishable publishable = new CommonPublishable() {
        private StringUri uri = new StringUri(id);
       
        @Override
        public SourceUri getSourceUri() {
          return uri;
        }
View Full Code Here

    this.path = Val.chkStr(path);
  }

  @Override
  public SourceUri getSourceUri() {
    return new StringUri(getFtpClient().getServer() + path);
  }
View Full Code Here

public CswPublishableAdapter(CswProxy proxy, com.esri.gpt.server.csw.client.CswRecord record) {
  this.proxy = proxy;
//  this.sourceUri = new UuidUri(record.getId());
  // CSW specification doesn't say it has to be a GUID (UUID)
  this.sourceUri = new StringUri(record.getId());
  this.updateDate = Val.chkStr(record.getModifiedDate());
}
View Full Code Here

            continue;
          }
          Publishable publishable = new CommonPublishable() {

            private String itemInfoUrl = info.getUrl().replaceAll("/$", "") + "/content/items/" + ii.getId() + "/info/iteminfo.xml";
            private StringUri uri = new StringUri(formatUuid(ii.getId()));

            @Override
            public SourceUri getSourceUri() {
              return uri;
            }
View Full Code Here

      if (maxReached) break;
     
      final String id = (String) xPath.evaluate("atom:id/text()", entry, XPathConstants.STRING);
     
      Publishable publishable = new CommonPublishable() {
        private StringUri uri = new StringUri(id);
       
        public SourceUri getSourceUri() {
          return uri;
        }
View Full Code Here

TOP

Related Classes of com.esri.gpt.framework.resource.common.StringUri

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.