NewsArticle Class

public class NewsArticle
extends Article

Defines a news article.

Constructor Summary

Constructor Description
NewsArticle()

Method Summary

Modifier and Type Method and Description
java.lang.String category()

Get the category value.

java.util.List<NewsArticle> clusteredArticles()

Get the clusteredArticles value.

java.lang.Boolean headline()

Get the headline value.

Methods inherited from Article

Methods inherited from CreativeWork

Methods inherited from Identifiable

id

Methods inherited from Response

Methods inherited from Thing

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

NewsArticle

public NewsArticle()

Method Details

category

public String category()

Get the category value.

Returns:

the category value

clusteredArticles

public List clusteredArticles()

Get the clusteredArticles value.

Returns:

the clusteredArticles value

headline

public Boolean headline()

Get the headline value.

Returns:

the headline value

Applies to