public class

Author

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

Class Overview

Author element, modifies Person to add author QName.

Summary

Fields
public static final ElementKey<Void, Author> 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
Author()
Constructs a new Author instance.
Author(String name)
Constructs a new Author instance with the given name.
Author(String name, URI uri, String email)
Constructs a new author instance with the given name, uri, and email.
Protected Constructors
Author(ElementKey<?, ?> key)
Lets subclasses create an instance using a custom key.
Author(ElementKey<?, ? extends Author> 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, Author> KEY

The key for this element.

Public Constructors

public Author ()

Constructs a new Author instance. The default key is associated with this instance.

public Author (String name)

Constructs a new Author instance with the given name.

Parameters
name

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

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

Parameters
name
uri
email

Protected Constructors

protected Author (ElementKey<?, ?> key)

Lets subclasses create an instance using a custom key.

Parameters
key

protected Author (ElementKey<?, ? extends Author> 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