|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.model.Element
com.google.gdata.model.atom.Source.Generator
public static class Source.Generator
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 java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.String,Source.Generator> KEY
public static final AttributeKey<java.lang.String> VERSION
public static final AttributeKey<java.net.URI> URI
Constructor Detail |
---|
public Source.Generator()
public Source.Generator(ElementKey<?,? extends Source.Generator> key)
key
- element key for this element.Method Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public java.lang.String getVersion()
getVersion
in interface IGenerator
public void setVersion(java.lang.String v)
@Deprecated public java.lang.String getHref()
getUriUri()
instead.
getHref
in interface IGenerator
public java.net.URI getUriUri()
@Deprecated public void setUri(java.lang.String v)
setUri(URI)
instead.
v
- URIpublic void setUri(java.net.URI v)
v
- URIpublic java.lang.String getName()
getName
in interface IGenerator
public void setName(java.lang.String v)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |