Class Article

An article is content that is typically organized by category or keyword.

1public class Article
2extends CategorizedItem

Fields 

FieldDescriptionModifier and Type
modifiedDateDate and time when this article was last modified.java.util.Date
subTitleSubtitle for this article.java.lang.String

Fields inherited from class CategorizedItem:

Fields inherited from class Item:

modifiedDate 

1public java.util.Date modifiedDate

Date and time when this article was last modified. For other dates that can be set, see Item.expiration and Item.published.

subTitle 

1public java.lang.String subTitle

Subtitle for this article. To set the title, see Item.name .

Constructors 

1Article(java.lang.String id)

Creates an article with the required ID only.

Article 

1public Article(java.lang.String id)

Creates an article with the required id only. The article can then be further modified.

Parameters 

ParameterDescriptionRequired?
idSee Item.idYes

Methods 

MethodModifier and Type
fromJSONObject(org.json.JSONObject json, java.lang.String id)static Article

Methods inherited from class Item:

fromJSONObject 

1public static Article fromJSONObject(org.json.JSONObject json,
2                                     java.lang.String id)