public abstract class BaseGadgetDescriptor extends Object implements Serializable, GadgetDeclaration
Constructor and Description |
---|
BaseGadgetDescriptor() |
Modifier and Type | Method and Description |
---|---|
String |
getAuthor() |
String |
getDescription(Locale locale)
Try to find an localized description for this gadet
|
org.apache.shindig.gadgets.spec.GadgetSpec |
getGadgetSpec() |
String |
getPublicGadgetDefinition()
Returns the public URL of the gadget spec.
|
String |
getScreenshot() |
String |
getThumbnail() |
String |
getTitle() |
String |
getTitle(Locale locale)
Try to find an internationalized title for this gadget.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCategory, getDescription, getDisabled, getGadgetDefinition, getIconUrl, getName, getResource, getResourceAsStream, isExternal
public org.apache.shindig.gadgets.spec.GadgetSpec getGadgetSpec()
getGadgetSpec
in interface GadgetDeclaration
public String getTitle()
getTitle
in interface GadgetDeclaration
public String getTitle(Locale locale)
GadgetDeclaration
The label key is "label.gadget." + gadgetName.
getTitle
in interface GadgetDeclaration
public String getDescription(Locale locale)
GadgetDeclaration
The label key is "label.gadget." + gadgetName + ".description"
getDescription
in interface GadgetDeclaration
public String getAuthor()
getAuthor
in interface GadgetDeclaration
public String getScreenshot()
getScreenshot
in interface GadgetDeclaration
public String getThumbnail()
getThumbnail
in interface GadgetDeclaration
public String getPublicGadgetDefinition() throws MalformedURLException
GadgetDeclaration
getPublicGadgetDefinition
in interface GadgetDeclaration
MalformedURLException
Copyright © 2014 Nuxeo SA. All rights reserved.