|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.abdera.protocol.server.provider.managed.Configuration org.apache.abdera.protocol.server.provider.managed.FeedConfiguration
public class FeedConfiguration
Field Summary | |
---|---|
static String |
ENTRY_ELEM_NAME_AUTHOR
|
static String |
ENTRY_ELEM_NAME_CONTENT
|
static String |
ENTRY_ELEM_NAME_ID
|
static String |
ENTRY_ELEM_NAME_LINK
|
static String |
ENTRY_ELEM_NAME_TITLE
|
static String |
ENTRY_ELEM_NAME_UPDATED
|
static String |
PROP_ACCEPTS
|
static String |
PROP_AUTHOR_NAME
|
static String |
PROP_ENTRY_TITLE_NAME
|
static String |
PROP_FEED_CONFIG_LOCATION_NAME
|
static String |
PROP_NAME_ADAPTER_CLASS
|
static String |
PROP_SUB_URI_NAME
|
static String |
PROP_TITLE_NAME
|
Constructor Summary | |
---|---|
FeedConfiguration(String feedId,
String subUri,
String adapterClassName,
String feedConfigLocation,
ServerConfiguration serverConfiguration)
|
Method Summary | |
---|---|
Collection |
asCollectionElement(RequestContext request)
Converts this to an instance of the FOM Collection interface |
String[] |
getAccepts(RequestContext request)
Returns an array of MIME media types for the app:collection element's app:accept elements. |
String |
getAdapterClassName()
|
CollectionAdapterConfiguration |
getAdapterConfiguration()
|
CategoriesInfo[] |
getCategoriesInfo(RequestContext request)
Return the collection of CategoriesInfo objects for the app:collection element's app:categories elements. |
String |
getFeedAuthor()
|
String |
getFeedConfigLocation()
|
static FeedConfiguration |
getFeedConfiguration(String feedId,
Properties properties,
ServerConfiguration serverConfiguration)
|
String |
getFeedId()
|
String |
getFeedTitle()
|
String |
getFeedUri()
|
String |
getHref(RequestContext request)
Get the value of the app:collection element's href attribute. |
Object |
getProperty(String key)
|
ServerConfiguration |
getServerConfiguration()
|
String |
getSubUri()
|
String |
getTitle(RequestContext request)
Get the value of the app:collection element's atom:title element. |
boolean |
hasProperty(String key)
|
void |
setFeedAuthor(String feedAuthor)
|
void |
setFeedTitle(String feedTitle)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROP_NAME_ADAPTER_CLASS
public static final String PROP_SUB_URI_NAME
public static final String PROP_AUTHOR_NAME
public static final String PROP_TITLE_NAME
public static final String PROP_ACCEPTS
public static final String PROP_ENTRY_TITLE_NAME
public static final String PROP_FEED_CONFIG_LOCATION_NAME
public static final String ENTRY_ELEM_NAME_ID
public static final String ENTRY_ELEM_NAME_TITLE
public static final String ENTRY_ELEM_NAME_CONTENT
public static final String ENTRY_ELEM_NAME_AUTHOR
public static final String ENTRY_ELEM_NAME_UPDATED
public static final String ENTRY_ELEM_NAME_LINK
Constructor Detail |
---|
public FeedConfiguration(String feedId, String subUri, String adapterClassName, String feedConfigLocation, ServerConfiguration serverConfiguration)
Method Detail |
---|
public static FeedConfiguration getFeedConfiguration(String feedId, Properties properties, ServerConfiguration serverConfiguration)
public String getAdapterClassName()
public String getFeedAuthor()
public String getFeedConfigLocation()
public String getFeedId()
public String getFeedTitle()
public String getSubUri()
public void setFeedAuthor(String feedAuthor)
public void setFeedTitle(String feedTitle)
public String getFeedUri()
public boolean hasProperty(String key)
public Object getProperty(String key)
public CollectionAdapterConfiguration getAdapterConfiguration()
public Collection asCollectionElement(RequestContext request)
CollectionInfo
asCollectionElement
in interface CollectionInfo
public String[] getAccepts(RequestContext request)
CollectionInfo
getAccepts
in interface CollectionInfo
public CategoriesInfo[] getCategoriesInfo(RequestContext request)
CollectionInfo
getCategoriesInfo
in interface CollectionInfo
public String getHref(RequestContext request)
CollectionInfo
getHref
in interface CollectionInfo
public String getTitle(RequestContext request)
CollectionInfo
getTitle
in interface CollectionInfo
public ServerConfiguration getServerConfiguration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |