public static class

Source.Generator

extends Element
implements IGenerator
java.lang.Object
   ↳ com.google.gdata.model.Element
     ↳ com.google.gdata.model.atom.Source.Generator

Class Overview

Class representing atom:generator.

Summary

Fields
public static final ElementKey<String, Source.Generator> KEY The key for this element.
public static final AttributeKey<URI> URI Metadata for the uri attribute.
public static final AttributeKey<String> VERSION Metadata for the version attribute.
[Expand]
Inherited Fields
From class com.google.gdata.model.Element
Public Constructors
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.
Public Methods
String getHref()
This method is deprecated. Use getUriUri() instead.
String getName()
Generator name.
URI getUriUri()
Gets URI associated with source.
String getVersion()
Version.
static void registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
void setName(String v)
void setUri(String v)
This method is deprecated. Use setUri(URI) instead.
void setUri(URI v)
Sets URI associated with source.
void setVersion(String v)
[Expand]
Inherited Methods
From class com.google.gdata.model.Element
From class java.lang.Object
From interface com.google.gdata.data.IGenerator

Fields

public static final ElementKey<String, Source.Generator> KEY

The key for this element.

public static final AttributeKey<URI> URI

Metadata for the uri attribute.

public static final AttributeKey<String> VERSION

Metadata for the version attribute.

Public Constructors

public Source.Generator ()

Constructs a new instance using the default metadata.

public Source.Generator (ElementKey<?, ? extends Source.Generator> key)

Constructs a new instance using the specified element metadata.

Parameters
key Element key for this element.

Public Methods

public String getHref ()

This method is deprecated.
Use getUriUri() instead.

Gets URI associated with source.

Returns
  • URI

public String getName ()

Generator name.

public URI getUriUri ()

Gets URI associated with source.

Returns
  • URI

public String getVersion ()

Version.

public static void registerMetadata (MetadataRegistry registry)

Registers the metadata for this element.

Parameters
registry

public void setName (String v)

Parameters
v

public void setUri (String v)

This method is deprecated.
Use setUri(URI) instead.

Sets URI associated with source.

Parameters
v URI

public void setUri (URI v)

Sets URI associated with source.

Parameters
v URI

public void setVersion (String v)

Parameters
v