org.jboss.portal.widget.google.provider
Class GGQueryResultEntry

java.lang.Object
  extended by org.jboss.portal.widget.google.provider.GGQueryResultEntry
All Implemented Interfaces:
DirectoryQueryResultEntry

public class GGQueryResultEntry
extends java.lang.Object
implements DirectoryQueryResultEntry

Version:
$Revision: 9034 $
Author:
Julien Viet

Constructor Summary
GGQueryResultEntry(GGWidgetMetaData metadata)
           
GGQueryResultEntry(java.net.URL url, java.lang.String title, java.lang.String description, java.lang.String screenshot, java.lang.String thumbnail, java.lang.String author, int width, int height)
           
 
Method Summary
 java.lang.String getAuthor()
           
 java.lang.String getDescription()
           
 int getHeight()
           
 java.lang.String getScreenshot()
           
 java.lang.String getThumbnail()
           
 java.lang.String getTitle()
           
 java.net.URL getURL()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GGQueryResultEntry

public GGQueryResultEntry(java.net.URL url,
                          java.lang.String title,
                          java.lang.String description,
                          java.lang.String screenshot,
                          java.lang.String thumbnail,
                          java.lang.String author,
                          int width,
                          int height)

GGQueryResultEntry

public GGQueryResultEntry(GGWidgetMetaData metadata)
                   throws java.lang.NumberFormatException,
                          java.net.MalformedURLException
Throws:
java.lang.NumberFormatException
java.net.MalformedURLException
Method Detail

getURL

public java.net.URL getURL()
Specified by:
getURL in interface DirectoryQueryResultEntry

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface DirectoryQueryResultEntry

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface DirectoryQueryResultEntry

getScreenshot

public java.lang.String getScreenshot()

getThumbnail

public java.lang.String getThumbnail()

getAuthor

public java.lang.String getAuthor()

getWidth

public int getWidth()

getHeight

public int getHeight()