| java.lang.Object |
| ↳ |
com.google.gdata.data.calendar.WebContent |
Class Overview
A "web content" extension -- here are some examples:
Summary
| Constants |
| String |
GADGET_TYPE |
the name of a gadget pref element |
| String |
REL |
value of the rel attribute for a link containing web content |
| String |
TYPE |
the name of the child element of the web content link |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.google.gdata.data.Extension
|
Constants
private
static
final
String
GADGET_TYPE
the name of a gadget pref element
Constant Value:
"webContentGadgetPref"
public
static
final
String
REL
value of the rel attribute for a link containing web content
Constant Value:
"http://schemas.google.com/gCal/2005/webContent"
private
static
final
String
TYPE
the name of the child element of the web content link
Constant Value:
"webContent"
Fields
private
Map<String, String>
gadgetPrefs
private
Link
webContentLink
Public Constructors
Public Methods
Generates an XML representation for the extension.
Parameters
| writer
| XML writer |
| profile
| Extension profile
|
public
Map<String, String>
getGadgetPrefs
()
public
XmlParser.ElementHandler
getHandler
(ExtensionProfile profile, String namespace, String localName, Attributes attrs)
Gets an XML element handler for the extension.
Parameters
| profile
| Extension profile |
| namespace
| Extension namespace |
| localName
| Tag name, without the namespace prefix |
| attrs
| Tag attributes |
public
String
getHeight
()
public
String
getTitle
()
public
String
getWidth
()
public
void
setGadgetPrefs
(Map<String, String> gadgetPrefs)
public
void
setHeight
(String height)
public
void
setIcon
(String icon)
public
void
setTitle
(String title)
public
void
setType
(String type)
public
void
setUrl
(String url)
public
void
setWidth
(String width)
public
String
toString
()
public
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.
If so, the WebContent property of the entry is set.