| java.lang.Object | |
| ↳ | com.google.api.gbase.client.GmAttributes |
Java representation for the gm:attributes tag for in the itemtypes feed.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| GmAttributes.GmAttribute | The information defining an attribute, as contained by the gm:attribute element in the itemtypes feed. | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| attributeIds | |||||||||||
| attributes | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds a new attribute to the list.
| |||||||||||
This method is deprecated.
use
addAttribute(GoogleBaseAttributeId, GmAttribute.Importance)
instead. This method will be removed in a future release
| |||||||||||
Generate the XML representation for this tag.
| |||||||||||
This method is deprecated.
use
getAttributes() instead.
| |||||||||||
Gets an unmodifiable collection of GmAttribute objects.
| |||||||||||
Creates a parser for this tag.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
Adds a new attribute to the list.
Note: The importance parameter should not be null. The current implementation allows null values for loadind old attributes persisted on client side. The null check will be enabled in a future release.
| attributeId | The id for this attribute |
|---|---|
| importance | Attribute importance, may be null if no importance is defined |
| NullPointerException | if name is null |
|---|---|
| IllegalArgumentException | if an attribute with the same name and type has already been added |
This method is deprecated.
use
addAttribute(GoogleBaseAttributeId, GmAttribute.Importance)
instead. This method will be removed in a future release
Adds a new attribute to the list with no importance specified.
| name | Attribute name |
|---|---|
| type | Attribute type, may be null |
| NullPointerException | if name is null |
|---|
Generate the XML representation for this tag.
| w | XML writer |
|---|---|
| extProfile | Extension profile |
| IOException |
|---|
This method is deprecated.
use getAttributes() instead.
Gets an unmodifiable list of GoogleBaseAttributeId objects.
Gets an unmodifiable collection of GmAttribute objects.
Creates a parser for this tag.
| extProfile | Extension profile |
|---|---|
| namespace | Extension namespace |
| localName | Tag name, without the namespace prefix |
| attrs | Tag attributes |
| IOException | |
|---|---|
| ParseException |