| Modifier and Type | Field and Description |
|---|---|
static String |
REL
value of the rel attribute for a link containing web content
|
| Constructor and Description |
|---|
WebContent() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(XmlWriter writer,
ExtensionProfile profile)
Generates an XML representation for the extension.
|
static ExtensionDescription |
getDefaultDescription() |
Map<String,String> |
getGadgetPrefs() |
XmlParser.ElementHandler |
getHandler(ExtensionProfile profile,
String namespace,
String localName,
Attributes attrs)
Gets an XML element handler for the extension.
|
String |
getHeight() |
String |
getIcon() |
String |
getTitle() |
String |
getType() |
String |
getUrl() |
String |
getWidth() |
void |
setGadgetPrefs(Map<String,String> gadgetPrefs) |
void |
setHeight(String height) |
void |
setIcon(String icon) |
void |
setTitle(String title) |
void |
setType(String type) |
void |
setUrl(String url) |
void |
setWidth(String width) |
String |
toString() |
static void |
updateWebContent(CalendarEventEntry entry)
Done as a post-process on a CalendarEventEntry to see if it contains
the appropriate XML to signify that the entry contains web content.
|
public static final String REL
public static ExtensionDescription getDefaultDescription()
public static void updateWebContent(CalendarEventEntry entry) throws ParseException
ParseExceptionpublic void generate(XmlWriter writer, ExtensionProfile profile) throws IOException
Extensiongenerate in interface Extensionwriter - XML writerprofile - extension profileIOExceptionpublic XmlParser.ElementHandler getHandler(ExtensionProfile profile, String namespace, String localName, Attributes attrs) throws ParseException, IOException
ExtensiongetHandler in interface Extensionprofile - extension profilenamespace - extension namespacelocalName - tag name, without the namespace prefixattrs - tag attributesParseException - when an unexpected tag or badly-formatted
XML is detectedIOExceptionpublic String getIcon()
public void setIcon(String icon)
public String getTitle()
public void setTitle(String title)
public String getType()
public void setType(String type)
public String getUrl()
public void setUrl(String url)
public String getWidth()
public void setWidth(String width)
public String getHeight()
public void setHeight(String height)
Copyright © 2012. All Rights Reserved.