|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gedcomx.atom.CommonAttributes
org.gedcomx.atom.ExtensibleElement
org.gedcomx.atom.Feed
public class Feed
The Atom data formats provide a format for web content and metadata syndication. The XML media type is defined by RFC 4287. The JSON data format is specific to GEDCOM X and is a translation to JSON from the XML.
| Field Summary |
|---|
| Fields inherited from class org.gedcomx.atom.ExtensibleElement |
|---|
transientProperties |
| Constructor Summary | |
|---|---|
Feed()
|
|
| Method Summary | |
|---|---|
void |
accept(AtomModelVisitor visitor)
Accept a visitor. |
void |
addLink(Link link)
Add a hypermedia link. |
void |
addLink(String rel,
URI href)
Add a hypermedia link. |
void |
addTemplatedLink(String rel,
String template)
Add a templated link. |
List<Person> |
getAuthors()
The author of the feed. |
List<Person> |
getContributors()
information about a category associated with the feed |
List<Entry> |
getEntries()
The entries in the feed. |
List<Field> |
getFacets()
The list of facets for the feed, used for convenience in browsing and filtering. |
Generator |
getGenerator()
identifies the agent used to generate the feed |
URI |
getIcon()
identifies an image that provides iconic visual identification for the feed. |
URI |
getId()
a permanent, universally unique identifier for the feed. |
Integer |
getIndex()
The index of the first entry in this page of data, if this feed is supplying a page of data. |
Link |
getLink(String rel)
Get a link by its rel. |
List<Link> |
getLinks()
a reference from a feed to a Web resource. |
List<Link> |
getLinks(String rel)
Get a list of links by rel. |
URI |
getLogo()
identifies an image that provides visual identification for the feed. |
Integer |
getResults()
The total number of results available, if this feed is supplying a subset of results, such as for a query. |
String |
getRights()
information about rights held in and over the feed. |
String |
getSubtitle()
a human-readable description or subtitle for the feed. |
String |
getTitle()
a human-readable title for the feed |
Date |
getUpdated()
the most recent instant in time when the feed was modified in a way the publisher considers significant. |
void |
setAuthors(List<Person> authors)
The author of the feed. |
void |
setContributors(List<Person> contributors)
information about a category associated with the feed |
void |
setEntries(List<Entry> entries)
The entries in the feed. |
void |
setFacets(List<Field> facets)
The list of facets for the feed, used for convenience in browsing and filtering. |
void |
setGenerator(Generator generator)
identifies the agent used to generate the feed |
void |
setIcon(URI icon)
identifies an image that provides iconic visual identification for the feed. |
void |
setId(URI id)
a permanent, universally unique identifier for the feed. |
void |
setIndex(Integer index)
The index of the first entry in this page of data, if this feed is supplying a page of data. |
void |
setLinks(List<Link> links)
a reference from a feed to a Web resource. |
void |
setLogo(URI logo)
identifies an image that provides visual identification for the feed. |
void |
setResults(Integer results)
The total number of results available, if this feed is supplying a subset of results, such as for a query. |
void |
setRights(String rights)
information about rights held in and over the feed. |
void |
setSubtitle(String subtitle)
a human-readable description or subtitle for the feed. |
void |
setTitle(String title)
a human-readable title for the feed |
void |
setUpdated(Date updated)
the most recent instant in time when the feed was modified in a way the publisher considers significant. |
| Methods inherited from class org.gedcomx.atom.ExtensibleElement |
|---|
addExtensionElement, findExtensionOfType, findExtensionsOfType, getExtensionElements, getTransientProperties, getTransientProperty, setExtensionElements, setTransientProperty |
| Methods inherited from class org.gedcomx.atom.CommonAttributes |
|---|
getBase, getLang, setBase, setLang |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Feed()
| Method Detail |
|---|
public List<Person> getAuthors()
public void setAuthors(List<Person> authors)
authors - The author of the feed.public List<Person> getContributors()
public void setContributors(List<Person> contributors)
contributors - information about a category associated with the feedpublic Generator getGenerator()
public void setGenerator(Generator generator)
generator - identifies the agent used to generate the feedpublic URI getIcon()
public void setIcon(URI icon)
icon - identifies an image that provides iconic visual identification for the feed.public URI getId()
public void setId(URI id)
id - a permanent, universally unique identifier for the feed.public Integer getResults()
public void setResults(Integer results)
results - The total number of results available, if this feed is supplying a subset of results, such as for a query.public Integer getIndex()
public void setIndex(Integer index)
index - The index of the first entry in this page of data, if this feed is supplying a page of data.public List<Link> getLinks()
getLinks in interface SupportsLinkspublic void setLinks(List<Link> links)
setLinks in interface SupportsLinkslinks - a reference from a feed to a Web resource.public void addLink(Link link)
addLink in interface SupportsLinkslink - The hypermedia link.
public void addLink(String rel,
URI href)
addLink in interface SupportsLinksrel - The link rel.href - The target URI.
public void addTemplatedLink(String rel,
String template)
addTemplatedLink in interface SupportsLinksrel - The link rel.template - The link template.public Link getLink(String rel)
getLink in interface SupportsLinksrel - The link rel.
public List<Link> getLinks(String rel)
getLinks in interface SupportsLinksrel - The rel of the links.
public URI getLogo()
public void setLogo(URI logo)
logo - identifies an image that provides visual identification for the feed.public String getRights()
public void setRights(String rights)
rights - information about rights held in and over the feed.public String getSubtitle()
public void setSubtitle(String subtitle)
subtitle - a human-readable description or subtitle for the feed.public String getTitle()
public void setTitle(String title)
title - a human-readable title for the feedpublic Date getUpdated()
public void setUpdated(Date updated)
updated - the most recent instant in time when the feed was modified in a way the publisher considers significant.public List<Entry> getEntries()
public void setEntries(List<Entry> entries)
entries - The entries in the feed.public List<Field> getFacets()
public void setFacets(List<Field> facets)
facets - The list of facets for the feed, used for convenience in browsing and filtering.public void accept(AtomModelVisitor visitor)
visitor - The visitor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||