public class

Where

extends ExtensionPoint
implements Extension
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.extensions.Where

Class Overview

GData schema extension describing a place (not necessarily a specific geographical location).

Summary

Nested Classes
class Where.Rel Relation type. 
Fields
protected EntryLink<?> entryLink Nested person or venue (Contact) entry.
protected String label User-readable label that identifies this location in case multiple locations may be present.
protected String rel Describes the meaning of this location.
protected String valueString Text description of the place.
[Expand]
Inherited Fields
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
Where()
Constructs an empty Where instance.
Where(String rel, String label, String valueString)
Constructs a new Where instance using the specified parameters.
Public Methods
void generate(XmlWriter w, ExtensionProfile extProfile)
Generates an XML representation for the extension.
static ExtensionDescription getDefaultDescription()
Returns the suggested extension description.
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 getLabel()
String getRel()
String getValueString()
void setEntryLink(EntryLink<?> v)
void setLabel(String 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 EntryLink<?> entryLink

Nested person or venue (Contact) entry.

protected String label

User-readable label that identifies this location in case multiple locations may be present.

protected String rel

Describes the meaning of this location.

protected String valueString

Text description of the place.

Public Constructors

public Where ()

Constructs an empty Where instance.

public Where (String rel, String label, String valueString)

Constructs a new Where instance using the specified parameters.

Parameters
rel
label
valueString

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 static ExtensionDescription getDefaultDescription ()

Returns the suggested extension description.

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 getLabel ()

public String getRel ()

public String getValueString ()

public void setEntryLink (EntryLink<?> v)

Parameters
v

public void setLabel (String 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.