public class

Contributor

extends Person
java.lang.Object
   ↳ com.google.gdata.model.Element
     ↳ com.google.gdata.model.atom.Person
       ↳ com.google.gdata.model.atom.Contributor

Class Overview

Contributor element, modifies Person to add contributor QName.

Summary

Fields
public static final ElementKey<Void, Contributor> KEY The key for this element.
[Expand]
Inherited Fields
From class com.google.gdata.model.atom.Person
From class com.google.gdata.model.Element
Public Constructors
Contributor()
Constructs a new Contributor instance.
Contributor(String name)
Constructs a new Contributor instance with the given name.
Contributor(String name, URI uri, String email)
Constructs a new Contributor instance with the given name, uri, and email.
Protected Constructors
Contributor(ElementKey<?, ?> key)
Constructs a new Contributor instance with the given metadata.
Contributor(ElementKey<?, ? extends Contributor> key, Element source)
Constructs a new instance by doing a shallow copy of data from an existing Element instance.
Public Methods
static void registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
[Expand]
Inherited Methods
From class com.google.gdata.model.atom.Person
From class com.google.gdata.model.Element
From class java.lang.Object
From interface com.google.gdata.data.IPerson

Fields

public static final ElementKey<Void, Contributor> KEY

The key for this element.

Public Constructors

public Contributor ()

Constructs a new Contributor instance. Default metadata is associated with this instance.

public Contributor (String name)

Constructs a new Contributor instance with the given name.

Parameters
name

public Contributor (String name, URI uri, String email)

Constructs a new Contributor instance with the given name, uri, and email.

Parameters
name
uri
email

Protected Constructors

protected Contributor (ElementKey<?, ?> key)

Constructs a new Contributor instance with the given metadata.

Parameters
key

protected Contributor (ElementKey<?, ? extends Contributor> key, Element source)

Constructs a new instance by doing a shallow copy of data from an existing Element instance. Will use the given ElementKey as the key for the element.

Parameters
key The element key to use for this element.
source Source element

Public Methods

public static void registerMetadata (MetadataRegistry registry)

Registers the metadata for this element.

Parameters
registry