Feed.FeedState
Source.Generator
Modifier and Type | Field and Description |
---|---|
static Category |
CATEGORY
Event kind category.
|
static ElementKey<java.lang.Void,EventFeed> |
KEY
The key for this element.
|
static java.lang.String |
KIND
Event kind term value.
|
feedState, ITEMS_PER_PAGE, START_INDEX, TOTAL_RESULTS, XML_BASE
Modifier | Constructor and Description |
---|---|
|
EventFeed()
Constructs an instance using the default key.
|
protected |
EventFeed(ElementKey<?,? extends EventFeed> key)
Subclass constructor, allows subclasses to supply their own element key.
|
protected |
EventFeed(ElementKey<?,? extends EventFeed> key,
Feed source)
Constructs a new instance by doing a shallow copy of data from an existing
Feed instance. |
|
EventFeed(Feed sourceFeed)
Constructs a new instance by doing a shallow copy of data from an existing
Feed instance. |
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends EventEntry> |
getEntries()
Returns the list of entries in this feed
|
EventFeed |
lock()
Locks this element.
|
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
|
addEntry, clearEntries, createEntry, createEntry, getCanPost, getEntries, getEntries, getEntryPostLink, getEtag, getFeedBatchLink, getItemsPerPage, getKind, getNextLink, getPreviousLink, getSelectedFields, getSelf, getSelfLink, getService, getStartIndex, getTotalResults, getVersionId, getXmlBase, insert, narrow, removeEntry, removeLinks, resolve, setCanPost, setEntries, setEtag, setItemsPerPage, setKind, setSelectedFields, setService, setStartIndex, setTotalResults, setVersionId, setXmlBase
addAuthor, addAuthors, addCategory, addContributor, addContributors, addHtmlLink, addLink, addLink, clearAuthors, clearCategories, clearContributors, clearLinks, getAuthors, getCategories, getContributors, getGenerator, getHtmlLink, getIcon, getIconUri, getId, getLink, getLinks, getLinks, getLogo, getLogoUri, getRights, getSubtitle, getTitle, getUpdated, removeAuthor, removeContributor, removeLink, removeLinks, setGenerator, setGenerator, setIcon, setIcon, setId, setLogo, setLogo, setRights, setSubtitle, setTitle, setUpdated
adapt, adapt, addElement, addElement, addElement, clear, createElement, createElement, eq, equals, getAttributeCount, getAttributeIterator, getAttributeIterator, getAttributeValue, getAttributeValue, getDefaultKey, getElement, getElement, getElementCount, getElementId, getElementIterator, getElementIterator, getElementKey, getElements, getElements, getElementSet, getElementSet, getElementValue, getElementValue, getTextValue, getTextValue, hasAttribute, hasAttribute, hasElement, hasElement, hashCode, hasTextValue, isLocked, removeAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeElement, removeElement, removeElement, removeElement, replaceElement, resolve, sameClassAs, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, validate, visit
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getGenerator, getLogo, getSubtitle, setGenerator, setLogo
addLink, getAuthors, getCategories, getId, getLink, getLinks, getTitle, getUpdated, removeLinks, setId, setUpdated
public static final java.lang.String KIND
public static final Category CATEGORY
public static final ElementKey<java.lang.Void,EventFeed> KEY
public EventFeed()
public EventFeed(Feed sourceFeed)
Feed
instance.sourceFeed
- source feedprotected EventFeed(ElementKey<?,? extends EventFeed> key)
protected EventFeed(ElementKey<?,? extends EventFeed> key, Feed source)
Feed
instance. Will use the given ElementKey
as the key for
the element. This constructor is used when adapting from one element key to
another. You cannot call this constructor directly, instead use Element.createElement(ElementKey, Element)
.key
- The key to use for this element.source
- source elementpublic static void registerMetadata(MetadataRegistry registry)
public EventFeed lock()
Element
public java.util.List<? extends EventEntry> getEntries()
Feed
getEntries
in interface IFeed
getEntries
in class Feed