public class FeedUtils
extends Object
Utility functions and data in common to all producers of syndication feeds
in the XMLUI -- e.g. DSpaceFeedGenerator, OpenSearchGenerator.
Currently just implements the I18N mechanism: since the feed producer
is shared with the JSPUI, and that UI employs a completely different i18n
mechanism, the SyndicationFeed abstraction takes its own map of message
keys to localized values. For the XMLUI, the "localized value" is actually
a string with a special sentinel prefix (defined here as I18N_PREFIX). This
is really just a marker; the DOM has to be post-processed later and the
prefixed text is replaced by a Cocoon i18n element (whose key attribute
is the text following the prefix).
Note that the keys in the initial i18n message table are dictated by
the SyndicationFeed class.
- Author:
- Larry Stone
- See Also:
SyndicationFeed