com.sun.syndication.feed.module.base
Interface GlobalInterface
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- Article, Course, Event, GoogleBase, Housing, Job, Person, Product, Review, ScholarlyArticle, Service, Travel, Unknown, Vehicle, Wanted
- All Known Implementing Classes:
- GoogleBaseImpl
public interface GlobalInterface
- extends java.io.Serializable
This is an interface representing the universals.
- Version:
- $Revision: 1.2 $
- Author:
- Robert "kebernet" Cooper
Method Summary |
java.util.Date |
getExpirationDate()
Expiration Date for this item. |
java.util.Date |
getExpirationDateTime()
Date and time that the item expires. |
java.lang.String |
getId()
Unique id for this item. |
java.net.URL[] |
getImageLinks()
Images for this item. |
java.lang.String[] |
getLabels()
Labels for this item. |
void |
setExpirationDate(java.util.Date expirationDate)
Expiration Date for this item. |
void |
setExpirationDateTime(java.util.Date expirationDateTime)
Date and time that the item expires. |
void |
setId(java.lang.String id)
Unique id for this item. |
void |
setImageLinks(java.net.URL[] imageLinks)
Images for this item. |
void |
setLabels(java.lang.String[] labels)
Labels for this item. |
setExpirationDate
void setExpirationDate(java.util.Date expirationDate)
- Expiration Date for this item.
expiration_date |
Details |
Date that the item expires in ISO 8601 format:
YYYY-MM-DD |
Example |
<g:expiration_date>2005-20-12</g:expiration_date>
|
Attribute of |
Reference Items, Events, Housing,
Jobs, People profiles, Products, Services, Travel, Vehicles, Wanted Ads. |
Content type |
date |
- Parameters:
expirationDate
- the date this entry will expire
getExpirationDate
java.util.Date getExpirationDate()
- Expiration Date for this item.
expiration_date |
Details |
Date that the item expires in ISO 8601 format:
YYYY-MM-DD |
Example |
<g:expiration_date>2005-20-12</g:expiration_date>
|
Attribute of |
Reference Items, Events, Housing,
Jobs, People profiles, Products, Services, Travel, Vehicles, Wanted Ads. |
Content type |
date |
- Returns:
- the date this entry will expire
setExpirationDateTime
void setExpirationDateTime(java.util.Date expirationDateTime)
- Date and time that the item expires.
expiration_date_time |
Details |
Date and time that the item expires in ISO 8601 format:
YYYY-MM-DDThh:mm:ss |
Example |
<g:expiration_date_time>12-20-05T11:59:59</g:expiration_date_time>
|
Attribute of |
Reference Items, Events, Housing,
Jobs, People profiles, Products, Services, Travel, Vehicles, Wanted Ads. |
Content type |
dateTime |
- Parameters:
expirationDateTime
- Date and time that the item expires.
getExpirationDateTime
java.util.Date getExpirationDateTime()
- Date and time that the item expires.
expiration_date_time |
Details |
Date and time that the item expires in ISO 8601 format:
YYYY-MM-DDThh:mm:ss |
Example |
<g:expiration_date_time>12-20-05T11:59:59</g:expiration_date_time>
|
Attribute of |
Reference Items, Events, Housing,
Jobs, People profiles, Products, Services, Travel, Vehicles, Wanted Ads. |
Content type |
dateTime |
- Returns:
- Date and time that the item expires.
setId
void setId(java.lang.String id)
- Unique id for this item.
id |
Details |
Unique alphanumeric identifier for each item
- e.g., your internal ID code.
IMPORTANT: Once you submit an item with a unique id, this identifier
must not change when you send in a new bulk upload. Each item must
retain the same id in subsequent bulk uploads. |
Example |
<g:id>01flx</g:id> |
Attribute of |
Reference Items, Events, Housing,
Jobs, News and Articles, People profiles, Products, Reviews, Services,
Travel, Vehicles, Wanted Ads. |
Content type |
string |
- Parameters:
id
- unique identifier for this entry
getId
java.lang.String getId()
- Unique id for this item.
id |
Details |
Unique alphanumeric identifier for each item
- e.g., your internal ID code.
IMPORTANT: Once you submit an item with a unique id, this identifier
must not change when you send in a new bulk upload. Each item must
retain the same id in subsequent bulk uploads. |
Example |
<g:id>01flx</g:id> |
Attribute of |
Reference Items, Events, Housing,
Jobs, News and Articles, People profiles, Products, Reviews, Services,
Travel, Vehicles, Wanted Ads. |
Content type |
string |
- Returns:
- unique identifier for this entry
setImageLinks
void setImageLinks(java.net.URL[] imageLinks)
- Images for this item.
image_link |
Details |
URL of an associated image if available online.
Use your full-sized images; do not use thumbnail images. Up to ten
image_links, all placed in between their own <image_link>
and </image_link> attributes, can be included with each item.
If you do not have an image available, do not include this attribute.
Please do not include an image that says "Image not available."
Relative URLs and logo images are not acceptable. |
Example |
Acceptable:
<image_link>http://example.com/images/1006.jpg</image_link>
<image_link>http://example.com/i/6.jpg,http://example.com/i/9.jpg</image_link>
Not acceptable:
<image_link>/images/1006.jpg</image_link>
<image_link>example.com/images/1006.jpg</image_link> |
Attribute of |
Reference Items, Events, Housing,
Jobs, News and Articles, People profiles, Products, Reviews, Services,
Travel, Vehicles, Wanted Ads. |
Content type |
url |
- Parameters:
imageLinks
- URLs to images. Limit 10.
getImageLinks
java.net.URL[] getImageLinks()
- Images for this item.
image_link |
Details |
URL of an associated image if available online.
Use your full-sized images; do not use thumbnail images. Up to ten
image_links, all placed in between their own <image_link>
and </image_link> attributes, can be included with each item.
If you do not have an image available, do not include this attribute.
Please do not include an image that says "Image not available."
Relative URLs and logo images are not acceptable. |
Example |
Acceptable:
<image_link>http://example.com/images/1006.jpg</image_link>
<image_link>http://example.com/i/6.jpg,http://example.com/i/9.jpg</image_link>
Not acceptable:
<image_link>/images/1006.jpg</image_link>
<image_link>example.com/images/1006.jpg</image_link> |
Attribute of |
Reference Items, Events, Housing,
Jobs, News and Articles, People profiles, Products, Reviews, Services,
Travel, Vehicles, Wanted Ads. |
Content type |
url |
- Returns:
- URLs to images
setLabels
void setLabels(java.lang.String[] labels)
- Labels for this item.
label |
Details |
A
list of classifications the item may fall under. Up to ten user-selected
label, each placed in between their own <label>
and </label> tags, can be included with each item. These attributes will be used to match your items to search queries. Each attribute value will be checked for policy compliance. |
Example |
Acceptable:
For an automobile in a Vehicles information type:
<g:label>Leather</g:label>
<g:label>Power locks</g:label>
<g:label>sunroof</g:label>
<g:label>ABS</g:label>
For a concert in an Events information type:
<g:label>VIP</g:label>
<g:label>front row</g:label>
<g:label>backstage</g:label>
<g:label>KROCK 101.5</g:label>
<g:label>parking passes</g:label>
Not acceptable:
<g:label> leater, power locks, sunroof, ABS </g:label> |
Attribute of |
Reference Items, Events, Housing, Jobs, News and Articles,
People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. |
Content type |
string |
- Parameters:
labels
- labels for this entry. Limit 10.
getLabels
java.lang.String[] getLabels()
- Labels for this item.
label |
Details |
A
list of classifications the item may fall under. Up to ten user-selected
label, each placed in between their own <label>
and </label> tags, can be included with each item. These attributes will be used to match your items to search queries. Each attribute value will be checked for policy compliance. |
Example |
Acceptable:
For an automobile in a Vehicles information type:
<g:label>Leather</g:label>
<g:label>Power locks</g:label>
<g:label>sunroof</g:label>
<g:label>ABS</g:label>
For a concert in an Events information type:
<g:label>VIP</g:label>
<g:label>front row</g:label>
<g:label>backstage</g:label>
<g:label>KROCK 101.5</g:label>
<g:label>parking passes</g:label>
Not acceptable:
<g:label> leater, power locks, sunroof, ABS </g:label> |
Attribute of |
Reference Items, Events, Housing, Jobs, News and Articles,
People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. |
Content type |
string |
- Returns:
- labels for this entry
Copyright © 2006-2009. All Rights Reserved.