Feed.FeedState
Source.Generator
Modifier and Type | Field and Description |
---|---|
static Category |
CATEGORY
Message kind category.
|
static ElementKey<java.lang.Void,MessageFeed> |
KEY
The key for this element.
|
static java.lang.String |
KIND
Message kind term value.
|
feedState, ITEMS_PER_PAGE, START_INDEX, TOTAL_RESULTS, XML_BASE
Modifier | Constructor and Description |
---|---|
|
MessageFeed()
Constructs an instance using the default key.
|
protected |
MessageFeed(ElementKey<?,? extends MessageFeed> key)
Subclass constructor, allows subclasses to supply their own element key.
|
protected |
MessageFeed(ElementKey<?,? extends MessageFeed> key,
Feed source)
Constructs a new instance by doing a shallow copy of data from an existing
Feed instance. |
|
MessageFeed(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 MessageEntry> |
getEntries()
Returns the list of entries in this feed
|
MessageFeed |
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,MessageFeed> KEY
public MessageFeed()
public MessageFeed(Feed sourceFeed)
Feed
instance.sourceFeed
- source feedprotected MessageFeed(ElementKey<?,? extends MessageFeed> key)
protected MessageFeed(ElementKey<?,? extends MessageFeed> 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 MessageFeed lock()
Element
public java.util.List<? extends MessageEntry> getEntries()
Feed
getEntries
in interface IFeed
getEntries
in class Feed