public class

Who

extends ExtensionPoint
implements Extension
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.extensions.Who
Known Direct Subclasses

Class Overview

GData schema extension describing a person. It contains a <gd:entryLink> element linking to (or containing) a Contact entry.

Summary

Nested Classes
class Who.AttendeeStatus Status of event attendee. 
class Who.AttendeeType Type of event attendee. 
class Who.Handler parser. 
class Who.Rel Relation type. 
Fields
protected Who.AttendeeStatus attendeeStatus
protected Who.AttendeeType attendeeType
protected String email Email of the person.
protected EntryLink<?> entryLink Nested person entry.
protected String rel
protected String valueString String description of the person.
[Expand]
Inherited Fields
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
Who()
Public Methods
void generate(XmlWriter w, ExtensionProfile extProfile)
Generates an XML representation for the extension.
String getAttendeeStatus()
String getAttendeeType()
static ExtensionDescription getDefaultDescription()
Returns a suggested extension description, which is repeatable.
static ExtensionDescription getDefaultDescription(boolean repeatable)
Returns a suggested extension description, which may be repeatable or not.
String getEmail()
EntryLink<?> getEntryLink()
XmlParser.ElementHandler getHandler(ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)
The default implementation uses the AbstractExtension.AttributesHandler to handle parsing the extension.
String getRel()
String getValueString()
void setAttendeeStatus(String v)
void setAttendeeType(String v)
void setEmail(String v)
void setEntryLink(EntryLink<?> v)
void setRel(String v)
void setValueString(String v)
Protected Methods
void visitChildren(ExtensionVisitor ev)
Called to visit all children of this extension point.
[Expand]
Inherited Methods
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension

Fields

protected Who.AttendeeStatus attendeeStatus

protected Who.AttendeeType attendeeType

protected String email

Email of the person.

protected EntryLink<?> entryLink

Nested person entry.

protected String rel

protected String valueString

String description of the person.

Public Constructors

public Who ()

Public Methods

public void generate (XmlWriter w, ExtensionProfile extProfile)

Generates an XML representation for the extension.

Parameters
w XML writer
extProfile Extension profile
Throws
IOException

public String getAttendeeStatus ()

public String getAttendeeType ()

public static ExtensionDescription getDefaultDescription ()

Returns a suggested extension description, which is repeatable.

public static ExtensionDescription getDefaultDescription (boolean repeatable)

Returns a suggested extension description, which may be repeatable or not.

Parameters
repeatable

public String getEmail ()

public EntryLink<?> getEntryLink ()

public XmlParser.ElementHandler getHandler (ExtensionProfile extProfile, String namespace, String localName, Attributes attrs)

The default implementation uses the AbstractExtension.AttributesHandler to handle parsing the extension.

Parameters
extProfile Extension profile
namespace Extension namespace
localName Tag name, without the namespace prefix
attrs Tag attributes
Returns
  • an element handler

public String getRel ()

public String getValueString ()

public void setAttendeeStatus (String v)

Parameters
v

public void setAttendeeType (String v)

Parameters
v

public void setEmail (String v)

Parameters
v

public void setEntryLink (EntryLink<?> v)

Parameters
v

public void setRel (String v)

Parameters
v

public void setValueString (String v)

Parameters
v

Protected Methods

protected void visitChildren (ExtensionVisitor ev)

Called to visit all children of this extension point.

Parameters
ev The extension visitor.