public class Entry
extends Object
An immutable entry.
- Author:
- Matt Hamer
-
Nested Class Summary
Nested Classes
-
Field Summary
Fields
final com.google.common.collect.ImmutableList<String>
final com.google.common.collect.ImmutableList<Audio>
The immutable list of all audio streams.
final com.google.common.collect.ImmutableList<Author>
The immutable list of authors.
The canonical link or an empty string if none.
final com.google.common.collect.ImmutableList<Link>
An immutable list of citations (from the entry).
The cleaned content or an empty string if none.
The id or an empty string if none.
final com.google.common.collect.ImmutableList<Image>
The immutable list of images.
The optional primary audio stream.
The optional primary image.
The optional primary video.
final long
The published timestamp or 0 if unknown.
The rights or an empty string if none.
The summary or an empty string if none.
final com.google.common.collect.ImmutableList<String>
The immutable list of tags.
The title or an empty string if none.
final long
The updated timestamp or 0 if unknown.
final com.google.common.collect.ImmutableList<Video>
The immutable list of videos.
-
Method Summary
final Optional<org.jsoup.nodes.Document>
The (parsed) original content.
-
Field Details
-
id
The id or an empty string if none.
-
title
The title or an empty string if none.
-
summary
The summary or an empty string if none.
-
cleanContent
public final String cleanContent
The cleaned content or an empty string if none.
-
canonicalLink
public final String canonicalLink
The canonical link or an empty string if none.
-
altLinks
public final com.google.common.collect.ImmutableList<String> altLinks
The alt links, if any.
-
publishedTimestamp
public final long publishedTimestamp
The published timestamp or 0 if unknown.
-
updatedTimestamp
public final long updatedTimestamp
The updated timestamp or 0 if unknown.
-
authors
public final com.google.common.collect.ImmutableList<Author> authors
The immutable list of authors.
-
primaryImage
The optional primary image.
-
images
public final com.google.common.collect.ImmutableList<Image> images
The immutable list of images.
-
primaryVideo
The optional primary video.
-
videos
public final com.google.common.collect.ImmutableList<Video> videos
The immutable list of videos.
-
primaryAudio
The optional primary audio stream.
-
audios
public final com.google.common.collect.ImmutableList<Audio> audios
The immutable list of all audio streams.
-
-
rights
The rights or an empty string if none.
-
citations
public final com.google.common.collect.ImmutableList<Link> citations
An immutable list of citations (from the entry).
-
Method Details
-
builder
Creates a new builder.
- Returns:
- The new (empty) builder.
-
-
originalContent
public final Optional<org.jsoup.nodes.Document> originalContent()
The (parsed) original content.
- Returns:
- A copy of the (mutable) original content element, if any.