Package com.attribyte.parser.model
Class Resource
java.lang.Object
com.attribyte.parser.model.Resource
An immutable resource like a feed or HTML page.
- Author:
- Matt Hamer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionThe optional amp link.final com.google.common.collect.ImmutableList<Author> The immutable list of authors.final StringThe base link used to resolve relative references.final StringThe canonical link for the resource.final StringThe description or empty if none.final com.google.common.collect.ImmutableList<Entry> The immutable list of entries.final com.google.common.collect.ImmutableList<String> The immutable list of feed links.The optional icon.The optional logo.A map of arbitrary metadata associated with the resource.final longThe last published timestamp or0if unknown.final StringThe usage rights statement.final StringA link to the site associated with the resource.final StringThe source (input) link.final StringThe subtitle or empty if none.final com.google.common.collect.ImmutableList<String> The immutable list of tags.final StringThe title, or empty if none.final longThe last updated timestamp or0if unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic Resource.Builderbuilder()Creates a new (empty) builder.toString()
-
Field Details
-
sourceLink
The source (input) link. -
canonicalLink
The canonical link for the resource. -
baseLink
The base link used to resolve relative references. -
title
The title, or empty if none. -
subtitle
The subtitle or empty if none. -
description
The description or empty if none. -
icon
The optional icon. -
logo
The optional logo. -
authors
The immutable list of authors. -
tags
The immutable list of tags. -
entries
The immutable list of entries. -
publishedTimestamp
public final long publishedTimestampThe last published timestamp or0if unknown. -
updatedTimestamp
public final long updatedTimestampThe last updated timestamp or0if unknown. -
rights
The usage rights statement. -
siteLink
A link to the site associated with the resource. -
feedLinks
The immutable list of feed links. -
ampLink
The optional amp link. -
metadata
A map of arbitrary metadata associated with the resource.
-
-
Method Details