com.redfin.sitemapgenerator
Class GoogleVideoSitemapUrl

java.lang.Object
  extended by com.redfin.sitemapgenerator.WebSitemapUrl
      extended by com.redfin.sitemapgenerator.GoogleVideoSitemapUrl

public class GoogleVideoSitemapUrl
extends WebSitemapUrl

One configurable Google Video Search URL. To configure, use GoogleVideoSitemapUrl.Options

Author:
Dan Fabulich
See Also:
GoogleVideoSitemapUrl.Options, Creating Video Sitemaps

Nested Class Summary
static class GoogleVideoSitemapUrl.Options
          Options to configure Google Video URLs
 
Constructor Summary
GoogleVideoSitemapUrl(GoogleVideoSitemapUrl.Options options)
          Configures the url with options
GoogleVideoSitemapUrl(java.net.URL url, java.net.URL contentUrl)
          Specifies a landing page URL, together with the URL of the underlying video (e.g.
GoogleVideoSitemapUrl(java.net.URL url, java.net.URL playerUrl, boolean allowEmbed)
          Specifies a landing page URL, together with a "player" (e.g.
 
Method Summary
 java.lang.String getAllowEmbed()
          Retrieves whether embedding is allowed
 java.lang.String getCategory()
          Retrieves the GoogleVideoSitemapUrl.Options.category
 java.net.URL getContentUrl()
          Retrieves the GoogleVideoSitemapUrl.Options.contentUrl
 java.lang.String getDescription()
          Retrieves the GoogleVideoSitemapUrl.Options.description
 java.lang.Integer getDurationInSeconds()
          Retrieves the GoogleVideoSitemapUrl.Options.durationInSeconds
 java.lang.String getFamilyFriendly()
          Retrieves whether the video is GoogleVideoSitemapUrl.Options.familyFriendly
 java.net.URL getPlayerUrl()
          Retrieves the GoogleVideoSitemapUrl.Options.playerUrl
 java.util.Date getPublicationDate()
          Retrieves the GoogleVideoSitemapUrl.Options.publicationDate
 java.lang.Double getRating()
          Retrieves the GoogleVideoSitemapUrl.Options.rating
 java.util.ArrayList<java.lang.String> getTags()
          Retrieves the GoogleVideoSitemapUrl.Options.tags
 java.net.URL getThumbnailUrl()
          Retrieves the GoogleVideoSitemapUrl.Options.thumbnailUrl
 java.lang.String getTitle()
          Retrieves the GoogleVideoSitemapUrl.Options.title
 java.lang.Integer getViewCount()
          Retrieves the GoogleVideoSitemapUrl.Options.viewCount
 
Methods inherited from class com.redfin.sitemapgenerator.WebSitemapUrl
getChangeFreq, getLastMod, getPriority, getUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleVideoSitemapUrl

public GoogleVideoSitemapUrl(java.net.URL url,
                             java.net.URL playerUrl,
                             boolean allowEmbed)
Specifies a landing page URL, together with a "player" (e.g. SWF)

Parameters:
url - the landing page URL
playerUrl - the URL of the "player" (e.g. SWF file)
allowEmbed - when specifying a player, you must specify whether embedding is allowed

GoogleVideoSitemapUrl

public GoogleVideoSitemapUrl(java.net.URL url,
                             java.net.URL contentUrl)
Specifies a landing page URL, together with the URL of the underlying video (e.g. FLV)

Parameters:
url - the landing page URL
contentUrl - the URL of the underlying video (e.g. FLV)

GoogleVideoSitemapUrl

public GoogleVideoSitemapUrl(GoogleVideoSitemapUrl.Options options)
Configures the url with options

Method Detail

getPlayerUrl

public java.net.URL getPlayerUrl()
Retrieves the GoogleVideoSitemapUrl.Options.playerUrl


getContentUrl

public java.net.URL getContentUrl()
Retrieves the GoogleVideoSitemapUrl.Options.contentUrl


getThumbnailUrl

public java.net.URL getThumbnailUrl()
Retrieves the GoogleVideoSitemapUrl.Options.thumbnailUrl


getTitle

public java.lang.String getTitle()
Retrieves the GoogleVideoSitemapUrl.Options.title


getDescription

public java.lang.String getDescription()
Retrieves the GoogleVideoSitemapUrl.Options.description


getRating

public java.lang.Double getRating()
Retrieves the GoogleVideoSitemapUrl.Options.rating


getViewCount

public java.lang.Integer getViewCount()
Retrieves the GoogleVideoSitemapUrl.Options.viewCount


getPublicationDate

public java.util.Date getPublicationDate()
Retrieves the GoogleVideoSitemapUrl.Options.publicationDate


getTags

public java.util.ArrayList<java.lang.String> getTags()
Retrieves the GoogleVideoSitemapUrl.Options.tags


getCategory

public java.lang.String getCategory()
Retrieves the GoogleVideoSitemapUrl.Options.category


getFamilyFriendly

public java.lang.String getFamilyFriendly()
Retrieves whether the video is GoogleVideoSitemapUrl.Options.familyFriendly


getDurationInSeconds

public java.lang.Integer getDurationInSeconds()
Retrieves the GoogleVideoSitemapUrl.Options.durationInSeconds


getAllowEmbed

public java.lang.String getAllowEmbed()
Retrieves whether embedding is allowed



Copyright © 2009. All Rights Reserved.