com.google.gdata.model.atom
Class Source.Generator

java.lang.Object
  extended by com.google.gdata.model.Element
      extended by com.google.gdata.model.atom.Source.Generator
All Implemented Interfaces:
IGenerator
Enclosing class:
Source

public static class Source.Generator
extends Element
implements IGenerator

Class representing atom:generator.


Field Summary
static ElementKey<java.lang.String,Source.Generator> KEY
          The key for this element.
static AttributeKey<java.net.URI> URI
          Metadata for the uri attribute.
static AttributeKey<java.lang.String> VERSION
          Metadata for the version attribute.
 
Constructor Summary
Source.Generator()
          Constructs a new instance using the default metadata.
Source.Generator(ElementKey<?,? extends Source.Generator> key)
          Constructs a new instance using the specified element metadata.
 
Method Summary
 java.lang.String getHref()
          Deprecated. Use getUriUri() instead.
 java.lang.String getName()
          Generator name.
 java.net.URI getUriUri()
          Gets URI associated with source.
 java.lang.String getVersion()
          Version.
static void registerMetadata(MetadataRegistry registry)
          Registers the metadata for this element.
 void setName(java.lang.String v)
           
 void setUri(java.lang.String v)
          Deprecated. Use setUri(URI) instead.
 void setUri(java.net.URI v)
          Sets URI associated with source.
 void setVersion(java.lang.String v)
           
 
Methods inherited from class com.google.gdata.model.Element
addElement, addElement, addElement, clear, createElement, createElement, 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, removeAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeElement, removeElement, removeElement, removeElement, replaceElement, resolve, resolve, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, visit
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY

public static final ElementKey<java.lang.String,Source.Generator> KEY
The key for this element.


VERSION

public static final AttributeKey<java.lang.String> VERSION
Metadata for the version attribute.


URI

public static final AttributeKey<java.net.URI> URI
Metadata for the uri attribute.

Constructor Detail

Source.Generator

public Source.Generator()
Constructs a new instance using the default metadata.


Source.Generator

public Source.Generator(ElementKey<?,? extends Source.Generator> key)
Constructs a new instance using the specified element metadata.

Parameters:
key - element key for this element.
Method Detail

registerMetadata

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


getVersion

public java.lang.String getVersion()
Version.

Specified by:
getVersion in interface IGenerator

setVersion

public void setVersion(java.lang.String v)

getHref

@Deprecated
public java.lang.String getHref()
Deprecated. Use getUriUri() instead.

Gets URI associated with source.

Specified by:
getHref in interface IGenerator
Returns:
URI

getUriUri

public java.net.URI getUriUri()
Gets URI associated with source.

Returns:
URI

setUri

@Deprecated
public void setUri(java.lang.String v)
Deprecated. Use setUri(URI) instead.

Sets URI associated with source.

Parameters:
v - URI

setUri

public void setUri(java.net.URI v)
Sets URI associated with source.

Parameters:
v - URI

getName

public java.lang.String getName()
Generator name.

Specified by:
getName in interface IGenerator

setName

public void setName(java.lang.String v)