Class Article

  • All Implemented Interfaces:
    HasLocation, Extendable, Serializable, Cloneable

    public class Article
    extends ActivityObject

    The "article" Object type indicates that the Object is an article, such as a news article, a knowledge base entry, or other similar construct.

    Articles generally consist of paragraphs of text, in some cases incorporating embedded media such as photos and inline hyperlinks to other resources.

    The "Article" Object type is identified by the URL http://activitystrea.ms/schema/1.0/article.

    An article has the following additional components:

    Name
    The title of the article. Represented by the Name component of the base Object Construct.
    Content
    The main body content of the article. Represented in JSON as a property called content whose value is a JSON string containing a fragment of HTML that represents the content.
    See Also:
    Serialized Form