Package com.google.gdata.data.extensions

Examples of com.google.gdata.data.extensions.ResourceId


   * Returns the document's resource id.
   *
   * @return the resource id.
   */
  public String getResourceId() {
    ResourceId resourceId = getExtension(ResourceId.class);
    return resourceId == null ? null : resourceId.getValue();
  }
View Full Code Here


   */
  public void setResourceId(String resourceId) {
    if (resourceId == null) {
      removeExtension(ResourceId.class);
    } else {
      setExtension(new ResourceId(resourceId));
    }
  }
View Full Code Here

   * Returns the document's resource id.
   *
   * @return the resource id.
   */
  public String getResourceId() {
    ResourceId resourceId = getExtension(ResourceId.class);
    return resourceId == null ? null : resourceId.getValue();
  }
View Full Code Here

   */
  public void setResourceId(String resourceId) {
    if (resourceId == null) {
      removeExtension(ResourceId.class);
    } else {
      setExtension(new ResourceId(resourceId));
    }
  }
View Full Code Here

        client.trimFormat("/%s");     // sleazy hack to remove trailing id
        entry = title == null
          ? parseEntry(client, is, maps, preview, pw)
          : client.buildEntry(title, content, summary);
        if (id.length() > 0) {
          entry.setExtension(new ResourceId(id));
        }
        setProperties(props, entry);
        if (preview) {
          pp(maps, entry, pw);
        }
View Full Code Here

TOP

Related Classes of com.google.gdata.data.extensions.ResourceId

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.