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