com.google.gdata.model.atom
Class Author

java.lang.Object
  extended by com.google.gdata.model.Element
      extended by com.google.gdata.model.atom.Person
          extended by com.google.gdata.model.atom.Author
All Implemented Interfaces:
IPerson

public class Author
extends Person

Author element, modifies Person to add author QName.


Field Summary
static ElementKey<java.lang.Void,Author> KEY
          The key for this element.
 
Fields inherited from class com.google.gdata.model.atom.Person
EMAIL, NAME, URI
 
Constructor Summary
  Author()
          Constructs a new Author instance.
protected Author(ElementKey<?,?> key)
          Lets subclasses create an instance using a custom 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.
  Author(java.lang.String name)
          Constructs a new Author instance with the given name.
  Author(java.lang.String name, java.net.URI uri, java.lang.String email)
          Constructs a new author instance with the given name, uri, and email.
 
Method Summary
static void registerMetadata(MetadataRegistry registry)
          Registers the metadata for this element.
 
Methods inherited from class com.google.gdata.model.atom.Person
getEmail, getName, getNameLang, getUri, getUriUri, setEmail, setName, setNameLang, setUri, setUri
 
Methods inherited from class com.google.gdata.model.Element
adapt, adapt, addElement, addElement, addElement, clear, createElement, createElement, eq, equals, getAttributeCount, getAttributeIterator, getAttributeIterator, getAttributeValue, getAttributeValue, getDefaultKey, getElement, getElement, getElementCount, getElementId, getElementIterator, getElementIterator, getElementKey, getElements, getElements, getElementSet, getElementSet, getElementValue, getElementValue, getTextValue, getTextValue, hasAttribute, hasAttribute, hasElement, hasElement, hashCode, hasTextValue, isLocked, lock, narrow, removeAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeElement, removeElement, removeElement, removeElement, replaceElement, resolve, resolve, sameClassAs, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, validate, visit
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY

public static final ElementKey<java.lang.Void,Author> KEY
The key for this element.

Constructor Detail

Author

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


Author

protected Author(ElementKey<?,?> key)
Lets subclasses create an instance using a custom key.


Author

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

Author

public Author(java.lang.String name)
Constructs a new Author instance with the given name.


Author

public Author(java.lang.String name,
              java.net.URI uri,
              java.lang.String email)
Constructs a new author instance with the given name, uri, and email.

Method Detail

registerMetadata

public static void registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.