Class FeedConfiguration
- java.lang.Object
-
- org.apache.abdera.protocol.server.provider.managed.Configuration
-
- org.apache.abdera.protocol.server.provider.managed.FeedConfiguration
-
- All Implemented Interfaces:
CollectionInfo
@Deprecated public class FeedConfiguration extends Configuration implements CollectionInfo
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static StringENTRY_ELEM_NAME_AUTHORDeprecated.static StringENTRY_ELEM_NAME_CONTENTDeprecated.static StringENTRY_ELEM_NAME_IDDeprecated.static StringENTRY_ELEM_NAME_LINKDeprecated.static StringENTRY_ELEM_NAME_TITLEDeprecated.static StringENTRY_ELEM_NAME_UPDATEDDeprecated.static StringPROP_ACCEPTSDeprecated.static StringPROP_AUTHOR_NAMEDeprecated.static StringPROP_ENTRY_TITLE_NAMEDeprecated.static StringPROP_FEED_CONFIG_LOCATION_NAMEDeprecated.static StringPROP_NAME_ADAPTER_CLASSDeprecated.static StringPROP_SUB_URI_NAMEDeprecated.static StringPROP_TITLE_NAMEDeprecated.
-
Constructor Summary
Constructors Constructor Description FeedConfiguration(String feedId, String subUri, String adapterClassName, String feedConfigLocation, ServerConfiguration serverConfiguration)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.abdera.model.CollectionasCollectionElement(RequestContext request)Deprecated.Converts this to an instance of the FOM Collection interfaceString[]getAccepts(RequestContext request)Deprecated.Returns an array of MIME media types for the app:collection element's app:accept elements.StringgetAdapterClassName()Deprecated.CollectionAdapterConfigurationgetAdapterConfiguration()Deprecated.CategoriesInfo[]getCategoriesInfo(RequestContext request)Deprecated.Return the collection of CategoriesInfo objects for the app:collection element's app:categories elements.StringgetFeedAuthor()Deprecated.StringgetFeedConfigLocation()Deprecated.static FeedConfigurationgetFeedConfiguration(String feedId, Properties properties, ServerConfiguration serverConfiguration)Deprecated.StringgetFeedId()Deprecated.StringgetFeedTitle()Deprecated.StringgetFeedUri()Deprecated.StringgetHref(RequestContext request)Deprecated.Get the value of the app:collection element's href attribute.ObjectgetProperty(String key)Deprecated.ServerConfigurationgetServerConfiguration()Deprecated.StringgetSubUri()Deprecated.StringgetTitle(RequestContext request)Deprecated.Get the value of the app:collection element's atom:title element.booleanhasProperty(String key)Deprecated.voidsetFeedAuthor(String feedAuthor)Deprecated.voidsetFeedTitle(String feedTitle)Deprecated.
-
-
-
Field Detail
-
PROP_NAME_ADAPTER_CLASS
public static final String PROP_NAME_ADAPTER_CLASS
Deprecated.- See Also:
- Constant Field Values
-
PROP_SUB_URI_NAME
public static final String PROP_SUB_URI_NAME
Deprecated.- See Also:
- Constant Field Values
-
PROP_AUTHOR_NAME
public static final String PROP_AUTHOR_NAME
Deprecated.- See Also:
- Constant Field Values
-
PROP_TITLE_NAME
public static final String PROP_TITLE_NAME
Deprecated.- See Also:
- Constant Field Values
-
PROP_ACCEPTS
public static final String PROP_ACCEPTS
Deprecated.- See Also:
- Constant Field Values
-
PROP_ENTRY_TITLE_NAME
public static final String PROP_ENTRY_TITLE_NAME
Deprecated.- See Also:
- Constant Field Values
-
PROP_FEED_CONFIG_LOCATION_NAME
public static final String PROP_FEED_CONFIG_LOCATION_NAME
Deprecated.- See Also:
- Constant Field Values
-
ENTRY_ELEM_NAME_ID
public static final String ENTRY_ELEM_NAME_ID
Deprecated.- See Also:
- Constant Field Values
-
ENTRY_ELEM_NAME_TITLE
public static final String ENTRY_ELEM_NAME_TITLE
Deprecated.- See Also:
- Constant Field Values
-
ENTRY_ELEM_NAME_CONTENT
public static final String ENTRY_ELEM_NAME_CONTENT
Deprecated.- See Also:
- Constant Field Values
-
ENTRY_ELEM_NAME_AUTHOR
public static final String ENTRY_ELEM_NAME_AUTHOR
Deprecated.- See Also:
- Constant Field Values
-
ENTRY_ELEM_NAME_UPDATED
public static final String ENTRY_ELEM_NAME_UPDATED
Deprecated.- See Also:
- Constant Field Values
-
ENTRY_ELEM_NAME_LINK
public static final String ENTRY_ELEM_NAME_LINK
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FeedConfiguration
public FeedConfiguration(String feedId, String subUri, String adapterClassName, String feedConfigLocation, ServerConfiguration serverConfiguration)
Deprecated.
-
-
Method Detail
-
getFeedConfiguration
public static FeedConfiguration getFeedConfiguration(String feedId, Properties properties, ServerConfiguration serverConfiguration)
Deprecated.
-
getAdapterClassName
public String getAdapterClassName()
Deprecated.
-
getFeedAuthor
public String getFeedAuthor()
Deprecated.
-
getFeedConfigLocation
public String getFeedConfigLocation()
Deprecated.
-
getFeedId
public String getFeedId()
Deprecated.
-
getFeedTitle
public String getFeedTitle()
Deprecated.
-
getSubUri
public String getSubUri()
Deprecated.
-
setFeedAuthor
public void setFeedAuthor(String feedAuthor)
Deprecated.
-
setFeedTitle
public void setFeedTitle(String feedTitle)
Deprecated.
-
getFeedUri
public String getFeedUri()
Deprecated.
-
hasProperty
public boolean hasProperty(String key)
Deprecated.
-
getAdapterConfiguration
public CollectionAdapterConfiguration getAdapterConfiguration()
Deprecated.
-
asCollectionElement
public org.apache.abdera.model.Collection asCollectionElement(RequestContext request)
Deprecated.Description copied from interface:CollectionInfoConverts this to an instance of the FOM Collection interface- Specified by:
asCollectionElementin interfaceCollectionInfo
-
getAccepts
public String[] getAccepts(RequestContext request)
Deprecated.Description copied from interface:CollectionInfoReturns an array of MIME media types for the app:collection element's app:accept elements. These tell a client which media types the collection will accept on a POST- Specified by:
getAcceptsin interfaceCollectionInfo
-
getCategoriesInfo
public CategoriesInfo[] getCategoriesInfo(RequestContext request)
Deprecated.Description copied from interface:CollectionInfoReturn the collection of CategoriesInfo objects for the app:collection element's app:categories elements. These tell a client which atom:category elements are defined for use in the collections atom:entries- Specified by:
getCategoriesInfoin interfaceCollectionInfo
-
getHref
public String getHref(RequestContext request)
Deprecated.Description copied from interface:CollectionInfoGet the value of the app:collection element's href attribute. This must not be null- Specified by:
getHrefin interfaceCollectionInfo
-
getTitle
public String getTitle(RequestContext request)
Deprecated.Description copied from interface:CollectionInfoGet the value of the app:collection element's atom:title element. This assumes that the title will be type="text". This must not be null;- Specified by:
getTitlein interfaceCollectionInfo
-
getServerConfiguration
public ServerConfiguration getServerConfiguration()
Deprecated.
-
-