Class Tag
Additional tags about an item such as Brand for products or Author and Keywords for articles.
| Class | Description | Modifier and Type |
|---|
Tag.Type | Specifies which type a tag belongs to. | static interface |
| Field | Description | Modifier and Type |
|---|
tagType | The type of a tag. See Tag.Type for values. | java.lang.String |
Fields inherited from class Item:
| Constructor | Description |
|---|
Tag(java.lang.String id, java.lang.String tagType) | Creates a Tag with the required id and type only. |
Creates a Tag with the required id and type only. The tag can then be further modified.
| Parameter | Description | Required? |
|---|
id | See Item.id | Yes |
tagType | See Tag.Type | Yes |
| Method | Modifier and Type |
|---|
fromJSONObject(org.json.JSONObject json, java.lang.String id) | static Tag |