public class SyndicationFeed extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MSG_FEED_DESCRIPTION |
static String |
MSG_FEED_TITLE |
static String |
MSG_LOGO_TITLE |
static String |
MSG_METADATA |
static String |
MSG_UITYPE |
static String |
MSG_UNTITLED
i18n key values
|
static String |
UITYPE_JSPUI |
static String |
UITYPE_XMLUI |
| Constructor and Description |
|---|
SyndicationFeed(String ui)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addModule(com.sun.syndication.feed.module.Module m)
Add a ROME plugin module (e.g.
|
static String[] |
getDescriptionSelectors()
Returns list of metadata selectors used to compose the description element
|
void |
output(Writer writer)
send the output to designated Writer
|
String |
outputString() |
Document |
outputW3CDom() |
void |
populate(javax.servlet.http.HttpServletRequest request,
DSpaceObject dso,
DSpaceObject[] items,
Map<String,String> labels)
Fills in the feed and entry-level metadata from DSpace objects.
|
void |
setType(String feedType)
Sets the feed type for XML delivery, e.g.
|
public static final String MSG_UNTITLED
public static final String MSG_LOGO_TITLE
public static final String MSG_FEED_TITLE
public static final String MSG_FEED_DESCRIPTION
public static final String MSG_METADATA
public static final String MSG_UITYPE
public static final String UITYPE_XMLUI
public static final String UITYPE_JSPUI
public SyndicationFeed(String ui)
ui - either "xmlui" or "jspui"public static String[] getDescriptionSelectors()
public void populate(javax.servlet.http.HttpServletRequest request,
DSpaceObject dso,
DSpaceObject[] items,
Map<String,String> labels)
public void setType(String feedType)
public Document outputW3CDom() throws com.sun.syndication.io.FeedException
com.sun.syndication.io.FeedExceptionpublic String outputString() throws com.sun.syndication.io.FeedException
com.sun.syndication.io.FeedExceptionpublic void output(Writer writer) throws com.sun.syndication.io.FeedException, IOException
com.sun.syndication.io.FeedExceptionIOExceptionpublic void addModule(com.sun.syndication.feed.module.Module m)
Copyright © 2015 DuraSpace. All Rights Reserved.