diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/ChangeLog.html b/ChangeLog.html new file mode 100644 index 0000000..f82ad93 --- /dev/null +++ b/ChangeLog.html @@ -0,0 +1,394 @@ + + + + + + ROME - Change Log + + + + + + + + + + + +
+ +
+
+
+
+

Change Log

+
+

Changes made since v1.0

+
    +
  1. Issue 127: Rome 1.0 not JDK 1.4 compatible
+
+

Changes made since v1.0RC2

+
    +
  1. Issue 121: RSS item category iteration should try to reflect document order
  2. +
  3. New property preserveWireFeed available on SyndFeedInput
    WireFeeds will be preserved if the property preserveWireFeed is set on the SyndFeedInput object it is built from. Atom/RSS Entry/Item objects are also available from SyndEntry objects if the WireFeed is preserved using the new getWireEntry() method. See Preserving WireFeeds (rome) for details.
+
+

Changes made since v1.0RC1

+
    +
  1. Fix. Date parsing for Atom10 entry and additional W3C masks
    Item date elements were being parsed with the W3C parser instead the lenient one (RFC822 + W3C + custom masks).
    The following masks were added to W3C masks to handle RFC822 timezone (ie '-800'): +
    +
    +yyyy-MM-dd'T'HH:mm:ssZ yyyy-MM-dd't'HH:mm:sszZ
    +
  2. +
  3. Fix. Contributors properties in SyndEntry were not implementing the semantics of list properties.
    They were returning NULL instead, now they return an empty list if not values are set.
  4. +
  5. Fix. Contributors properties in SyndEntry and SyndFeed were not being converted to/from WireFeed
  6. +
  7. Fix. Syndication Module Generator was failing if some of its values were null.
    Checks for nulll have been added it to the generator to prevent NullPointerExceptions
  8. +
  9. New. Added new constructor to XmlReader +
    +
    +public XmlReader(InputStream is, boolean lenient, String defaultEncoding)
    +
  10. +
  11. New. Support atom person construct extensions, using the Extendable interface on SyndPerson:
    Patch from James Roper. See Issue 1101 for details
  12. +
  13. New. Maven 2 build for main project
    ROME can now be built with Maven 2
  14. +
  15. New. OSGi support
    OSGi headers to MANIFEST.MF so that rome.jar can also be used in an OSGi environment. See Issue 117 for details.
  16. +
  17. New. Allow pretty printing to be turned on and off
    see Issue 114 for details. Thanks to Martin Kurz for the patch.
  18. +
  19. Configurable classloading behavior for OSGi compatibility.
    We have received a report of some issues with plugin loading in an OSGi environment (Issue 118). The fix appears to be to change Class.forName to classLoader.loadClass, but the semantics for this are subtly different, so we have made this new behavior user selectable. Set the "rome.pluginmanager.useloadclass" system property to "true" to enable it.
  20. +
  21. More lenient number parsing
    There were a number of problems with feeds providing blank or invalid values in fields which would be numbers. ROME will now handles these better. See issues 104, 107 and 108 for details.
+
+

Changes made from v0.9 to v1.0RC1

+
    +
  1. New. XmlReader support for default encoding
    The XmlReader can be set with an alternate default encoding in case no encoding has been detected from the transport (HTTP), the stream or the XML prolog. if no value is set the default fallback rules based on the content-type will be used. The alternate default encoding can be set/viewed via a static methods, setDefaultEncoding() and getDefaultEncoding().
  2. +
  3. Fix. Atom 1.0 links were generated without title and length attributes.
    The Atom 1.0 Generator was not generating title and length attributes when values are present.
  4. +
  5. Fix. XmlReader, multi-line prolog encoding detection.
    XmlReader handles properly xml-prolog detection when prolog goes over multiple lies (such as G groups feeds).
  6. +
  7. Fix. Base64 decoding was failing under certain padding conditions.
  8. +
  9. Fix. XmlReader fixes
    Fixed bug that if BOM is UTF8 was not being set to UTF8. Changed logic to use Buffered stream instead pushback stream for all encoding detection. Changed logic of xml prolog detection to avoid having a buffer with half of a unicode character (instead filling up the buffer looking up to first '>' which means it a valid buffer).
  10. +
  11. New. XmlReader supports default encoding at instance level.
    Via a new constructor is possible to indicate a default encoding different than the default encoding at class level.
  12. +
  13. Fix. Making the EqualsBean to follow equals contract.
    For X.equals(null) it was throwing a NullPointerException, now it returns FALSE.
  14. +
  15. Fix. Render Atom icon and logo attributes.
    AtomGenerator now adds icon and logo elements to xml tree
  16. +
  17. Fix. Updated AtomPub namespace to its permenent home.
    AtomService namespace updated to http://www.w3.org/2007/app
  18. +
  19. New. Added support for configuration per classloader level.
    The PluginManager (handles Parsers and Generators) now is singleton at classloader level allowing different configurations in different classloaders.
  20. +
  21. Atom parser: better relative URI handling
    Instead of simply resolving each relative URI at runtime and saving only the resolved one, we now save both the relative URI and the resolve one. We introduced the following new methods to provide access to the resolved URI. +
      +
    • Link.getLinkResolved()
    • +
    • Link.setLinkResolved()
    • +
    • Category.getSchemeResolved()
    • +
    • Category.setSchemeResolved()
    • +
    • Person.getUriResolved()
    • +
    • Person.setUriResolved()
  22. +
  23. Utility methods useful in working with Atom protocol feeds
    Added a couple of methods to make it easier to deal with Atompub feeds. +
      +
    • Entry.isMediaEntry()
    • +
    • Atom10Parser.parseEntry()
    • +
    • Atom10Generator.serializeEntry()
  24. +
  25. Bugs fixed
    Fixed the following bugs: +
      +
    • 49 Better content/summary mapping
    • +
    • 53 Content.setType not working with subtitles atom 1.0
    • +
    • 56 fix of bug #39 leads to invalid atom feeds
    • +
    • 63 Missing link attribute when generating Atom 1.0
    • +
    • 64 ROME's Atom parser doesn't pick up multiple alt links
    • +
    • 65 Atom feeds not including logo image
    • +
    • 71 encoding problem in XmlReader.getXmlProlog()
    • +
    • 79 Feed.setIcon()/setLogo() ignored by Atom10Generator
    • +
    • 81 SyndFeedImpl.equals() does not obey equals contract
  26. +
  27. Fix. Parsers where ignoring namespaced prefixed Attributes.
    If an XML feed uses a prefix for the Atom elements and the attributes of Atom elements use the prefix the parser was not picking up those attributes.
    The fix makes the parser to look for prefixed and non-prefixed attributes.
  28. +
  29. Fix. Atom Feed and Entry beans author and category property getters
    They were returning NULL when there were not authors or categories, they must return an empty list.
  30. +
  31. New. Switch to enable/disable relative URI resolution in Atom 1.0 Parser.
    The Atom10Parser class has a static method, setResolveURIs(boolean) that enables/disables relative URI resolution.
  32. +
  33. New. XmlReader handling content-type charset values has been relaxed.
    XmlReader handles content-type charset encoding value within single quotes and double quotes.
  34. +
  35. Fix. Links, authors and contributors properties in SyndFeed were not implementing the semantics of list properties.
    They were returning NULL instead, now they return an empty list if not values are set.
  36. +
  37. Fix. RSS conversion of a SyndFeed was losing the link of the feed if the links property was used instead the link property.
    Over time the SyndFeed has been modified to support more Atom specific properties and their cardinality, conversion to RSS of these properties was not always taken care.
    The RSS converter has been changed so the link from SyndFeed is taken as channel link and if not set the first value of the links property is taken.
  38. +
  39. Fix. WireFeedInput throws IllegalArgumentException if the feed type is not recognized.
    Previously the IllegalArgumentException was wrapped by a ParsingFeedException (Reported by Issue 91).
  40. +
  41. Fix. SyndFeedImpl.equals(other) checks for instance of other before casting.
    The underlying ObjectBean does this check, but in this method a cast is done before to obtain the foreign markup, no the instance check is peformed before to avoid a class cast exception.
  42. +
  43. Fix. Atom content based elements related fixes +
      +
    • Atom 0.3 Parser/Generator +
    • +
    • Atom 1.0 Generator: +
        +
      • changed feed title/subtitle and entry title to be treated as Content constructs. (Parser had this implemented already.)
      • +
      • added title attribute to links. (Parser had this implemented already.)
      • +
      • fixed content parsing for some XML content types. e.g. (application/xhtml+xml)
  44. +
  45. Fix. Atom link and enclosures handling +
      +
    • Atom 0.3 Converter +
        +
      • fixed link parsing code to parse all links (not just the first alternate link) and added enclosure support via link rel="enclosure".
      • +
      • changed title conversion to use Content instead of plain text.
    • +
    • Atom 1.0 Converter +
        +
      • added SyndEnclosure to atom:link rel=enclosure conversion.
  46. +
  47. Fix. RSS 1.0 URI generation +
  48. +
  49. Fix. Javadocs corrections. +
      +
    • Fixed some javadoc comments for SyndEntry.
  50. +
  51. Fix. Atom content based elements were not parsed with XML mime types.
    If the mime type was and XML mime type the content value was being lost on parsing.
  52. +
  53. Fix. duplication of content:encoded elements when reading/writing and RSS feed.
    content:encoded elements are treated special, without a module, they have to be removed from the foreign markup to avoid duplication in case of read/write. Note that this fix will break if a content module is used.
  54. +
  55. New. XmlFixerReader converts '&' into '&' when there is no matching entity.
    Feeds commonly use '&' instead '&' in their content, this change converts those orphant '&'s into '&'s.
  56. +
  57. Fix. RSS090Parser does not set the URI property.
    The fix honors the documentation "For RSS 0.91, RSS 0.92, RSS 0.93 & RSS 1.0 ... the SyndEntry uri property will be set with the value of the link element..."
  58. +
  59. New. Removal of all unused namespaces from generated feeds.
    The generators now remove all unused namespaces from the XML document before generating it.
+
+

Changes made from v0.8 to v0.9

+
    +
  1. Design changes +
      +
    • Support Atom feed.title, feed.subtitle and entry.title Issue 48
      #48 fixed via better support for Atom text constructs title and subtitle. Added get/setTitleEx() and get/setSubtitleEx(), which get get SyndContent objects. Title and subtitle still available from old getters/setters.
    • +
    • Support for mapping Atom summary/content to RSS description/content https://rome.dev.java.net/servlets/ReadMsg?list=dev&msgNo=1680
    • +
    • Fixed by introduced Content object in RSS model. ROME now parses as RSS Content. That makes parsing easier and allows us to support a more logical summary/content mapping: +
        +
      • RSS to/from Atom
      • +
      • RSS to/from Atom
  2. +
  3. General parsing fixes +
      +
    • XmlReader xml prolog regular expression does not allow for single quotes Issue 36
      The XmlReader was only parsing prolog encodings within double quotes, the regular expression to detect the encoding has been change to detect single or double quotes.
    • +
    • Fix. XML prolog parsing now support whitespaces around '='
      If the XML prolog contained spaces around the '=' between the encoding attribute name and the encoding attribute value the encoding was not being detected. The fix accepts all valid whitespace characters (as defined in the XML spec).
    • +
    • RSS parser does not recognize version="2.00" Issue 33
    • +
    • Atom 1.0 Text Types Not Set Correctly Issue 39
    • +
    • Security issue Issue 46
    • +
    • Fix for the potential problem outlined in http://www.securiteam.com/securitynews/6D0100A5PU.html. Thanks to Nelson Minar for bringing this to our attention.
    • +
    • Fix. Wrong default description type for RSS 2.0 Fix for Issue 26
    • +
    • Change default description type for RSS 2.0 from text/plain to text/html as per RSS 2.0 spec
    • +
    • Fix to add all HTML4 entities, according to http://www.w3.org/TR/REC-html40/sgml/entities.html specially for the HTMLsymbol set (Mathematical, Greek and Symbolic characters for HTML) and the HTMLspecial set (Special characters for HTML).
  4. +
  5. Date parsing fixes +
      +
    • Additional version and date leniency could extract more information Issue 24
    • +
    • Non RFC822 Dates not processed in RSS pubDate field Issue 27 +
        +
      • RSS feed parsers were were only parsing RFC822 dates because they were not using the proper date-time parsing function for the date-time elements.
      • +
      • If a W3C date-time element had no time component it was being parsed as local time instead of GMT, ROME DateParser class has been modified to use GMT in this situation.
      • +
      • Current JDKs do not handle 'UT' timezone indicator, ROME DateParser class has been modified to handle it.
      • +
      • Use Atom updated instead of published Issue 41
      • +
      • Atom 1.0 Date (Updated or Published) Not Set Issue 42
      • +
      • lastBuildDate does not populate publishedDate Issue 43 Provides a feed date for RSS 0.91 feeds that specify lastBuildDate but not pubDate.
    • +
    • Fix. Parsing some numeric elements was failing due to whitespaces The image.width and image.height of RSS091U, the frequency of SyModule and the cloud.port of RSS092 elements are now being trimmed before doing the integer parsing.
  6. +
  7. Atom link and URI fixes +
      +
    • Improper relative link resolution in Atom10Parser Issue 37
    • +
    • ATOM 1.0 Entry links parsing Issue 38
    • +
    • ConverterForRSS10.java does not set URI for item Issue 25
    • +
    • Valid IRI href attributes are stripped for atom:link Issue 34
  8. +
  9. Module fixes +
      +
    • iTunes Module has incorrect author and category support Issue 35
    • +
    • mediarss.io.MediaModuleParser NumberFormatException Issue 45
    • +
    • Slash module not serializable for FeedFetcher Issue 44
+
+

Changes made from v0.7 to v0.8

+
    +
  1. Change. Added enclosure support at Synd* level
    A new bean for handling enclosures at Synd* level has been created (SyndEnclosure/SyndEnclosureImpl, interface/implementation).
    The SyndEntry/SyndEntryImpl bean has a new 'enclosures' property which returns the list of enclosures for that item.
    The Wire* to Synd* converters for RSS propagate enclosures in both directions.
    This enables handling enclosures from RSS 0.92, 0.93, 0.94 and 2.0 at Synd* level
    Test cases have been modified to cover enclosures at Synd* level.
  2. +
  3. Change/Fix. Synd* - Atom entry dates mapping +
      +
    • (Change) Atom entries have 3 dates, 'modified', 'issued' and 'created'. Synd entries have only 1 date property 'publishedDate'. When converting from Atom to Synd the first not null date in the order above will be the one set in the Synd entry bean.
    • +
    • (Fix) When converting from Synd to Atom the Synd entries 'publishedDate' property value is set in both 'modified' and 'issued' properties of the Atom entry.
      This Change/Fix is to be aligned with the Atom 0.3 spec.
  4. +
  5. Fix. Trim enclosure length attribute
    Fix from Trey Drake: At least 1 podcast site (ESPN) occasionally leaves trailing spaces in the enclosure content length attribute. This causes a NumberFormatException.
  6. +
  7. Fix. Conversion to RSS 1.0 if Channel URI is not specified
    Fix for problem converting to RSS 1.0 if not URI is specified at the channel level (it will now attempt to use the Link element)
  8. +
  9. Changes to support Atom 1.0 +
      +
    • In com.sun.syndication.synd, added SyndLink and SyndPerson.
    • +
    • In SyndEntry added. In SyndEntry, added summary, updatedDate, links collection and support for multiple authors.
    • +
    • In com.sun.syndication.synd.impl, added Atom10Parser.java, Atom10Generator.java and ConverterForAtom10.java.
+
+

Changes made from v0.6 to v0.7

+
    +
  1. Fix. RFC-882 dates parsing and generation were using localized names for day and month names
    The date parser and generator were using the JVM default Locale instead forcing an English Locale to use day and month names in English as specified by RFC-822. Now US Locale is used.
  2. +
  3. Fix. The 'ttl' element of RSS0.94 and RSS2.0 feeds was not being parsed
    The parsers now parse the 'ttl' element and it is available in the resulting Channel bean. Note that 'ttl' info is not available in the SyndFeed bean, thus it's lost when converting from WireFeed to SyndFeed.
  4. +
  5. Change. RSS enclosures with empty 'length' attributes are accepted
    Parsing an RSS feed with an enclosure where the length attribute was an empty String were failing. Now they are parsed and the length is set to 0.
  6. +
  7. Change. RSS 1.0 feeds use URI/Link for unique ID (rdf:about).
    RSS 1.0 specification recommends that the rdf:about attribute URI use the value of the item's link element, though this could be different if the user chooses to override it by specifying their own URI. RSS 1.0 feeds now use the URI if specified, otherwise the link for the item.
  8. +
  9. Fix. toString() was reporting NullPointerException with List properties
    When a List (or Map) property had a NULL element the toString() logic was failing partially due to a NullPointerException.
  10. +
  11. Fix. DC creator elements were being lost when converting to SyndFeed
    DC creator elements were being lost when converting to SyndFeed. This was happening with RSS versions that have native author elements (0.94 and 2.0) and for the managingEditor element at channel level (available in 0.91 Userland and onwards).
  12. +
  13. Change. Date and enumeration elements are trimmed during parsing
    There are some feeds that add whitespaces or carriage return characters before or after the proper date or enumeration value. This was causing ROME to fail processing those elements. This is taken care now as all dates elements in all feed types and Modules and the 'channel.skipHours.hour' and 'channel.skipDays.day' (RSS0.91 - RSS2.0) are trimmed before parsing and setting their values in the beans.
  14. +
  15. Fix. SyndFeed description now maps to atom:tagline
    Previously, atom:info was being mapped to the feed's description. According to the Atom03 spec atom:info should be ignored by parsers, and the more appropriate element is atom:tagline.
  16. +
  17. Fix. RSS cloud is now generated/parsed correctly
    The 'path' attribute from the cloud was not being generated/parsed. The parser now process all cloud attributes and set the cloud to the channel.
  18. +
  19. Fix. RFC-822 2 digit years
    Previously RFC-822 dates did not work correctly with 2 digit years. This is now fixed.
  20. +
  21. Fix. No alternate link causes IndexOutOfBoundsException
    Fix bug where no alternate link causes IndexOutOfBoundsException in ConverterForAtom03 (Thanks to Joseph Van Valen).
  22. +
  23. Change. Date parsing attemps RFC822 on W3C parsing on all feeds
    All feed parsers (RSS and Atom) now attemp both RFC822 and W3C parsing on date values.
  24. +
  25. Fix. XmlFixerReader removes character from stream when parsing an entity that contains an invalid character
    Fix bug in XmlFixerReader where an invalid entity such as "&ent=", gets put back on the stream without the last character (in this example, "&ent=" becomes "&ent"). This was most visible when the XmlFixerReader encountered an URL with a query string that has more than one parameter (e.g. http://www.url.com/index.html?qp1=1&qp2=2) -- all "=" after the first one would disappear.
  26. +
  27. Change. DateParser can use additional custom datetime masks
    Besides attempting to parse datetime values in W3C and RFC822 formats additional datetime masks can be specified in the /rome.properties files using the 'datetime.extra.masks' property. To indicate multiple masks the '|' character must be used, all other characters are considered part of the mask. As with parser/generators/converter plugins the masks are read from all /rome.properties file in the classpath.
+
+

Changes made from v0.5 to v0.6

+
    +
  1. Fix. W3C date-time parsing now handles date-time with 'Z' modifier
    The W3C date-time parser was not parsing times using the UTC modifier 'Z'.
  2. +
  3. Fix. XML prolog encoding parsing was failing when other attributes where present in the prolog
    If there was an attribute following the encoding attribute the value of the encoding attribute was misinterpreted. For example, for the XML prolog the detected encoding was UTF-8" standalone="yes instead of UTF-8.
  4. +
  5. Change. XmlReader lenient behavior gives priority to XML prolog encoding over content-type charset
    In ROME 0.5 the XmlReader first attempts to do a strict charset encoding detection. Only if the strict detection fails it attempts a lenient detection. When the HTTP Content-Type header is of type text/*xml and the header does not specify any charset, RFC 3023 mandates that the charset encoding must be US-ASCII. It's a common error for sites to use the text/*xml MIME type without charset information and indicate the charset encoding in the XML prolog of the document, being the charset encoding in the XML prolog different from US-ASCII. The XmlReader lenient behavior has been modified to give precedence to the XML prolog charset encoding, if present, over the HTTP Content-Type charset encoding.
  6. +
  7. Addition. XML Healer
    ROME parsers, SyndFeedInput and WireFeedInput, have a new feature, XML healing.
    The XML healing trims the beginning of the XML text document if there are whitespaces, enters or XML comments before the XML prolog or the root element. It also replaces all HTML literal entities occurrences with coded entities. These changes convert feeds technically invalid (from the XML specification perspective) into valid ones allowing the SAX XML parser to successfully parse the XML if there are not other errors in it.
    This behavior is active by default. It can be turned on and off using the new 'xmlHealerOn' property in the SyndFeedInput and WireFeedInput classes.
    The idea for this feature was taken from the FeedFilter from Jakarta's commons feedparser.
  8. +
  9. Addition. The XML prolog of generated feeds contains the feed encoding
    ROME generators were creating feeds with the XML prolog encoding always set to 'UTF-8', if the given Writer had another charset encoding things would break for anybody consuming the feed (a mismatch between the char stream charset and what the XML doc says).
    The SyndFeedOutput and WireFeedOutput generators now use the SyndFeed and WireFeed 'encoding' property to set the 'encoding' attribute in the XML prolog of the generated feeds. It is the responsibility of the developer to ensure that if the String is written to a character stream the stream charset is the same as the feed encoding property.
  10. +
  11. Change. SyndFeed to Atom convertion now uses 'escaped' mode for content elements
    SyndFeed to Atom converter was using 'xml' mode for content elements. This was breaking feeds with content that was not propertly escaped as it was assumed to be XML fragments.
  12. +
  13. Change. RSS 2.0 parser and generator now handles DC Module
    ROME configuration has been changed so RSS 2.0 parser and generator handle DC Module elements at channel level and item level.
  14. +
  15. Fix. RSS0.93, RSS0.94 and RSS2.0 'dc:date' element value was being lost under certain conditions
    If a feed had 'dc:date' elements but not 'pubDate' elements, the 'dc:date' elements where lost when converting from Channel to SyndFeed.
    This was happening for 'dc:date' elements at channel level and at item level.
  16. +
  17. Fix. RSS 1.0 'rdf:resource' and 'rdf:about' item linking attributes use a unique ID now
    The value for the 'rdf:resource' and 'rdf:about' linking attributes was done using the value of the 'link' element. If there is more than one item with the same link the generated feed will be incorrect.
    Instead using the link value now the index of the item is used for the linkage between 'rdf:resource' and 'rdf:about' for items.
  18. +
  19. Fix/Change. Parsing and setting of enumerated elements is case insentive now
    Parsing and bean setting of enumerated values (such as RSS skipDay, Atom content mode, etc) are now case insentive, generation is strict (Postel Law).
  20. +
  21. Fix. Remove enumeration check on 'rel' attribute of Atom link elements
    Because a misunderstanding of Atom 0.3 specification the Atom Link bean was checking the value of the 'rel' property against a set of valid values. The check has been removed.
  22. +
  23. Fix. DC subjects (in RSS versions with native categories) were being lost on conversion to SyndFeed
    All RSS versions with native categories (at both channel and item level) now have the following behavior when converting to SyndFeed.
    DC subjects are converted to SyndCategories. Native categories are converted to SyndCategories. They are both aggregated in a Set (to remove duplicates) then added to the SyndFeed.
    When doing a SyndFeed to Channel conversion, if the RSS version has native categories and handles DC modules the categories will be duplicated as native and DC ones.
  24. +
  25. Fix/Change. RSS 1.0 rdf:about attribute in the channel.
    RSS 1.0 uses the rdf:about attribute at the channel level as an identifier. This was not being parsed or generated (only supported at the item level). Support for this was added along with test cases.
  26. +
  27. Fix/Change/Addition. Multivalued Dublin Core element support.
    Many feeds are using multiple DC elements to tag metadata, the interface for the DCModule has been changed to support Lists of elements, compatibility has been maintained with the existing interface though as the new methods are plural (creators vs. creator), the single value methods will remain as convenience methods. The implementation now uses the lists to represent all of the elements. The parser/generator modules for DC have been updated to reflect these changes along with a few other code cleanups in the DC* modules.
  28. +
  29. Fix. Removed length constraint checks from RSS1.0 generator
    RSS1.0 specification does not require, only suggests, maximum length for some of the elements. ROME was enforcing those lenghts when generating RSS1.0 feeds. This enforcement has been removed becuase is not mandatory.
+
+

Changes made from v0.4 to v0.5

+
    +
  1. Change. Got rid of Enum class
    All constants in the beans are Strings now, the corresponding property setters check that the value being set is one of the valid constants. Rome has not business defining an Enum class.
  2. +
  3. Change. Got rid of ToString interface
    This is just an implementation convenience, it was polluting Rome API. Modified ToStringBean to work without requiring an interface and method to propagate the prefix to use with properties.
  4. +
  5. Change. ObjectBean, ToStringBean, EqualsBean are not part of the public API anymore
    These are just an implementation convenience, they were polluting Rome API. Rome bean implementations don't extends ObjectBean anymore. Instead they use it in a delegation pattern. While these classes are not public anymore they are part of Rome implementation.
  6. +
  7. Change. CopyFrom interface moved to com.sun.syndication.feed package
    The common package is gone now that the *Bean classes are not there anymore. No point keeping a package just for an interface.
  8. +
  9. Fix. PluginManager was not doing plugin lookup in the defined order
    PluginManager (manages parsers, generators and convertors for feeds and modules) was not doing the lookup in order the plugins are defined in the rome.properties files. This is needed for parsers where the lookup involves detecting the feed type and the feed type detection goes needs to go from stronger to weaker.
  10. +
  11. Addition. Rome now recognizes RSS 2.0 feeds with 'http://backend.userland.com/rss2' namespace
    These namespace was defined by an RSS 2.0 draft and later was dropped. There are feeds out there using this namespace and Rome was not parsing them.
  12. +
  13. Change. By default XmlReader does a lenient charset encoding detection.
    If the charset encoding cannot be determined per HTTP MIME and XML specifications the following relaxed detection is performed: If the content type is 'text/html' it replaces it with 'text/xml' and tries the per specifications detection again. Else if the XML prolog had a charset encoding that encoding is used. Else if the content type had a charset encoding that encoding is used. Else 'UTF-8' is used.
    There are 2 new constructors that take a lenient flag to allow strict charset encoding detection. If scrict charset encoding detection is performed and it fails an XmlReaderException is thrown by the constructor. The XmlReaderException contains all the charset encoding information gathered from the stream including the unconsumed stream.
+
+

Changes made from v0.3 to v0.4

+
    +
  1. Fix. Date elements on generated feeds use the right format now
    There were some Date elements in Atom 0.3, DCModule, SyModule, RSS 0.91 and RSS 0.93 that were incorrectly formating the date [they were just doing a toString() ]. Now they use the RFC822 and W3C format as indicated in their specs.
  2. +
  3. Fix. SyndFeed and SyndEntry getModule(DCModule.URI) method always returns a DCModule, never null
    This issue is related to Fix #19 in v0.3. The DCModule is 'special' for Synd*, it must always be there. If it is not, it is created implicitly when needed. This was not happening when asking explicitly for the DCModule through the Synd* interfaces.
  4. +
  5. Addition. Added ParseFeedException to the *Input classes
    This new exception report the line and column number in the XML document where the parsing has failed.
  6. +
  7. Change. Renamed '*I' interfaces to just '*' and default implementations to '*Impl'
    The Synd* and Module interfaces/classes were affected. For example the interface that used to be SyndFeedI is now SyndFeed and the class that used to be SyndFeed is now SyndFeedImpl.
  8. +
  9. Change. Ant 'build.xml' files have been improved
    The build.xml were re-written instead just using the Maven generated ones.
  10. +
  11. Fix. DateParser now uses lenient parsing so as to work with JDK 1.5
    DateParser currently setLenient to false. This does not work with JDK 1.5. Changing the DateParser to setLient to true.
  12. +
  13. Change. SyndCategoryListFacade is not a public class anymore
    It's now a package private class (it should have been like that in the first place).
  14. +
  15. Addition. Added a protected constructor to the Synd*Impl classes
    This constructor takes a Class parameter. It allows implementations extending SyndContentImpl to be able to use the ObjectBean functionality with extended interfaces (additional public properties). Use case: Hibernate beans that have an 'Id' Long property, a new interface HSynd* (extending Synd*) and a new implementation HSynd*Impl (extending Synd*Impl) where the clone(), equals(), hashCode() and toString() methods take the properties of the extension into account.
  16. +
  17. Project layout change. Moved samples project to subprojects dir
    The 'samples' project was moved from 'rome/modules/samples' to 'rome/subprojects/samples'. The 'rome/modules' project is left for Module subprojects only.
  18. +
  19. Fix. Plugin manager bug didn't allow custom plugins to replace core plugins
    All plugins are in a Map keyed off by its type (parsers, generators, converters) or URI (modules). There is also a helper List containing the plugins, this list is scanned when looking for a plugin (for example when selecting the right parser). Plugins were added to the List without checking if another element in the List was using the same key. Now the List is built using the Map values, thus the overwriting works fine.
  20. +
  21. Fix. RSS 2.0 Converter (Wire -> Synd - Wire) was not processing modules
    The RSS 2.0 Converter now processes feed and entry modules both ways.
  22. +
  23. Fix. New properties introspection mechanism in common classes
    The java.beans.Introspector does not work as expected on interface properties (it doesn't scan properties of the super interfaces). Now, a private implementation of a properties introspector is used by the common bean classes.
  24. +
  25. Change. Refactored private CopyFrom helper class
    It was com.sun.syndication.feed.synd.impl.SyndCopyFrom now it is com.sun.syndication.common.impl.CopyFromHelper.
  26. +
  27. Fix. RSS2.0 Wire-Synd converter handles propertly RSS and DC categories
    If the RSS2.0 feed had DC Module categories (subjects) this would override the RSS native categories. Now they are aggregated.
  28. +
  29. Change/Fix. CloneableBean can take an ignore-properties set
    This change is useful for bean that have convenience properties mapping to other properties. SyndFeed and SyndEntry that map some of its properties (ie publishedDate, author, categories) to DC Module properties. There is not point cloning the convenience ones as they are just facades.
    This fixes a SyndFeedImpl cloning problem with the categories. There is a package private list for the categories to DC subject mapping. The problem was related to accesibility of this package private list implementation by the CloneableBean. The change enables the blacklisting of certain properties (in this categories) when cloning.
  30. +
  31. Change. Refactored Parsers/Generator classes
    Introduced a base parser and base generator to handle modules. For the feed types that define modules support, the modules have to be defined the rome.properties file. For RSS 1.0 and Atom 0.3 Dublin Core and Syndication modules are defined, the first one at feed and entry level the second one at feed level. Note this was already done but hardwired in the specific feed type parsers and generators, now it is done in the base parser and base generator. Some code clean up and removal of duplicated code was also done.
  32. +
  33. Change. Defined and implemented precedence order for native and module elements in feeds
    For feeds supporting modules, some of the module defines elements collide with the feed native elements (this depends on the feed type, and it may affect the data such as publish-date, author, copyright, categories). The SyndFeed and SyndEntry properties documented as convenience properties are (can be) affected. The convenience properties map into DC Module properties.
    Rome now defines precedence of feed native elements over module elements when converting from WireFeed to SyndFeed. This is, in the situation of a clash, the native element data prevails and the the module element data is lost.
    When converting from SyndFeed to WireFeed, if a SyndFeed convenience property has a native mapping in the target feed type it will be in both the native element and the DC Module element if the feed type defines support for the DC module. The data will appear twice in the feed, in the native elements and in the DC module elements.
  34. +
  35. Change. Module namespaces are defined at root element
    Module namespaces are always defined in the root element. The ModuleGenerator interface has a new method that returns all the namespaces used by the module, the generators use the namespaces returned by this method to inject them in the feed root element.
  36. +
  37. Change/Fix. Test cases refactoring
    Some refactoring in the test cases for the Synd* entities. Some minor bugs (typos in constants) were found and fixed in the parsers.
    The Ops and Synd tests are 100% complete. Not that they test 100% of Rome functionality but 100% of what they suppose to test.
  38. +
  39. Fix. Atom 0.3 content elements with XML mode were not being parsed and converted properly
    When mode is XML, free text was not being processed, only sub-elements were being processed.
    The Parser when parsing content with XML mode skips Atom namespace in the output of the processed fragment.
    The Converter when going down pushes content data using XML mode, which is Atom's default (it was ESCAPED before).
  40. +
  41. Addition. Constraints in data length and number of items are observed by RSS generators
    As part of the generators refactoring the generators now verify the data in the Rome beans does not generate invalid feeds.
  42. +
  43. Addition. New XmlReader that detects charset encoding
    The XmlReader class handles the charset encoding of XML documents in Files, raw streams and HTTP streams. It following the rules defined by HTTP, MIME types and XML specifications. All this is nicely explained by Mark Pilgrim in his blog, http://diveintomark.org/archives/2004/02/13/xml-media-types
  44. +
  45. Rome now uses JDOM 1.0
    Dependencies have been updated to use JDOM 1.0. No code changes were needed because of this.
  46. +
  47. Change. The length property in the RSS Enclosure bean is now a long
    It used to be an int, but as it is meant to specify arbitrary lengths (in could be in the order of several megabytes) it was changed to be a long.
  48. +
  49. Addition. SyndFeed and SyndEntry beans have a 'uri' property
    It is used with RSS0.94 & RSS2.0 guid elements and with Atom0.3 id elements. Refer to Feed and entry URI Mapping for a full explanation.
  50. +
  51. Addition. New sample, FeedServlet
    Added a new sample, FeedServlet. This servlet creates a feed and returns a feed.
  52. +
  53. Change. RSS0.91 Userland and RSS0.91 Netscape are handled as different feed types
    Instead having a single set of parser/converter/generator implementations there is one set for each one of them. This allows to differenciate incoming RSS0.91 Userland feeds from RSS0.91 Netscape feeds as well as choosing which one to generate.
+
+

Changes made from v0.2 to v0.3

+
    +
  1. Changed loading mechanism for parsers, generators and converters
    Previous mechanism was complicated and it wouldn't work in server environments where you cannot alter System properties at will.
    Now there are no properties to set. Just including a rome.properties file in the root of a JAR file will make Rome to load any parser, generator or converter defined in the properties file and included in the JAR file (To be documented).
  2. +
  3. Added Modules support to RSS 2.0 parser and generator
    We were only looking for modules in RSS 1.0 and Atom 0.3. Now we also look in RSS 2.0.
  4. +
  5. Modules parsers and generators are now per feed type
    They were global, now each feed type parser and generator has it's own set of modules parsers and generators. They are configurable in the rome.properties file.
  6. +
  7. All parsers, generators and converters are loaded once per definition
    There were some cases we were loading them on every WireFeedParser/WireFeedGenerator instantiation. As they are all thread-safe we just use one instance.
  8. +
  9. Changed some implementation (hidden) class names
    Some typos corrections and adding consistency to the naming.
  10. +
  11. Added Fetcher module
    Added a HTTP fetcher with conditional get and gzip support (See modules/fetcher)
  12. +
  13. Modified the samples module build to fix error
    Previouly some people were having a maven error trying to run some of the samples. This should now be fixed
  14. +
  15. Removed methods with byte stream signatures from Rome IO classes
    They have no way to know what the encoding is or has to be and they are using the platform default. That does not always work, for example when doing HTTP where the default is ISO-8859-1.
    Leaving the char streams one and let the developer to do the right thing (Rome cannot do any magic here).
  16. +
  17. Added getModule(String uri) to SyndFeedI, Atom Feed and RSS Channel
    There was not way to obtain a specific module using the module URI, you had to obtain the module list and iterate looking for the module. The getModule(string uri) is a convenience method in all the feed beans to do that.
  18. +
  19. New. Added 'encoding' property to WireFeed and SyndFeedI/SyndFeed
    Impact: It affects RSS, Atom and SyndFeed syndication beans.
    It's not being set or use by parsers and generators as they always deal with a char strean where the charset is already set.
    The converters, going from Channel/Feed 2 SyndFeed and vice versa are wired to pass the encoding if set.
  20. +
  21. Fix. CloneableBean array cloning bug
    Impact: It affects all Rome beans as they all extend ObjectBean that uses CloneableBean
    Arrays were not being cloned but copy by reference. This was affecting all Rome beans as they all extend ObjectBean.
  22. +
  23. Change. CloneableBean, Basic (primitives & string) types not cloned anymore
    Impact: It affects all Rome beans as they all extend ObjectBean that uses CloneableBean
    Basic types are inmutable, no need to clone them. As things are done using reflection there were unnecessary objects creation.
  24. +
  25. Change. CloneableBean, added Date to list of Basic types
    Impact: It affects all Rome beans as they all extend ObjectBean that uses CloneableBean
    Same reasoning as #12
  26. +
  27. Change/Fix. EqualsBeans, works on defined class
    Impact: It affects all Rome beans as they all extend ObjectBean, which uses EqualsBean
    EqualsBean checks for equality by comparing all properties. Until now it was doing this using all properties of the class implementing the bean. This behavior is not correct as implementations may have other properties than the defined in the public interface (and example is: a SyndFeedI implementation for Hibernate that has to have an ID field, and this would apply to all bean interfaces).
    Because of this change, both EqualsBean and ObjectBean take a Class parameter in the constructor. Equals will limit the comparison for equality to the properties of that class. If there is not interface for the bean, just the bean implementation (this is the case of Channel and Feed), the implementation Class is passed
  28. +
  29. Change/Fix. ToStringBean, works on defined class
    Same as #14 but on ToStringBean instead EqualsBean
  30. +
  31. New. Added copyFrom functionality to synd.* and module.* beans
    Impact: It affect all synd.* and module.* beans and other classes that extend ObjectBean.
    A new interface 'CopyFrom' has been added to commons.
    synd.* and module.* bean interfaces implement this interface and their implementations implement the copyFrom functionality.
    The copyFrom functionality allows copying a complete bean feed from one implementation to another. The obvious use case is from the default bean implementation to a persistent aware (ie Hibernate) implementation.
    The implementation uses the same pattern used by EqualsBean, ConeableBean, it's in the synd.impl.* package, the supporting class is call SyndCopyFrom.
    Note that SyndCategories does not support the copyFrom functionality as it's just a convenience way of accessing DCModule's subjects (where DCModule supports copyFrom). The short explanation is that categories still work and are there after a copyFrom.
  32. +
  33. Fix. WireFeed constructor was passing the WireFeed.class to ObjectBean
    rss.Channel, atom.Feed & WeatherChannel constructor implementations only, no change to their signatures.
    The class is used for property scanning for toString, equals behavior of the ObjectBean.
  34. +
  35. Fix. copyFrom was failing with Enum properties
    It was not possible to do a copyFrom on a feed with SyModule data as it had Enum properties.
    Wrong comparison of classes when checking basic types, in the case of enumeration classes has to check it extends Enum not equality.
  36. +
  37. Fix. SyndFeed and SyndEntry where losing Modules
    If they had modules other than DCModule they were being dropped when accessing convenience methods (getCategories, getLanguage, etc).
    The Synd* convenience methods just map to the DCModule properties. If there is no DCModule a new one is created if needed. When this happened instead bean added to the list of current modules a new list with just the DCModule was being set.
  38. +
  39. New Sample and tutorial for creating a feed
    A new sample and tutorial that creates and writes a feed has been added.
  40. +
  41. New Sample showing how to add a Module bean, parser and generator to Rome
    This sample defines a dummy module for use with RSS 1.0 (it can work also with RSS 2.0 and Atom 0.3). Still have to write tutorial
  42. +
  43. Undoing change #13 as Date is not inmutable
    The Date class is not inmutable, CloneableBean now clones Date properties.
+
+

Changes made from v0.1 to v0.2

+
    +
  1. FeedInput, added default constructor. Semantics is 'validation off'
    We forgot to added it when it was added to SyndFeed.
    NOTE that validation is not implemented yet. We need DTDs/XML-Schemas for the different feed syndication types.
  2. +
  3. FeedOutput and SyndOutput outputW3CDom() method typo correction
    Fixed typo in outputW3CDom() method, it was ouptutW3CDom().
  4. +
  5. AbstractFeed, renamed to WireFeed
    Never liked Abstract in the name. From Java inheritance it makes sense, but from the syndication feed perspective doesn't. It's the super class of the 2 wire feed beans Rome has, RSS Channel and Atom Feed.
  6. +
  7. Renamed SyndFeed createRealFeed(feedType) method to createWireFeed(feedType)
    For consistency with change #3
  8. +
  9. SyndFeed, added feedType property
    Read/write property. It indicates what was the feed type of the WireFeed the SyndFeed was created from. And the feed type a WireFeed created with createWireFeed() will have.
  10. +
  11. WireFeed, renamed type property to feedType
    For consistency with #5. Also it's more clear what the type is about.
  12. +
  13. Overloaded SyndFeed createRealFeed() with a no parameter signature
  14. +
  15. FeedOutput, removed feed type from constructor
    It now uses the WireFeed feedType property.
  16. +
  17. SyndOutput, removed feed type from constructor
    It now uses the SyndFeed feedType property define in #5.
  18. +
  19. FeedOutput, removed getType() method
    Now FeedOutput uses the WireFeed feedType property.
  20. +
  21. Removed dependency on Jakarta Commons Codec library
    We were using the Codec component to do Base64 encoding/decoding. Based on feedback to reduce component depencies we've removed this one (yes, we implemented a Base64 encoder/decoder).
  22. +
  23. Removed dependency on Xerces library
    This was an unnecessary dependency as Rome requeries JDK 1.4+ which includes JAXP implementation. JDOM can use that one.
  24. +
  25. Renamed syndication.io classes/interfaces
    Renaming for naming consistency and to reflect on what type of feed they work on. +
    +
    +FeedInput     --> WireFeedInput
    +FeedOutput    --> WireFeedOutput
    +FeedParser    --> WireFeedParser
    +FeedGenerator --> WireFeedGenerator
    +SyndInput     --> SyndFeedInput
    +SyndOutput    --> SyndFeedOutputt
    +
  26. +
  27. Removed syndication.util package, PlugableClasses is now private
    The PlugableClasses class has no business in Rome public API, it's implementation specific, it has been hidden (it should be replaced later with a micro-container).
  28. +
  29. Added samples to the Rome project directory structure
    Rome samples are a sub-project located at rome/modules/sample.
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/HowRomeWorks/HowRomeWorks.png b/HowRomeWorks/HowRomeWorks.png new file mode 100644 index 0000000..ef677ce Binary files /dev/null and b/HowRomeWorks/HowRomeWorks.png differ diff --git a/HowRomeWorks/RomeV0.4TutorialDefiningACustomModuleBeanParserAndGenerator.html b/HowRomeWorks/RomeV0.4TutorialDefiningACustomModuleBeanParserAndGenerator.html new file mode 100644 index 0000000..d3ff0a7 --- /dev/null +++ b/HowRomeWorks/RomeV0.4TutorialDefiningACustomModuleBeanParserAndGenerator.html @@ -0,0 +1,382 @@ + + + + + + ROME - Rome v0.4 Tutorial, Defining a Custom Module (bean, parser and generator) + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.4 Tutorial, Defining a Custom Module (bean, parser and generator)

+

Software requirements: Synd J2SE 1.4+, JDOM 1.0 and Rome 0.4.

+

This tutorial walks through the steps of creating a custom module for syndication feeds that support additional namespaces (such as RSS 1.0, RSS 2.0 and Atom 0.3).

+

To understand this tutorial you should be familiar the with Rome API and with the use of modules in syndication feeds.

+

Out of the box Rome parsers and generators support plug-ability of modules for RSS 1.0, RSS 2.0 and Atom 0.3 at both feed and item/entry levels. Also support for the Dublin Core and Syndication modules is provided.

+

The complete source for this tutorial is in the Rome samples bundle as well as in SVN.

+
+

What is the intended outcome of the tutorial?

+

The goal is to add support for a hypothetical Sample Module by defining a module bean, module parser and module generator and the necessary configuration to wire the parser and generator to an RSS 1.0 parser and RSS 1.0 generator.

+

The sample module defines 3 elements, 'bar', 'foo' and 'date', where 'bar' and 'date' may occur at most once and the 'foo' element may occur several times. For example, a feed with the Sample Module data would look like:

+
+
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns="http://purl.org/rss/1.0/"
+         xmlns:sample="http://rome.dev.java.net/module/sample/1.0">
+    <channel>
+        <title>RSS 1.0 Feed with Sample Module</title>
+        <link>http://rome.dev.java.net</link>
+        <description>This is a feed showing how to use a custom module with Rome</description>
+        <items>
+            <rdf:Seq>
+                <rdf:li resource="item01" />
+                <rdf:li resource="item02" />
+            </rdf:Seq>
+        </items>
+        <sample:bar>Channel bar</sample:bar>
+        <sample:foo>Channel first foo</sample:foo>
+        <sample:foo>Channel second foo</sample:foo>
+    </channel>
+    <item rdf:about="item01">
+        <title>Title of Item 01</title>
+        <link>http://rome.dev.java.net/item01</link>
+        <description>Item 01 does not have Sample module data</description>
+    </item>
+    <item rdf:about="item02">
+        <title>Title of Item 02</title>
+        <link>http://rome.dev.java.net/item02</link>
+        <description>Item 02 has Sample module data</description>
+        <sample:bar>Item 02 bar</sample:bar>
+        <sample:foo>Item 02 only foo</sample:foo>
+        <sample:date>2004-07-27T00:00+00:00</sample:date>
+    </item>
+</rdf:RDF>
+
+
+

Sample Module Bean

+

First we must start with the bean interface, SampleModule. SampleModule must extend Module. The Module interface defines the getUri() method, which will return a URI identifying the module. The Module interface also extends the Cloneable, ToString and CopyFrom interfaces to ensure that the beans provide support for basic features as cloning, equality, toString, etc. (for more details on this check the Understanding the Rome common classes and interfaces document).

+

The SampleModule's URI is defined as a constant, accessible via the getURI() instance method. This is for convenience and good practice only.

+

Then the module defines 3 properties: bar (String), foos (List) and date (Date). The elements of the foos property list must be strings (wishing for Java 5 generics already?).

+
+
+public interface SampleModule extends Module,CopyFrom {
+
+    public static final String URI = "http://rome.dev.java.net/module/sample/1.0";
+
+    public String getBar();
+    public void setBar(String bar);
+
+    public List getFoos();
+    public void setFoos(List foos);
+
+    public Date getDate();
+    public void setDate(Date date);
+}
+
+

Next we have to write the bean implementation, SampleModuleImpl.

+

SampleModuleImpl extends ModuleImpl. ModuleImpl is the default implementation of the ==Module interface. ModuleImpl extends ObjectBean which provides equals, hashCode, toString and clone support for the properties of the class given in the constructor (SampleModule). Also the URI of the Sample module is indicated; it will be used by the Module.getUri() method.

+
+
+public class SampleModuleImpl extends ModuleImpl implements SampleModule {
+    ...
+    public SampleModule() {
+        super(SampleModule.class,SampleModule.URI);
+    }
+
+    public String getBar() {
+        return _bar;
+    }
+    ...
+
+

The module properties are just Java Bean properties. The only catch is to follow Rome semantics for Collection properties: in the case of a null value for the collection, an empty collection must be returned.. Also, following Rome semantics, all properties are by reference, including mutable ones.

+
+
+public class SampleModuleImpl extends ModuleImpl implements SampleModule {
+    private String _bar;
+    private List _foos;
+    private Date _date;
+    ...
+    public void setBar(String bar) {
+        _bar = bar;
+    }
+
+    public List getFoos() {
+        return (_foos==null) ? (_foos=new ArrayList()) : _foos;
+    }
+
+    public void setFoos(List foos) {
+        _foos = foos;
+    }
+
+    public Date getDate() {
+        return _date;
+    }
+
+    public void setDate(Date date) {
+        _date = date;
+    }
+
+

Now the weird part: the bits for the CopyFrom logic. The Understanding the Rome common classes and interfaces document fully explains the CopyFrom logic in detail. In short, the CopyFrom interface is to support copying properties from one implementation of a bean (defined through an interface) to another implementation of the same bean.

+

The getInterface() method returns the bean interface of the implementation (this is necessary for collections containing sub-classes such as a list of modules).

+

The copyFrom() method copies all the properties from the parameter object (which must be a SampleModule implementation) into the caller bean properties. Note that the copyFrom must do a deep copy.

+
+
+public class SampleModuleImpl extends ModuleImpl implements SampleModule {
+    ...
+    public Class getInterface() {
+        return SampleModuleI.class;
+    }
+
+    public void copyFrom(Object obj) {
+        SampleModule sm = (SampleModule) obj;
+        setBar(sm.getBar());
+        List foos = new ArrayList(sm.getFoos()); // this is enough for the copy because the list elements are inmutable (Strings)
+        setFoos(foos);
+        setDate((Date)sm.getDate().clone()); // because Date is not inmutable.
+    }
+
+}
+
+
+

Sample Module Parser

+

The sample module parser must implement the ModuleParser interface. This interface defines 2 methods, getNamespaceUri() that returns the URI of the module and parse(Element) which extracts the module elements from the given Element.

+

The feed parsers will invoke the module parser with a feed element or with an item element. The module parser must look for module elements in the children of the given element. That is was the Sample parser is doing when looking for 'bar', 'foo' and 'date' children elements in the received element.

+

In the case of the 'foo' element it looks for all occurrences as the Sample module schema allows for more than one occurrence of the 'foo' element. A SampleModule bean is created and the found values are set into it. For the 'date' element it assumes its a date value in W3C datetime format.

+

If no Sample Module elements are found in the feed, the parse(Element) method returns null. This is to avoid having an empty instance of a module -not present in the feed- in the feed bean or in the item bean.

+
+
+public class SampleModuleParser implements ModuleParser {
+
+    private static final Namespace SAMPLE_NS  = Namespace.getNamespace("sample", SampleModule.URI);
+
+    public String getNamespaceUri() {
+        return SampleModule.URI;
+    }
+
+    public Module parse(Element dcRoot) {
+        boolean foundSomething = false;
+        SampleModule fm = new SampleModuleImpl();
+
+        Element e = dcRoot.getChild("bar", SAMPLE_NS);
+        if (e != null) {
+            foundSomething = true;
+            fm.setBar(e.getText());
+        }
+        List eList = dcRoot.getChildren("foo", SAMPLE_NS);
+        if (eList.size() > 0) {
+            foundSomething = true;
+            fm.setFoos(parseFoos(eList));
+        }
+        e = dcRoot.getChild("date", SAMPLE_NS);
+        if (e != null) {
+            foundSomething = true;
+            fm.setDate(DateParser.parseW3CDateTime(e.getText()));
+        }
+        return (foundSomething) ? fm : null;
+    }
+
+    private List parseFoos(List eList) {
+        List foos = new ArrayList();
+        for (int i = 0; i < eList.size(); i++) {
+            Element e = (Element) eList.get(i);
+            foos.add(e.getText());
+        }
+        return foos;
+    }
+
+}
+
+
+

Sample Module Generator

+

The sample module generator must implement the ModuleGenerator interface. This interface defines 2 methods, getNamespaceUri() that returns the URI of the module and generate(ModuleI,Element) which injects the module data into the given Element.

+

The feed generator will invoke the module generator with a feed element or with an item element. The module generator must inject the module properties into the given element (which is a feed or an item). This injection has to be done using the right namespace. The set of namespaces returned by the getNamespaces() method will be used to declare the namespaces used by the module in the feed root element.

+

If no Sample Module bean is in the feed bean the module generator is not invoked at all.

+
+
+public class SampleModuleGenerator  implements ModuleGenerator {
+    private static final Namespace SAMPLE_NS  = Namespace.getNamespace("sample", SampleModule.URI);
+
+    public String getNamespaceUri() {
+        return SampleModule.URI;
+    }
+
+    private static final Set NAMESPACES;
+
+    static {
+        Set nss = new HashSet();
+        nss.add(SAMPLE_NS);
+        NAMESPACES = Collections.unmodifiableSet(nss);
+    }
+
+    public Set getNamespaceUris() {
+        return NAMESPACES;
+    }
+
+    public void generate(Module module, Element element) {
+
+        // this is not necessary, it is done to avoid the namespace definition in every item.
+        Element root = element;
+        while (root.getParent()!=null && root.getParent() instanceof Element) {
+            root = (Element) element.getParent();
+        }
+        root.addNamespaceDeclaration(SAMPLE_NS);
+
+        SampleModuleI fm = (SampleModule)module;
+        if (fm.getBar() != null) {
+            element.addContent(generateSimpleElement("bar", fm.getBar()));
+        }
+        List foos = fm.getFoos();
+        for (int i = 0; i < foos.size(); i++) {
+            element.addContent(generateSimpleElement("foo",foos.get(i).toString()));
+        }
+        if (fm.getDate() != null) {
+            element.addContent(generateSimpleElement("date", DateParser.formatW3CDateTime(fm.getDate())));
+        }
+    }
+
+    protected Element generateSimpleElement(String name, String value)  {
+        Element element = new Element(name, SAMPLE_NS);
+        element.addContent(value);
+        return element;
+    }
+
+}
+
+
+

Configuration to make Rome process Sample Module in feeds

+

The last step is to setup the configuration file to indicate to Rome how and when to use the Sample Module parser and generator.

+

The configuration is stored in a Properties file, 'rome.properties', that has to be in the root of the classpath or JAR where the Sample Module bean, parser and generator classes are.

+

You must indicate the syndication feed formats (ie RSS 1.0) that must be aware of the Sample Module. You must indicate if the Sample Module is available for feed or item elements, or for both. You must indicate both the parser and the generator classes.

+

Following is the 'rome.properties' file for the Sample Module, it's defined for RSS 1.0 only, for both feed and item elements.

+
+
+# Parsers for RSS 1.0 feed modules
+#
+rss_1.0.feed.ModuleParser.classes=com.sun.syndication.samples.module.SampleModuleParser
+
+# Parsers for RSS 1.0 item modules
+#
+rss_1.0.item.ModuleParser.classes=com.sun.syndication.samples.module.SampleModuleParser
+
+# Generators for RSS 1.0 feed modules
+#
+rss_1.0.feed.ModuleGenerator.classes=com.sun.syndication.samples.module.SampleModuleGenerator
+
+# Generators for RSS_1.0 entry modules
+#
+rss_1.0.item.ModuleGenerator.classes=com.sun.syndication.samples.module.SampleModuleGenerator
+
+

If you are defining more than one module, indicate the parser and generator implementation classes separated by commas or spaces.

+
+

Using the Sample Module from the SyndFeed beans

+

They will be there, just use them. You may get the SampleModule bean using the getModule(String Uri) method of the SyndFeed bean and the SyndEntry bean.

+

Adding or replacing a syndication feed parser, generator or converter goes along the same lines of what it has been explained in the tutorial for modules. This is explained in the Rome Plugins Mechanism topic.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/HowRomeWorks/RomeV0.4TutorialUsingRomeToAggregateManySyndicationFeedsIntoASingleOne.html b/HowRomeWorks/RomeV0.4TutorialUsingRomeToAggregateManySyndicationFeedsIntoASingleOne.html new file mode 100644 index 0000000..c44e5f9 --- /dev/null +++ b/HowRomeWorks/RomeV0.4TutorialUsingRomeToAggregateManySyndicationFeedsIntoASingleOne.html @@ -0,0 +1,223 @@ + + + + + + ROME - Rome v0.4 Tutorial, Using Rome to aggregate many syndication feeds into a single one + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.4 Tutorial, Using Rome to aggregate many syndication feeds into a single one

+

Software requirements: J2SE 1.4+, JDOM 1.0 and Rome 0.4.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeed interface. The SyndFeed interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Rome includes parsers to process syndication feeds into SyndFeed instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using Rome are the following 2 lines of code:

+
+
+SyndFeedInput input = new SyndFeedInput();
+SyndFeed feed = input.build(new XmlReader(feedUrl));
+
+

The first line creates a SyndFeedInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndFeedInput to read the syndication feed from the InputStream of a URL pointing to the feed. The XmlReader is a character based Reader that resolves the encoding following the HTTP MIME types and XML rules for it. The SyndFeedInput.build() method returns a SyndFeed instance that can be easily processed.

+

Rome also includes generators to create syndication feeds out of SyndFeed instances. The SyndFeedOutput class does this generation. The SyndFeedOutput will generate a syndication feed of the feed type indicated by the SyndFeed object being output. The following two lines of code show how to create a syndication feed output from a SyndFeed instance:

+
+
+SyndFeedOutput output = new SyndFeedOutput();
+output.output(feed,new PrintWriter(System.out));
+
+

The first line creates a SyndFeedOutput instance that will produce syndication feeds. It can output feeds of any type (rss_0.9, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0, rss_2.0 & atom_0.3), the SyndFeed feedType property indicates the type. The second line writes the SyndFeed as a syndication feed into the application's output.

+

SyndFeed instances can also be created and populated within the code. For example:

+
+
+SyndFeed aggrFeed = new SyndFeedImpl();
+aggrFeed.setFeedType("rss_1.0");
+aggrFeed.setTitle("Aggregated Feed");
+aggrFeed.setDescription("Anonymous Aggregated Feed");
+aggrFeed.setAuthor("anonymous");
+aggrFeed.setLink("http://www.anonymous.com");
+
+

The snipped of code above creates a SyndFeed instance using the default implementation provided by Rome, sets the feed type to RSS 1.0, sets the title, description, author and link properties of the feed.

+

SyndFeed properties can be modified, assigned to other SyndFeed instances, removed, etc. It's important to remember that the getters/setters semantics defined for all SyndFeed properties (and properties of its properties) is a copy by reference, not by value. In other words if you alter the property of a SyndFeed property you are altering the SyndFeed. Or, another example, if you assign the list of entries of one SyndFeed instance to another SyndFeed isntance and then you modify the list or any of the entries in the list, you are modifying the entries of both SyndFeed instances.

+

The following lines of code show how to copy the entries of a SyndFeed instance being read (inFeed) into a SyndFeed instance being created within the application (feed):

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import java.io.InputStreamReader;
+import java.io.PrintWriter;
+import java.util.List;
+import java.util.ArrayList;
+
+import com.sun.syndication.feed.synd.SyndFeed;
+import com.sun.syndication.feed.synd.SyndFeedImpl;
+import com.sun.syndication.io.SyndFeedOutput;
+import com.sun.syndication.io.SyndFeedInput;
+import com.sun.syndication.io.XmlReader;
+
+/**
+ * It aggregates a list of RSS/Atom feeds (they can be of different types)
+ * into a single feed of the specified type.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedAggregator {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length>=2) {
+            try {
+                String outputType = args[0];
+
+                SyndFeed feed = new SyndFeedImpl();
+                feed.setFeedType(outputType);
+
+                feed.setTitle("Aggregated Feed");
+                feed.setDescription("Anonymous Aggregated Feed");
+                feed.setAuthor("anonymous");
+                feed.setLink("http://www.anonymous.com");
+
+                List entries = new ArrayList();
+                feed.setEntries(entries);
+
+                for (int i=1;i<args.length;i++) {
+                    URL inputUrl = new URL(args[i]);
+
+                    SyndFeedInput input = new SyndFeedInput();
+                    SyndFeed inFeed = input.build(new XmlReader(inputUrl));
+
+                    entries.addAll(inFeed.getEntries());
+
+                }
+
+                SyndFeedOutput output = new SyndFeedOutput();
+                output.output(feed,new PrintWriter(System.out));
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedAggregator aggregates different feeds into a single one.");
+            System.out.println("The first parameter must be the feed type for the aggregated feed.");
+            System.out.println(" [valid values are: rss_0.9, rss_0.91, rss_0.92, rss_0.93, ]");
+            System.out.println(" [                  rss_0.94, rss_1.0, rss_2.0 & atom_0.3  ]");
+            System.out.println("The second to last parameters are the URLs of feeds to aggregate.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/HowRomeWorks/RomeV0.4TutorialUsingRomeToConvertASyndicationFeedFromOneTypeToAnother.html b/HowRomeWorks/RomeV0.4TutorialUsingRomeToConvertASyndicationFeedFromOneTypeToAnother.html new file mode 100644 index 0000000..e1c4cfa --- /dev/null +++ b/HowRomeWorks/RomeV0.4TutorialUsingRomeToConvertASyndicationFeedFromOneTypeToAnother.html @@ -0,0 +1,191 @@ + + + + + + ROME - Rome v0.4 Tutorial, Using Rome to convert a syndication feed from one type to another + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.4 Tutorial, Using Rome to convert a syndication feed from one type to another

+

Software requirements: Synd J2SE 1.4+, JDOM 1.0 and Rome 0.4.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeed interface. The SyndFeed interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Rome includes parsers to process syndication feeds into SyndFeed instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using Rome are the following 2 lines of code:

+
+
+SyndFeedInput input = new SyndFeedInput();
+SyndFeed feed = input.build(new XmlReader(feedUrl));
+
+

The first line creates a SyndFeedInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndFeedInput to read the syndication feed from the InputStream of a URL pointing to the feed. The XmlReader is a character based Reader that resolves the encoding following the HTTP MIME types and XML rules for it. The SyndFeedInput.build() method returns a SyndFeed instance that can be easily processed.

+

Rome also includes generators to create syndication feeds out of SyndFeed instances. The SyndFeedOutput class does this generation. The SyndFeedOutput will generate a syndication feed of the feed type indicated by the SyndFeed object being output. The following two lines of code show how to create a syndication feed output from a SyndFeed instance:

+
+
+SyndFeedOutput output = new SyndFeedOutput();
+output.output(feed,new PrintWriter(System.out));
+
+

The first line creates a SyndFeedOutput instance that will produce syndication feeds. It can output feeds of any type (rss_0.9, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0, rss_2.0 & atom_0.3), the SyndFeed feedType property indicates the type. The second line writes the SyndFeed as a syndication feed into the application's output.

+

Following is the full code for a Java application that reads a syndication feed and converts it to other syndication feed type, writing the converted feed to the application's output.

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import java.io.InputStreamReader;
+import java.io.PrintWriter;
+import com.sun.syndication.feed.synd.SyndFeed;
+import com.sun.syndication.io.SyndFeedInput;
+import com.sun.syndication.io.SyndFeedOutput;
+import com.sun.syndication.io.XmlReader;
+
+/**
+ * It Converts any RSS/Atom feed type to a an RSS/Atom feed of the
+ * specified type.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedConverter {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==2) {
+            try {
+                String outputType = args[0];
+
+                URL feedUrl = new URL(args[1]);
+
+                SyndFeedInput input = new SyndFeedInput();
+                SyndFeed feed = input.build(new XmlReader(feedUrl));
+                feed.setFeedType(outputType);
+                SyndFeedOutput output = new SyndFeedOutput();
+                output.output(feed,new PrintWriter(System.out));
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedConverter converts between syndication feeds types.");
+            System.out.println("The first parameter must be the feed type to convert to.");
+            System.out.println(" [valid values are: rss_0.9, rss_0.91, rss_0.92, rss_0.93, ]");
+            System.out.println(" [                  rss_0.94, rss_1.0, rss_2.0 & atom_0.3  ]");
+            System.out.println("The second parameter must be the URL of the feed to convert.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/HowRomeWorks/RomeV0.4TutorialUsingRomeToCreateAndWriteASyndicationFeed.html b/HowRomeWorks/RomeV0.4TutorialUsingRomeToCreateAndWriteASyndicationFeed.html new file mode 100644 index 0000000..330887b --- /dev/null +++ b/HowRomeWorks/RomeV0.4TutorialUsingRomeToCreateAndWriteASyndicationFeed.html @@ -0,0 +1,278 @@ + + + + + + ROME - Rome v0.4 Tutorial, Using Rome to create and write a syndication feed + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.4 Tutorial, Using Rome to create and write a syndication feed

+

Software requirements: J2SE 1.4+, JDOM 1.0 and Rome 0.4.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.feed.synd.SyndFeed interface. The SyndFeed interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Creating a feed with SyndFeed beans consists of creating beans and setting their properties. The following code fragments show how a SyndFeed bean with 3 entries is created.

+

First the SyndFeed instance is created, the preferred syndication format is set and the feed header info (title, link, description) is also set.

+
+
+     SyndFeed feed = new SyndFeedImpl();
+     feed.setFeedType(feedType);
+
+     feed.setTitle("Sample Feed (created with Rome)");
+     feed.setLink("http://rome.dev.java.net");
+     feed.setDescription("This feed has been created using Rome (Java syndication utilities");
+
+

Then a list for entries is created, entries are created and added to the list. Each entry is set with a title, link, published date and a description. The description for the first entry is plain test, for the third entry is HTML. After each entry is created is added to the list.

+
+
+     List entries = new ArrayList();
+     SyndEntry entry;
+     SyndContent description;
+
+     entry = new SyndEntryImpl();
+     entry.setTitle("Rome v1.0");
+     entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome01");
+     entry.setPublishedDate(DATE_PARSER.parse("2004-06-08"));
+     description = new SyndContentImpl();
+     description.setType("text/plain");
+     description.setValue("Initial release of Rome");
+     entry.setDescription(description);
+     entries.add(entry);
+     ...
+     entry = new SyndEntryImpl();
+     entry.setTitle("Rome v3.0");
+     entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome03");
+     entry.setPublishedDate(DATE_PARSER.parse("2004-07-27"));
+     description = new SyndContentImpl();
+     description.setType("text/html");
+     description.setValue("<p>More Bug fixes, mor API changes, some new features and some Unit testing</p>"+
+                          "<p>For details check the <a href=\"http://wiki.java.net/bin/view/Javawsxml/RomeChangesLog#RomeV03\">Changes Log</a></p>");
+     entry.setDescription(description);
+     entries.add(entry);
+
+

Finally the list with entries is added to the SyndFeed bean.

+
+
+     feed.setEntries(entries);
+
+

The SyndFeed bean is now ready to be written out to a syndication feed XML document. Note that any of supported syndication formats can be set in the feedType property.

+

Rome includes generators that allow producing syndication feed XML documents from SyndFeed instances. The SyndFeedOutput class handles the generation of the syndication feed XML documents on any of the supported feed formats (RSS and Atom). The developer does not need to worry about selecting the right generator for a syndication feed, the SyndFeedOutput will take care of it by looking at the information in the SyndFeed bean. All it takes to write a syndication feed XML document using Rome -assuming you have a SyndFeed bean and a Writer instance- are the following lines of code:

+
+
+  SyndFeed feed = ...;
+  Writer writer = ...;
+
+  SyndFeedOutput output = new SyndFeedOutput();
+  output.output(feed,writer);
+
+

First a SyndFeedOutput instance is created, this instance will work with any syndication feed type (RSS and Atom versions). Then the feed and the writer are given to the SyndFeedOutput instance, the SyndFeedOutput will write the syndication feed XML document represented by the SyndFeed bean to the Writer stream.

+

Following is the full code for a Java application that creates a syndication feed and writes it to a file in the specified syndication format.

+
+
+package com.sun.syndication.samples;
+
+import com.sun.syndication.feed.synd.*;
+import com.sun.syndication.io.SyndFeedOutput;
+
+import java.io.FileWriter;
+import java.io.Writer;
+import java.text.DateFormat;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * It creates a feed and writes it to a file.
+ * <p>
+ *
+ */
+public class FeedWriter {
+
+    private static final DateFormat DATE_PARSER = new SimpleDateFormat("yyyy-MM-dd");
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==2) {
+            try {
+                String feedType = args[0];
+                String fileName = args[1];
+
+                SyndFeed feed = new SyndFeedImpl();
+                feed.setFeedType(feedType);
+
+                feed.setTitle("Sample Feed (created with Rome)");
+                feed.setLink("http://rome.dev.java.net");
+                feed.setDescription("This feed has been created using Rome (Java syndication utilities");
+
+                List entries = new ArrayList();
+                SyndEntry entry;
+                SyndContent description;
+
+                entry = new SyndEntryImpl();
+                entry.setTitle("Rome v1.0");
+                entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome01");
+                entry.setPublishedDate(DATE_PARSER.parse("2004-06-08"));
+                description = new SyndContentImpl();
+                description.setType("text/plain");
+                description.setValue("Initial release of Rome");
+                entry.setDescription(description);
+                entries.add(entry);
+
+                entry = new SyndEntryImpl();
+                entry.setTitle("Rome v2.0");
+                entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome02");
+                entry.setPublishedDate(DATE_PARSER.parse("2004-06-16"));
+                description = new SyndContentImpl();
+                description.setType("text/plain");
+                description.setValue("Bug fixes, minor API changes and some new features");
+                entry.setDescription(description);
+                entries.add(entry);
+
+                entry = new SyndEntryImpl();
+                entry.setTitle("Rome v3.0");
+                entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome03");
+                entry.setPublishedDate(DATE_PARSER.parse("2004-07-27"));
+                description = new SyndContentImpl();
+                description.setType("text/html");
+                description.setValue("<p>More Bug fixes, mor API changes, some new features and some Unit testing</p>"+
+                                     "<p>For details check the <a href=\"http://wiki.java.net/bin/view/Javawsxml/RomeChangesLog#RomeV03\">Changes Log</a></p>");
+                entry.setDescription(description);
+                entries.add(entry);
+
+                feed.setEntries(entries);
+
+                Writer writer = new FileWriter(fileName);
+                SyndFeedOutput output = new SyndFeedOutput();
+                output.output(feed,writer);
+                writer.close();
+
+                System.out.println("The feed has been written to the file ["+fileName+"]");
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                ex.printStackTrace();
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedWriter creates a RSS/Atom feed and writes it to a file.");
+            System.out.println("The first parameter must be the syndication format for the feed");
+            System.out.println("  (rss_0.90, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0 rss_2.0 or atom_0.3)");
+            System.out.println("The second parameter must be the file name for the feed");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/HowRomeWorks/RomeV0.4TutorialUsingRomeToReadASyndicationFeed.html b/HowRomeWorks/RomeV0.4TutorialUsingRomeToReadASyndicationFeed.html new file mode 100644 index 0000000..3f045ce --- /dev/null +++ b/HowRomeWorks/RomeV0.4TutorialUsingRomeToReadASyndicationFeed.html @@ -0,0 +1,181 @@ + + + + + + ROME - Rome v0.4 Tutorial, Using Rome to read a syndication feed + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.4 Tutorial, Using Rome to read a syndication feed

+

Software requirements: J2SE 1.4+, JDOM 1.0 and Rome 0.4.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeed interface. The SyndFeed interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Rome includes parsers to process syndication feeds into SyndFeed instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using Rome are the following 2 lines of code:

+
+
+SyndFeedInput input = new SyndFeedInput();
+SyndFeed feed = input.build(new XmlReader(feedUrl));
+
+

The first line creates a SyndFeedInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndFeedInput to read the syndication feed from the char based input stream of a URL pointing to the feed. The XmlReader is a character based Reader that resolves the encoding following the HTTP MIME types and XML rules for it. The SyndFeedInput.build() method returns a SyndFeed instance that can be easily processed.

+

The default SyndFeed implementation has a detailed and clear toString() implementation. The following line just prints it to the application's output.

+
+
+System.out.println(feed);
+
+

Following is the full code for a Java application that reads a syndication feed and prints the SyndFeed bean to the application's output.

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import java.io.InputStreamReader;
+import com.sun.syndication.feed.synd.SyndFeed;
+import com.sun.syndication.io.SyndFeedInput;
+import com.sun.syndication.io.XmlReader;
+
+/**
+ * It Reads and prints any RSS/Atom feed type.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedReader {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==1) {
+            try {
+                URL feedUrl = new URL(args[0]);
+
+                SyndFeedInput input = new SyndFeedInput();
+                SyndFeed feed = input.build(new XmlReader(feedUrl));
+
+                System.out.println(feed);
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                ex.printStackTrace();
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedReader reads and prints any RSS/Atom feed type.");
+            System.out.println("The first parameter must be the URL of the feed to read.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/HowRomeWorks/UnderstandingTheRomeCommonClassesAndInterfaces.html b/HowRomeWorks/UnderstandingTheRomeCommonClassesAndInterfaces.html new file mode 100644 index 0000000..f611606 --- /dev/null +++ b/HowRomeWorks/UnderstandingTheRomeCommonClassesAndInterfaces.html @@ -0,0 +1,390 @@ + + + + + + ROME - Understanding the Rome common classes and interfaces + + + + + + + + + + + +
+ +
+
+
+
+

Understanding the Rome common classes and interfaces

+

The Rome common package contains a set of Java classes that provide support for all the basic features Java Beans commonly must have: toString, equals, hashcode and cloning. There is also a simple enumeration base class (missing Java 5.0 already).

+

By implementing or extending the common classes and interfaces Beans don't have to hand code these functions. This greatly simplifies things when Beans have several properties, collection properties and composite properties.

+

The common classes use Java Bean instrospection on the properties of the classes extending and using them. This is done recursively on all properties.

+

All Rome Beans (interfaces and default implementations) leverage and use these classes and interfaces defined in the common package.

+

Ideally all this classes and interface should be part of a general component outside of Rome as they are not syndication specific (something like a commons-bean component if we use Jakarta Commons naming). They cannot be hidden in an implementation package as Rome public API uses them.

+
+

ToString and ToStringBean

+

Beans implementing the ToString interface must implement the toString(String prefix) method. This method must print the bean properties names and values, one per per line, separating the name and value with an '=' sign and prefixing the name with the given prefix parameter using the same notation used in the JSP expression language used in JSTL and in JSP 2.0. This must be done recursively for all array, collection and ToString properties.

+

The ToStringBean class provides an implementation of the ToString interface with the defined behavior. The ToStringBean constructor takes the class definition the ToStringBean class should use for properties scanning -using instrospection- for printing, normally it is the class of the Bean using the ToStringBean. Beans leveraging the ToStringBean implementation can do it using two different patterns.

+
+

Extending ToStringBean

+
+
+public class MyBean extend ToStringBean {
+
+        public MyBean() {
+            super(MyBean.class);
+        }
+
+        public Foo getFoo() { ... }
+        public void setFoo(Foo foo) { ... }
+
+        public String getName() { ... }
+        public void setName(String name) { ... }
+
+        public List getValues() { ... }
+        public void setValues(List values) { ... }
+    }
+
+
+

Using a ToStringBean in delegation mode

+
+
+public class MyBean implements ToString {
+
+        public Foo getFoo() { ... }
+        public void setFoo(Foo foo) { ... }
+
+        public String getName() { ... }
+        public void setName(String name) { ... }
+
+        public List getValues() { ... }
+        public void setValues(List values) { ... }
+
+        public String toString(String prefix) {
+        ToStringBean tsBean = new ToStringBean(MyBean.class,this);
+        return tsBean.toString(prefix);
+        }
+
+        public String toString() {
+            return toString("myBean");
+        }
+    }
+
+
+

EqualBean

+

The EqualsBean class provides a recursive introspetion-based implementation of the equals() and hashCode() methods working on the Bean properties. The EqualsBean constructor takes the class definition that should be properties scanned (using introspection) by the equals() and thehashCode() methods. The EqualsBean class works on array, collection, bean and basic type properties. Java Beans leveraging the EqualsBean implementation can do it using two different patterns.

+
+

Extending EqualsBean

+
+
+public class MyBean extend EqualsBean {
+
+        public MyBean() {
+            super(MyBean.class);
+        }
+
+        public Foo getFoo() { ... }
+        public void setFoo(Foo foo) { ... }
+
+        public String getName() { ... }
+        public void setName(String name) { ... }
+
+        public List getValues() { ... }
+        public void setValues(List values) { ... }
+    }
+
+
+

Using a EqualsBean in delegation mode

+
+
+public class MyBean implements ToString {
+
+        public Foo getFoo() { ... }
+        public void setFoo(Foo foo) { ... }
+
+        public String getName() { ... }
+        public void setName(String name) { ... }
+
+        public List getValues() { ... }
+        public void setValues(List values) { ... }
+
+        public boolean equals(Object obj) {
+            EqualsBean eBean = new EqualsBean(MyBean.class,this);
+            return eBean.beanEquals(obj);
+        }
+
+        public int hashCode() {
+            EqualsBean equals = new EqualsBean(MyBean.class,this);
+            return equals.beanHashCode();
+        }
+    }
+
+
+

CloneableBean

+

The CloneableBean class provides a recursive introspetion-based implementation of the clone() method working on the Bean properties. The CloneableBean class works on array, collection, bean and basic type properties. Java Beans leveraging the CloneableBean implementation can do it using two different patterns.

+
+

Extending CloneableBean

+
+
+public class MyBean extend CloneableBean {
+
+        public Foo getFoo() { ... }
+        public void setFoo(Foo foo) { ... }
+
+        public String getName() { ... }
+        public void setName(String name) { ... }
+
+        public List getValues() { ... }
+        public void setValues(List values) { ... }
+    }
+
+
+

Using a CloneableBean in delegation mode

+
+
+public class MyBean implements Cloneable {
+
+        public Foo getFoo() { ... }
+        public void setFoo(Foo foo) { ... }
+
+        public String getName() { ... }
+        public void setName(String name) { ... }
+
+        public List getValues() { ... }
+        public void setValues(List values) { ... }
+
+        public Object clone() {
+            CloneableBean cBean = new CloneableBean(this);
+            return cBean.beanClone();
+        }
+    }
+
+

By default, the CloneableBean copies all properties of the given object. It also supports an ignore-properties set, the property names in this set will not be copied to the cloned instance. This is useful for cases where the Bean has convenience properties (properties that are actually references to other properties or properties of properties). For example SyndFeed and SyndEntry beans have convenience properties, publishedDate, author, copyright and categories all of them mapped to properties in the DC Module.

+
+

ObjectBean

+

The ObjectBean is a convenience bean providing ToStringBean, EqualsBean and CloneableBean functionality support. Also, ObjectBeans implements the Serializable interface making the beans serializable if all its properties are. Beans extending ObjectBean get toString(), equals(), hashCode() and clone() support as defined above.

+

And example of using the ObjectBean class is:

+
+
+public class MyBean extends ObjectBean {
+
+        public MyBean() {
+            super(MyBean.class);
+        }
+
+        public Foo getFoo() { ... }
+        public void setFoo(Foo foo) { ... }
+
+        public String getName() { ... }
+        public void setName(String name) { ... }
+
+        public List getValues() { ... }
+        public void setValues(List values) { ... }
+    }
+
+
+

Enum

+

The Enum is an enumeration base class [Too bad Java 5.0 is not here yet (Aug/16/2004)] with equals(), hashCode(), toString(), clone() and serialization support. When used as properties of Beans implementing any of the above function it provides a seamless integration.

+

And example of using the EnumBean class is:

+
+
+public static class Day extends Enum {
+        private Day(String name) {
+            super(name);
+        }
+
+        public static final Day SUNDAY = new Day("sunday");
+        public static final Day MONDAY = new Day("monday");
+        public static final Day TUESDAY = new Day("tuesday");
+        public static final Day WEDNESDAY = new Day("wednesday");
+        public static final Day THURSDAY = new Day("thursday");
+        public static final Day FRIDAY = new Day("friday");
+        public static final Day SATURDAY = new Day("saturday");
+
+    }
+
+
+

CopyFrom

+

The CopyFrom interface defines functionality similar to a deep cloning. The difference with the clone() method (besides the deep cloning requirements) is that the object to be the copy of the original one has to be explicitly created and it is this object the one that triggers the deep copying process. Implemetations of the CopyFrom interface should work propertly on arrays, collections, CopyFrom and basic type properties.

+

Using CopyFrom objects enables copying data between different implementations of a given interface without these implementation having to know about each other.

+

CopyFrom is unidirectional. A class implementing the CopyFrom knows how to extract properties from the given class (commonly having an interface in common).

+

A simple example using the CopyFrom interface is:

+
+
+public interface Foo extends CopyFrom {
+        public void setName(String name);
+        public String getName();
+
+        public void setValues(Set values);
+        public Set getValues();
+    }
+
+    public class FooImplA implements Foo {
+        private String _name;
+        private Set _values;
+
+        public void setName(String name) {
+            _name = name;
+        }
+
+        public String getName() {
+            return _name;
+        }
+
+        public void setValues(Set values) {
+            _values = values;
+        }
+
+        public Set getValues() {
+            return _values;
+        }
+
+        public void copyFrom(Object obj) {
+            Foo other = (Foo) obj;
+            setName(other.getName());
+            setValues(new HashSet(other.getValues());
+        }
+
+        public Class getInterface() {
+            return Foo.class;
+        }
+    }
+
+    public class FooImplB implements Foo {
+        private Map _data;
+
+        public FooImplB() {
+            _data = new HashMap();
+        }
+
+        public void setName(String name) {
+            _data.put("name",name);
+        }
+
+        public String getName() {
+            return (String) _data.get("name");
+        }
+
+        public void setValues(Set values) {
+            _data.put("values",values);
+        }
+
+        public Set getValues() {
+            return (Set) _data.get("values");
+        }
+
+        public void copyFrom(Object obj) {
+            Foo other = (Foo) obj;
+            setName(other.getName());
+            setValues(new HashSet(other.getValues());
+        }
+
+        public Class getInterface() {
+            return Foo.class;
+        }
+    }
+
+

A use case for the CopyFrom functionality is a Java Bean implementation of an interface and a persistency implementation (such as Hibernate) of the the same interface that may add extra persistency related properties to the bean (ie, the 'Id' property as the persistency layer primary key).

+

For bean, array and collection properties the bean being invoked which copyFrom() method is invoked is responsible for those properties.

+

For properties implementing the CopyFrom interface, the bean must create a property instance implementing the interface returned by the getInterface() method. This allows the bean doing the copyFrom() to handle specialized subclasses of property elements propertly. This is also applicacle to array and collection properties. The 'modules' property of the SyndFeed and SyndEntry beans is a use case of this feature where the copyFrom() invocation must create different beans subclasses for each type of module, the getInteface() helps to find the right implementation.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/HowRomeWorks/index.html b/HowRomeWorks/index.html new file mode 100644 index 0000000..20e1525 --- /dev/null +++ b/HowRomeWorks/index.html @@ -0,0 +1,157 @@ + + + + + + ROME - How Rome works + + + + + + + + + + + +
+ +
+
+
+
+

How Rome works

+

Dave Johnson (The Roller Weblogger) has written a very nice blog How Rome Works describing (as the title says) how Rome works. With his permission we are adding it to Rome documentation.

+

I spent some time exploring the new Rome feed parser for Java and trying to understand how it works. Along the way, I put together the following class diagram and notes on the parsing process. I provide some pointers into the Rome 0.4 Javadocs.

+

You don't need to know this stuff to use Rome, but it you are interested in internals you might find it interesting.

+
+

Notes on the Rome parsing process

+

Rome is based around an idealized and abstract model of a Newsfeed or "Syndication Feed." Rome can parse any format of Newsfeed, including RSS variants and Atom, into this model. Rome can convert from model representation to any of the same Newfeed output formats.

+

Internally, Rome defines intermediate object models for specific Newsfeed formats, or "Wire Feed" formats, including both Atom and all RSS variants. For each format, there is a separate JDOM based parser class that parses XML into an intermediate model. Rome provides "converters" to convert between the intermediate Wire Feed models and the idealized Syndication Feed model.

+

Rome makes no attempt at Pilgrim-style liberal XML parsing. If a Newsfeed is not valid XML, then Rome will fail. Perhaps, as Kevin Burton suggests, parsing errors in Newsfeeds can and should be corrected. Kevin suggests that, when the parse fails, you can correct the problem and parse again. (BTW, I have some sample code that shows how to do this, but it only works with Xerces - Crimsom's SAXParserException does not have reliable error line and column numbers.)

+

Here is what happens during Rome Newsfeed parsing:

+
    +
  1. Your code calls SyndFeedInput to parse a Newsfeed, for example (see also Using Rome to read a syndication feed): +
    +
    URL feedUrl = new URL("file:blogging-roller.rss");
    +SyndFeedInput input = new SyndFeedInput();
    +SyndFeed feed = input.build(new InputStreamReader(feedUrl.openStream()));
    +
  2. +
  3. SyndFeedInput delegates to WireFeedInput to do the actual parsing.
  4. +
  5. WireFeedInput uses a PluginManager of class FeedParsers to pick the right parser to use to parse the feed and then calls that parser to parse the Newsfeed.
  6. +
  7. The appropriate parser parses the Newsfeed parses the feed, using JDom, into a WireFeed. If the Newsfeed is in an RSS format, the the WireFeed is of class Channel and contains Items, Clouds, and other RSS things from the com.sun.syndication.feed.rss package. Or, on the other hand, if the Newsfeed is in Atom format, then the WireFeed is of class Feed from the com.sun.syndication.atom package. In the end, WireFeedInput returns a WireFeed.
  8. +
  9. SyndFeedInput uses the returned WireFeedInput to create a SyndFeedImpl. Which implements SyndFeed. SyndFeed is an interface, the root of an abstraction that represents a format independent Newsfeed.
  10. +
  11. SyndFeedImpl uses a Converter to convert between the format specific WireFeed representation and a format-independent SyndFeed.
  12. +
  13. SyndFeedInput returns to you a SyndFeed containing the parsed Newsfeed.
+
+

Other Rome features

+

Rome supports Newsfeed extension modules for all formats that also support modules: RSS 1.0, RSS 2.0, and Atom. Standard modules such as Dublic Core and Syndication are supported and you can define your own custom modules too.

+

Rome also supports Newsfeed output and for each Newsfeed format provides a "generator" class that can take a Syndication Feed model and produce from it Newsfeed XML.

+ +
+

Conclusion

+

Overall, Rome looks really good. It is obvious that a lot of thought has gone into design and a lot of work has been done on implementation (and docs). Rome is well on the way to "ending syndication feed confusion by supporting all of 'em" for us Java heads.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/HowToBuildRome.html b/HowToBuildRome.html new file mode 100644 index 0000000..3893220 --- /dev/null +++ b/HowToBuildRome.html @@ -0,0 +1,144 @@ + + + + + + ROME - How to build Rome? + + + + + + + + + + + +
+ +
+
+
+
+

How to build Rome?

+

Rome is built using mighty Maven! This is why these instructions are so short:-)

+

If you don't want to build Rome we'd suggest you download a binary build:-)

+
+

Check out from Subversion

+

See Version Control for access intructions and to browse the source from your browser.

+

Check out the tag version-0-1 for version 0.1. Else checkout the trunk for the development version.

+
+

Setup maven

+

See Installing Maven for details.

+

Maven automatically downloads dependencies of a project from an online repository.

+
+

Build rome.jar

+

At the command prompt type:

+
+
+> mvn jar:jar
+
+

This will build

+
+
+rome/target/rome-VERSION.jar
+
+

You're good to go.

+
+

Build a full binary distribution

+
+
+> mvn
+
+
+

Build the project site

+
+
+> mvn site
+
+
+

For Rome developers

+
+

Work on Rome using Eclipse

+
+
+> mvn eclipse:eclipse
+
+

will setup the Eclipse project for you.

+

We don't use the site:deploy or dist:deploy targets yet since java.net is not very maven-friendly yet:-)

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/PreservingWireFeeds.html b/PreservingWireFeeds.html new file mode 100644 index 0000000..824d1db --- /dev/null +++ b/PreservingWireFeeds.html @@ -0,0 +1,129 @@ + + + + + + ROME - Preserving WireFeeds + + + + + + + + + + + +
+ +
+
+
+
+

Preserving WireFeeds

+

WireFeeds will be preserved if the property preserveWireFeed is set on the SyndFeedInput object it is built from:

+
+
+SyndFeedInput in = new SyndFeedInput();
+in.setPreserveWireFeed(true);
+SyndFeed syndFeed = in.build(..);
+WireFeed wireFeed = syndFeed.originalWireFeed();
+
+

Atom/RSS Entry/Item objects are also available from SyndEntry objects if the WireFeed is preserved:

+
+
+Object obj = syndEntry.getWireEntry();
+if (obj != null && obj instanceof Entry) {
+        // it is an Atom Entry object
+        // do Atom specific stuff, eg:
+        Entry entry = (Entry) o;
+        System.out.println(entry.getRights());
+} else if (obj != null && obj instanceof Item) {
+        // it is a RSS Item object
+        // do RSS specific stuff eg:
+        Item item = (Item) o;
+        System.out.println(item.getComments());
+}
+
+

The Fetcher can be set to preserve WireFeeds by setting the preserveWireFeed property to true:

+
+
+feedFetcher.setPreserveWireFeed(true);
+
+

-- Main.nicklothian - 11 Mar 2009

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ProductsOrSitesPoweredByROME.html b/ProductsOrSitesPoweredByROME.html new file mode 100644 index 0000000..7d372cd --- /dev/null +++ b/ProductsOrSitesPoweredByROME.html @@ -0,0 +1,175 @@ + + + + + + ROME - Products or sites powered by ROME + + + + + + + + + + + +
+ +
+
+
+
+

Products or sites powered by ROME

+

If your site or project is powered by ROME, please take the time to write a short testimonial on this wiki page, or send a mail to users@rome.dev.java.net. Feel free to use our "Powered by ROME" badges in your work. (Several badge variations are available at the bottom of this page.)

+
+

Open Source using ROME

+
    +
  • Firenze
    Firenze is a free Java based open source command line podcast receiver. It is powered by the ROME syndication framework. With Firenze you can easily subscribe to your favorite Podcast feeds and reveive them.
  • +
  • Feed'n Read
    Feed'n Read (FnR) is a free Java based open source newsfeed reader. It is powered by the ROME syndication framework and therefore supports all current formats (RSS 0.90, 0.91, 0.92, 0.93, 0.94, 1.00, 2.00, ATOM 0.30 and 1.00). It disposes of an intuitive, fast and responsive user interface using the eclipse Rich Client Platform (RCP), i.e. JFace and SWT. Thus it combines the platform independent Java world on one hand with a fast native user interface on the other hand.
  • +
  • Tudu Lists
    An AJAXian Todo Lists manager. We moved from our hand-made solution to ROME with great pleasure - it was fast and easy, and the overall performance is very good (11 ms per request in average today). You can try it out on our live site at http://tudu.ess.ch.
  • +
  • SnipSnap
  • +
  • Roller Weblogger and Aggregator
    Roller is a weblog server. In Roller 1.1 there is a new aggregator feature, called PlanetRoller, based on ROME and ROME fetcher. Dave Johnson, who created Roller, created PlanetRoller in a couple of days, leveraging ROME and ROME fetcher to do all the hard work. You can try out at PlanetRoller.
  • +
  • ActiveMQ
    Apache ActiveMQ is a fast open source JMS 1.1 provider and Message Fabric supporting clustering, peer networks, discovery, TCP, SSL, multicast, persistence, XA and integrates seamlessly into J2EE 1.4 containers, light weight containers and any Java application. ActiveMQ is released under the Apache 2.0 License.
    Currently ActiveMQ is using Rome to be able to browse message queues (with or without filters applied) as RSS or Atom feeds.
  • +
  • XWiki
  • +
  • mobibot
  • +
  • stat4j
    Used ROME to create an RSS/ATOM Log4j Appender. Read more about it here.
  • +
  • SPOT Manager
    SPOT Manager uses ROME to parse RSS feeds and send them to your MSN Direct wristwatch! Learn about MSN Direct here. Download the program from SPOTDev.net.
  • +
  • LogDistiller
    LogDistiller is an extensible tool to merge and sort logs : reports can be stored in a feed file thanks to Rome.
  • +
  • ION Internet Video Console
    The I/ON Internet Video Console fuses together leading technologies into one simple media player, connecting you directly to the video you want. Avoid the ads, pop-ups, and spyware that come with watching video in a browser and watch the web. ROME powers our RSS capabilities. Learn more and download here.
  • +
  • Blog Mover
    Blog Mover's goal is allowing your blog moving freely between each BSP(Blog Service Provider). Learn more and try it here.
  • +
  • Scarab
    The goal of the Scarab project is to build a highly customisable Artifact tracking system. It's distributed under a BSD/Apache style license.
  • +
  • Ozmozr
    Ozmozr is a website for online learning communities being developed by the Center for Open Sustainable Learning at Utah State University. In ozmozr, users are both content producers and consumers, relying on their social networks to filter and distribute meaningful content. Ozmozr was built to leverage emergent technologies and support social and collaborative information filtering, self-organization, identity development, and free/open resource-sharing.
+
+

Open Source Research Prototypes using ROME

+
    +
  • MORSE
    The Model-Aware Repository and Service Environment (MORSE) is a service-based environment for the storage and retrieval of models and model-instances at both design- and runtime. Models, and model-elements are identified by Universally Unique Identifiers (UUID) and stored and managed in the MORSE repository. The MORSE repository provides versioning capabilities so that models can be manipulated at runtime and new and old versions of the models can be maintained in parallel. MORSE exposes various services to runtime clients and modeling tools. For instance, a feed reflects the latest changes within the repository.
+
+

Free, Based On Open Standards, using ROME

+
+
+

Commercial using ROME

+
    +
  • Interactive Brokers TraderWorkstation (TWS)
    Interactive Brokers is leading software based broker. IB offers Universal Direct-Access Trading and sophisticated trade management tools at highly competitive costs to professional traders and investors worldwide. IB is the gateway to trading a broad array of financial instruments -- stocks, options, futures, corporate bonds as well as forex -- on over 50 exchanges and marketplaces in 14 countries. TraderWorkstation is java-based trading platform; ROME library is used to fetch, aggregate and visualize news related to securities listed in the application.
  • +
  • parss
    From the antville guys, that we met at blogtalk 1.0 2 years ago.
  • +
  • Public Interactive
    Public Interactive® is the leading integrated Application Service Provider (ASP) of on-line collaborative tools, community engagement technologies, content syndication services and member and audience relationship management systems for the public broadcasting industry. Rome is used for syndicating news content and Podcasts local published by stations in the Public Interactive network.
  • +
  • Blog-City Ltd
    Blog-City.com has been using ROME for many months now, utilising both the core project and the Fetcher project to allow bloggers to run their own mini-aggregators within their blog.
  • +
  • Reger.com
    All blogs running at reger.com include ROME feeds. With the custom ROME module we wrote entry data is included in the RSS feeds. DataBlogging allows people to append activity-specific data to each of their entries. In addition to the pre-built log types (Running Log, Biking Log, Movie Log, etc), users can create custom log types with whatever data fields they need. The module outputs those data fields. Users simply customize their log types, adding and removing fields, and then the RSS feed automatically includes it. An RDDL document for the namespace can be found athttp://www.reger.com/about/specs/entrydata.rddl Thanks again for all of the help and for making ROME great!
  • +
  • CNET Networks/TechRepublic.com
    CNET Networks uses ROME with an application called the RSS Harvester. The purpose of this application is to harvest a list of predefined RSS/ATOM feeds, saving all new items for each feed in a database. In addition, each feed has an associated keyword that allows for easy surfacing of harvested data.
    Once the feed data has been collected, internal editors can surface links to the harvested data on the TechRepublic website by including a call to a JSP component. This component passes several parameters including the number of items to return, the number of items from a particular site and an associated keyword. For example, http://techrepublic.com.com/2001-10591-0.html (see the section "More on ...") we surface related articles.
    We are also using Rome for Re-Blogging on TechRepublic.com. Users can start their own blogs on the site as well as choose to import an RSS feed from an existing blog such as blogger.com. When the user imports an existing blog we use Rome to parse the RSS/ATOM feed then convert it to a TechRepublic blog. Any new blog posts on the external blog are automatically imported to TechRepublic.
  • +
  • Edmunds.com Inside Line
    We are currently using ROME as our feed generator and as a feed parser. Currently we publish RSS feeds of our latest articles on www.insideline.com, however, we also use it to provide updates between our sites. For example, our community site Townhall produces RSS feeds which we then parse using ROME on our Inside Line property. Rome has significantly speed up our development times thanks to its clean object model and its ability to generate multiple feed types.
  • +
  • HBO Podcasts (iTunes Music Store Link)
    HoPE (HBO Podcast Engine) powered by ROME and the iTunes Podcast module. To date has served over 15-million podcasts for HBO podcast content such as The Sopranos, Real Time with Bill Maher, and Rome
  • +
  • DressUpYourWedding
+
+

Sites using ROME

+
    +
  • Yabot
    Yabot is a news service currently available in five editions (May 2008). +

    Discovering and implementing ROME made Yabot's feed aggregation faster and easier. In previous versions we rendered the XML our selves but with ROME now doing most of this work developers can focus on presentation and integration features. Thanks!

+
+

Mats, co-founder @ Yabot -http://www.yabot.net

+
    +
  • WASALive
    Wasalive is a news, blogs and forums search engine. Results are sort by a mix of relevancy and date. Thanks to ROME library, Wasabot fetch and parse more than 70k feeds/days and store 3M posts. Thanks to ROME UTF8 support Wasalive is avalaible in Russian, French,Spanish, English
  • +
  • http://www.airport-information.com
    Rome is used to create a RSS feed with news on airports worldwide. The database runs under Tomcat. The Rome library was very helpful and allowed an easy and quick implementation. -- Main.airportinformation - 28 Jan 2008
  • +
  • http://www.abclinuxu.cz
    I use rome in daily production on www.abclinuxu.cz for watching cca 8 feeds and generating cca 60 feeds. After fixing charset related issues (thanks!) it runs smoothly. I am happy that I could remove my old propietary RSS rw code with Rome ... Leos
  • +
  • http://feeds.my.aol.com
    The latest My AOL product, a customizable, feed-driven web application, uses the Rome library to read, manipulate, and normalize RSS, RDF, and Atom feeds. My AOL was built on a very rapid development schedule, and Rome made much of it a lot easier than it otherwise would have been. --Bill Kocik, Sr. Software Engineer, America Online, Inc.
  • +
  • http://www.backbase.com
    Rome is used on our site to provide rss feeds for forum threads. Implementation took me something like few hours (including downloading and installation), so needless to say I am very happy. Thanks. m.j.milicevic
  • +
  • The Open Source Zone
    Rome is used to power the Planet section of The Open Source Zone, where we aggregate the most interesting feeds concerning Open Source. Took very little to implement, thanks to Rome. Rome Fetcher is used too, which is great.
  • +
  • rel8r.com
    rel8r is a tag search and feed aggregator. Rome is used extensively for collecting feeds as well as for publishing all of the aggregated feeds. We love it. - Travis
  • +
  • NewsRack
    Several organizations in the social development sector monitor news that is relevant to their work. This is a time-consuming and laborious process for some groups, especially when the news is monitored, marked, cut, and filed using hard copies of newspapers and magazines. This process is very much the case in India. However, much of this work can be automated using web versions of newspapers and magazines. In this context, the broad goal of this project is to automate news monitoring.
    NewsRack is a tool/service for classifying, filing, and long-term archiving of news. Users specify filtering rules which are used to select relevant articles from incoming news feeds. The selected articles are then classified into various categories. This process is similar to the process of specifying email filters to pre-sort incoming mail into various folders.
    NewsRack is currently using Rome. I am looking for developers, so, if this project tickles you, please get in touch! - Subramanya Sastry
  • +
  • http://www.rsspress.it
    An Italian Rss Aggregator, with a very nice design and layout, very simple to use, with a lot of rss feeds not only in italian language. You can register it and have your personalized homepage with your preferred news.
  • +
  • Geonames RSS to GeoRSS
    The Geonames "RSS to GeoRSS Converter" reads the entries of an RSS feed and searches the Geonames Database to find a location for the entry text. If a relevant location is found, its latitude and longitude are added to the RSS feed using the GeoRSS encoding.
  • +
  • feedarea.de
    FeedArea.de is a RSS, Atom and Podcast portal using Rome for handling the feed submissions.
  • +
  • podblock.de / podblock.com
    PodBlock is a podcast portal using Rome for handling the feed submissions.
  • +
  • javaMix.co.uk
    javaMix is a java news aggregation website using Rome to find the news.
  • +
  • JavaMix
    the latest java news, articles and resources
  • +
  • Wirecatch
    Wirecatch is a semantic news aggregator and visualization tool. It uses Rome to grab several news feeds and show connections and relationships between names, concepts and documents.
  • +
  • Swift
    Swift imports rss feeds and formats them for mobile devices. Swift also include many other tools for building mobile friendly webpages that will reshape themselves for each phone so the experience for the end user is as good as possible.
  • +
  • DevMeat
    DevMeat deliver fresh meat for software developers and Rome is TOP cook !
  • +
  • Folder2Feed
    Folder2Feed allows users to generate feeds from the contents of local and network folders; providing an easy way to monitor updates to folders of interest for a large audience.
  • +
  • podcast.tv
  • +
  • podcast.it
  • +
  • podcast.at
    Podcast.tv, podcast.it and podcast.at are podcast directories using Rome for handling the feed submissions and parsing.
  • +
  • CollaborationToday.info
    Collaboration Today is a news aggregator, also an open source software developed by OpenNTF. This site is for IBM Collaboration Solutions professionals covering news about various IBM products like IBM Connections, IBM Notes/ Domino, IBM WebSphere Portal etc. and cross product topics like mobile, cloud and analytics. Rome is running on background and fetching stories from various sites.
+
+

Powered By ROME Badges Here are badges for use with your ROME-powered site or software:

+
    +
  • Static:
  • +
  • Animated:
+

Please copy the image to your own server rather than link to the image on its current host.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEAndMaven2.html b/ROMEAndMaven2.html new file mode 100644 index 0000000..ae1e81c --- /dev/null +++ b/ROMEAndMaven2.html @@ -0,0 +1,126 @@ + + + + + + ROME - ROME and Maven 2 + + + + + + + + + + + +
+ +
+
+
+
+

ROME and Maven 2

+

this page is not up to date

+

Starting with ROME 1.0 RC2, rome jars are deployed on the java.net maven repository.

+

In your project you can add this repository by putting the following XML into your pom.xml

+
+
+<repository>
+  <id>maven2-repository.dev.java.net</id>
+  <name>Java.net Repository for Maven</name>
+  <url>http://download.java.net/maven/2/</url>
+  <layout>default</layout>
+</repository>
+
+

As of 22, April 2009, the jars are deployed for the following releases:

+
    +
  • ROME 1.0
  • +
  • ROME Fetcher 1.0
  • +
  • ROME Modules 0.3.2
+

To include the Rome 1.0 in your maven2 project:

+
+
+<dependency>
+  <groupId>rome</groupId>
+  <artifactId>rome</artifactId>
+  <version>1.0</version>
+</dependency>
+
+

-- Main.mj_ - 22 Apr 2009

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEAndOSGI.html b/ROMEAndOSGI.html new file mode 100644 index 0000000..378e2a9 --- /dev/null +++ b/ROMEAndOSGI.html @@ -0,0 +1,102 @@ + + + + + + ROME - ROME and OSGI + + + + + + + + + + + +
+ +
+
+
+
+

ROME and OSGI

+

From ROME 1.0 RC2 onwards, the ROME jar includes OSGi information in its manifest.

+

Note that we have received some reports that ROME plugin classloading may cause problems with OSGi. Setting the system property "rome.pluginmanager.useloadclass" to "true" may help avoid this. See Issue 118 for further information.

+

-- Main.nicklothian - 08 Jan 2009

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEDevelopmentProcess.html b/ROMEDevelopmentProcess.html new file mode 100644 index 0000000..372493a --- /dev/null +++ b/ROMEDevelopmentProcess.html @@ -0,0 +1,107 @@ + + + + + + ROME - ROME Development Process + + + + + + + + + + + +
+ +
+
+
+
+

ROME Development Process

+

We're welcoming our first external developer, Nick Lothian today, so we thought it would be good to set a few basic rules for this project. We don't want to be too formal, since we're still alpha, and trust our developer's common sense to "do the right thing".

+
    +
  • Please before commiting anything send an email in the rome developer lists to explain what you want to do
  • +
  • When you create some new code, please javadoc it, and unit tests are welcome
  • +
  • If your code involves new functionality for end users, please document it on the wiki.
  • +
  • and update the RomeChangesLog
  • +
  • I think that's it: Welcome to Rome
+

-- PatrickChanezon - 17 Jun 2004

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEDevelopmentProposals/ROME21stProposalJune10th2006NOTCURRENT.html b/ROMEDevelopmentProposals/ROME21stProposalJune10th2006NOTCURRENT.html new file mode 100644 index 0000000..85fa061 --- /dev/null +++ b/ROMEDevelopmentProposals/ROME21stProposalJune10th2006NOTCURRENT.html @@ -0,0 +1,311 @@ + + + + + + ROME - ROME2 1st Proposal (June 10th 2006) NOT CURRENT + + + + + + + + + + + +
+ +
+
+
+
+

ROME2 1st Proposal (June 10th 2006) NOT CURRENT

+

It has been 2 years since ROME started and along the way we've fixed, improved, enhanced and changed the API and the implementation. We've had to address things we did not think at first, we have to add support for specifications that were not around when ROME started, doing that has not being a hard task. The best indicator we've done a fair job with ROME is adoption.

+

Some cracks are starting to appear, mistakes in the design (such as overloading the use of DCModule), a bit of implementation over-engineering (such as the home grown bean-introspector and the smart ObjectBean & co classes), a more complex than needed API (the existence of 2 abstraction levels for feed, Synd and Wire beans).

+

This proposal attempts to address the problems and limitations we currently have with ROME.

+
+

Backwards Compatibility, Support and Upgrade

+

ROME2 will change the API breaking backwards compatibility (after all we are an Open Source Project and that is what they do best).

+

We will maintain ROME 1.0 (bugfixing only) for 1 year to allow a smooth transition for all ROME users. We will also prepare migration/upgrade tips (based on our own experience) for the ROME community.

+
+

Leveraging New Language Features

+

ROME2 will make use of Generics to type collections in its beans. It will also use the enum construct when applicable.

+
+

Minimum Number of Dependencies

+

ROME2 will implement its core competency (Atom and RSS parsing, generation and manipulation), it will leverage other components as much as possible but it will focus, as ROME, in being as lean as possible not only in its code by in its dependencies (keeping them down to a reasonable minimum).

+
+

One Abstraction Level, 2 Models

+

ROME2 will not have an abstract representation of feeds (the Synd beans). It will have 2 distinct models, Atom and RSS, both of them first citizens.

+

ROME2 users will use the model that fits more their needs.

+

Conversion (automatic and implicit) between the 2 models will be part of ROME2.

+
+

No Interfaces, Pluggable Beans

+

Interfaces are good, in fact they are great. However, when using them with beans that have to be created by the developer it ads noise to the code. Interfaces are used for all parameters and variables but implementations must be used to create the bean instances thus hard-coding areas of the application to a specific implementation. Or a factory pattern has to be use throughout the code to hide the implementation, with a side effect of removing clarity from the code.

+

ROME2 will bring the best of both worlds, it will allow coding such as

+
+
+Feed feed = new Feed();
+Entry entry1 = new Entry();
+Entry entry2 = new Entry();
+feed.getEntries().add(entry1);
+feed.getEntries().add(entry2);
+
+

While allowing pluggability of the beans implementation. The pluggability will be achieved using a combination of a factory pattern and a self-proxy patterns, both of them transparent to the ROME2 user.

+

For example the ROME2 API bean for the Atom feed would be something like:

+
+
+public class Feed {
+    private Feed feed;
+
+    public Feed() {
+        if (this.getClass() == Feed.class) {
+            feed = BeanFactory.getFactory().create(Feed.class);
+        }
+    }
+
+    public final Feed getImplementation() {
+        return feed;
+    }
+
+    public Text getTitle() {
+        return feed.getTitle();
+    }
+
+    public void setTitle(Text title) {
+        feed.setTitle(title);
+    }
+
+...
+}
+
+

The ROME2 (default/provided) implementation bean for the Atom feed would be something like:

+
+
+public class FeedBean extends Feed {
+    private Text title;
+
+    public Text getTitle() {
+        return title;
+    }
+
+    public void setTitle(Text title) {
+        this.title = title;
+    }
+
+...
+}
+
+

ROME2 users will use the ROME2 API bean as plain objects that they are. The ROME2 API beans will delegate all their properties to an instance implementing their corresponding class. This instance will be the implementation bean which is created by the BeanFactory.

+

To provide alternate implementation beans an alternate BeanFactory has to be provided.

+

To write an alternate implementation beans the ROME2 API bean has be used as an interface, all property methods have to be overridden, nothing else.

+

When extending ROME2 API beans, for example providing a new module bean, it is left to the implementor to follow this pattern or to use plain beans for the the additional module.

+

For cases (they shouldn't be many) that a ROME2 user needs to manipulate the implementation bean, all ROME2 API beans will give access to it via the getImplementation() method.

+
+

Using multiple Bean implementations simultaneously

+

ROME2 will support the use of multiple implementation beans simultaneously.

+

A use case could be retrieving a feed from a persistent store (which uses its own implementation beans), retrieving a feed from the internet (using the default implementation beans), merging their entries and producing an output feed, into the persistent store or out to the internet.

+

ROME2 public API will include the following classes for this purpose:

+
+
+public abstract class BeanFactory {
+    public abstract <T>  T create(Class<T> beanClass);
+}
+
+public class BeanFactoryInjector {
+    public static void execute(BeanFactory factory, Runnable runnable) { .. }
+}
+
+

When these two classes are not used explicitly ROME2 will use the default BeanFactory that creates default implementation beans.

+

For alternate implementation beans a BeanFactory has to be provided. This factory will be responsible for creating a complete ROME2 bean family.

+

The code to create ROME2 beans with an alternate factory will have to be written in the run() method of a Runnable object and it will have to be executed via the BeanFactoryInjector.execute() method.

+

The created ROME2 beans could be used outside of the Runnable.run() method, because of this ROME2 users have to be aware that it is possible to mix and match implementation beans and that may not always have a happy ending if not thought properly.

+
+

Collection Elements

+

All collection properties (such as the authors, categories, contributors, links and entries of an Atom feed bean) will only have getter methods in the ROME2 API beans, no setter methods. For example:

+
+
+public class Feed {
+    public List<Person> getAuthors() { ... }
+    public List<Category> getCategories() { ... }
+    ...
+}
+
+

This will ensure that the implementation bean has control on the implementation of the collection being used. This is particularly important to enable alternate implementation beans to fetch data from a repository as the collection is iterated over.

+

Persistent experts we need your input here.

+
+

Modules

+

Feeds, both RSS and Atom, are extensible via namespaced elements at feed/channel and entry/item level, these namespace elements are known as modules. Beans supporting modules (feed, channel, entry and item) will all have the following method to support modules.

+
+
+public Map<String,Module> getModules() { ... }
+
+

Because modules are uniquely identified by their URI, a Map will be used, the key will be the URI of the module and the value the module itself. As with other ROME2 API bean collection properties, the getModules() property has a getter only, the Map implementation is controlled by the implementation bean.

+

Module URIs in ROME2, as all the links URLs in the beans, will be Strings thus reducing object creation explosion a bit. For cases that some URI manipulation is required, the JDK URI class should be used.

+
+

Dynamic Modules Support

+

ROME2 modules design has to ensure it provides simple and comprehensive support for dynamic modules such as SLE and GData.

+
+

Unknown Modules

+

A special Module subclass, UnknownModule, will serve as placeholder for module data not explicitly processed by ROME2 available parsers/generators. This will allow to consume and re-export a feed without losing unknown (to ROME2) modules. Each unknown module will be keyed off with its URI in the map of the associated feed, channel, entry or item.

+

The data of the unknown module will be available as a String. ROME2 users should not use =UnknownModule='s data directly, if they need to manipulate that data they should find or implement bean/parser/generator for the module they need to manipulate.

+

Because unknown modules brings some extra overhead in the parsing and generating process ROME2 will have a property to enable/disable processing of unknown modules.

+
+

The xml:lang Attributes

+

All ROME2 API beans will have xml:lang attributes, String and enum and primitive types properties won't.

+
+

The xml:base Attributes

+

The xml:base attribute will not be present in any ROME2 API bean.

+

It will be the responsibility of the parsers to resolve any relative URL present in the feed at parsing time. Similarly, generators may relativize URLs as a size optimization (for God's sake we are doing XML).

+
+

Conversion between Feed Types

+

A FeedConverter class will provide conversion from Atom to RSS beans and vice versa, both at feed/channel and entry/item level. All properties, including modules data will be copied, after an conversion the state of the beans will be completely independent.

+
+

Object Class Methods in ROME2 Beans

+

The equals() and hashCode() methods will not be overridden. All ROME2 beans are mutable, it is not safe to use them as keys of hash structures.

+

Cloning will not be supported by ROME2 beans, instead they will have a copyFrom() method which is type safe and does a deep copy. Cloning a ROME2 bean will be a two step process, for example:

+
+
+Feed feed1 = new Feed();
+...
+Feed feed2 = new Feed();
+feed2.copyFrom(feed1);
+
+

The toString() method in the beans will print the property that most likely identifies the bean plus the class name of the implementation bean. For example for a Feed bean the output of toString() would be:

+
+
+[http://foo.com/atom.xml - xxx.rome2.impl.pojo.atom.FeedBean]
+
+

--++ Plugins ClassLoading

+

Bean implementations, parsers, generators, converters and all pluggable ROME2 components will be loaded using the same classLoader ROME2 core classes are loaded from.

+

This is to keep simple the handling of them via singletons and their instantiation. Supporting different classLoaders would require complex handling for instantiation, to avoid missing classes and class mismatches.

+

As an example of how easy things can go sour, imagine ROME2 core classes in the common path of a web-container and 2 web-apps adding their own beans/parsers/generators/modules, the singletons managing them are in ROME2 core, managed by the common classLoader, a simple singleton won't cut it. ROME2 core will be small enough that it will not be a memory consumption issue if it is once in each web-app.

+
+

Parsers and Generators

+

XML parsing and generation will support stream mode. We may even consider using streaming as the underlaying default implementation even if manipulating a feed bean on its whole in memory. We have to see if how this could be done leveraging Abdera, else using StAX API directly. This also means we may get rid of the JDom dependency.

+

For example, the streaming version of an Atom parser and generator would be something like:

+
+
+public interface AtomReader {
+
+    // repeatable operation, returns was has been read from the header so far
+    Feed readFeed() throws FeedException;
+
+    // returns null when reaches the end of the feed
+    Entry readEntry() throws FeedException;
+
+    void close() throws FeedException;
+  }
+
+public interface AtomWriter {
+
+    // if called must be called once and before a write(Entry)
+    void write(Feed feed) throws FeedException;
+
+    // if the first write is for an entry, then the output is an entry document
+    abstract void write(Entry entry) throws FeedException;
+
+    void close() throws FeedException;
+  }
+
+

As with ROME, in ROME2 Parsers will be as lenient as possible. Generators will be strict.

+
+

Feed Validators

+

A bean FeedValidator class will verify that a feed or entry bean is valid for a given feed type. Feed generators would use this class to ensure feed correctness.

+
+

Feed Conversion

+

Conversion from Atom beans to RSS beans and vice versa will be done by a FeedConverter class that would have the following signature:

+
+
+public class FeedConverter {
+    public Feed convertToFeed(Channel channel, boolean processItems) { ... }
+    public Entry convertToEntry(Item item) { ... }
+    public Channel convertToChannel(Feed feed, boolean processEntries) { ... }
+    public Item convertToItem(Entry entry) { ... }
+}
+
+

Because the mapping from Atom to RSS elements is sometimes subject do discussion and different requirements the FeedConverter class will be pluggable. It will implement the self-proxy pattern ROME2 API beans implement.

+
+

Parser and Generator Filters

+

Manipulation of feeds during parsing and generation at feed/channel and entry/item level will be possible by implementing readers and writers wrappers that work on top of the original reader and writer instances.

+

This filtering/wrapping could be automated via configuration.

+
+

Sources

+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEDevelopmentProposals/ROME22ndProposalJuly18th2006CURRENT.html b/ROMEDevelopmentProposals/ROME22ndProposalJuly18th2006CURRENT.html new file mode 100644 index 0000000..b154179 --- /dev/null +++ b/ROMEDevelopmentProposals/ROME22ndProposalJuly18th2006CURRENT.html @@ -0,0 +1,331 @@ + + + + + + ROME - ROME2 2nd Proposal (July 18th 2006) CURRENT + + + + + + + + + + + +
+ +
+
+
+
+

ROME2 2nd Proposal (July 18th 2006) CURRENT

+

It has been 2 years since ROME started and along the way we've fixed, improved, enhanced and changed the API and the implementation. We've had to address things we did not think at first, we have to add support for specifications that were not around when ROME started, doing that has not being a hard task. The best indicator we've done a fair job with ROME is adoption.

+

Some cracks are starting to appear, mistakes in the design (such as overloading the use of DCModule), a bit of implementation over-engineering (such as the home grown bean-introspector and the smart ObjectBean & co classes), a more complex than needed API (the existence of 2 abstraction levels for feed, Synd and Wire beans).

+

This proposal attempts to address the problems and limitations we currently have with ROME.

+
+

Backwards Compatibility, Support and Upgrade

+

ROME2 will change the API breaking backwards compatibility (after all we are an Open Source Project and that is what they do best).

+

We will maintain ROME 1.0 (bugfixing only) for 1 year to allow a smooth transition for all ROME users. We will also prepare migration/upgrade tips (based on our own experience) for the ROME community.

+
+

Leveraging New Language Features

+

ROME2 will make use of Generics to type collections in its beans. It will also use the enum construct when applicable.

+
+

Minimum Number of Dependencies

+

ROME2 will implement its core competency (Atom and RSS parsing, generation and manipulation), it will leverage other components as much as possible but it will, as ROME, be as lean as possible not only in its code but in its dependencies (keeping them down to a reasonable minimum).

+
+

One Abstraction Level, 2 Models

+

ROME2 will not have an abstract representation of feeds (the Synd beans). It will have 2 distinct models, Atom and RSS, both of them first citizens.

+

ROME2 users will use the model that fits more their needs.

+

Conversion (automatic and programmatic) between the 2 models will be part of ROME2.

+
+

Bean Interfaces

+

After some discussions on the first ROME2 proposal we are going back to the interface model. The self proxy pattern proposed in the first proposal (to be able use arbitrary implementations) adds a bit of complexity into understanding what is going one plus it does not address in a clean way the needs for persistency (such as Hibernate or JPA).

+

All ROME2 beans will interfaces. Different from ROME, the implementation classes for the ROME2 beans will not be part of the public API. Instead using directly constructors to create ROME2 beans, a factory pattern will be used. A Convenience class, Rome, will wrap the factory class providing a concise way of creating a ROME2 bean.

+

For example, creating ROME2 beans using the Rome class convenience class will be something like:

+
+
+Feed feed = Rome.create(Feed.class);
+Entry entry1 = Rome.create(Entry.class));
+Entry entry2 = Rome.create(Entry);
+feed.getEntries().add(entry1);
+feed.getEntries().add(entry2);
+
+

Which is equivalent to (using the Rome Bean factory class):

+
+
+Feed feed = BeanFactory.getFactory().create(Feed.class);
+Entry entry1 = BeanFactory.getFactory().create(Entry.class));
+Entry entry2 = BeanFactory.getFactory().create(Entry);
+feed.getEntries().add(entry1);
+feed.getEntries().add(entry2);
+
+

To provide an alternate implementation beans an alternate set of beans will have to be provided. In addition, if necessary, an alternate bean factory could be used.

+

To write an alternate implementation the bean classes will have to implement the ROME2 interface beans.

+
+

Using multiple Bean implementations simultaneously

+

ROME2 will support the use of multiple implementation beans simultaneously by changing the bean factory at anytime.

+

A use case could be retrieving a feed from a persistent store (which uses its own implementation beans), retrieving a feed from the internet (using the default implementation beans), merging their entries and producing an output feed, into the persistent store or out to the internet.

+
+

Bean Factory Scopes

+

The bean factory will support a default factory and a context factory. The default factory is used if no context factory is available. The context factory uses a InheritableThreadLocal to store the factory in context, this is useful for use in dependency injection containers (Servlet, Spring, etc).

+
+

Collection Elements

+

All collection properties (such as the authors, categories, contributors, links and entries of an Atom feed bean) will only have getter methods in the ROME2 API beans, no setter methods. For example:

+
+
+public class Feed {
+  public List<Person> getAuthors() { ... }
+  public List<Category> getCategories() { ... }
+  ...
+}
+
+

This will ensure that the implementation bean has control on the implementation of the collection being used. This is particularly important to enable alternate implementation beans to fetch data from a repository as the collection is iterated over.

+
+

Modules

+

Feeds, both RSS and Atom, are extensible via namespaced elements at feed/channel and entry/item level, these namespace elements are known as modules. Beans supporting modules (feed, channel, entry and item) will all have the following method to support modules.

+
+
+public Map<String,Module> getModules() { ... }
+
+

Because modules are uniquely identified by their URI, a Map will be used, the key will be the URI of the module and the value the module itself. As with other ROME2 API bean collection properties, the getModules() property has a getter only, the Map implementation is controlled by the implementation bean.

+

Module URIs in ROME2, as all the links URLs in the beans, will be Strings thus reducing object creation explosion a bit. For cases that some URI manipulation is required, the JDK URI class should be used.

+
+

Dynamic Modules Support

+

ROME2 modules design has to ensure it provides simple and comprehensive support for dynamic modules such as SLE and GData.

+
+

Unknown Modules

+

A special Module subclass, UnknownModule, will serve as placeholder for module data not explicitly processed by ROME2 available parsers/generators. This will allow to consume and re-export a feed without losing unknown (to ROME2) modules. Each unknown module will be keyed off with its URI in the map of the associated feed, channel, entry or item.

+

The data of the unknown module will be available as a String. ROME2 users should not use =UnknownModule='s data directly, if they need to manipulate that data they should find or implement bean/parser/generator for the module they need to manipulate.

+

Because unknown modules brings some extra overhead in the parsing and generating process ROME2 will have a property to enable/disable processing of unknown modules.

+
+

The xml:lang Attributes

+

All ROME2 API beans will have xml:lang attributes, String and enum and primitive types properties won't.

+
+

The xml:base Attributes

+

The xml:base attribute will not be present in any ROME2 API bean.

+

It will be the responsibility of the parsers to resolve any relative URL present in the feed at parsing time. Similarly, generators may relativize URLs as a size optimization (for God's sake we are doing XML).

+
+

Object Class Methods in ROME2 Beans

+

The equals() and hashCode() methods will not be overridden. As all ROME2 beans are mutable, it is not safe to use them as keys of hash structures.

+

Cloning will not be directly defined by ROME2 interface beans, instead they will have a copyFrom() method which is type safe and does a deep copy. Cloning a ROME2 bean will be a two step process, for example:

+
+
+Feed feed1 = Rome.create(Feed.class);
+...
+Feed feed2 = Rome.create(Feed.class);
+feed2.copyFrom(feed1);
+
+

The toString() method in the beans will print the property that most likely identifies the bean plus the class name of the implementation bean. For example for a Feed bean the output of toString() would be:

+
+
+[xxx.rome2.impl.pojo.atom.FeedBean - http://foo.com/atom.xml]
+
+

--++ Plugins ClassLoading

+

Bean implementations, parsers, generators, converters and all pluggable ROME2 components will be loaded using the same classLoader ROME2 core classes are loaded from.

+

This is to keep simple the handling of them via singletons and their instantiation. Supporting different classLoaders would require complex handling for instantiation, to avoid missing classes and class mismatches.

+

NOTE: As an example of how easy things can go sour, imagine ROME2 core classes in the common path of a web-container and 2 web-apps adding their own beans/parsers/generators/modules, the singletons managing them are in ROME2 core, managed by the common classLoader, a simple singleton won't cut it. ROME2 core will be small enough that it will not be a memory consumption issue if it is once in each web-app.

+
+

Parsers and Generators

+

To support large feeds (several megabytes or even gigabytes) ROME2 will support stream parsing. We have to see if how this could be done leveraging Abdera, else using StAX API directly.

+

Using XML stream parsers/generators is more complicated than using a DOM ones, to make easier for developers to implement parsers and generators ROME2 will take care of the details of the XML streaming API and it will expose feed fragments (the feed header and entries) via the JDom API, as JDom Elements. For example, the streaming version of an Atom parser and generator would be something like:

+
+
+public interface AtomParser {
+    // A JDom Document with just the root element, its attributes and namespaces in it.
+    boolean canParseFeed(Document jdomDoc);
+
+    // repeatable operation, returns was has been read from the header so far
+    // feed parameter has whatever is has been readed from the feed header so far.
+    // If the given feed parameter is not null data from the jdom element is injected in it.
+    Feed parseFeed(Element jdomFeedElement, Feed feed) throws FeedException;
+
+
+    // the jdomFeedElement allows the parser to get context (such as base URL, namespaces)
+    // for the entry being parsed.
+    Entry parseEntry(Element jdomFeedElement, Element jdomEntryElement) throws FeedException;
+  }
+
+  public interface AtomGenerator {
+    String getFeedType();
+
+    // if called must be called once and before a generateEntry(Entry)
+    Element generateFeed(Feed feed) throws FeedException;
+
+    Element generateEntry(Entry entry) throws FeedException;
+  }
+
+

For Modules the parser and generator interface would be something like:

+
+
+public interface ModuleParser<M extends Module> {
+    String getUri();
+
+    M parseModule(Element jdomFeedElement);
+
+    M parseModule(Element jdomFeedElement, Element jdomEntryElement);
+  }
+   public interface ModuleGenerator<M extends Module> {
+    String getUri();
+
+    Element generateModule(M module);
+  }
+
+

Parsers and Generators for modules will follow the same principle.

+

As with ROME, in ROME2 Parsers will be as lenient as possible. Generators will be strict.

+
+

ROME2 IO classes

+

Feed parsers and generators will not be directly accessed by the ROME2 user, they are used by ROME2 to expose a more convenient API in the form of streaming API and builder API. For example:

+
+
+public class RomeIO {
+
+    // streaming API
+
+    public static AtomReader createAtomReader(Reader reader, boolean xmlHealing) { };
+    public static RssReader createRssReader(Reader reader, boolean xmlHealing) { };
+
+    public static AtomWriter createAtomWriter(Writer writer, String feedType) { };
+    public static RssWriter createRssWriter(Writer writer, String feedType) { };
+
+
+    // builder API
+
+    public Feed parseAsFeed(Reader reader) { };
+    public Channel parseAsChannel(Reader reader) { };
+
+    public void generate(Writer writer, Feed feed, String feedType) { };
+    public void generate(Writer writer, Channel channel, String feedType) { };
+  }
+   public interface AtomReader {
+
+    String getFeedType();
+
+    // repeatable read, returns the current parsed state of the feed header
+    Feed readFeed() throws FeedException;
+
+    // returns a feed entry while there are more, NULL when done
+    Entry readEntry() throws FeedException;
+
+    // closes the feed reader
+    void close() throws FeedException;
+  }
+   public interface AtomWriter {
+
+    String getFeedType();
+
+    // if called must be called once and before a write(Entry)
+    void writeFeed(Feed feed) throws FeedException;
+
+    // if the first write is for an Entry, then the output is an item document
+    void writeEntry(Entry entry) throws FeedException;
+
+    void close() throws FeedException;
+  }
+
+
+

Feed Validators

+

A bean FeedValidator class will verify that a feed or entry bean is valid for a given feed type. Feed generators would use this class to ensure feed correctness.

+
+

Feed Conversion

+

Conversion from Atom to RSS beans and vice versa will be done by an implementation of the FeedConverter interface. Conversion will be supported at both feed/channel and entry/item level. All properties, including modules data will be copied, after an conversion the state of the beans will be completely independent.

+

The converter implementation will be pluggable, the implementation will be obtained from the bean factory and the Rome convenience class.

+

Conversion from Atom beans to RSS beans and vice versa will be done by a FeedConverter class that would have the following signature:

+
+
+public interface FeedConverter {
+    public Feed convertToFeed(Channel channel);
+    public Feed convertToFeed(Channel channel, boolean processItems);
+    public Entry convertToEntry(Item item);
+
+    public Channel convertToChannel(Feed feed);
+    public Channel convertToChannel(Feed feed, boolean processEntries);
+    public Item convertToItem(Entry entry);
+}
+
+
+

Parser and Generator Filters

+

Manipulation of feeds during parsing and generation at feed/channel and entry/item level would be possible by implementing readers and writers wrappers that work on top of the original reader and writer instances.

+

This filtering/wrapping could be automated via configuration.

+
+

Sources

+

The following ZIP file only includes the ROME2 beans as described in this proposal, it does not include any of the parser, generator or IO API.

+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEDevelopmentProposals/ROMEFeatureRequests.html b/ROMEDevelopmentProposals/ROMEFeatureRequests.html new file mode 100644 index 0000000..881ab4b --- /dev/null +++ b/ROMEDevelopmentProposals/ROMEFeatureRequests.html @@ -0,0 +1,127 @@ + + + + + + ROME - ROME Feature Requests + + + + + + + + + + + +
+ +
+
+
+
+

ROME Feature Requests

+
    +
  • BUG: com.sun.syndication.io.impl.DateParser:Date parseW3CDateTime(String) incorrectly uses a comma (",") rather than a decimal (".") to delimit the seconds from miliseconds. The correct format can be found on http://www.w3.org/TR/NOTE-datetime. The bug is on line 170 (version 0.8). The fix is to replace the line with this: int secFraction = pre.indexOf("."); -- JLP 9/4/2006
  • +
  • BUG: Atom 1.0 parsing uses wrong Content types. "text", "html", "xhtml" do not match what is parse from the content elements. Subsequently, the content elements always have a null value - no way to get content.
  • +
  • BUG: Link in description is not parsed
    Try to parse http://jakarta.apache.org/site/rss.xml, look at entry http://jakarta.apache.org/site/news/news-2006-q1.html#20060107.1 This entry has an "<a href..." in the first line, which isn't parsed by Rome -- Main.iterson - 25 Jan 2006
  • +
  • BUG: Support all encodings
    The problem is when reading RSS a space between the encoding to the value or ualue in '' insted of "" will cause error, for example: this will work work encoding="windows-1255" but this: encoding = "windows-1255" or encoding='windows-1255' won't work.
  • +
  • BUG: The reader doesn't attempt use the masks that defined in the rome.properties for reading the date for all date parsing method, e.g. RSS093Parser.parseItem uses DateParser.parserRFC822 which is not covered by that logic -- Main.den_st - 17 Jan 2006; if it will use the mask the code will run good. I had a problem to read date and I defined a mask in the properties file (datetime.extra.masks=yyyy-MM-dd'T'HH:mm:ss trying to read 2005-09-22T09:00:41} ). Then i try to change one of the mask at runtime to the mask i defined in the properties file and it works good. The logic in the code trys to format the date with each one of the default masks if it faild it returns null instead of trying to format the date using the format that defined in the rome.properties file.
  • +
  • Support for writing to OutputStreams. If I want to compress the feeds to a (.gz) file or write to a socket, I have to extend SyndFeedOutput and WireFeedOutput to add a method called output(SyndFeed, OuputStream). It would be nice to have that built in instead. -- Main.agherna - 08 Aug 2005
  • +
  • I'd like the getDate method on feeds and entries to go to the associated modules and retrieve the appropriate dc:date when the getDate() method returns null. This way entries from feeds like this one: http://www.magpiebrain.com/index.xml would have valid dates without requiring me to write code work out what format the feed is in and act accordingly.
  • +
  • Would like to see OPML parser also.
    This is already supported by Rome. RSS2.0 parser, see Date Elements mapping by default does not process Modules. Refer to the Modules Plugins documentation to see how to enable this.
  • +
  • RFC3229 support (in RomeFetcher and example code implementing it for production) would be a killer feature.
  • +
  • The RSS 1.0 Spec http://web.resource.org/rss/1.0/spec indicates that the suggested maximum length for a description field on an entry is 500 characters, but the 0.4 codebase enforces 500 characters as a hard limit -- exceeding it on input or output generates a FeedException. Since one doesn't always have control over the feeds one consumes, it seems to me that it would be a good idea if Rome were more forgiving in accepting feed entries that exceed the suggested lengths.
  • +
  • Is there a chance to include an option in Rome for liberal parsing, ie. trying to get most out of a feed even when it's non-conforming without throwing exceptions? I believe RSS is pretty close to HTML not from a technical point of view but thinking of practical use. Hence, RSS feeds will be incorrect in many cases however they still could join the party with a tolerant parser. Maybe Rome could do for Java what Mark Pilgrim has done for Python (although I did not verify his ultraliberal parser's tolerance)?
  • +
  • More liberal parsing for dates, to handle un-parseable dates like: "12 sep 1998", "'05" or monsters like this one : "[2005]". I faced this problem using DCModule, dc:date attribute can have mentioned values. In older versions of my app there were no constrains for date format, so users have written them very freely.
  • +
  • I think that Rome has problems parsing rss feeds where the xml contains a link to a stylesheet. Try parsing http://ihatemyflatmate.blogspot.com/atom.xml (Atom) or http://msdn.microsoft.com/rss.xml (RSS 1.0). I get Exceptions with both, and they both have stylesheets, whereas other working feeds don't.
  • +
  • It would be very nice to have a possibility to add stylesheet to generated feed. I can do this by replacing header in generated String, but this method is ...
  • +
  • There are problems with the correct encoding of HTML when generating RSS2.0. It is in the area of extended character sets. If you encode the following: +
    +
    +<FONT size="2">Quatre pi&amp;#232;ces</FONT>
    +
    +

    In the hope of gettin "Quatre pièces" in your html feed. You get from the SynFeedOutput.output() this:

    +
    +
    +&amp;lt;FONT size="2"&amp;gt;Quatre pi&amp;amp;#232;ces&amp;lt;/FONT&amp;gt;
    +
    +

    Which ends up with "Quatre pièces" being displayed in the RSS Reader that is taking your feed. To get the correct ouput I have had to resort to outputString.replaceAll("&#","&#"); OK as a a workaround but not very elegant or performant! -- Main.rjwallis - 19 Mar 2005

  • +
  • From that what i know about Rome it's impossible to use "<[!CDDATA [" entities in content of feed's tags. i know this isn't essential, but it would a very nice feature.
  • +
  • Provide support for lastBuildDate in RSS, many news provider, including Yahoo News and BBC use lastBuildDate instead of lastPublishDate.
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEDevelopmentProposals/index.html b/ROMEDevelopmentProposals/index.html new file mode 100644 index 0000000..2508407 --- /dev/null +++ b/ROMEDevelopmentProposals/index.html @@ -0,0 +1,113 @@ + + + + + + ROME - ROME Development Proposals + + + + + + + + + + + +
+ +
+
+
+
+

ROME Development Proposals

+
+

ROME Development Proposals

+

Link to new ROME feature and release proposals here.

+
+

ROME2 Proposal

+
+
+

Requests for Enhancement (RFEs)

+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEDevelopmentProposals/rome2proto.zip b/ROMEDevelopmentProposals/rome2proto.zip new file mode 100644 index 0000000..88ca059 --- /dev/null +++ b/ROMEDevelopmentProposals/rome2proto.zip @@ -0,0 +1,275 @@ + + + + + Java.net — 404 - Not Found + + + + + + + + + + + + + + + + + +
+ +
+ + Skip to main content +
+
+
+
+
+ Create Account + + Login + + Help + +
+
+
+
+ + +
+
+
+
+ +
+
+
+ + + + +
+

Not Found

+ +
+ The page you were looking for doesn't exist.
+ You may have mistyped the address or the page may have moved. +
+ « back +  |  + home » +
+ + + +
+
+
+
+
+ +
+
+
+ +
+ +
+ +
+
+
+
+
+
 
+
+
+ + +
+
+
 
+ Close +
+
+ loading +
+
+
+
+
+ + +
+
+
Please Confirm
+ Close +
+
 
+
+
+
+
+
+ +
+ + + + + + diff --git a/ROMEDevelopmentProposals/rome2proto2.zip b/ROMEDevelopmentProposals/rome2proto2.zip new file mode 100644 index 0000000..88ca059 --- /dev/null +++ b/ROMEDevelopmentProposals/rome2proto2.zip @@ -0,0 +1,275 @@ + + + + + Java.net — 404 - Not Found + + + + + + + + + + + + + + + + + +
+ +
+ + Skip to main content +
+
+
+
+
+ Create Account + + Login + + Help + +
+
+
+
+ + +
+
+
+
+ +
+
+
+ + + + +
+

Not Found

+ +
+ The page you were looking for doesn't exist.
+ You may have mistyped the address or the page may have moved. +
+ « back +  |  + home » +
+ + + +
+
+
+
+
+ +
+
+
+ +
+ +
+ +
+
+
+
+
+
 
+
+
+ + +
+
+
 
+ Close +
+
+ loading +
+
+
+
+
+ + +
+
+
Please Confirm
+ Close +
+
 
+
+
+
+
+
+ +
+ + + + + + diff --git a/ROMEROADMAPProposed.html b/ROMEROADMAPProposed.html new file mode 100644 index 0000000..b37d483 --- /dev/null +++ b/ROMEROADMAPProposed.html @@ -0,0 +1,134 @@ + + + + + + ROME - ROME ROADMAP (Proposed) + + + + + + + + + + + +
+ +
+
+
+
+

ROME ROADMAP (Proposed)

+
    +
  • ----+--+ | | version
+
+

|| changes

+
+

| *----+--+ | 1.1

+
+

| Omnibus release with ROME patches + JDK 1.5 changes.

+
+

| *----+--+ | 1.5

+
+

| Migration to org.rometools (light break compat)

+
+

| *----+--+ | 1.6

+
+

| Elimination of Synd* interfaces and Synd*Impl in favor of base objects (break compat)

+
+

| *----+--+ | 1.7

+
+

| Introduction of "Rome" class with pass-by-ref context for modules

+
+

| *----+--+ | 1.8

+
+

| Addition of a factory by package for the Rome class.

+
+

| *----+--+ | 1.9

+
+

| JSR-330 remix of the Rome class and all deps.

+ +
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/RomeV0.1HowToBuildAndRunTheTutorialsSampleCode.html b/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/RomeV0.1HowToBuildAndRunTheTutorialsSampleCode.html new file mode 100644 index 0000000..4ea5eb1 --- /dev/null +++ b/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/RomeV0.1HowToBuildAndRunTheTutorialsSampleCode.html @@ -0,0 +1,124 @@ + + + + + + ROME - Rome v0.1, How to build and run the tutorials sample code + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.1, How to build and run the tutorials sample code

+
+

Building the samples with Maven

+

This is, as usual, the easiest way.

+

There's only one configuration step: Maven downloads dependencies from an online repository (by default ibiblio), to a local repository (on UNIX usually in ~/.maven/repository). Because the rome distribution is not yet on ibiblio, you need to add it yourself, either to your local repository, or to your own intranet maven repository if you have such a thing in your organization.

+

If you built Rome run maven jar:install in the rome project to install Rome's jar in your Maven repository.

+

If you got Rome binary distribution copy the Rome's jar file to your Maven repository (on UNIX that would be cp rome-0.1/rome-0.1.jar   ~/.maven/repository/rome/jars/).

+

Then building the samples it's easy as a pie, just run maven jar in the rome-samples project and you are all set.

+
+

Building the samples with Ant

+

Hopefully maven is helpful in supporting poor ant users who did not make the switch yet:-) We generated an Ant build.xml file in order for you to be able to build rome-samples with Ant. (Actually, Maven did it for us, the maven ant goal).

+

The targets present in the build.xml are very helpful, ant get-deps will download from ibiblio to rome-samples/target/lib all the jar files Rome depends on and are needed for building an application using Rome.

+

The only thing that will be left out is Rome's jar file itself: you'll need to copy it to the rome-samples/target/lib directory (For example in UNIX would be cp rome-0.1/rome-0.1.jar  rome-samples/target/lib, where rome-0.1 is the binary distribution).

+

To build rome-samples just run ant jar.

+
+

Running the samples with Maven

+

The Maven goals for running the samples are defined in maven.xml. They should all generate the same file named toto, but somehow it ends up empty. However the output is correctly sent to the console. We'll fix that glitch later.

+

maven run-agr runs the FeedAggregator sample

+

maven run-conv runs the FeedConverter sample

+

maven run-read runs the FeedReader sample

+
+

Running the samples with Ant

+

All ant targets for the samples generate the same file named toto: feel free to customize this build.xml to your own needs. Also today all these targets depends on the jar target, which represents some overhead if you have already built. Get rid of that once your project is well setup.

+

ant run-aggr runs the FeedAggregator sample

+

ant run-conv runs the FeedConverter sample

+

ant run-read runs the FeedReader sample

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/RomeV0.1TutorialUsingRomeToAggregateManySyndicationFeedsIntoASingleOne.html b/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/RomeV0.1TutorialUsingRomeToAggregateManySyndicationFeedsIntoASingleOne.html new file mode 100644 index 0000000..7531cf6 --- /dev/null +++ b/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/RomeV0.1TutorialUsingRomeToAggregateManySyndicationFeedsIntoASingleOne.html @@ -0,0 +1,205 @@ + + + + + + ROME - Rome v0.1 Tutorial, Using Rome to aggregate many syndication feeds into a single one + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.1 Tutorial, Using Rome to aggregate many syndication feeds into a single one

+

Software requirements: J2SE 1.4+, Xerces 2.4.0, JDOM B10, Commons Codec 1.2 and Rome 0.1.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeedI interface. The SyndFeedI interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Rome includes parsers to process syndication feeds into SyndFeedI instances. The SyndInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using Rome are the following 2 lines of code:

+
+
+SyndInput input = new SyndInput();
+SyndFeedI feed = input.build(feedUrl.openStream());
+
+

The first line creates a SyndInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndInput to read the syndication feed from the InputStream of a URL pointing to the feed. The SyndInput.build() method returns a SyndFeedI instance that can be easily processed.

+

Rome also includes generators to create syndication feeds out of SyndFeedI instances. The SyndOutput class does this generation. When creating a syndication feed output, the developer has to indicate the syndication feed type for the ouput, and the SyndOutput will use the right generator for it. The following two lines of code show how to create a syndication feed output from a SyndFeedI instance:

+
+
+SyndOutput output = new SyndOutput(outputType);
+output.output(feed,System.out);
+
+

The first line creates a SyndOutput instance that will produce syndication feeds of the type indicated by the outputType parameter. The outputType parameter can be any of the following values: rss_0.9, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0, rss_2.0 & atom_0.3. The second line writes the SyndFeedI as a syndication feed into the application's output.

+

SyndFeedI can also be created and populated within the code. For example:

+
+
+SyndFeedI aggrFeed = new SyndFeed();
+aggrFeed.setTitle("Aggregated Feed");
+aggrFeed.setDescription("Anonymous Aggregated Feed");
+aggrFeed.setAuthor("anonymous");
+aggrFeed.setLink("http://www.anonymous.com");
+
+

The snipped of code above creates a SyndFeedI instance using the default implementation provided by Rome and sets the title, description, author and link properties of the feed.

+

SyndFeedI properties can be modified, assigned to other SyndFeedI instances, removed, etc. It's important to remember that the getters/setters semantics defined for all SyndFeedI properties (and properties of its properties) is a copy by reference, not by value. In other words if you alter the property of a SyndFeedI property you are altering the SyndFeedI. Or, another example, if you assign the list of entries of one SyndFeedI instance to another SyndFeedI isntance and then you modify the list or any of the entries in the list, you are modifying the entries of both SyndFeedI instances.

+

The following lines of code show how to copy the entries of a SyndFeedI instance being read (inFeed) into a SyndFeedI instance being created within the application (feed):

+
+
+SyndFeedI feed = new SyndFeed();
+...
+List entries = new ArrayList();
+feed.setEntries(entries);
+...
+SyndInput input = new SyndInput(false);
+SyndFeedI inFeed = input.build(inputUrl.openStream());
+
+entries.addAll(inFeed.getEntries());
+
+

Note that it's OK to assign the entries list to the feed and later add entries to it as all SyndFeedI getters/setters do copy by reference.

+

Following is the full code for a Java application that reads a list of syndication feed, aggregates their items into a single feed, and writes the aggregated feed to the application's output.

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import java.util.List;
+import java.util.ArrayList;
+
+import com.sun.syndication.feed.synd.SyndFeedI;
+import com.sun.syndication.feed.synd.SyndFeed;
+import com.sun.syndication.feed.synd.SyndEntryI;
+import com.sun.syndication.io.SyndInput;
+import com.sun.syndication.io.SyndOutput;
+
+public class FeedAggregator {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length>=2) {
+            try {
+                String outputType = args[0];
+
+                SyndFeedI feed = new SyndFeed();
+                feed.setTitle("Aggregated Feed");
+                feed.setDescription("Anonymous Aggregated Feed");
+                feed.setAuthor("anonymous");
+                feed.setLink("http://www.anonymous.com");
+
+                List entries = new ArrayList();
+                feed.setEntries(entries);
+
+                for (int i=1;i<args.length;i++) {
+                    URL inputUrl = new URL(args[i]);
+
+                    SyndInput input = new SyndInput(false);
+                    SyndFeedI inFeed = input.build(inputUrl.openStream());
+
+                    entries.addAll(inFeed.getEntries());
+
+                }
+
+                SyndOutput output = new SyndOutput(outputType);
+                output.output(feed,System.out);
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedAggregator aggregates different feeds into a single one.");
+            System.out.println("The first parameter must be the feed type for the aggregated feed.");
+            System.out.println(" [valid values are: rss_0.9, rss_0.91, rss_0.92, rss_0.93, ]");
+            System.out.println(" [                  rss_0.94, rss_1.0, rss_2.0 & atom_0.3  ]");
+            System.out.println("The second to last parameters are the URLs of feeds to aggregate.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/RomeV0.1TutorialUsingRomeToConvertASyndicationFeedFromOneTypeToAnother.html b/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/RomeV0.1TutorialUsingRomeToConvertASyndicationFeedFromOneTypeToAnother.html new file mode 100644 index 0000000..50ab7cc --- /dev/null +++ b/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/RomeV0.1TutorialUsingRomeToConvertASyndicationFeedFromOneTypeToAnother.html @@ -0,0 +1,161 @@ + + + + + + ROME - Rome v0.1 Tutorial, Using Rome to convert a syndication feed from one type to another + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.1 Tutorial, Using Rome to convert a syndication feed from one type to another

+

Software requirements: Synd J2SE 1.4+, Xerces 2.4.0, JDOM B10, Commons Codec 1.2 and Rome 0.1.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeedI interface. The SyndFeedI interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Rome includes parsers to process syndication feeds into SyndFeedI instances. The SyndInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using Rome are the following 2 lines of code:

+
+
+SyndInput input = new SyndInput();
+SyndFeedI feed = input.build(feedUrl.openStream());
+
+

The first line creates a SyndInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndInput to read the syndication feed from the InputStream of a URL pointing to the feed. The SyndInput.build() method returns a SyndFeedI instance that can be easily processed.

+

Rome also includes generators to create syndication feeds out of SyndFeedI instances. The SyndOutput class does this generation. When creating a syndication feed output, the developer has to indicate the syndication feed type for the ouput, and the SyndOutput will use the right generator for it. The following two lines of code show how to create a syndication feed output from a SyndFeedI instance:

+
+
+SyndOutput output = new SyndOutput(outputType);
+output.output(feed,System.out);
+
+

The first line creates a SyndOutput instance that will produce syndication feeds of the type indicated by the outputType parameter. The outputType parameter can be any of the following values: rss_0.9, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0, rss_2.0 & atom_0.3. The second line writes the SyndFeedI as a syndication feed into the application's output.

+

Following is the full code for a Java application that reads a syndication feed and converts it to other syndication feed type, writing the converted feed to the application's output.

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import com.sun.syndication.feed.synd.SyndFeedI;
+import com.sun.syndication.io.SyndInput;
+import com.sun.syndication.io.SyndOutput;
+
+public class FeedConverter {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==2) {
+            try {
+                String outputType = args[0];
+
+                URL feedUrl = new URL(args[1]);
+
+                SyndInput input = new SyndInput(false);
+                SyndFeedI feed = input.build(feedUrl.openStream());
+
+                SyndOutput output = new SyndOutput(outputType);
+                output.output(feed,System.out);
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedConverter converts between syndication feeds types.");
+            System.out.println("The first parameter must be the feed type to convert to.");
+            System.out.println(" [valid values are: rss_0.9, rss_0.91, rss_0.92, rss_0.93, ]");
+            System.out.println(" [                  rss_0.94, rss_1.0, rss_2.0 & atom_0.3  ]");
+            System.out.println("The second parameter must be the URL of the feed to convert.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/RomeV0.1TutorialUsingRomeToReadASyndicationFeed.html b/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/RomeV0.1TutorialUsingRomeToReadASyndicationFeed.html new file mode 100644 index 0000000..c28740f --- /dev/null +++ b/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/RomeV0.1TutorialUsingRomeToReadASyndicationFeed.html @@ -0,0 +1,152 @@ + + + + + + ROME - Rome v0.1 Tutorial, Using Rome to read a syndication feed + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.1 Tutorial, Using Rome to read a syndication feed

+

Software requirements: J2SE 1.4+, Xerces 2.4.0, JDOM B10, Commons Codec 1.2 and Rome 0.1.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeedI interface. The SyndFeedI interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Rome includes parsers to process syndication feeds into SyndFeedI instances. The SyndInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using Rome are the following 2 lines of code:

+
+
+SyndInput input = new SyndInput();
+SyndFeedI feed = input.build(feedUrl.openStream());
+
+

The first line creates a SyndInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndInput to read the syndication feed from the InputStream of a URL pointing to the feed. The SyndInput.build() method returns a SyndFeedI instance that can be easily processed.

+

The default SyndFeedI implementation has a detailed and clear toString() implementation. The following line just prints it to the application's output.

+
+
+System.out.println(feed);
+
+

Following is the full code for a Java application that reads a syndication feed and prints the SyndFeedI bean to the application's output.

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import com.sun.syndication.feed.synd.SyndFeedI;
+import com.sun.syndication.io.SyndInput;
+
+public class FeedReader {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==1) {
+            try {
+                URL feedUrl = new URL(args[0]);
+
+                SyndInput input = new SyndInput();
+                SyndFeedI feed = input.build(feedUrl.openStream());
+
+                System.out.println(feed);
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedReader reads and prints any RSS/Atom feed type.");
+            System.out.println("The first parameter must be the URL of the feed to read.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/index.html b/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/index.html new file mode 100644 index 0000000..1d415d5 --- /dev/null +++ b/ROMEReleases/ROME0.1Beta/RomeV0.1Tutorials/index.html @@ -0,0 +1,105 @@ + + + + + + ROME - Rome v0.1 Tutorials + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.1 Tutorials

+

The following tutorials show how to use the Rome API. They focus on the higher abstraction layer of classes offered by Rome, what we call the Synd* classes. By using the Synd* classes developers don't have to deal with the specifics of any syndication feed. They work with normalized feeds, the Synd* feeds. This makes it much easier to write applications that have to deal with all the variety of syndication feed types in use today.

+
    +
  1. Using Rome to read a syndication feed
  2. +
  3. Using Rome to convert a syndication feed from one type to another
  4. +
  5. Using Rome to aggregate many syndication feeds into a single one
+

For instructions on how to build and run the samples used in the tutorials click here.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.1Beta/index.html b/ROMEReleases/ROME0.1Beta/index.html new file mode 100644 index 0000000..b84e070 --- /dev/null +++ b/ROMEReleases/ROME0.1Beta/index.html @@ -0,0 +1,164 @@ + + + + + + ROME - ROME 0.1 Beta + + + + + + + + + + + +
+ +
+
+
+
+

ROME 0.1 Beta

+
+

Dependencies

+
+ +
+

Additional Information

+
+
+

Known Issues

+
    +
  • On Mac OS X 10.2.8 Maven cannot run the samples, the JVM exist with a reflection error in a native method
  • +
  • On Mac OS X 10.2.8 to run the samples using Ant you need to include Xerces 2.4.0 in the CLASSPATH. Otherwise it does not the XML Parser implementation
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.1Beta/rome-0.1-src.tar.gz b/ROMEReleases/ROME0.1Beta/rome-0.1-src.tar.gz new file mode 100644 index 0000000..7cd72b1 Binary files /dev/null and b/ROMEReleases/ROME0.1Beta/rome-0.1-src.tar.gz differ diff --git a/ROMEReleases/ROME0.1Beta/rome-0.1-src.zip b/ROMEReleases/ROME0.1Beta/rome-0.1-src.zip new file mode 100644 index 0000000..f051ec5 Binary files /dev/null and b/ROMEReleases/ROME0.1Beta/rome-0.1-src.zip differ diff --git a/ROMEReleases/ROME0.1Beta/rome-0.1.tar.gz b/ROMEReleases/ROME0.1Beta/rome-0.1.tar.gz new file mode 100644 index 0000000..bb18edf Binary files /dev/null and b/ROMEReleases/ROME0.1Beta/rome-0.1.tar.gz differ diff --git a/ROMEReleases/ROME0.1Beta/rome-0.1.zip b/ROMEReleases/ROME0.1Beta/rome-0.1.zip new file mode 100644 index 0000000..1620eb3 Binary files /dev/null and b/ROMEReleases/ROME0.1Beta/rome-0.1.zip differ diff --git a/ROMEReleases/ROME0.1Beta/rome-samples-0.1-src.tar.gz b/ROMEReleases/ROME0.1Beta/rome-samples-0.1-src.tar.gz new file mode 100644 index 0000000..9abe2d7 Binary files /dev/null and b/ROMEReleases/ROME0.1Beta/rome-samples-0.1-src.tar.gz differ diff --git a/ROMEReleases/ROME0.1Beta/rome-samples-0.1-src.zip b/ROMEReleases/ROME0.1Beta/rome-samples-0.1-src.zip new file mode 100644 index 0000000..7b4872e Binary files /dev/null and b/ROMEReleases/ROME0.1Beta/rome-samples-0.1-src.zip differ diff --git a/ROMEReleases/ROME0.1Beta/rome-samples-0.1.tar.gz b/ROMEReleases/ROME0.1Beta/rome-samples-0.1.tar.gz new file mode 100644 index 0000000..dec3510 Binary files /dev/null and b/ROMEReleases/ROME0.1Beta/rome-samples-0.1.tar.gz differ diff --git a/ROMEReleases/ROME0.1Beta/rome-samples-0.1.zip b/ROMEReleases/ROME0.1Beta/rome-samples-0.1.zip new file mode 100644 index 0000000..09e3a09 Binary files /dev/null and b/ROMEReleases/ROME0.1Beta/rome-samples-0.1.zip differ diff --git a/ROMEReleases/ROME0.2Beta/RomeV0.2Tutorials/RomeV0.2TutorialUsingRomeToAggregateManySyndicationFeedsIntoASingleOne.html b/ROMEReleases/ROME0.2Beta/RomeV0.2Tutorials/RomeV0.2TutorialUsingRomeToAggregateManySyndicationFeedsIntoASingleOne.html new file mode 100644 index 0000000..a1295e8 --- /dev/null +++ b/ROMEReleases/ROME0.2Beta/RomeV0.2Tutorials/RomeV0.2TutorialUsingRomeToAggregateManySyndicationFeedsIntoASingleOne.html @@ -0,0 +1,200 @@ + + + + + + ROME - Rome v0.2 Tutorial, Using Rome to aggregate many syndication feeds into a single one + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.2 Tutorial, Using Rome to aggregate many syndication feeds into a single one

+

Software requirements: J2SE 1.4+, JDOM B10 and Rome 0.2.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeedI interface. The SyndFeedI interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Rome includes parsers to process syndication feeds into SyndFeedI instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using Rome are the following 2 lines of code:

+
+
+SyndFeedInput input = new SyndFeedInput();
+SyndFeedI feed = input.build(feedUrl.openStream());
+
+

The first line creates a SyndFeedInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndFeedInput to read the syndication feed from the InputStream of a URL pointing to the feed. The SyndFeedInput.build() method returns a SyndFeedI instance that can be easily processed.

+

Rome also includes generators to create syndication feeds out of SyndFeedI instances. The SyndFeedOutput class does this generation. The SyndFeedOutput will generate a syndication feed of the feed type indicated by the SyndFeedI object being output. The following two lines of code show how to create a syndication feed output from a SyndFeedI instance:

+
+
+SyndFeedOutput output = new SyndFeedOutput();
+output.output(feed,System.out);
+
+

The first line creates a SyndFeedOutput instance that will produce syndication feeds. It can output feeds of any type (rss_0.9, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0, rss_2.0 & atom_0.3), the SyndFeedI feedType property indicates the type. The second line writes the SyndFeedI as a syndication feed into the application's output.

+

SyndFeedI can also be created and populated within the code. For example:

+
+
+SyndFeedI aggrFeed = new SyndFeed();
+aggrFeed.setFeedType("rss_1.0");
+aggrFeed.setTitle("Aggregated Feed");
+aggrFeed.setDescription("Anonymous Aggregated Feed");
+aggrFeed.setAuthor("anonymous");
+aggrFeed.setLink("http://www.anonymous.com");
+
+

The snipped of code above creates a SyndFeedI instance using the default implementation provided by Rome, sets the feed type to RSS 1.0, sets the title, description, author and link properties of the feed.

+

SyndFeedI properties can be modified, assigned to other SyndFeedI instances, removed, etc. It's important to remember that the getters/setters semantics defined for all SyndFeedI properties (and properties of its properties) is a copy by reference, not by value. In other words if you alter the property of a SyndFeedI property you are altering the SyndFeedI. Or, another example, if you assign the list of entries of one SyndFeedI instance to another SyndFeedI isntance and then you modify the list or any of the entries in the list, you are modifying the entries of both SyndFeedI instances.

+

The following lines of code show how to copy the entries of a SyndFeedI instance being read (inFeed) into a SyndFeedI instance being created within the application (feed):

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import java.util.List;
+import java.util.ArrayList;
+
+import com.sun.syndication.feed.synd.SyndFeedI;
+import com.sun.syndication.feed.synd.SyndFeed;
+import com.sun.syndication.io.SyndFeedOutput;
+import com.sun.syndication.io.SyndFeedInput;
+
+/**
+ * It aggregates a list of RSS/Atom feeds (they can be of different types)
+ * into a single feed of the specified type.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedAggregator {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length>=2) {
+            try {
+                String outputType = args[0];
+
+                SyndFeedI feed = new SyndFeed();
+                feed.setFeedType(outputType);
+
+                feed.setTitle("Aggregated Feed");
+                feed.setDescription("Anonymous Aggregated Feed");
+                feed.setAuthor("anonymous");
+                feed.setLink("http://www.anonymous.com");
+
+                List entries = new ArrayList();
+                feed.setEntries(entries);
+
+                for (int i=1;i<args.length;i++) {
+                    URL inputUrl = new URL(args[i]);
+
+                    SyndFeedInput input = new SyndFeedInput();
+                    SyndFeedI inFeed = input.build(inputUrl.openStream());
+
+                    entries.addAll(inFeed.getEntries());
+
+                }
+
+                SyndFeedOutput output = new SyndFeedOutput();
+                output.output(feed,System.out);
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedAggregator aggregates different feeds into a single one.");
+            System.out.println("The first parameter must be the feed type for the aggregated feed.");
+            System.out.println(" [valid values are: rss_0.9, rss_0.91, rss_0.92, rss_0.93, ]");
+            System.out.println(" [                  rss_0.94, rss_1.0, rss_2.0 & atom_0.3  ]");
+            System.out.println("The second to last parameters are the URLs of feeds to aggregate.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.2Beta/RomeV0.2Tutorials/RomeV0.2TutorialUsingRomeToConvertASyndicationFeedFromOneTypeToAnother.html b/ROMEReleases/ROME0.2Beta/RomeV0.2Tutorials/RomeV0.2TutorialUsingRomeToConvertASyndicationFeedFromOneTypeToAnother.html new file mode 100644 index 0000000..e97ae12 --- /dev/null +++ b/ROMEReleases/ROME0.2Beta/RomeV0.2Tutorials/RomeV0.2TutorialUsingRomeToConvertASyndicationFeedFromOneTypeToAnother.html @@ -0,0 +1,168 @@ + + + + + + ROME - Rome v0.2 Tutorial, Using Rome to convert a syndication feed from one type to another + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.2 Tutorial, Using Rome to convert a syndication feed from one type to another

+

Software requirements: Synd J2SE 1.4+, JDOM B10 and Rome 0.2.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeedI interface. The SyndFeedI interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Rome includes parsers to process syndication feeds into SyndFeedI instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using Rome are the following 2 lines of code:

+
+
+SyndFeedInput input = new SyndFeedInput();
+SyndFeedI feed = input.build(feedUrl.openStream());
+
+

The first line creates a SyndFeedInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndFeedInput to read the syndication feed from the InputStream of a URL pointing to the feed. The SyndFeedInput.build() method returns a SyndFeedI instance that can be easily processed.

+

Rome also includes generators to create syndication feeds out of SyndFeedI instances. The SyndFeedOutput class does this generation. The SyndFeedOutput will generate a syndication feed of the feed type indicated by the SyndFeedI object being output. The following two lines of code show how to create a syndication feed output from a SyndFeedI instance:

+
+
+SyndFeedOutput output = new SyndFeedOutput();
+output.output(feed,System.out);
+
+

The first line creates a SyndFeedOutput instance that will produce syndication feeds. It can output feeds of any type (rss_0.9, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0, rss_2.0 & atom_0.3), the SyndFeedI feedType property indicates the type. The second line writes the SyndFeedI as a syndication feed into the application's output.

+

Following is the full code for a Java application that reads a syndication feed and converts it to other syndication feed type, writing the converted feed to the application's output.

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import com.sun.syndication.feed.synd.SyndFeedI;
+import com.sun.syndication.io.SyndFeedInput;
+import com.sun.syndication.io.SyndFeedOutput;
+
+/**
+ * It Converts any RSS/Atom feed type to a an RSS/Atom feed of the
+ * specified type.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedConverter {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==2) {
+            try {
+                String outputType = args[0];
+
+                URL feedUrl = new URL(args[1]);
+
+                SyndFeedInput input = new SyndFeedInput();
+                SyndFeedI feed = input.build(feedUrl.openStream());
+                feed.setFeedType(outputType);
+                SyndFeedOutput output = new SyndFeedOutput();
+                output.output(feed,System.out);
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedConverter converts between syndication feeds types.");
+            System.out.println("The first parameter must be the feed type to convert to.");
+            System.out.println(" [valid values are: rss_0.9, rss_0.91, rss_0.92, rss_0.93, ]");
+            System.out.println(" [                  rss_0.94, rss_1.0, rss_2.0 & atom_0.3  ]");
+            System.out.println("The second parameter must be the URL of the feed to convert.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.2Beta/RomeV0.2Tutorials/RomeV0.2TutorialUsingRomeToReadASyndicationFeed.html b/ROMEReleases/ROME0.2Beta/RomeV0.2Tutorials/RomeV0.2TutorialUsingRomeToReadASyndicationFeed.html new file mode 100644 index 0000000..b80b2e8 --- /dev/null +++ b/ROMEReleases/ROME0.2Beta/RomeV0.2Tutorials/RomeV0.2TutorialUsingRomeToReadASyndicationFeed.html @@ -0,0 +1,159 @@ + + + + + + ROME - Rome v0.2 Tutorial, Using Rome to read a syndication feed + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.2 Tutorial, Using Rome to read a syndication feed

+

Software requirements: J2SE 1.4+, JDOM B10 and Rome 0.2.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeedI interface. The SyndFeedI interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Rome includes parsers to process syndication feeds into SyndFeedI instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using Rome are the following 2 lines of code:

+
+
+SyndFeedInput input = new SyndFeedInput();
+SyndFeedI feed = input.build(feedUrl.openStream());
+
+

The first line creates a SyndFeedInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndFeedInput to read the syndication feed from the InputStream of a URL pointing to the feed. The SyndFeedInput.build() method returns a SyndFeedI instance that can be easily processed.

+

The default SyndFeedI implementation has a detailed and clear toString() implementation. The following line just prints it to the application's output.

+
+
+System.out.println(feed);
+
+

Following is the full code for a Java application that reads a syndication feed and prints the SyndFeedI bean to the application's output.

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import com.sun.syndication.feed.synd.SyndFeedI;
+import com.sun.syndication.io.SyndFeedInput;
+
+/**
+ * It Reads and prints any RSS/Atom feed type.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedReader {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==1) {
+            try {
+                URL feedUrl = new URL(args[0]);
+
+                SyndFeedInput input = new SyndFeedInput();
+                SyndFeedI feed = input.build(feedUrl.openStream());
+
+                System.out.println(feed);
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                ex.printStackTrace();
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedReader reads and prints any RSS/Atom feed type.");
+            System.out.println("The first parameter must be the URL of the feed to read.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.2Beta/RomeV0.2Tutorials/index.html b/ROMEReleases/ROME0.2Beta/RomeV0.2Tutorials/index.html new file mode 100644 index 0000000..8cb40ea --- /dev/null +++ b/ROMEReleases/ROME0.2Beta/RomeV0.2Tutorials/index.html @@ -0,0 +1,105 @@ + + + + + + ROME - Rome v0.2 Tutorials + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.2 Tutorials

+

The following tutorials show how to use the Rome API. They focus on the higher abstraction layer of classes offered by Rome, what we call the Synd* classes. By using the Synd* classes developers don't have to deal with the specifics of any syndication feed. They work with normalized feeds, the Synd* feeds. This makes it much easier to write applications that have to deal with all the variety of syndication feed types in use today.

+
    +
  1. Using Rome to read a syndication feed
  2. +
  3. Using Rome to convert a syndication feed from one type to another
  4. +
  5. Using Rome to aggregate many syndication feeds into a single one
+

The instructions for building and running the samples are identical to the instructions for Rome v0.1.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.2Beta/index.html b/ROMEReleases/ROME0.2Beta/index.html new file mode 100644 index 0000000..eaef92b --- /dev/null +++ b/ROMEReleases/ROME0.2Beta/index.html @@ -0,0 +1,162 @@ + + + + + + ROME - ROME 0.2 Beta + + + + + + + + + + + +
+ +
+
+
+
+

ROME 0.2 Beta

+
+

Dependencies

+
+ +
+

Aditional Information

+
+
+

Known Issues

+
    +
  • Same issues as Rome v0.1
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.2Beta/rome-0.2-src.tar.gz b/ROMEReleases/ROME0.2Beta/rome-0.2-src.tar.gz new file mode 100644 index 0000000..5dbbd00 Binary files /dev/null and b/ROMEReleases/ROME0.2Beta/rome-0.2-src.tar.gz differ diff --git a/ROMEReleases/ROME0.2Beta/rome-0.2-src.zip b/ROMEReleases/ROME0.2Beta/rome-0.2-src.zip new file mode 100644 index 0000000..6661e74 Binary files /dev/null and b/ROMEReleases/ROME0.2Beta/rome-0.2-src.zip differ diff --git a/ROMEReleases/ROME0.2Beta/rome-0.2.tar.gz b/ROMEReleases/ROME0.2Beta/rome-0.2.tar.gz new file mode 100644 index 0000000..2348982 Binary files /dev/null and b/ROMEReleases/ROME0.2Beta/rome-0.2.tar.gz differ diff --git a/ROMEReleases/ROME0.2Beta/rome-0.2.zip b/ROMEReleases/ROME0.2Beta/rome-0.2.zip new file mode 100644 index 0000000..63ca5b3 Binary files /dev/null and b/ROMEReleases/ROME0.2Beta/rome-0.2.zip differ diff --git a/ROMEReleases/ROME0.2Beta/rome-samples-0.2-src.tar.gz b/ROMEReleases/ROME0.2Beta/rome-samples-0.2-src.tar.gz new file mode 100644 index 0000000..8f87fe8 Binary files /dev/null and b/ROMEReleases/ROME0.2Beta/rome-samples-0.2-src.tar.gz differ diff --git a/ROMEReleases/ROME0.2Beta/rome-samples-0.2-src.zip b/ROMEReleases/ROME0.2Beta/rome-samples-0.2-src.zip new file mode 100644 index 0000000..4bfc8d5 Binary files /dev/null and b/ROMEReleases/ROME0.2Beta/rome-samples-0.2-src.zip differ diff --git a/ROMEReleases/ROME0.2Beta/rome-samples-0.2.tar.gz b/ROMEReleases/ROME0.2Beta/rome-samples-0.2.tar.gz new file mode 100644 index 0000000..b7f2db4 Binary files /dev/null and b/ROMEReleases/ROME0.2Beta/rome-samples-0.2.tar.gz differ diff --git a/ROMEReleases/ROME0.2Beta/rome-samples-0.2.zip b/ROMEReleases/ROME0.2Beta/rome-samples-0.2.zip new file mode 100644 index 0000000..eede48f Binary files /dev/null and b/ROMEReleases/ROME0.2Beta/rome-samples-0.2.zip differ diff --git a/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3HowToBuildAndRunTheTutorialsSampleCode.html b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3HowToBuildAndRunTheTutorialsSampleCode.html new file mode 100644 index 0000000..cb6d0a8 --- /dev/null +++ b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3HowToBuildAndRunTheTutorialsSampleCode.html @@ -0,0 +1,130 @@ + + + + + + ROME - Rome v0.3, How to build and run the tutorials sample code + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.3, How to build and run the tutorials sample code

+
+

Building the samples with Maven

+

This is, as usual, the easiest way.

+

There's only one configuration step: Maven downloads dependencies from an online repository (by default ibiblio), to a local repository (on UNIX usually in ~/.maven/repository). Because the rome distribution is not yet on ibiblio, you need to add it yourself, either to your local repository, or to your own intranet maven repository if you have such a thing in your organization.

+

If you built Rome run maven jar:install in the rome project to install Rome's jar in your Maven repository.

+

If you got Rome binary distribution copy the Rome's jar file to your Maven repository (on UNIX that would be cp rome-0.3/rome-0.3.jar   ~/.maven/repository/rome/jars/).

+

Then building the samples it's easy as a pie, just run maven jar in the rome-samples project and you are all set.

+
+

Building the samples with Ant

+

Hopefully maven is helpful in supporting poor ant users who did not make the switch yet We generated an Ant build.xml file in order for you to be able to build rome-samples with Ant. (Actually, Maven did it for us, the maven ant goal).

+

The targets present in the build.xml are very helpful, ant get-deps will download from ibiblio to rome-samples/target/lib all the jar files Rome depends on and are needed for building an application using Rome.

+

The only thing that will be left out is Rome's jar file itself: you'll need to copy it to the rome-samples/target/lib directory (For example in UNIX would be cp rome-0.3/rome-0.3.jar  rome-samples/target/lib, where rome-0.3 is the binary distribution).

+

To build rome-samples just run ant jar.

+
+

Running the samples with Maven

+

The Maven goals for running the samples are defined in maven.xml. They should all generate the same file named toto, but somehow it ends up empty. However the output is correctly sent to the console. We'll fix that glitch later.

+
    +
  • maven run-agr runs the FeedAggregator sample
  • +
  • maven run-conv runs the FeedConverter sample
  • +
  • maven run-read runs the FeedReader sample
  • +
  • maven run-write runs the FeedWriter sample
  • +
  • maven run-sampleModule runs the FeedConverter sample against a file with Sample Module data (shows off custom module plugin)
+
+

Running the samples with Ant

+

All ant targets for the samples generate the same file named toto: feel free to customize this build.xml to your own needs. Also today all these targets depends on the jar target, which represents some overhead if you have already built. Get rid of that once your project is well setup.

+
    +
  • ant run-aggr runs the FeedAggregator sample
  • +
  • ant run-conv runs the FeedConverter sample
  • +
  • ant run-read runs the FeedReader sample
  • +
  • ant run-write runs the FeedWriter sample
  • +
  • ant run-sampleModule runs the FeedConverter sample against a file with Sample Module data (shows off custom module plugin)
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialDefiningACustomModuleBeanParserAndGenerator.html b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialDefiningACustomModuleBeanParserAndGenerator.html new file mode 100644 index 0000000..704ddbc --- /dev/null +++ b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialDefiningACustomModuleBeanParserAndGenerator.html @@ -0,0 +1,349 @@ + + + + + + ROME - Rome v0.3 Tutorial, Defining a Custom Module (bean, parser and generator) + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.3 Tutorial, Defining a Custom Module (bean, parser and generator)

+

This tutorial walks through the steps of creating a custom module for syndication feeds that support additional namespaces (such as RSS 1.0, RSS 2.0 and Atom 0.3).

+

To understand this tutorial you should be familiar the with Rome API and with the use of modules in syndication feeds.

+

Out of the box Rome parsers and generators support plug-ability of modules for RSS 1.0, RSS 2.0 and Atom 0.3 at both feed and item/entry levels. Also support for the Dublin Core and Syndication modules is provided.

+

The complete source for this tutorial is in the Rome samples bundle as well as in CVS.

+
+

What is the intended outcome of the tutorial?

+

The goal is to add support for a hypothetical Sample Module by defining a module bean, module parser and module generator and the necessary configuration to wire the parser and generator to an RSS 1.0 parser and RSS 1.0 generator.

+

The sample module defines 3 elements, 'bar', 'foo' and 'date', where 'bar' and 'date' may occur at most once and the 'foo' element may occur several times. For example, a feed with the Sample Module data would look like:

+
+
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns="http://purl.org/rss/1.0/"
+         xmlns:sample="http://rome.dev.java.net/module/sample/1.0">
+    <channel>
+        <title>RSS 1.0 Feed with Sample Module</title>
+        <link>http://rome.dev.java.net</link>
+        <description>This is a feed showing how to use a custom module with Rome</description>
+        <items>
+            <rdf:Seq>
+                <rdf:li resource="item01" />
+                <rdf:li resource="item02" />
+            </rdf:Seq>
+        </items>
+        <sample:bar>Channel bar</sample:bar>
+        <sample:foo>Channel first foo</sample:foo>
+        <sample:foo>Channel second foo</sample:foo>
+    </channel>
+    <item rdf:about="item01">
+        <title>Title of Item 01</title>
+        <link>http://rome.dev.java.net/item01</link>
+        <description>Item 01 does not have Sample module data</description>
+    </item>
+    <item rdf:about="item02">
+        <title>Title of Item 02</title>
+        <link>http://rome.dev.java.net/item02</link>
+        <description>Item 02 has Sample module data</description>
+        <sample:bar>Item 02 bar</sample:bar>
+        <sample:foo>Item 02 only foo</sample:foo>
+        <sample:date>2004-07-27T00:00+00:00</sample:date>
+    </item>
+</rdf:RDF>
+
+
+

Sample Module Bean

+

First we must start with the bean interface, SampleModuleI. SampleModuleI must extend ModuleI. The ModuleI interface defines the getUri() method, which will return a URI identifying the module. The ModuleI interface also extends the Cloneable, ToString and CopyFrom interfaces to ensure that the beans provide support for basic features as cloning, equality, toString, etc. (for more details on this check the Understanding the Rome common classes and interfaces document).

+

The SampleModule's URI is defined as a constant, accessible via the getURI() instance method. This is for convenience and good practice only.

+

Then the module defines 3 properties: bar (String), foos (List) and date (Date). The elements of the foos property list must be strings (wishing for Java 5 generics already?).

+
+
+public interface SampleModuleI extends ModuleI,CopyFrom {
+
+    public static final String URI = "http://rome.dev.java.net/module/sample/1.0";
+
+    public String getBar();
+    public void setBar(String bar);
+
+    public List getFoos();
+    public void setFoos(List foos);
+
+    public Date getDate();
+    public void setDate(Date date);
+}
+
+

Next we have to write the bean implementation, SampleModule.

+

SampleModule extends Module (the implementation counterpart of ModuleI). Module extends ObjectBean which provides equals, hashCode, toString and clone support for the properties of the class given in the constructor (SampleModuleI). Also the URI of the Sample module is indicated; it will be used by the Module.getUri() method.

+
+
+public class SampleModule extends Module implements SampleModuleI {
+    ...
+    public SampleModule() {
+        super(SampleModuleI.class,SampleModuleI.URI);
+    }
+
+    public String getBar() {
+        return _bar;
+    }
+    ...
+
+

The module properties are just Java Bean properties. The only catch is to follow Rome semantics for Collection properties: in the case of a null value for the collection, an empty collection must be returned.. Also, following Rome semantics, all properties are by reference, including mutable ones.

+
+
+public class SampleModule extends Module implements SampleModuleI {
+    private String _bar;
+    private List _foos;
+    private Date _date;
+    ...
+    public void setBar(String bar) {
+        _bar = bar;
+    }
+
+    public List getFoos() {
+        return (_foos==null) ? (_foos=new ArrayList()) : _foos;
+    }
+
+    public void setFoos(List foos) {
+        _foos = foos;
+    }
+
+    public Date getDate() {
+        return _date;
+    }
+
+    public void setDate(Date date) {
+        _date = date;
+    }
+
+

Now the weird part: the bits for the CopyFrom logic. The Understanding the Rome common classes and interfaces document fully explains the CopyFrom logic in detail. In short, the CopyFrom interface is to support copying properties from one implementation of a bean (defined through an interface) to another implementation of the same bean.

+

The getInterface() method returns the bean interface of the implementation (this is necessary for collections containing sub-classes such as a list of modules).

+

The copyFrom() method copies all the properties from the parameter object (which must be a SampleModuleI implementation) into the caller bean properties. Note that the copyFrom must do a deep copy.

+
+
+public class SampleModule extends Module implements SampleModuleI {
+    ...
+    public Class getInterface() {
+        return SampleModuleI.class;
+    }
+
+    public void copyFrom(Object obj) {
+        SampleModuleI sm = (SampleModuleI) obj;
+        setBar(sm.getBar());
+        List foos = new ArrayList(sm.getFoos()); // this is enough for the copy because the list elements are inmutable (Strings)
+        setFoos(foos);
+        setDate((Date)sm.getDate().clone()); // because Date is not inmutable.
+    }
+
+}
+
+
+

Sample Module Parser

+

The sample module parser must implement the ModuleParser interface. This interface defines 2 methods, getNamespaceUri() that returns the URI of the module and parse(Element) which extracts the module elements from the given Element.

+

The feed parsers will invoke the module parser with a feed element or with an item element. The module parser must look for module elements in the children of the given element. That is was the Sample parser is doing when looking for 'bar', 'foo' and 'date' children elements in the received element.

+

In the case of the 'foo' element it looks for all occurrences as the Sample module schema allows for more than one occurrence of the 'foo' element. A SampleModule bean is created and the found values are set into it. For the 'date' element it assumes its a date value in W3C datetime format.

+

If no Sample Module elements are found in the feed, the parse(Element) method returns null. This is to avoid having an empty instance of a module -not present in the feed- in the feed bean or in the item bean.

+
+
+public class SampleModuleParser implements ModuleParser {
+
+    private static final Namespace SAMPLE_NS  = Namespace.getNamespace("sample", SampleModuleI.URI);
+
+    public String getNamespaceUri() {
+        return SampleModuleI.URI;
+    }
+
+    public ModuleI parse(Element dcRoot) {
+        boolean foundSomething = false;
+        SampleModuleI fm = new SampleModule();
+
+        Element e = dcRoot.getChild("bar", SAMPLE_NS);
+        if (e != null) {
+            foundSomething = true;
+            fm.setBar(e.getText());
+        }
+        List eList = dcRoot.getChildren("foo", SAMPLE_NS);
+        if (eList.size() > 0) {
+            foundSomething = true;
+            fm.setFoos(parseFoos(eList));
+        }
+        e = dcRoot.getChild("date", SAMPLE_NS);
+        if (e != null) {
+            foundSomething = true;
+            fm.setDate(DateParser.parseW3CDateTime(e.getText()));
+        }
+        return (foundSomething) ? fm : null;
+    }
+
+    private List parseFoos(List eList) {
+        List foos = new ArrayList();
+        for (int i = 0; i < eList.size(); i++) {
+            Element e = (Element) eList.get(i);
+            foos.add(e.getText());
+        }
+        return foos;
+    }
+
+}
+
+
+

Sample Module Generator

+

The sample module generator must implement the ModuleGenerator interface. This interface defines 2 methods, getNamespaceUri() that returns the URI of the module and generate(ModuleI,Element) which injects the module data into the given Element.

+

The feed generator will invoke the module generator with a feed element or with an item element. The module generator must inject the module properties into the given element (which is a feed or an item). This injection has to be done using the right namespace.

+

If no Sample Module bean is in the feed bean the module generator is not invoked at all.

+
+
+public class SampleModuleGenerator  implements ModuleGenerator {
+    private static final Namespace SAMPLE_NS  = Namespace.getNamespace("sample", SampleModuleI.URI);
+
+    public String getNamespaceUri() {
+        return SampleModuleI.URI;
+    }
+
+    public void generate(ModuleI module, Element element) {
+
+        // this is not necessary, it is done to avoid the namespace definition in every item.
+        Element root = element;
+        while (root.getParent()!=null && root.getParent() instanceof Element) {
+            root = (Element) element.getParent();
+        }
+        root.addNamespaceDeclaration(SAMPLE_NS);
+
+        SampleModuleI fm = (SampleModuleI)module;
+        if (fm.getBar() != null) {
+            element.addContent(generateSimpleElement("bar", fm.getBar()));
+        }
+        List foos = fm.getFoos();
+        for (int i = 0; i < foos.size(); i++) {
+            element.addContent(generateSimpleElement("foo",foos.get(i).toString()));
+        }
+        if (fm.getDate() != null) {
+            element.addContent(generateSimpleElement("date", DateParser.parseW3CDateTime(fm.getDate())));
+        }
+    }
+
+    protected Element generateSimpleElement(String name, String value)  {
+        Element element = new Element(name, SAMPLE_NS);
+        element.addContent(value);
+        return element;
+    }
+
+}
+
+
+

Configuration to make Rome process Sample Module in feeds

+

The last step is to setup the configuration file to indicate to Rome how and when to use the Sample Module parser and generator.

+

The configuration is stored in a Properties file, 'rome.properties', that has to be in the root of the classpath or JAR where the Sample Module bean, parser and generator classes are.

+

You must indicate the syndication feed formats (ie RSS 1.0) that must be aware of the Sample Module. You must indicate if the Sample Module is available for feed or item elements, or for both. You must indicate both the parser and the generator classes.

+

Following is the 'rome.properties' file for the Sample Module, it's defined for RSS 1.0 only, for both feed and item elements.

+
+
+# Parsers for RSS 1.0 feed modules
+#
+rss_1.0.feed.ModuleParser.classes=com.sun.syndication.samples.module.SampleModuleParser
+
+# Parsers for RSS 1.0 item modules
+#
+rss_1.0.item.ModuleParser.classes=com.sun.syndication.samples.module.SampleModuleParser
+
+# Generators for RSS 1.0 feed modules
+#
+rss_1.0.feed.ModuleGenerator.classes=com.sun.syndication.samples.module.SampleModuleGenerator
+
+# Generators for RSS_1.0 entry modules
+#
+rss_1.0.item.ModuleGenerator.classes=com.sun.syndication.samples.module.SampleModuleGenerator
+
+

If you are defining more than one module, indicate the parser and generator implementation classes separated by commas or spaces.

+
+

Using the Sample Module from the SyndFeedI beans

+

They will be there, just use them. You may get the SampleModuleI bean using the getModule(String Uri) method of the SyndFeedI bean and the SyndEntryI bean.

+

Adding or replacing a syndication feed parser, generator or converter is along the same lines of what it has been explained in the tutorial for modules. Eventually we'll have a doc on that too

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialUsingRomeToAggregateManySyndicationFeedsIntoASingleOne.html b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialUsingRomeToAggregateManySyndicationFeedsIntoASingleOne.html new file mode 100644 index 0000000..e73d8bc --- /dev/null +++ b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialUsingRomeToAggregateManySyndicationFeedsIntoASingleOne.html @@ -0,0 +1,203 @@ + + + + + + ROME - Rome v0.3 Tutorial, Using Rome to aggregate many syndication feeds into a single one + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.3 Tutorial, Using Rome to aggregate many syndication feeds into a single one

+

Software requirements: J2SE 1.4+, JDOM B10 and Rome 0.3.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeedI interface. The SyndFeedI interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Rome includes parsers to process syndication feeds into SyndFeedI instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using Rome are the following 2 lines of code:

+
+
+SyndFeedInput input = new SyndFeedInput();
+SyndFeedI feed = input.build(new InputStreamReader(feedUrl.openStream()));
+
+

Obtaining the char based input stream has been simplified in this tutorial, the sample code in the distribution is a little more complex to handle charset encodings properly.

+

The first line creates a SyndFeedInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndFeedInput to read the syndication feed from the InputStream of a URL pointing to the feed. The SyndFeedInput.build() method returns a SyndFeedI instance that can be easily processed.

+

Rome also includes generators to create syndication feeds out of SyndFeedI instances. The SyndFeedOutput class does this generation. The SyndFeedOutput will generate a syndication feed of the feed type indicated by the SyndFeedI object being output. The following two lines of code show how to create a syndication feed output from a SyndFeedI instance:

+
+
+SyndFeedOutput output = new SyndFeedOutput();
+output.output(feed,new PrintWriter(System.out));
+
+

The first line creates a SyndFeedOutput instance that will produce syndication feeds. It can output feeds of any type (rss_0.9, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0, rss_2.0 & atom_0.3), the SyndFeedI feedType property indicates the type. The second line writes the SyndFeedI as a syndication feed into the application's output.

+

SyndFeedI can also be created and populated within the code. For example:

+
+
+SyndFeedI aggrFeed = new SyndFeed();
+aggrFeed.setFeedType("rss_1.0");
+aggrFeed.setTitle("Aggregated Feed");
+aggrFeed.setDescription("Anonymous Aggregated Feed");
+aggrFeed.setAuthor("anonymous");
+aggrFeed.setLink("http://www.anonymous.com");
+
+

The snipped of code above creates a SyndFeedI instance using the default implementation provided by Rome, sets the feed type to RSS 1.0, sets the title, description, author and link properties of the feed.

+

SyndFeedI properties can be modified, assigned to other SyndFeedI instances, removed, etc. It's important to remember that the getters/setters semantics defined for all SyndFeedI properties (and properties of its properties) is a copy by reference, not by value. In other words if you alter the property of a SyndFeedI property you are altering the SyndFeedI. Or, another example, if you assign the list of entries of one SyndFeedI instance to another SyndFeedI isntance and then you modify the list or any of the entries in the list, you are modifying the entries of both SyndFeedI instances.

+

The following lines of code show how to copy the entries of a SyndFeedI instance being read (inFeed) into a SyndFeedI instance being created within the application (feed):

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import java.io.InputStreamReader;
+import java.io.PrintWriter;
+import java.util.List;
+import java.util.ArrayList;
+
+import com.sun.syndication.feed.synd.SyndFeedI;
+import com.sun.syndication.feed.synd.SyndFeed;
+import com.sun.syndication.io.SyndFeedOutput;
+import com.sun.syndication.io.SyndFeedInput;
+
+/**
+ * It aggregates a list of RSS/Atom feeds (they can be of different types)
+ * into a single feed of the specified type.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedAggregator {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length>=2) {
+            try {
+                String outputType = args[0];
+
+                SyndFeedI feed = new SyndFeed();
+                feed.setFeedType(outputType);
+
+                feed.setTitle("Aggregated Feed");
+                feed.setDescription("Anonymous Aggregated Feed");
+                feed.setAuthor("anonymous");
+                feed.setLink("http://www.anonymous.com");
+
+                List entries = new ArrayList();
+                feed.setEntries(entries);
+
+                for (int i=1;i<args.length;i++) {
+                    URL inputUrl = new URL(args[i]);
+
+                    SyndFeedInput input = new SyndFeedInput();
+                    SyndFeedI inFeed = input.build(new InputStreamReader(inputUrl.openStream()));
+
+                    entries.addAll(inFeed.getEntries());
+
+                }
+
+                SyndFeedOutput output = new SyndFeedOutput();
+                output.output(feed,new PrintWriter(System.out));
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedAggregator aggregates different feeds into a single one.");
+            System.out.println("The first parameter must be the feed type for the aggregated feed.");
+            System.out.println(" [valid values are: rss_0.9, rss_0.91, rss_0.92, rss_0.93, ]");
+            System.out.println(" [                  rss_0.94, rss_1.0, rss_2.0 & atom_0.3  ]");
+            System.out.println("The second to last parameters are the URLs of feeds to aggregate.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialUsingRomeToConvertASyndicationFeedFromOneTypeToAnother.html b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialUsingRomeToConvertASyndicationFeedFromOneTypeToAnother.html new file mode 100644 index 0000000..1e8a8a5 --- /dev/null +++ b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialUsingRomeToConvertASyndicationFeedFromOneTypeToAnother.html @@ -0,0 +1,170 @@ + + + + + + ROME - Rome v0.3 Tutorial, Using Rome to convert a syndication feed from one type to another + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.3 Tutorial, Using Rome to convert a syndication feed from one type to another

+

Software requirements: Synd J2SE 1.4+, JDOM B10 and Rome 0.3.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeedI interface. The SyndFeedI interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Rome includes parsers to process syndication feeds into SyndFeedI instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using Rome are the following 2 lines of code:

+
+
+SyndFeedInput input = new SyndFeedInput();
+SyndFeedI feed = input.build(new InputStreamReader(feedUrl.openStream()));
+
+

Obtaining the char based input stream has been simplified in this tutorial, the sample code in the distribution is a little more complex to handle charset encodings properly.

+

The first line creates a SyndFeedInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndFeedInput to read the syndication feed from the InputStream of a URL pointing to the feed. The SyndFeedInput.build() method returns a SyndFeedI instance that can be easily processed.

+

Rome also includes generators to create syndication feeds out of SyndFeedI instances. The SyndFeedOutput class does this generation. The SyndFeedOutput will generate a syndication feed of the feed type indicated by the SyndFeedI object being output. The following two lines of code show how to create a syndication feed output from a SyndFeedI instance:

+
+
SyndFeedOutput output = new SyndFeedOutput();
+output.output(feed,new PrintWriter(System.out));
+
+

The first line creates a SyndFeedOutput instance that will produce syndication feeds. It can output feeds of any type (rss_0.9, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0, rss_2.0 & atom_0.3), the SyndFeedI feedType property indicates the type. The second line writes the SyndFeedI as a syndication feed into the application's output.

+

Following is the full code for a Java application that reads a syndication feed and converts it to other syndication feed type, writing the converted feed to the application's output.

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import java.io.InputStreamReader;
+import java.io.PrintWriter;
+import com.sun.syndication.feed.synd.SyndFeedI;
+import com.sun.syndication.io.SyndFeedInput;
+import com.sun.syndication.io.SyndFeedOutput;
+
+/**
+ * It Converts any RSS/Atom feed type to a an RSS/Atom feed of the
+ * specified type.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedConverter {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==2) {
+            try {
+                String outputType = args[0];
+
+                URL feedUrl = new URL(args[1]);
+
+                SyndFeedInput input = new SyndFeedInput();
+                SyndFeedI feed = input.build(new InputStreamReader(feedUrl.openStream()));
+                feed.setFeedType(outputType);
+                SyndFeedOutput output = new SyndFeedOutput();
+                output.output(feed,new PrintWriter(System.out));
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedConverter converts between syndication feeds types.");
+            System.out.println("The first parameter must be the feed type to convert to.");
+            System.out.println(" [valid values are: rss_0.9, rss_0.91, rss_0.92, rss_0.93, ]");
+            System.out.println(" [                  rss_0.94, rss_1.0, rss_2.0 & atom_0.3  ]");
+            System.out.println("The second parameter must be the URL of the feed to convert.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialUsingRomeToCreateAndWriteASyndicationFeed.html b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialUsingRomeToCreateAndWriteASyndicationFeed.html new file mode 100644 index 0000000..22412d6 --- /dev/null +++ b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialUsingRomeToCreateAndWriteASyndicationFeed.html @@ -0,0 +1,258 @@ + + + + + + ROME - Rome v0.3 Tutorial, Using Rome to create and write a syndication feed + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.3 Tutorial, Using Rome to create and write a syndication feed

+

Software requirements: J2SE 1.4+, JDOM B10 and Rome 0.3.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeedI interface. The SyndFeedI interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Creating a feed with SyndFeedI beans consists of creating beans and setting their properties. The following code fragments show how a SyndFeedI bean with 3 entries is created.

+

First the SyndFeedI instance is created, the preferred syndication format is set and the feed header info (title, link, description) is also set.

+
+
+SyndFeedI feed = new SyndFeed();
+feed.setFeedType(feedType);
+
+feed.setTitle("Sample Feed (created with Rome)");
+feed.setLink("http://rome.dev.java.net");
+feed.setDescription("This feed has been created using Rome (Java syndication utilities");
+
+

Then a list for entries is created, entries are created and added to the list. Each entry is set with a title, link, published date and a description. The description for the first entry is plain test, for the third entry is HTML. After each entry is created is added to the list.

+
+
+List entries = new ArrayList();
+SyndEntryI entry;
+SyndContentI description;
+
+entry = new SyndEntry();
+entry.setTitle("Rome v1.0");
+entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome01");
+entry.setPublishedDate(DATE_PARSER.parse("2004-06-08"));
+description = new SyndContent();
+description.setType("text/plain");
+description.setValue("Initial release of Rome");
+entry.setDescription(description);
+entries.add(entry);
+...
+entry = new SyndEntry();
+entry.setTitle("Rome v3.0");
+entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome03");
+entry.setPublishedDate(DATE_PARSER.parse("2004-07-27"));
+description = new SyndContent();
+description.setType("text/html");
+description.setValue("<p>More Bug fixes, mor API changes, some new features and some Unit testing</p>"+
+                     "<p>For details check the <a href=\"http://wiki.java.net/bin/view/Javawsxml/RomeChangesLog#RomeV03\">Changes Log</a></p>");
+entry.setDescription(description);
+entries.add(entry);
+
+

Finally the list with entries is added to the SyndFeedI bean.

+
+
+feed.setEntries(entries);
+
+

The SyndFeedI bean is now ready to be written out to a syndication feed XML document. Note that any of supported syndication formats can be set in the feedType property.

+

Rome includes generators that allow producing syndication feed XML documents from SyndFeedI instances. The SyndFeedOutput class handles the generation of the syndication feed XML documents on any of the supported feed formats (RSS and Atom). The developer does not need to worry about selecting the right generator for a syndication feed, the SyndFeedOutput will take care of it by looking at the information in the SyndFeedI bean. All it takes to write a syndication feed XML document using Rome -assuming you have a SyndFeedI bean and a Writer instance- are the following lines of code:

+
+
+SyndFeedI feed = ...;
+Writer writer = ...;
+
+SyndFeedOutput output = new SyndFeedOutput();
+output.output(feed,writer);
+
+

First a SyndFeedOutput instance is created, this instance will work with any syndication feed type (RSS and Atom versions). Then the feed and the writer are given to the SyndFeedOutput instance, the SyndFeedOutput will write the syndication feed XML document represented by the SyndFeedI bean to the Writer stream.

+

Following is the full code for a Java application that creates a syndication feed and writes it to a file in the specified syndication format.

+
+
+package com.sun.syndication.samples;
+
+import com.sun.syndication.feed.synd.*;
+import com.sun.syndication.io.SyndFeedOutput;
+
+import java.io.FileWriter;
+import java.io.Writer;
+import java.text.DateFormat;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * It creates a feed and writes it to a file.
+ * <p>
+ *
+ */
+public class FeedWriter {
+
+    private static final DateFormat DATE_PARSER = new SimpleDateFormat("yyyy-MM-dd");
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==2) {
+            try {
+                String feedType = args[0];
+                String fileName = args[1];
+
+                SyndFeedI feed = new SyndFeed();
+                feed.setFeedType(feedType);
+
+                feed.setTitle("Sample Feed (created with Rome)");
+                feed.setLink("http://rome.dev.java.net");
+                feed.setDescription("This feed has been created using Rome (Java syndication utilities");
+
+                List entries = new ArrayList();
+                SyndEntryI entry;
+                SyndContentI description;
+
+                entry = new SyndEntry();
+                entry.setTitle("Rome v1.0");
+                entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome01");
+                entry.setPublishedDate(DATE_PARSER.parse("2004-06-08"));
+                description = new SyndContent();
+                description.setType("text/plain");
+                description.setValue("Initial release of Rome");
+                entry.setDescription(description);
+                entries.add(entry);
+
+                entry = new SyndEntry();
+                entry.setTitle("Rome v2.0");
+                entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome02");
+                entry.setPublishedDate(DATE_PARSER.parse("2004-06-16"));
+                description = new SyndContent();
+                description.setType("text/plain");
+                description.setValue("Bug fixes, minor API changes and some new features");
+                entry.setDescription(description);
+                entries.add(entry);
+
+                entry = new SyndEntry();
+                entry.setTitle("Rome v3.0");
+                entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome03");
+                entry.setPublishedDate(DATE_PARSER.parse("2004-07-27"));
+                description = new SyndContent();
+                description.setType("text/html");
+                description.setValue("<p>More Bug fixes, mor API changes, some new features and some Unit testing</p>"+
+                                     "<p>For details check the <a href=\"http://wiki.java.net/bin/view/Javawsxml/RomeChangesLog#RomeV03\">Changes Log</a></p>");
+                entry.setDescription(description);
+                entries.add(entry);
+
+                feed.setEntries(entries);
+
+                Writer writer = new FileWriter(fileName);
+                SyndFeedOutput output = new SyndFeedOutput();
+                output.output(feed,writer);
+                writer.close();
+
+                System.out.println("The feed has been written to the file ["+fileName+"]");
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                ex.printStackTrace();
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedWriter creates a RSS/Atom feed and writes it to a file.");
+            System.out.println("The first parameter must be the syndication format for the feed");
+            System.out.println("  (rss_0.90, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0 rss_2.0 or atom_0.3)");
+            System.out.println("The second parameter must be the file name for the feed");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialUsingRomeToReadASyndicationFeed.html b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialUsingRomeToReadASyndicationFeed.html new file mode 100644 index 0000000..dad457e --- /dev/null +++ b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/RomeV0.3TutorialUsingRomeToReadASyndicationFeed.html @@ -0,0 +1,161 @@ + + + + + + ROME - Rome v0.3 Tutorial, Using Rome to read a syndication feed + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.3 Tutorial, Using Rome to read a syndication feed

+

Software requirements: J2SE 1.4+, JDOM B10 and Rome 0.3.

+

Rome represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeedI interface. The SyndFeedI interfaces and its properties follow the Java Bean patterns. The default implementations provided with Rome are all lightweight classes.

+

Rome includes parsers to process syndication feeds into SyndFeedI instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using Rome are the following 2 lines of code:

+
+
+SyndFeedInput input = new SyndFeedInput();
+SyndFeedI feed = input.build(new InputStreamReader(feedUrl.openStream()));
+
+

The first line creates a SyndFeedInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndFeedInput to read the syndication feed from the char based input stream of a URL pointing to the feed. The SyndFeedInput.build() method returns a SyndFeedI instance that can be easily processed.

+

Obtaining the char based input stream has been simplified in this tutorial, the sample code in the distribution is a little more complex to handle charset encodings properly.

+

The default SyndFeedI implementation has a detailed and clear toString() implementation. The following line just prints it to the application's output.

+
+
+System.out.println(feed);
+
+

Following is the full code for a Java application that reads a syndication feed and prints the SyndFeedI bean to the application's output.

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import java.io.InputStreamReader;
+import com.sun.syndication.feed.synd.SyndFeedI;
+import com.sun.syndication.io.SyndFeedInput;
+
+/**
+ * It Reads and prints any RSS/Atom feed type.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedReader {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==1) {
+            try {
+                URL feedUrl = new URL(args[0]);
+
+                SyndFeedInput input = new SyndFeedInput();
+                SyndFeedI feed = input.build(new InputStreamReader(feedUrl.openStream()));
+
+                System.out.println(feed);
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                ex.printStackTrace();
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedReader reads and prints any RSS/Atom feed type.");
+            System.out.println("The first parameter must be the URL of the feed to read.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/index.html b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/index.html new file mode 100644 index 0000000..a1ab7b1 --- /dev/null +++ b/ROMEReleases/ROME0.3Beta/RomeV0.3Tutorials/index.html @@ -0,0 +1,107 @@ + + + + + + ROME - Rome v0.3 Tutorials + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.3 Tutorials

+

The following tutorials show how to use the Rome API. They focus on the higher abstraction layer of classes offered by Rome, what we call the Synd* classes. By using the Synd* classes developers don't have to deal with the specifics of any syndication feed. They work with normalized feeds, the Synd* feeds. This makes it much easier to write applications that have to deal with all the variety of syndication feed types in use today.

+
    +
  1. Using Rome to read a syndication feed
  2. +
  3. Using Rome to convert a syndication feed from one type to another
  4. +
  5. Using Rome to aggregate many syndication feeds into a single one
  6. +
  7. Using Rome to create and write a feed (New)
  8. +
  9. Defining a Custom Module bean, parser and generator (New)
+

For instructions on how to build and run the samples used in the tutorials click here.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.3Beta/index.html b/ROMEReleases/ROME0.3Beta/index.html new file mode 100644 index 0000000..aa728a3 --- /dev/null +++ b/ROMEReleases/ROME0.3Beta/index.html @@ -0,0 +1,162 @@ + + + + + + ROME - ROME 0.3 Beta + + + + + + + + + + + +
+ +
+
+
+
+

ROME 0.3 Beta

+
+

Dependencies

+
+ +
+

Additional Information

+
+
+

Known Issues

+
    +
  • Same issues as Rome v0.1
  • +
  • When processing XML documents with DTD (ie: Netscape RSS 0.91) if the XML parser implementation is not Xerces and the system does not have access ot the internet, the XML parser will fail.
  • +
  • If the feed starts with a BOM the JAXP SAX parser may fail, using Xerces 2.6.2 addresses the problem.
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.3Beta/rome-0.3-src.tar.gz b/ROMEReleases/ROME0.3Beta/rome-0.3-src.tar.gz new file mode 100644 index 0000000..ea48feb Binary files /dev/null and b/ROMEReleases/ROME0.3Beta/rome-0.3-src.tar.gz differ diff --git a/ROMEReleases/ROME0.3Beta/rome-0.3-src.zip b/ROMEReleases/ROME0.3Beta/rome-0.3-src.zip new file mode 100644 index 0000000..0ace930 Binary files /dev/null and b/ROMEReleases/ROME0.3Beta/rome-0.3-src.zip differ diff --git a/ROMEReleases/ROME0.3Beta/rome-0.3.tar.gz b/ROMEReleases/ROME0.3Beta/rome-0.3.tar.gz new file mode 100644 index 0000000..0d47709 Binary files /dev/null and b/ROMEReleases/ROME0.3Beta/rome-0.3.tar.gz differ diff --git a/ROMEReleases/ROME0.3Beta/rome-0.3.zip b/ROMEReleases/ROME0.3Beta/rome-0.3.zip new file mode 100644 index 0000000..551c465 Binary files /dev/null and b/ROMEReleases/ROME0.3Beta/rome-0.3.zip differ diff --git a/ROMEReleases/ROME0.3Beta/rome-samples-0.3-src.tar.gz b/ROMEReleases/ROME0.3Beta/rome-samples-0.3-src.tar.gz new file mode 100644 index 0000000..744efc1 Binary files /dev/null and b/ROMEReleases/ROME0.3Beta/rome-samples-0.3-src.tar.gz differ diff --git a/ROMEReleases/ROME0.3Beta/rome-samples-0.3-src.zip b/ROMEReleases/ROME0.3Beta/rome-samples-0.3-src.zip new file mode 100644 index 0000000..54848c7 Binary files /dev/null and b/ROMEReleases/ROME0.3Beta/rome-samples-0.3-src.zip differ diff --git a/ROMEReleases/ROME0.4Beta/RomeV0.4Tutorials/RomeV0.4HowToBuildAndRunTheTutorialsSampleCode.html b/ROMEReleases/ROME0.4Beta/RomeV0.4Tutorials/RomeV0.4HowToBuildAndRunTheTutorialsSampleCode.html new file mode 100644 index 0000000..30a258f --- /dev/null +++ b/ROMEReleases/ROME0.4Beta/RomeV0.4Tutorials/RomeV0.4HowToBuildAndRunTheTutorialsSampleCode.html @@ -0,0 +1,131 @@ + + + + + + ROME - Rome v0.4, How to build and run the tutorials sample code + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.4, How to build and run the tutorials sample code

+
+

Building the samples with Maven

+

This is, as usual, the easiest way.

+

There's only one configuration step: Maven downloads dependencies from an online repository (by default ibiblio), to a local repository (on UNIX usually in ~/.maven/repository). Because the rome distribution is not yet on ibiblio, you need to add it yourself, either to your local repository, or to your own intranet maven repository if you have such a thing in your organization.

+

If you built Rome run maven jar:install in the rome project to install Rome's jar in your Maven repository.

+

If you got Rome binary distribution copy the Rome's jar file to your Maven repository (on UNIX that would be cp rome-0.4/rome-0.4.jar   ~/.maven/repository/rome/jars/).

+

Then building the samples it's easy as a pie, just run maven jar in the samples sub-project and you are all set.

+

To build the sample Web Application, just run maven war in the samples sub-project. The WAR file, rome-samples.war, will be created under the target directory.

+
+

Building the samples with Ant

+

The targets present in the build.xml are very helpful, ant get-deps will download from ibiblio to rome-samples/target/lib all the jar files Rome depends on and are needed for building an application using Rome.

+

In order to build the samples (or any subprojects), you'll need to first ensure that rome itself is built. You can do this simply by running ant in the project root directory.

+

Once this is done, change to the samples directory, and just run ant. This will produce two files, rome-samples.jar which contains the sample applications, and rome-samples.war which will contain a deployable web application war file for the FeedServlet sample.

+
+

Running the samples with Maven

+

The Maven goals for running the samples are defined in maven.xml. They should all generate the same file named toto, but somehow it ends up empty. However the output is correctly sent to the console. We'll fix that glitch later.

+
    +
  • maven run-agr runs the FeedAggregator sample
  • +
  • maven run-conv runs the FeedConverter sample
  • +
  • maven run-read runs the FeedReader sample
  • +
  • maven run-write runs the FeedWriter sample
  • +
  • maven run-sampleModule runs the FeedConverter sample against a file with Sample Module data (shows off custom module plugin)
+

To run the sample Web Application you'll need to deploy the WAR file into your servlet container. If you are using Tomcat 4 or Tomcat 5 and the WAR file was dropped in the ${TOMCAT}/webapps directory the URL for the FeedServlet would be http://localhost:8080/rome-samples/feed in a default localhost Tomcat installation.

+
+

Running the samples with Ant

+

All ant targets for the samples generate the same file named toto: feel free to customize this build.xml to your own needs. Also today all these targets depends on the jar target, which represents some overhead if you have already built. Get rid of that once your project is well setup.

+
    +
  • ant run-aggr runs the FeedAggregator sample
  • +
  • ant run-conv runs the FeedConverter sample
  • +
  • ant run-read runs the FeedReader sample
  • +
  • ant run-write runs the FeedWriter sample
  • +
  • ant run-sampleModule runs the FeedConverter sample against a file with Sample Module data (shows off custom module plugin)
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.4Beta/RomeV0.4Tutorials/RomeV0.4TutorialUsingRomeWithinAServletToCreateAndReturnAFeed.html b/ROMEReleases/ROME0.4Beta/RomeV0.4Tutorials/RomeV0.4TutorialUsingRomeWithinAServletToCreateAndReturnAFeed.html new file mode 100644 index 0000000..a107bc8 --- /dev/null +++ b/ROMEReleases/ROME0.4Beta/RomeV0.4Tutorials/RomeV0.4TutorialUsingRomeWithinAServletToCreateAndReturnAFeed.html @@ -0,0 +1,302 @@ + + + + + + ROME - Rome v0.4 Tutorial, Using Rome within a Servlet to create and return a feed + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.4 Tutorial, Using Rome within a Servlet to create and return a feed

+

Software requirements: J2SE 1.4+, Servlet Container 2.3+, JDOM 1.0 and Rome 0.4.

+

This sample consists of a servlet that serves a feed as response. The feed type (RSS in any of its variants or Atom) can be specified as a URL parameter when requesting the feed. The returned feed is hardwired in the sample and it would be straight forward to modify the sample to generate the feed dynamically (i.e. from data stored in a database).

+

The core logic of the FeedServlet is in the following fragment of code:

+
+
+public class FeedServlet extends HttpServlet {
+    ...
+
+    public void doGet(HttpServletRequest req,HttpServletResponse res) throws IOException {
+            ...
+            SyndFeed feed = getFeed(req);
+
+            String feedType = req.getParameter(FEED_TYPE);
+            feedType = (feedType!=null) ? feedType : _defaultFeedType;
+            feed.setFeedType(feedType);
+
+            res.setContentType(MIME_TYPE);
+            SyndFeedOutput output = new SyndFeedOutput();
+            output.output(feed,res.getWriter());
+            ...
+    }
+
+    protected SyndFeed getFeed(HttpServletRequest req) throws IOException,FeedException {
+        SyndFeed feed = new SyndFeedImpl();
+        feed = ...
+        return feed;
+    }
+
+}
+
+

The servlet returns a feed upon HTTP GET requests with the doGet() method.

+

First the SyndFeed bean is obtained by invoking the getFeed() method, the request object is passed as it could be used to obtain request contextual information to create the feed. How to create a feed using SyndFeed bean is explained in detail in the Using Rome to create and write a feed Tutorial.

+

Then the feed type of the response is determined, first looking at the request parameters and falling back to a default feed type (specified by a servlet init parameter) if the type is not indicated in the request parameters. Setting the feed type in the feed bean will indicate the SyndFeedOutput the feed type to output.

+

Finally, the response is set with the proper content type (the MIME_TYPE constant is 'application/xml; charset=UTF-8') and the feed is written to response writer using the SyndFeedOutput output classes.

+

Following is the full code for the servlet.

+
+
+package com.sun.syndication.samples.servlet;
+
+import com.sun.syndication.feed.synd.*;
+import com.sun.syndication.io.FeedException;
+import com.sun.syndication.io.SyndFeedOutput;
+
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
+import java.text.DateFormat;
+import java.text.ParseException;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Sample Servlet that serves a feed created with Rome.
+ * <p>
+ * The feed type is determined by the 'type' request parameter, if the parameter is missing it defaults
+ * to the 'default.feed.type' servlet init parameter, if the init parameter is missing it defaults to 'atom_0.3'
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedServlet extends HttpServlet {
+    private static final String DEFAULT_FEED_TYPE = "default.feed.type";
+    private static final String FEED_TYPE = "type";
+    private static final String MIME_TYPE = "application/xml; charset=UTF-8";
+    private static final String COULD_NOT_GENERATE_FEED_ERROR = "Could not generate feed";
+
+    private static final DateFormat DATE_PARSER = new SimpleDateFormat("yyyy-MM-dd");
+
+    private String _defaultFeedType;
+
+    public void init() {
+        _defaultFeedType = getServletConfig().getInitParameter(DEFAULT_FEED_TYPE);
+        _defaultFeedType = (_defaultFeedType!=null) ? _defaultFeedType : "atom_0.3";
+    }
+
+    public void doGet(HttpServletRequest req,HttpServletResponse res) throws IOException {
+        try {
+            SyndFeed feed = getFeed(req);
+
+            String feedType = req.getParameter(FEED_TYPE);
+            feedType = (feedType!=null) ? feedType : _defaultFeedType;
+            feed.setFeedType(feedType);
+
+            res.setContentType(MIME_TYPE);
+            SyndFeedOutput output = new SyndFeedOutput();
+            output.output(feed,res.getWriter());
+        }
+        catch (FeedException ex) {
+            String msg = COULD_NOT_GENERATE_FEED_ERROR;
+            log(msg,ex);
+            res.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR,msg);
+        }
+    }
+
+    protected SyndFeed getFeed(HttpServletRequest req) throws IOException,FeedException {
+        SyndFeed feed = new SyndFeedImpl();
+
+        feed.setTitle("Sample Feed (created with Rome)");
+        feed.setLink("http://rome.dev.java.net");
+        feed.setDescription("This feed has been created using Rome (Java syndication utilities");
+
+        List entries = new ArrayList();
+        SyndEntry entry;
+        SyndContent description;
+
+        entry = new SyndEntryImpl();
+        entry.setTitle("Rome v0.1");
+        entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome01");
+        try {
+            entry.setPublishedDate(DATE_PARSER.parse("2004-06-08"));
+        }
+        catch (ParseException ex) {
+            // IT CANNOT HAPPEN WITH THIS SAMPLE
+        }
+        description = new SyndContentImpl();
+        description.setType("text/plain");
+        description.setValue("Initial release of Rome");
+        entry.setDescription(description);
+        entries.add(entry);
+
+        entry = new SyndEntryImpl();
+        entry.setTitle("Rome v0.2");
+        entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome02");
+        try {
+            entry.setPublishedDate(DATE_PARSER.parse("2004-06-16"));
+        }
+        catch (ParseException ex) {
+            // IT CANNOT HAPPEN WITH THIS SAMPLE
+        }
+        description = new SyndContentImpl();
+        description.setType("text/plain");
+        description.setValue("Bug fixes, minor API changes and some new features"+
+                             "<p>For details check the <a href=\"http://wiki.java.net/bin/view/Javawsxml/RomeChangesLog#RomeV02\">Changes Log for 0.2</a></p>");
+        entry.setDescription(description);
+        entries.add(entry);
+
+        entry = new SyndEntryImpl();
+        entry.setTitle("Rome v0.3");
+        entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome03");
+        try {
+            entry.setPublishedDate(DATE_PARSER.parse("2004-07-27"));
+        }
+        catch (ParseException ex) {
+            // IT CANNOT HAPPEN WITH THIS SAMPLE
+        }
+        description = new SyndContentImpl();
+        description.setType("text/html");
+        description.setValue("<p>Bug fixes, API changes, some new features and some Unit testing</p>"+
+                             "<p>For details check the <a href=\"http://wiki.java.net/bin/view/Javawsxml/RomeChangesLog#RomeV03\">Changes Log for 0.3</a></p>");
+        entry.setDescription(description);
+        entries.add(entry);
+
+        entry = new SyndEntryImpl();
+        entry.setTitle("Rome v0.4");
+        entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome04");
+        try {
+            entry.setPublishedDate(DATE_PARSER.parse("2004-09-24"));
+        }
+        catch (ParseException ex) {
+            // IT CANNOT HAPPEN WITH THIS SAMPLE
+        }
+        description = new SyndContentImpl();
+        description.setType("text/html");
+        description.setValue("<p>Bug fixes, API changes, some new features, Unit testing completed</p>"+
+                             "<p>For details check the <a href=\"http://wiki.java.net/bin/view/Javawsxml/RomeChangesLog#RomeV04\">Changes Log for 0.4</a></p>");
+        entry.setDescription(description);
+        entries.add(entry);
+
+        feed.setEntries(entries);
+
+        return feed;
+    }
+
+}
+
+

To use the FeedServlet we need to create a Web Application. For the Web Application we need a deployment descriptor, the web.xml file:

+
+
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+    <display-name>Rome Samples</display-name>
+
+    <servlet>
+        <servlet-name>FeedServlet</servlet-name>
+        <servlet-class>com.sun.syndication.samples.servlet.FeedServlet</servlet-class>
+        <init-param>
+            <param-name>default.feed.type</param-name>
+            <param-value>rss_2.0</param-value>
+        </init-param>
+    </servlet>
+
+    <servlet-mapping>
+         <servlet-name>FeedServlet</servlet-name>
+         <url-pattern>/feed</url-pattern>
+    </servlet-mapping>
+
+</web-app>
+
+

To build the sample Web Application, just run maven war in the samples sub-project. The WAR file, rome-samples.war, will be created under the target directory. Deploy the WAR in a servlet container and the FeedServlet should be up an running. If you are using Tomcat 4 or Tomcat 5 and the WAR file was dropped in the ${TOMCAT}/webapps directory the URL for the FeedServlet would be http://localhost:8080/rome-samples/feed in a default localhost Tomcat installation.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.4Beta/RomeV0.4Tutorials/index.html b/ROMEReleases/ROME0.4Beta/RomeV0.4Tutorials/index.html new file mode 100644 index 0000000..61c575b --- /dev/null +++ b/ROMEReleases/ROME0.4Beta/RomeV0.4Tutorials/index.html @@ -0,0 +1,108 @@ + + + + + + ROME - Rome v0.4 Tutorials + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.4 Tutorials

+

The following tutorials show how to use the Rome API. They focus on the higher abstraction layer of classes offered by Rome, what we call the Synd* classes. By using the Synd* classes developers don't have to deal with the specifics of any syndication feed. They work with normalized feeds, the Synd* feeds. This makes it much easier to write applications that have to deal with all the variety of syndication feed types in use today.

+
    +
  1. Using Rome to read a syndication feed
  2. +
  3. Using Rome to convert a syndication feed from one type to another
  4. +
  5. Using Rome to aggregate many syndication feeds into a single one
  6. +
  7. Using Rome to create and write a feed
  8. +
  9. Defining a Custom Module bean, parser and generator
  10. +
  11. Using Rome within a Servlet to create and return a feed (NEW)
+

For instructions on how to build and run the samples used in the tutorials click here.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.4Beta/index.html b/ROMEReleases/ROME0.4Beta/index.html new file mode 100644 index 0000000..64b7312 --- /dev/null +++ b/ROMEReleases/ROME0.4Beta/index.html @@ -0,0 +1,179 @@ + + + + + + ROME - ROME 0.4 Beta + + + + + + + + + + + +
+ +
+
+
+
+

ROME 0.4 Beta

+
+

What is New, Highlights

+
    +
  • Changed naming convention of bean interfaces and implementations (i.e.: SyndFeedI/SyndFeed are now SyndFeed/SyndFeedImpl)
  • +
  • New XmlReader that handles charset encoding as defined by the XML 1.0 specification and RFC 3023
  • +
  • Support of RSS 0.91 Netscape and RSS 0.91 Userland as distinct feed types
  • +
  • All feed types have Modules support
  • +
  • Added checks to generators reducing the chances of generating invalid feeds
  • +
  • Comprehensive Unit testing
  • +
  • Bug fixes
  • +
  • More documentation and samples
  • +
  • Dependencies, upgraded to JDom 1.0 and removed Xerces
+
+

Dependencies

+
+ +
+

Additional Information

+
+
+

Known Issues

+

None.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.4Beta/rome-0.4-src.tar.gz b/ROMEReleases/ROME0.4Beta/rome-0.4-src.tar.gz new file mode 100644 index 0000000..dd5625f Binary files /dev/null and b/ROMEReleases/ROME0.4Beta/rome-0.4-src.tar.gz differ diff --git a/ROMEReleases/ROME0.4Beta/rome-0.4-src.zip b/ROMEReleases/ROME0.4Beta/rome-0.4-src.zip new file mode 100644 index 0000000..f01d28c Binary files /dev/null and b/ROMEReleases/ROME0.4Beta/rome-0.4-src.zip differ diff --git a/ROMEReleases/ROME0.4Beta/rome-0.4.tar.gz b/ROMEReleases/ROME0.4Beta/rome-0.4.tar.gz new file mode 100644 index 0000000..09ad718 Binary files /dev/null and b/ROMEReleases/ROME0.4Beta/rome-0.4.tar.gz differ diff --git a/ROMEReleases/ROME0.4Beta/rome-0.4.zip b/ROMEReleases/ROME0.4Beta/rome-0.4.zip new file mode 100644 index 0000000..7dc7619 Binary files /dev/null and b/ROMEReleases/ROME0.4Beta/rome-0.4.zip differ diff --git a/ROMEReleases/ROME0.4Beta/rome-samples-0.4-src.tar.gz b/ROMEReleases/ROME0.4Beta/rome-samples-0.4-src.tar.gz new file mode 100644 index 0000000..d668be1 Binary files /dev/null and b/ROMEReleases/ROME0.4Beta/rome-samples-0.4-src.tar.gz differ diff --git a/ROMEReleases/ROME0.4Beta/rome-samples-0.4-src.zip b/ROMEReleases/ROME0.4Beta/rome-samples-0.4-src.zip new file mode 100644 index 0000000..df0dd95 Binary files /dev/null and b/ROMEReleases/ROME0.4Beta/rome-samples-0.4-src.zip differ diff --git a/ROMEReleases/ROME0.5Beta/ROMET-Shirt.html b/ROMEReleases/ROME0.5Beta/ROMET-Shirt.html new file mode 100644 index 0000000..0872d8a --- /dev/null +++ b/ROMEReleases/ROME0.5Beta/ROMET-Shirt.html @@ -0,0 +1,103 @@ + + + + + + ROME - ROME T-Shirt + + + + + + + + + + + +
+ +
+
+
+
+

ROME T-Shirt

+

I made it quickly before taking a plane, and ruined my iron when trying to press it myself on a T-shirt, but it's better than nothing and a T-shirt is vital to an open source project!

+

It's at http://www.cafepress.com/chanezon.13794826

+

Else just print the design yourself and iron it on a T-shirt (advice from P@ the practical guy: don't try to iron glossy paper photo on a T-shirt

+

-- PatrickChanezon - 10 Jan 2005

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.5Beta/index.html b/ROMEReleases/ROME0.5Beta/index.html new file mode 100644 index 0000000..f52fe16 --- /dev/null +++ b/ROMEReleases/ROME0.5Beta/index.html @@ -0,0 +1,179 @@ + + + + + + ROME - ROME 0.5 Beta + + + + + + + + + + + +
+ +
+
+
+
+

ROME 0.5 Beta

+
+

What is New, Highlights

+
    +
  • Removed common package and classes from the public API
  • +
  • Removed Enum class, using constants now
  • +
  • XmlReader now has a lenient behavior for charset encoding detection
  • +
  • Bug fixes
  • +
  • ROME T-Shirt (rome)
+
+

Dependencies

+
+ +
+

Additional Information

+
+
+

Known Issues

+

None.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.5Beta/rome-0.5-src.tar.gz b/ROMEReleases/ROME0.5Beta/rome-0.5-src.tar.gz new file mode 100644 index 0000000..680e8d1 Binary files /dev/null and b/ROMEReleases/ROME0.5Beta/rome-0.5-src.tar.gz differ diff --git a/ROMEReleases/ROME0.5Beta/rome-0.5-src.zip b/ROMEReleases/ROME0.5Beta/rome-0.5-src.zip new file mode 100644 index 0000000..b7ba039 Binary files /dev/null and b/ROMEReleases/ROME0.5Beta/rome-0.5-src.zip differ diff --git a/ROMEReleases/ROME0.5Beta/rome-0.5.tar.gz b/ROMEReleases/ROME0.5Beta/rome-0.5.tar.gz new file mode 100644 index 0000000..3b991a4 Binary files /dev/null and b/ROMEReleases/ROME0.5Beta/rome-0.5.tar.gz differ diff --git a/ROMEReleases/ROME0.5Beta/rome-0.5.zip b/ROMEReleases/ROME0.5Beta/rome-0.5.zip new file mode 100644 index 0000000..bdfa738 Binary files /dev/null and b/ROMEReleases/ROME0.5Beta/rome-0.5.zip differ diff --git a/ROMEReleases/ROME0.5Beta/rome-samples-0.5-src.tar.gz b/ROMEReleases/ROME0.5Beta/rome-samples-0.5-src.tar.gz new file mode 100644 index 0000000..9d50c14 Binary files /dev/null and b/ROMEReleases/ROME0.5Beta/rome-samples-0.5-src.tar.gz differ diff --git a/ROMEReleases/ROME0.5Beta/rome-samples-0.5-src.zip b/ROMEReleases/ROME0.5Beta/rome-samples-0.5-src.zip new file mode 100644 index 0000000..dbd0fa7 Binary files /dev/null and b/ROMEReleases/ROME0.5Beta/rome-samples-0.5-src.zip differ diff --git a/ROMEReleases/ROME0.6Beta.html b/ROMEReleases/ROME0.6Beta.html new file mode 100644 index 0000000..3aab783 --- /dev/null +++ b/ROMEReleases/ROME0.6Beta.html @@ -0,0 +1,176 @@ + + + + + + ROME - ROME 0.6 Beta + + + + + + + + + + + +
+ +
+
+
+
+

ROME 0.6 Beta

+

Normally each release of ROME includes a whole new set of Wiki pages with the corresponding version number. ROME 0.6 is reusing ROME 0.5 Wiki pages as most of the changes are internal and the documentation has not changed.

+
+

What is New, Highlights

+
    +
  • Bug fixes
+
+

Dependencies

+
+ +
+

Additional Information

+
+
+

Known Issues

+

None.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.7Beta.html b/ROMEReleases/ROME0.7Beta.html new file mode 100644 index 0000000..1fa7f4e --- /dev/null +++ b/ROMEReleases/ROME0.7Beta.html @@ -0,0 +1,177 @@ + + + + + + ROME - ROME 0.7 Beta + + + + + + + + + + + +
+ +
+
+
+
+

ROME 0.7 Beta

+

Normally each release of ROME includes a whole new set of Wiki pages with the corresponding version number. ROME 0.7 is reusing ROME 0.5 Wiki pages as most of the changes are internal.

+
+

What is New, Highlights

+
    +
  • We got a cool logo
  • +
  • Bug fixes
  • +
  • Several Date and time parsing improvements including support for custom parsing masks
+
+

Dependencies

+
+ +
+

Additional Information

+
+
+

Known Issues

+

None.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.8Beta.html b/ROMEReleases/ROME0.8Beta.html new file mode 100644 index 0000000..c797d38 --- /dev/null +++ b/ROMEReleases/ROME0.8Beta.html @@ -0,0 +1,178 @@ + + + + + + ROME - ROME 0.8 Beta + + + + + + + + + + + +
+ +
+
+
+
+

ROME 0.8 Beta

+

Normally each release of ROME includes a whole new set of Wiki pages with the corresponding version number. ROME 0.8 is reusing ROME 0.7 Wiki pages as much as possible.

+
+

What is New, Highlights

+
    +
  • ROME now supports the final version of the Atom Syndication Format RFC 4287: let's Nuke all these feeds! NEW
  • +
  • Enclosure support at the Synd level, for all our podcaster friends
  • +
  • Bug fixes
  • +
  • details in the ChangeList
  • +
  • Modules galore: Content, iTunes Podcast, Slash, Google Base, Creative Commons, MediaRSS
+
+

Dependencies

+
+ +
+

Additional Information

+
+
+

Known Issues

+

None.

+

-- PatrickChanezon - 02 Feb 2006

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME0.9Beta.html b/ROMEReleases/ROME0.9Beta.html new file mode 100644 index 0000000..659337c --- /dev/null +++ b/ROMEReleases/ROME0.9Beta.html @@ -0,0 +1,181 @@ + + + + + + ROME - ROME 0.9 Beta + + + + + + + + + + + +
+ +
+
+
+
+

ROME 0.9 Beta

+

Normally each release of ROME includes a whole new set of Wiki pages with the corresponding version number. ROME 0.9 is reusing ROME 0.8 Wiki pages as much as possible.

+
+

What is New, Highlights

+
    +
  • Better support for RSS feeds that use
  • +
  • Better mapping for RSS description/content and Atom summary/content
  • +
  • Numerous bug fixes
  • +
  • Details in the ChangeList
+
+

Dependencies

+
+ +
+

Additional Information

+
+
+

Known Issues

+

None.

+

-- Main.snoopdave - 06 Dec 2006

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME1.0RC1.html b/ROMEReleases/ROME1.0RC1.html new file mode 100644 index 0000000..49dd8bd --- /dev/null +++ b/ROMEReleases/ROME1.0RC1.html @@ -0,0 +1,166 @@ + + + + + + ROME - ROME 1.0 RC1 + + + + + + + + + + + +
+ +
+
+
+
+

ROME 1.0 RC1

+
+

Rss and atOM utiliEs (ROME) v1.0 RC1 (16 Jul 2008)

+

Normally each release of ROME includes a whole new set of Wiki pages with the corresponding version number. ROME 1.0 is reusing wikis from previous versions as there are not significant changes.

+
+

What is New, Highlights

+
    +
  • Several XmlReader fixes
  • +
  • Several Atom 1.0 bean, parser and generator fixes
  • +
  • Some RSS fixes
  • +
  • Removal of unused namespaces
  • +
  • Details in the change log
+
+

Dependencies

+
+ +
+

Documentation

+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME1.0RC2.html b/ROMEReleases/ROME1.0RC2.html new file mode 100644 index 0000000..169f509 --- /dev/null +++ b/ROMEReleases/ROME1.0RC2.html @@ -0,0 +1,161 @@ + + + + + + ROME - ROME 1.0 RC2 + + + + + + + + + + + +
+ +
+
+
+
+

ROME 1.0 RC2

+
+

What is New, Highlights

+
+
+

Dependencies

+
+ +
+

Documentation

+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/ROME1.0Release.html b/ROMEReleases/ROME1.0Release.html new file mode 100644 index 0000000..02902f3 --- /dev/null +++ b/ROMEReleases/ROME1.0Release.html @@ -0,0 +1,163 @@ + + + + + + ROME - ROME 1.0 Release + + + + + + + + + + + +
+ +
+
+
+
+

ROME 1.0 Release

+

ROME 1.0 was released on March 12, 2009

+
+

What is New / Highlights

+

Normally each release of ROME includes a whole new set of Wiki pages with the corresponding version number. ROME 1.0 is reusing wikis from previous versions as there are not significant changes.

+
    +
  • ROME can now optionally preserve WireFeed (ie, Atom/RSS specific) data and make it available via the SyndFeed data model. See PreservingWireFeeds for further details
+ + +
+

Dependencies

+
+
+

Documentation

+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/index.html b/ROMEReleases/index.html new file mode 100644 index 0000000..66fb3b1 --- /dev/null +++ b/ROMEReleases/index.html @@ -0,0 +1,177 @@ + + + + + + ROME - ROME Releases + + + + + + + + + + + +
+ +
+
+
+
+

ROME Releases

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
VersionRelease Date
ROME 1.0March 12, 2009
Rome v1.0 RC2Jan 9, 2009
Rome v1.0 RC1Jul 16, 2007
Rome v0.9 BetaDec 11, 2006
Rome v0.8 BetaFeb 01, 2006
Rome v0.7 BetaSep 09, 2005
Rome v0.6 BetaApr 01, 2005
Rome v0.5 BetaJan 10, 2005
Rome v0.4 BetaSep 27, 2004
Rome v0.3 BetaJul 28, 2004
Rome v0.2 BetaJun 16, 2004
Rome v0.1 BetaJun 08, 2004
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ROMEReleases/rome-0.6-src.tar.gz b/ROMEReleases/rome-0.6-src.tar.gz new file mode 100644 index 0000000..8fda28d Binary files /dev/null and b/ROMEReleases/rome-0.6-src.tar.gz differ diff --git a/ROMEReleases/rome-0.6-src.zip b/ROMEReleases/rome-0.6-src.zip new file mode 100644 index 0000000..1c3e5e9 Binary files /dev/null and b/ROMEReleases/rome-0.6-src.zip differ diff --git a/ROMEReleases/rome-0.6.tar.gz b/ROMEReleases/rome-0.6.tar.gz new file mode 100644 index 0000000..fcbd1a7 Binary files /dev/null and b/ROMEReleases/rome-0.6.tar.gz differ diff --git a/ROMEReleases/rome-0.6.zip b/ROMEReleases/rome-0.6.zip new file mode 100644 index 0000000..d70c2d8 Binary files /dev/null and b/ROMEReleases/rome-0.6.zip differ diff --git a/ROMEReleases/rome-0.7-src.tar.gz b/ROMEReleases/rome-0.7-src.tar.gz new file mode 100644 index 0000000..07d8c7e Binary files /dev/null and b/ROMEReleases/rome-0.7-src.tar.gz differ diff --git a/ROMEReleases/rome-0.7-src.zip b/ROMEReleases/rome-0.7-src.zip new file mode 100644 index 0000000..2bbfab8 Binary files /dev/null and b/ROMEReleases/rome-0.7-src.zip differ diff --git a/ROMEReleases/rome-0.7.tar.gz b/ROMEReleases/rome-0.7.tar.gz new file mode 100644 index 0000000..188d265 Binary files /dev/null and b/ROMEReleases/rome-0.7.tar.gz differ diff --git a/ROMEReleases/rome-0.7.zip b/ROMEReleases/rome-0.7.zip new file mode 100644 index 0000000..671c2fe Binary files /dev/null and b/ROMEReleases/rome-0.7.zip differ diff --git a/ROMEReleases/rome-0.8-src.tar.gz b/ROMEReleases/rome-0.8-src.tar.gz new file mode 100644 index 0000000..5b5fa06 Binary files /dev/null and b/ROMEReleases/rome-0.8-src.tar.gz differ diff --git a/ROMEReleases/rome-0.8-src.zip b/ROMEReleases/rome-0.8-src.zip new file mode 100644 index 0000000..8627414 Binary files /dev/null and b/ROMEReleases/rome-0.8-src.zip differ diff --git a/ROMEReleases/rome-0.8.tar.gz b/ROMEReleases/rome-0.8.tar.gz new file mode 100644 index 0000000..c91081d Binary files /dev/null and b/ROMEReleases/rome-0.8.tar.gz differ diff --git a/ROMEReleases/rome-0.8.zip b/ROMEReleases/rome-0.8.zip new file mode 100644 index 0000000..e5423e2 Binary files /dev/null and b/ROMEReleases/rome-0.8.zip differ diff --git a/ROMEReleases/rome-0.9-src.tar.gz b/ROMEReleases/rome-0.9-src.tar.gz new file mode 100644 index 0000000..d57f69b Binary files /dev/null and b/ROMEReleases/rome-0.9-src.tar.gz differ diff --git a/ROMEReleases/rome-0.9-src.zip b/ROMEReleases/rome-0.9-src.zip new file mode 100644 index 0000000..aa7b808 Binary files /dev/null and b/ROMEReleases/rome-0.9-src.zip differ diff --git a/ROMEReleases/rome-0.9.tar.gz b/ROMEReleases/rome-0.9.tar.gz new file mode 100644 index 0000000..0c7ef09 Binary files /dev/null and b/ROMEReleases/rome-0.9.tar.gz differ diff --git a/ROMEReleases/rome-0.9.zip b/ROMEReleases/rome-0.9.zip new file mode 100644 index 0000000..fa14f3b Binary files /dev/null and b/ROMEReleases/rome-0.9.zip differ diff --git a/ROMEReleases/rome-1.0-javadoc.jar b/ROMEReleases/rome-1.0-javadoc.jar new file mode 100644 index 0000000..2896af1 Binary files /dev/null and b/ROMEReleases/rome-1.0-javadoc.jar differ diff --git a/ROMEReleases/rome-1.0-sources.jar b/ROMEReleases/rome-1.0-sources.jar new file mode 100644 index 0000000..bc86cde Binary files /dev/null and b/ROMEReleases/rome-1.0-sources.jar differ diff --git a/ROMEReleases/rome-1.0.jar b/ROMEReleases/rome-1.0.jar new file mode 100644 index 0000000..7138baa Binary files /dev/null and b/ROMEReleases/rome-1.0.jar differ diff --git a/ROMEReleases/rome-1.0RC1-src.tar.gz b/ROMEReleases/rome-1.0RC1-src.tar.gz new file mode 100644 index 0000000..85802ee Binary files /dev/null and b/ROMEReleases/rome-1.0RC1-src.tar.gz differ diff --git a/ROMEReleases/rome-1.0RC1-src.zip b/ROMEReleases/rome-1.0RC1-src.zip new file mode 100644 index 0000000..020590c Binary files /dev/null and b/ROMEReleases/rome-1.0RC1-src.zip differ diff --git a/ROMEReleases/rome-1.0RC1.tar.gz b/ROMEReleases/rome-1.0RC1.tar.gz new file mode 100644 index 0000000..53ae298 Binary files /dev/null and b/ROMEReleases/rome-1.0RC1.tar.gz differ diff --git a/ROMEReleases/rome-1.0RC1.zip b/ROMEReleases/rome-1.0RC1.zip new file mode 100644 index 0000000..cc67aff Binary files /dev/null and b/ROMEReleases/rome-1.0RC1.zip differ diff --git a/ROMEReleases/rome-1.0RC2-javadoc.jar b/ROMEReleases/rome-1.0RC2-javadoc.jar new file mode 100644 index 0000000..e7a12dc Binary files /dev/null and b/ROMEReleases/rome-1.0RC2-javadoc.jar differ diff --git a/ROMEReleases/rome-1.0RC2-sources.jar b/ROMEReleases/rome-1.0RC2-sources.jar new file mode 100644 index 0000000..26fbdac Binary files /dev/null and b/ROMEReleases/rome-1.0RC2-sources.jar differ diff --git a/ROMEReleases/rome-1.0RC2.jar b/ROMEReleases/rome-1.0RC2.jar new file mode 100644 index 0000000..8ea4637 Binary files /dev/null and b/ROMEReleases/rome-1.0RC2.jar differ diff --git a/ROMEReleases/rome-fetcher-1.0RC2-src.zip b/ROMEReleases/rome-fetcher-1.0RC2-src.zip new file mode 100644 index 0000000..d2ac106 Binary files /dev/null and b/ROMEReleases/rome-fetcher-1.0RC2-src.zip differ diff --git a/ROMEReleases/rome-samples-0.6-src.tar.gz b/ROMEReleases/rome-samples-0.6-src.tar.gz new file mode 100644 index 0000000..33986c7 Binary files /dev/null and b/ROMEReleases/rome-samples-0.6-src.tar.gz differ diff --git a/ROMEReleases/rome-samples-0.6-src.zip b/ROMEReleases/rome-samples-0.6-src.zip new file mode 100644 index 0000000..4d80cfc Binary files /dev/null and b/ROMEReleases/rome-samples-0.6-src.zip differ diff --git a/ROMEReleases/rome-samples-0.7-src.tar.gz b/ROMEReleases/rome-samples-0.7-src.tar.gz new file mode 100644 index 0000000..a9a4096 Binary files /dev/null and b/ROMEReleases/rome-samples-0.7-src.tar.gz differ diff --git a/ROMEReleases/rome-samples-0.7-src.zip b/ROMEReleases/rome-samples-0.7-src.zip new file mode 100644 index 0000000..992db9b Binary files /dev/null and b/ROMEReleases/rome-samples-0.7-src.zip differ diff --git a/ROMEReleases/rome-samples-0.9-src.tar.gz b/ROMEReleases/rome-samples-0.9-src.tar.gz new file mode 100644 index 0000000..e61ee2d Binary files /dev/null and b/ROMEReleases/rome-samples-0.9-src.tar.gz differ diff --git a/ROMEReleases/rome-samples-0.9-src.zip b/ROMEReleases/rome-samples-0.9-src.zip new file mode 100644 index 0000000..b61bdda Binary files /dev/null and b/ROMEReleases/rome-samples-0.9-src.zip differ diff --git a/ROMEReleases/rome-samples-0.9.tar.gz b/ROMEReleases/rome-samples-0.9.tar.gz new file mode 100644 index 0000000..b9fd206 Binary files /dev/null and b/ROMEReleases/rome-samples-0.9.tar.gz differ diff --git a/ROMEReleases/rome-samples-0.9.zip b/ROMEReleases/rome-samples-0.9.zip new file mode 100644 index 0000000..4c0c215 Binary files /dev/null and b/ROMEReleases/rome-samples-0.9.zip differ diff --git a/ROMEReleases/rome-samples-1.0RC1-src.tar.gz b/ROMEReleases/rome-samples-1.0RC1-src.tar.gz new file mode 100644 index 0000000..394e776 Binary files /dev/null and b/ROMEReleases/rome-samples-1.0RC1-src.tar.gz differ diff --git a/ROMEReleases/rome-samples-1.0RC1-src.zip b/ROMEReleases/rome-samples-1.0RC1-src.zip new file mode 100644 index 0000000..61204dc Binary files /dev/null and b/ROMEReleases/rome-samples-1.0RC1-src.zip differ diff --git a/RomeAPIFAQ.html b/RomeAPIFAQ.html new file mode 100644 index 0000000..8e0ce48 --- /dev/null +++ b/RomeAPIFAQ.html @@ -0,0 +1,153 @@ + + + + + + ROME - Rome API FAQ + + + + + + + + + + + +
+ +
+
+
+
+

Rome API FAQ

+

As we were designing and implementing Rome we had discusssions, brainstorming and code reviews on the API. We've captured them in this document.

+
+

Do SyndFeed support arbitrary Metadata?

+

Yes, using what we call Modules. Currently we support the 2 modules defined in RSS 1.0, Dublin Core and Syndication. They are wired when converting from SyndFeed beans to RSS/Atom feeds beans and vice versa. We use the RSS 1.0 terminology of Modules because RSS 1.0 is the specification that defined and used extensibility the most. RSS 2.0 and Atom use XML namespaces to extend the feed.

+

However we will develop, and encourage developers to develop Rome specific Modules to handle future RSS 2.0 and Atom extensions.

+

If additional modules are defined to express metadata the converters should be modified to handle them. And the same goes for the parsers and generators or RSS/Atom feeds.

+
+

Why those package, interfaces, classes and method names?

+

We've struggled (and still are struggling) with names. We renamed and moved things around until we got dizzy. If you have suggestions please let us know.

+
+

Where are the parser, generator and converter implementations?

+

They are in hidden (not javadoc-ed) packages within the Rome jar file. Their classes are loaded using declarations in a properties file. It is possible for developers to add or replace implementations of these components without modifying Rome source code, just by indicating an addition properties file to look for extra implementation classes.

+
+

What are the interfaces and classes in the syndication.common package for? And why most bean (or interface) extend/implement them?

+

At first we got tired of modifying the toString() methods every time we were adding/removing a property. As we were strictly following the Bean patterns we wrote a toString() method that would traverse the properties and print them. Then we went recursively. Then we refactor that into an interface and provided an adapter.

+

Later we did the same to handle equals/hashcode, which is very useful when using Maps.

+

To complete the task we did the same for cloning, providing deep cloning support.

+

The ObjectBean is a base class that implements all these features. All Rome beans extend ObjectBean getting a toString, equals, hashcode and clone support for free.

+
+

What are the property values when not set?

+

For Boolean is false. For numbers is 1. For String is null. For collections is an empty collection (even if you set it to null you get an empty collection). For all other objects is null.

+
+

Are properties copied by value or by reference when set or gotten?

+

All properties as always handled by reference (except primitive types). If they are not immutable and you modify them you are affecting the bean/s that reference them too.

+
+

What is with the interface and implementation names in the synd and module packages?

+

Interfaces have the following naming pattern: <NAME>I. Default implementations provided with Rome are named just <NAME>. For example, SyndFeedI is the interface and SyndFeed is the default implementation.

+

We decided to use <NAME> for the default implementation classes as we think they'll be the implementation of choice most of the time.

+
+

Why the beans in the synd and module packages have interface and implementation versions of them?

+

We added interfaces only for the higher abstraction layer of Rome, SyndFeed (and Modules as they are used to express extensible metadata for SyndFeed instances). The reasoning behind such decoupling was to allow facading existing classes as SyndFeed beans. For example some persistent classes. This would allow to process them through components that work with SyndFeedI.

+
+

Why the RSS and Atom beans don't have interface and implementation versions of it?

+

We thought about this, we dismissed the idea. The reasoning was that we expect to work with the SyndFeed and Module beans all the time and the convenience of using interface should be at that level only. We have RSS and Atom only because we have folks going and making up things without talking to each other. In short, we expect all our application processing to be done in a feed agnostic way in Java using SyndFeed and Module beans.

+
+

How all the escaping for the description elements is handled for the different feed types as they keep changing their mind version after version?

+

Item description MIME type, depending on the RSS version is text/plain (0.91), text/html (0.92, 0.93, 2.0) or configurable (0.94). The thing is that when you get the value out of JDOM Element it's always XML unescaped. When putting data into a JDOM Element the data is XML escaped. This is not 100% correct but it will work in most of the cases.

+

Note that type in feed beans indicate what was the escaping type of the underlying feed, but if you get the value is already unescaped.

+
+

How does Rome handle Atom content elements that support encoding (Base64, XML, plain) using the mode attribute?

+

The mode in feed in content indicates what was the encoding of the element in the feed, but when you get the value is already unencoded.

+
+

What kind of input and output Rome supports?

+

Rome implementation currently uses JDOM for parsing and generating syndication feeds. As people tend to use the XML libraries they feel more comfortable with we have built in support for SAX, DOM, JDOM, byte streams, character streams and strings.

+
+

What is the SyndFeedI.getSupportedFeedTypes() method for?

+

This method was originally a static method in the SyndFeed class. We've moved ot the SyndFeedI interface as we thought it would be useful to be able to ask a SyndFeedI instance the feed converters it handles.

+
+

Are Rome beans Serializable? Why?

+

Yes, the default bean implementations of SyndFeedI provided with Rome are Serializable.

+

However, the *I interfaces are not. We made that decision consciously and the reason behind it is closely related to the reason we introduced the *I interfaces. You may want to extend some existing classes to implement SyndFeedI, and these classes you are extending may not be Serializable and cannot be (for example, they are tied to a live InputStream).

+
+

Why all those packages?

+

TBD

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RomeV0.4FeedAndEntryURIMapping.html b/RomeV0.4FeedAndEntryURIMapping.html new file mode 100644 index 0000000..29659a9 --- /dev/null +++ b/RomeV0.4FeedAndEntryURIMapping.html @@ -0,0 +1,138 @@ + + + + + + ROME - Rome v0.4, Feed and Entry URI Mapping + + + + + + + + + + + +
+ +
+
+
+
+

Rome v0.4, Feed and Entry URI Mapping

+

Rome Synd beans define the concept of URI at both feed and entry levels. The purpose of this URI is to help uniquely identifying feeds and entries when processed with Rome. This is particularly useful when a system is persisting feeds and when doing data manipulation where a primary key for the feeds or the entries is needed.

+
+

The Problem

+

RSS 0.90, 0.91, 0.92, 0.93 and 1.0 do not define any special element for the purposes of identifying the feed or the items other than the items link element. The channel link element cannot be used to identify the feed as its semantics is to refer to the web site that has the information being published through the feed and, if web site offers more than one feed most likely both of them will have the same feed link value.

+

RSS 0.94 and RSS 2.0 define the guid element at item level. The guid element has an overloaded meaning. If the isPermalink attribute is true, the guid value can be used also as the URL for the item instead of the link element as well as a unique ID for the item. If the isPermalink attribute is false, the guid value can be used as a unique ID for the item. However, RSS 0.94 or RSS 2.0, do not define that the value of the guid element must be an URI.

+

Atom 0.3 defines an id element at feed and entry levels. The id element is defined as an URI. The Atom specification being currently designed requires the id element to contain a normalized URI as defined by RFC 2396bis.

+

The RSS0.94 and RSS 2.0 guid element and the Atom 0.3 id element are optional elements. Because of this, they may not be present at all in feeds.

+
+

Rome's Solution

+

Because the concept of a URI it is not defined in all the feed formats, Rome makes an arbitrary design decision to provide the URI functionality regardless of the original (or target) feed type. The following behavior as been chosen based on expected and assumed usage pattern of feed and entry data.

+
+

URI Normalization

+

If the uri property of a SyndFeed or SyndEntry bean is not NULL, the getter method must return a normalized URI following the rules defined in RFC2396bis.

+
+

Converting from WireFeed (RSS or Atom) to SyndFeed

+

The common use case for this scenario is when consuming a feed. Because of that, for clarity purposes, when referring to the data in the WireFeed the following sections talks about elements (as in the XML feed) instead of talking of properties.

+
+

SyndFeed

+

None of the RSS versions define an ID at channel level. In addition to this, Rome input classes (WireFeedInput and SyndFeedInput) do not have access to the URL (if any) used to fetch the feed. Because of this Rome does not set in the SyndFeed uri property , it is left to developer to set (if needed) a URI in the feed bean.

+

In the case of Atom 0.3, if the id element is present in the feed, the SyndFeed uri property will be set with the value of the id element. If it is not present, the developer must set (if needed) a URI manually.

+
+
SyndEntry
+

For RSS 0.91, RSS 0.92, RSS 0.93 & RSS 1.0 if the link element is present in the item, the SyndEntry uri property will be set with the value of the link element. Otherwise the SyndEntry uri property is left as NULL and the developer must set it (if needed).

+

For RSS 0.94 & RSS 2.0 if the guid property is present in the item, the SyndEntry uri property will be set with the value of the guid element. If the guid element is not present, the SyndEntry uri property will be set with the value of the link element. If the link element is missing but the guid is present and it is flagged as a permalink, Rome will set set the SyndEntry link property with the value of the guid element (Rome is doing this because is a common practice to generated RSS 2.0 fees with guid elements marked as permalinks and without a link element).

+

For Atom 0.3 if the id element is present, the SyndEntry uri property is set with the value of the id element. If the id element is not present, the SyndEntry uri property is set with the value of the alternate link element.

+
+

Converting from SyndFeed to WireFeed (RSS or Atom)

+

The common use case for this scenario is when generating a feed. Because of that, for clarity purposes, when referring to the data in the WireFeed the following sections talks about elements (as in the XML feed) instead of talking of properties.

+
+
SyndFeed
+

For RSS 0.91, RSS 0.92, RSS 0.93, RSS 1.0 & RSS 2.0 the SyndFeed uri property is lost as there is not possible representation in the channel element for it.

+

For Atom 0.3 set the SyndFeed uri property is set as the value for the id element.

+
+
SyndEntry
+

For RSS 0.91, RSS 0.92, RSS 0.93 & RSS 1.0 the SyndEntry uri property is lost as there is not possible representation in the item element for it.

+

For RSS 0.94 & RSS 2.0 the SyndEntry uri property is set as the value of the guid element with permalink set to false. If the SyndEntry uri property is not set, the SyndEntry link property is set as the value of the guid element with permalink set to true. Note that if the SyndFEntry linkproperty is missing the SyndEntry uri cannot be set as the value of the link element because it cannot be assumed that the uri property is an URL.

+

Because SyndEntry instances always return a normalized URI the value of the guid elements of a generated RSS 0.94 or RSS 2.0 may differ from the values of the guid elements of the original feed.

+

For Atom 0.3 the SyndEntry uri property is set as the id element.

+

Mosh...

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtiliEsROMEV0.7DateAndTimeParsing.html b/RssAndAtOMUtiliEsROMEV0.7DateAndTimeParsing.html new file mode 100644 index 0000000..894128c --- /dev/null +++ b/RssAndAtOMUtiliEsROMEV0.7DateAndTimeParsing.html @@ -0,0 +1,112 @@ + + + + + + ROME - Rss and atOM utiliEs (ROME) v0.7 Date and Time Parsing + + + + + + + + + + + +
+ +
+
+
+
+

Rss and atOM utiliEs (ROME) v0.7 Date and Time Parsing

+

Date and time elements seem to be error prone. RSS feeds use RFC822 datetime formats and Atom feeds use W3C datetime formats. Both RFC822 and W3C support quite a few flavors for specifying date and time. Some feeds use the wrong standard (such as some RSS feeds using W3C dates). Other feeds have an ENTER before or after the date. And another feeds use an arbitrary format altogether.

+

To help cope with this ROME makes a few tricks:

+
    +
  • It trims datetime elements before parsing them.
  • +
  • It tries both RFC822 and W3C formats in all feeds.
  • +
  • It uses custom format masks (if provided) when the previous steps fail.
+
+

Using Custom Format Masks

+

Custom format masks can be specified in the /rome.properties file in any of the classpath elements.

+

The masks must be specified in the datetime.extra.masks property.

+

If more than one mask is to be specified they must be separated with '|' characters.

+

The syntax for the masks is the one use by by the java.text.SimpleDateFormat class. Always US Locale is assumed for the masks.

+

If datetime masks are specified in more than one /rome.properties file in teh classpath, they are all aggregated.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/FeedAndEntryURIMappingHowSyndFeedAndSyndEntryUriPropertiesMapToRSSAndAtomElements.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/FeedAndEntryURIMappingHowSyndFeedAndSyndEntryUriPropertiesMapToRSSAndAtomElements.html new file mode 100644 index 0000000..33a68af --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/FeedAndEntryURIMappingHowSyndFeedAndSyndEntryUriPropertiesMapToRSSAndAtomElements.html @@ -0,0 +1,137 @@ + + + + + + ROME - Feed and Entry URI Mapping, how SyndFeed and SyndEntry 'uri' properties map to RSS and Atom elements + + + + + + + + + + + +
+ +
+
+
+
+

Feed and Entry URI Mapping, how SyndFeed and SyndEntry 'uri' properties map to RSS and Atom elements

+

Rss and atOM utilitiEs (ROME) Synd* beans define the concept of URI at both feed and entry levels. The purpose of this URI is to help uniquely identifying feeds and entries when processed with ROME. This is particularly useful when a system is persisting feeds and when doing data manipulation where a primary key for the feeds or the entries is needed.

+
+

The Problem

+

RSS 0.90, 0.91, 0.92, 0.93 and 1.0 do not define any special element for the purposes of identifying the feed or the items other than the items link element. The channel link element cannot be used to identify the feed as its semantics is to refer to the web site that has the information being published through the feed and, if web site offers more than one feed most likely both of them will have the same feed link value.

+

RSS 0.94 and RSS 2.0 define the guid element at item level. The guid element has an overloaded meaning. If the isPermalink attribute is true, the guid value can be used also as the URL for the item instead of the link element as well as a unique ID for the item. If the isPermalink attribute is false, the guid value can be used as a unique ID for the item. However, RSS 0.94 or RSS 2.0, do not define that the value of the guid element must be an URI.

+

Atom 0.3 defines an id element at feed and entry levels. The id element is defined as an URI. The Atom specification being currently designed requires the id element to contain a normalized URI as defined by RFC 2396bis.

+

The RSS0.94 and RSS 2.0 guid element and the Atom 0.3 id element are optional elements. Because of this, they may not be present at all in feeds.

+
+

ROME's Solution

+

Because the concept of a URI it is not defined in all the feed formats, ROME makes an arbitrary design decision to provide the URI functionality regardless of the original (or target) feed type. The following behavior as been chosen based on expected and assumed usage pattern of feed and entry data.

+
+

URI Normalization

+

If the uri property of a SyndFeed or SyndEntry bean is not NULL, the getter method must return a normalized URI following the rules defined in RFC2396bis.

+
+

Converting from WireFeed (RSS or Atom) to SyndFeed

+

The common use case for this scenario is when consuming a feed. Because of that, for clarity purposes, when referring to the data in the WireFeed the following sections talks about elements (as in the XML feed) instead of talking of properties.

+
+

SyndFeed

+

None of the RSS versions define an ID at channel level. In addition to this, ROME input classes (WireFeedInput and SyndFeedInput) do not have access to the URL (if any) used to fetch the feed. Because of this ROME does not set in the SyndFeed uri property , it is left to developer to set (if needed) a URI in the feed bean.

+

In the case of Atom 0.3, if the id element is present in the feed, the SyndFeed uri property will be set with the value of the id element. If it is not present, the developer must set (if needed) a URI manually.

+
+
SyndEntry
+

For RSS 0.91, RSS 0.92, RSS 0.93 & RSS 1.0 if the link element is present in the item, the SyndEntry uri property will be set with the value of the link element. Otherwise the SyndEntry uri property is left as NULL and the developer must set it (if needed).

+

For RSS 0.94 & RSS 2.0 if the guid property is present in the item, the SyndEntry uri property will be set with the value of the guid element. If the guid element is not present, the SyndEntry uri property will be set with the value of the link element. If the link element is missing but the guid is present and it is flagged as a permalink, ROME will set set the SyndEntry link property with the value of the guid element (ROME is doing this because is a common practice to generated RSS 2.0 fees with guid elements marked as permalinks and without a link element).

+

For Atom 0.3 if the id element is present, the SyndEntry uri property is set with the value of the id element. If the id element is not present, the SyndEntry uri property is set with the value of the lternate link element.

+
+

Converting from SyndFeed to WireFeed (RSS or Atom)

+

The common use case for this scenario is when generating a feed. Because of that, for clarity purposes, when referring to the data in the WireFeed the following sections talks about elements (as in the XML feed) instead of talking of properties.

+
+
SyndFeed
+

For RSS 0.91, RSS 0.92, RSS 0.93, RSS 1.0 & RSS 2.0 the SyndFeed uri property is lost as there is not possible representation in the channel element for it.

+

For Atom 0.3 set the SyndFeed uri property is set as the value for the id element.

+
+
SyndEntry
+

For RSS 0.91, RSS 0.92, RSS 0.93 & RSS 1.0 the SyndEntry uri property is lost as there is not possible representation in the item element for it.

+

For RSS 0.94 & RSS 2.0 the SyndEntry uri property is set as the value of the guid element with permalink set to false. If the SyndEntry uri property is not set, the SyndEntry link property is set as the value of the guid element with permalink set to true. Note that if the SyndFEntry linkproperty is missing the SyndEntry uri cannot be set as the value of the link element because it cannot be assumed that the uri property is an URL.

+

Because SyndEntry instances always return a normalized URI the value of the guid elements of a generated RSS 0.94 or RSS 2.0 may differ from the values of the guid elements of the original feed.

+

For Atom 0.3 the SyndEntry uri property is set as the id element.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/FeedsDateElementsMappingToSyndFeedAndSyndEntry.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/FeedsDateElementsMappingToSyndFeedAndSyndEntry.html new file mode 100644 index 0000000..55a18cd --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/FeedsDateElementsMappingToSyndFeedAndSyndEntry.html @@ -0,0 +1,131 @@ + + + + + + ROME - Feeds Date Elements Mapping to SyndFeed and SyndEntry + + + + + + + + + + + +
+ +
+
+
+
+

Feeds Date Elements Mapping to SyndFeed and SyndEntry

+

The different RSS versions and Atom define different date elements at feed and entry level. Some of them also define syndication information indicating when (and when not) and how often to fetch feeds for updates. There is not always a possible mapping or conversion of this information when going from one format to another.

+

As this is still subject of debate (How About a Date and Date Survey), for now, in Rss and atOM utilitiEs (ROME) we've taken a simplistic approach.

+

When handling feeds at WireFeed level, rss.Channel or atom.Feed, it is possible to access all the date elements and syndication information available in the feed.

+

When handling feeds at SyndFeed level, synd.SyndFeed, there is only one date element available, the publishedDate. Both, SyndFeed and SyndEntry have the publisheDate property. In addition, it is possible to use the Syndication Module.

+

The mapping of the date elements from the different feed formats to SyndFeed is as follows.

+
+

For RSS 0.90

+

RSS 0.90 does not define date elements.

+

There is no mapping to SyndFeed and SyndEntry date properties.

+
+

For RSS 0.91, 0.92

+

RSS 0.91 and 0.92 define pubDate and lastBuildDate at feed level.

+

The feed pubDate element is mapped to the SyndFeed publishedDate property. The lastBuildDate element is lost.

+
+

For RSS 0.93, 0.94 and 2.0

+

RSS 0.93, 0.94 and 2.0 define pubDate and lastBuildDate at feed level. They also define pubDate and expirationDate at item level.

+

The feed pubDate element is mapped to the SyndFeed publishedDate property. The lastBuildDate element is lost.

+

The item pubDate element is mapped to the SyndEntry publishedDate property. The expirationDate element is lost.

+
+

For RSS 1.0

+

RSS 1.0 use DC Module data at feed an item level to indicate date information about the feed and the items.

+

SyndFeed and SyndEntry use the DC Module date element for the publishedDate property.

+
+

For Atom 0.3

+

Atom 0.3 defines a modified element at feed level and the modified, created & issued elements at entry level.

+

The feed modified element is mapped to the SyndFeed publishedDate property.

+

The item modified element is mapped to the SyndEntry publishedDate property. The entry elements, created and issued, are lost.

+
+

For Atom 1.0

+

(Atom 1.0 supported in ROME since v0.8)

+

Atom 1.0 defines an updated element at the feed level, which ROME maps to SyndFeed.publishedDate.

+

Atom 1.0 defines updated and published elements at the entry level, which ROME maps to SyndEntry.updatedDate and SyndEntry.publishedDate respectively.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEPluginsMechanism.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEPluginsMechanism.html new file mode 100644 index 0000000..6206c0c --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEPluginsMechanism.html @@ -0,0 +1,231 @@ + + + + + + ROME - Rss and atOM utilitiEs (ROME) Plugins Mechanism + + + + + + + + + + + +
+ +
+
+
+
+

Rss and atOM utilitiEs (ROME) Plugins Mechanism

+

ROME has been designed around a plugin mechanism. All the supported feed types (RSSs and Atom) is done by plugins included in the distribution.

+

Parsing feeds, generating feeds, converting feeds from a concrete feed to a SyndFeed and vice versa, parsing modules and generating modules is done using plugins.

+

Plugins for new functionality can be added and default plugins can be easily replaced with alternate plugins.

+
+

Plugins definition files

+

Plugins are defined in a properties file, the rome.properties file.

+

The default plugins definition file is included in the ROME JAR file, com/sun/syndication/rome.properties, this is the first plugins definition file to be processed. It defines the default parsers, generators and converters for feeds and modules ROME provides.

+

After loading the default plugins definition file, ROME looks for additional plugins definition files in all the CLASSPATH entries, this time at root level, /rome.properties. And appends the plugins definitions to the existing ones. Note that if there are several /rome.properties files in the different CLASSPATH entries all of them are processed. The order of processing depends on how the ClassLoader processes the CLASSPATH entries, this is normally done in the order of appearance -of the entry- in the CLASSPATH.

+

For each type of plugin (parser, generator, converter, ect) a list of available plugins is built following the read order just described. The plugins classes are then loaded and instantiated. All plugins have some kind of primary key. In the case or parsers, generators and converters the primary key is the type of feed they handle. In the case of modules, the primary key is the module URI. If a plugin list definition (the aggregation of all the plugins of the same time from all the rome.properties) contains more than one plugin with the same primary key, the latter one is the one that will be used(this enables replacing default plugins with custom ones).

+

The plugins are read, loaded and managed by the implementation class com.sun.syndication.io.impl.PluginManager. This class is an abstract class and it is extended to provide support for each type of plugin.

+
+

Parser Plugins

+

Parser plugins are managed by the com.sun.syndication.io.impl.FeedParsers class (subclass of the PluginManager). This plugin manager looks for the WireFeedParser.classes property in all the rome.properties files. The fully qualified names of the parser classes must be separated by whitespaces or commas. For example, the default rome.properties file parser plugins definition is as follows:

+
+
+# Feed Parser implementation classes
+#
+WireFeedParser.classes=com.sun.syndication.io.impl.RSS090Parser \
+                       com.sun.syndication.io.impl.RSS091NetscapeParser \
+                       com.sun.syndication.io.impl.RSS091UserlandParser \
+                       com.sun.syndication.io.impl.RSS092Parser \
+                       com.sun.syndication.io.impl.RSS093Parser \
+                       com.sun.syndication.io.impl.RSS094Parser \
+                       com.sun.syndication.io.impl.RSS10Parser  \
+                       com.sun.syndication.io.impl.RSS20wNSParser  \
+                       com.sun.syndication.io.impl.RSS20Parser  \
+                       com.sun.syndication.io.impl.Atom03Parser
+
+

All the classes defined in this property have to implement the com.sun.syndication.io.WireFeedParser interface. Parser instances must be thread safe. The return value of the getType() method is used as the primary key. If more than one parser returns the same type, the latter one prevails.

+
+

Generator Plugins

+

Generator plugins are managed by the com.sun.syndication.io.impl.FeedGenerators class (subclass of the PluginManager). This plugin manager looks for the WireFeedGenerator.classes property in all the rome.properties files. The fully qualified names of the generator classes must be separated by whitespaces or commas. For example, the default rome.properties file generator plugins definition is as follows:

+
+
+# Feed Generator implementation classes
+#
+WireFeedGenerator.classes=com.sun.syndication.io.impl.RSS090Generator \
+                          com.sun.syndication.io.impl.RSS091NetscapeGenerator \
+                          com.sun.syndication.io.impl.RSS091UserlandGenerator \
+                          com.sun.syndication.io.impl.RSS092Generator \
+                          com.sun.syndication.io.impl.RSS093Generator \
+                          com.sun.syndication.io.impl.RSS094Generator \
+                          com.sun.syndication.io.impl.RSS10Generator  \
+                          com.sun.syndication.io.impl.RSS20Generator  \
+                          com.sun.syndication.io.impl.Atom03Generator
+
+

All the classes defined in this property have to implement the com.sun.syndication.io.WireFeedGenerator interface. Generator instances must be thread safe. The return value of the getType() method is used as the primary key. If more than one generator returns the same type, the latter one prevails.

+
+

Converter Plugins

+

Converter plugins are managed by the com.sun.syndication.synd.impl.Converters class (subclass of the PluginManager). This plugin manager looks for the Converter.classes property in all the rome.properties files. The fully qualified names of the converter classes must be separated by whitespaces or commas. For example, the default rome.properties file converter plugins definition is as follows:

+
+
+# Feed Conversor implementation classes
+#
+Converter.classes=com.sun.syndication.feed.synd.impl.ConverterForAtom03 \
+                  com.sun.syndication.feed.synd.impl.ConverterForRSS090 \
+                  com.sun.syndication.feed.synd.impl.ConverterForRSS091Netscape \
+                  com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland \
+                  com.sun.syndication.feed.synd.impl.ConverterForRSS092 \
+                  com.sun.syndication.feed.synd.impl.ConverterForRSS093 \
+                  com.sun.syndication.feed.synd.impl.ConverterForRSS094 \
+                  com.sun.syndication.feed.synd.impl.ConverterForRSS10  \
+                  com.sun.syndication.feed.synd.impl.ConverterForRSS20
+
+

All the classes defined in this property have to implement the com.sun.syndication.synd.Converter interface. Converter instances must be thread safe. The return value of the getType() method is used as the primary key. If more than one converter returns the same type, the latter one prevails.

+
+

Module Plugins

+

There are 2 types of module plugins, module parser plugins and module generator plugins. They use a same pattern feed parsers and generators use.

+

The main difference is that support for module plugins has to be wired in the feed parser and generator plugins. The default feed parser and generator plugins supporting module plugins are: RSS 1.0, RSS 2.0 and Atom 0.3.

+

It is important to understand that this wiring is for modules support. Once a feed parser or generator has modules support, new modules can be used just by adding them to right property in the rome.properties file. No code changes are required.

+

Module parsers and generators are defined at feed and item level. This allow selective handling of modules, for example handling Syndication module at feed level only.

+

Module parser plugins are managed by the com.sun.syndication.io.impl.ModuleParsers class (subclass of the PluginManager). This plugin manager looks for the .feed.ModuleParser.classes and the .item.ModuleParser.classes properties in all the rome.properties files. must be the type defined by the parser (ie: rss_1.0, atom_0.3). The fully qualified names of the module parser classes must be separated by whitespaces or commas. For example, the default rome.properties file modules parser plugins definition is as follows:

+
+
+# Parsers for Atom 0.3 feed modules
+#
+atom_0.3.feed.ModuleParser.classes=com.sun.syndication.io.impl.SyModuleParser \
+                          com.sun.syndication.io.impl.DCModuleParser
+
+# Parsers for Atom 0.3 entry modules
+#
+atom_0.3.item.ModuleParser.classes=com.sun.syndication.io.impl.DCModuleParser
+
+# Parsers for RSS 1.0 feed modules
+#
+rss_1.0.feed.ModuleParser.classes=com.sun.syndication.io.impl.SyModuleParser \
+                          com.sun.syndication.io.impl.DCModuleParser
+
+# Parsers for RSS 1.0 item modules
+#
+rss_1.0.item.ModuleParser.classes=com.sun.syndication.io.impl.DCModuleParser
+
+# Parsers for RSS 2.0 feed modules
+#
+rss_2.0.feed.ModuleParser.classes=
+
+# Parsers for RSS 2.0 item modules
+#
+rss_2.0.item.ModuleParser.classes=
+
+

All the classes defined in this property have to implement the com.sun.syndication.io.ModuleParser interface. ModuleParser instances must be thread safe. The return value of the getNamesapceUri() method is used as the primary key. If more than one module parser returns the same URI, the latter one prevails.

+

Module generator plugins are managed by the com.sun.syndication.io.impl.GeneratorParsers class (subclass of the PluginManager). This plugin manager looks for the .feed.ModuleGenerator.classes and the .item.ModuleGenerator.classes properties in all the rome.properties files. must be the type defined by the generator (ie: rss_1.0, atom_0.3). The fully qualified names of the module generator classes must be separated by whitespaces or commas. For example, the default rome.properties file modules generator plugins definition is as follows:

+
+
+# Generators for Atom 0.3 feed modules
+#
+atom_0.3.feed.ModuleGenerator.classes=com.sun.syndication.io.impl.SyModuleGenerator \
+                             com.sun.syndication.io.impl.DCModuleGenerator
+
+# Generators for Atom 0.3 entry modules
+#
+atom_0.3.item.ModuleGenerator.classes=com.sun.syndication.io.impl.DCModuleGenerator
+
+# Generators for RSS 1.0 feed modules
+#
+rss_1.0.feed.ModuleGenerator.classes=com.sun.syndication.io.impl.SyModuleGenerator \
+                             com.sun.syndication.io.impl.DCModuleGenerator
+
+# Generators for RSS_1.0 entry modules
+#
+rss_1.0.item.ModuleGenerator.classes=com.sun.syndication.io.impl.DCModuleGenerator
+
+# Generators for RSS 2.0 feed modules
+#
+rss_2.0.feed.ModuleGenerator.classes=
+
+# Generators for RSS_2.0 entry modules
+#
+rss_2.0.item.ModuleGenerator.classes=
+
+

All the classes defined in this property have to implement the com.sun.syndication.io.ModuleGenerator interface. ModuleGenerator instances must be thread safe. The return value of the getNamesapceUri() method is used as the primary key. If more than one module generator returns the same URI, the latter one prevails.

+

See also: a step-by-step tutorial for implementing a custom module.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5HowToBuildAndRunTheTutorialsSampleCode.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5HowToBuildAndRunTheTutorialsSampleCode.html new file mode 100644 index 0000000..bb7fa63 --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5HowToBuildAndRunTheTutorialsSampleCode.html @@ -0,0 +1,132 @@ + + + + + + ROME - Rss and atOM utilitiEs (ROME) v0.5, How to build and run the tutorials sample code + + + + + + + + + + + +
+ +
+
+
+
+

Rss and atOM utilitiEs (ROME) v0.5, How to build and run the tutorials sample code

+

These instructions are outdated

+
+

Building the samples with Maven

+

This is, as usual, the easiest way.

+

There's only one configuration step: Maven downloads dependencies from an online repository (by default ibiblio), to a local repository (on UNIX usually in ~/.maven/repository). Because the rome distribution is not yet on ibiblio, you need to add it yourself, either to your local repository, or to your own intranet maven repository if you have such a thing in your organization.

+

If you built ROME run maven jar:install in the rome project to install ROME's jar in your Maven repository.

+

If you got ROME binary distribution copy the ROME's jar file to your Maven repository (on UNIX that would be cp rome-0.5/rome-0.5.jar ~/.maven/repository/rome/jars/).

+

Then building the samples it's easy as a pie, just run maven jar in the samples sub-project and you are all set.

+

To build the sample Web Application, just run maven war in the samples sub-project. The WAR file, rome-samples.war, will be created under the target directory.

+
+

Building the samples with Ant

+

The targets present in the build.xml are very helpful, ant get-deps will download from ibiblio to rome-samples/target/lib all the jar files ROME depends on and are needed for building an application using Rome.

+

In order to build the samples (or any subprojects), you'll need to first ensure that rome itself is built. You can do this simply by running ant in the project root directory.

+

Once this is done, change to the samples directory, and just run ant. This will produce two files, rome-samples.jar which contains the sample applications, and rome-samples.war which will contain a deployable web application war file for the FeedServlet sample.

+
+

Running the samples with Maven

+

The Maven goals for running the samples are defined in maven.xml.

+
    +
  • maven run-agr runs the FeedAggregator sample
  • +
  • maven run-conv runs the FeedConverter sample
  • +
  • maven run-read runs the FeedReader sample
  • +
  • maven run-write runs the FeedWriter sample
  • +
  • maven run-sampleModule runs the FeedConverter sample against a file with Sample Module data (shows off custom module plugin)
+

To run the sample Web Application you'll need to deploy the WAR file into your servlet container. If you are using Tomcat 4 or Tomcat 5 and the WAR file was dropped in the ${TOMCAT}/webapps directory the URL for the FeedServlet would be http://localhost:8080/rome-samples/feed in a default localhost Tomcat installation.

+
+

Running the samples with Ant

+

All ant targets for the samples generate the same file named toto: feel free to customize this build.xml to your own needs. Also today all these targets depends on the jar target, which represents some overhead if you have already built. Get rid of that once your project is well setup.

+
    +
  • ant run-aggr runs the FeedAggregator sample
  • +
  • ant run-conv runs the FeedConverter sample
  • +
  • ant run-read runs the FeedReader sample
  • +
  • ant run-write runs the FeedWriter sample
  • +
  • ant run-sampleModule runs the FeedConverter sample against a file with Sample Module data (shows off custom module plugin)
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialDefiningACustomModuleBeanParserAndGenerator.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialDefiningACustomModuleBeanParserAndGenerator.html new file mode 100644 index 0000000..4bd9efc --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialDefiningACustomModuleBeanParserAndGenerator.html @@ -0,0 +1,365 @@ + + + + + + ROME - Rss and atOM utilitiEs (ROME) v0.5 Tutorial, Defining a Custom Module (bean, parser and generator) + + + + + + + + + + + +
+ +
+
+
+
+

Rss and atOM utilitiEs (ROME) v0.5 Tutorial, Defining a Custom Module (bean, parser and generator)

+

Software requirements: Synd J2SE 1.4+, JDOM 1.0 and ROME 0.5.

+

This tutorial walks through the steps of creating a custom module for syndication feeds that support additional namespaces (such as RSS 1.0, RSS 2.0 and Atom 0.3).

+

To understand this tutorial you should be familiar the with ROME API and with the use of modules in syndication feeds.

+

Out of the box ROME parsers and generators support plug-ability of modules for RSS 1.0, RSS 2.0 and Atom 0.3 at both feed and item/entry levels. Also support for the Dublin Core and Syndication modules is provided.

+

The complete source for this tutorial is in the ROME samples bundle as well as in CVS.

+
+

What is the intended outcome of the tutorial?

+

The goal is to add support for a hypothetical Sample Module by defining a module bean, module parser and module generator and the necessary configuration to wire the parser and generator to an RSS 1.0 parser and RSS 1.0 generator.

+

The sample module defines 3 elements, 'bar', 'foo' and 'date', where 'bar' and 'date' may occur at most once and the 'foo' element may occur several times. For example, a feed with the Sample Module data would look like:

+
+
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns="http://purl.org/rss/1.0/"
+         xmlns:sample="http://rome.dev.java.net/module/sample/1.0">
+    <channel>
+        <title>RSS 1.0 Feed with Sample Module</title>
+        <link>http://rome.dev.java.net</link>
+        <description>This is a feed showing how to use a custom module with ROME</description>
+        <items>
+            <rdf:Seq>
+                <rdf:li resource="item01" />
+                <rdf:li resource="item02" />
+            </rdf:Seq>
+        </items>
+        <sample:bar>Channel bar</sample:bar>
+        <sample:foo>Channel first foo</sample:foo>
+        <sample:foo>Channel second foo</sample:foo>
+    </channel>
+    <item rdf:about="item01">
+        <title>Title of Item 01</title>
+        <link>http://rome.dev.java.net/item01</link>
+        <description>Item 01 does not have Sample module data</description>
+    </item>
+    <item rdf:about="item02">
+        <title>Title of Item 02</title>
+        <link>http://rome.dev.java.net/item02</link>
+        <description>Item 02 has Sample module data</description>
+        <sample:bar>Item 02 bar</sample:bar>
+        <sample:foo>Item 02 only foo</sample:foo>
+        <sample:date>2004-07-27T00:00+00:00</sample:date>
+    </item>
+</rdf:RDF>
+
+
+

Sample Module Bean

+

First we must start with the bean interface, SampleModule. SampleModule must extend Module. The Module interface defines the getUri() method, which will return a URI identifying the module.

+

The Module interface also extends the CopyFrom interface to enable copying properties from alternate implementations of the concrete Module interface. More on this later in this page.

+

The SampleModule's URI is defined as a constant, accessible via the getURI() instance method. This is for convenience and good practice only.

+

Then the module defines 3 properties: bar (String), foos (List) and date (Date). The elements of the foos property list must be strings (wishing for Java 5 generics already?).

+
+
+public interface SampleModule extends Module {
+
+    public static final String URI = "http://rome.dev.java.net/module/sample/1.0";
+
+    public String getBar();
+    public void setBar(String bar);
+
+    public List getFoos();
+    public void setFoos(List foos);
+
+    public Date getDate();
+    public void setDate(Date date);
+}
+
+

Next we have to write the bean implementation, SampleModuleImpl.

+

SampleModuleImpl extends ModuleImpl. ModuleImpl is the default implementation of the ==Module interface. ModuleImpl automatically provides equals, hashCode, toString and clone support for the properties of the class given in the constructor (SampleModule). Also the URI of the Sample module is indicated; it will be used by the Module.getUri() method.

+
+
+public class SampleModuleImpl extends ModuleImpl implements SampleModule {
+    ...
+    public SampleModuleImpl() {
+        super(SampleModule.class,SampleModule.URI);
+    }
+
+    public String getBar() {
+        return _bar;
+    }
+    [...]
+
+

The module properties are just Java Bean properties. The only catch is to follow ROME semantics for Collection properties: in the case of a null value for the collection, an empty collection must be returned. Also, following ROME semantics, all properties are by reference, including mutable ones.

+
+
+public class SampleModuleImpl extends ModuleImpl implements SampleModule {
+    private String _bar;
+    private List _foos;
+    private Date _date;
+    ...
+    public void setBar(String bar) {
+        _bar = bar;
+    }
+
+    public List getFoos() {
+        return (_foos==null) ? (_foos=new ArrayList()) : _foos;
+    }
+
+    public void setFoos(List foos) {
+        _foos = foos;
+    }
+
+    public Date getDate() {
+        return _date;
+    }
+
+    public void setDate(Date date) {
+        _date = date;
+    }
+
+
+

The CopyFrom interface

+

Now the weird part, the bits for the CopyFrom logic. The The CopyFrom interface (rome) document fully explains the CopyFrom logic in detail. In short, the CopyFrom interface is to support copying properties from one implementation of a bean (defined through an interface) to another implementation of the same bean.

+

The getInterface() method returns the bean interface of the implementation (this is necessary for collections containing sub-classes such as a list of modules).

+

The copyFrom() method copies all the properties from the parameter object (which must be a SampleModule implementation) into the caller bean properties. Note that the copyFrom must do a deep copy.

+
+
+public class SampleModuleImpl extends ModuleImpl implements SampleModule {
+    ...
+    public Class getInterface() {
+        return SampleModule.class;
+    }
+
+    public void copyFrom(Object obj) {
+        SampleModule sm = (SampleModule) obj;
+        setBar(sm.getBar());
+        List foos = new ArrayList(sm.getFoos()); // this is enough for the copy because the list elements are inmutable (Strings)
+        setFoos(foos);
+        setDate((Date)sm.getDate().clone()); // because Date is not inmutable.
+    }
+
+}
+
+
+

Sample Module Parser

+

The sample module parser must implement the ModuleParser interface. This interface defines 2 methods, getNamespaceUri() that returns the URI of the module and parse(Element) which extracts the module elements from the given Element.

+

The feed parsers will invoke the module parser with a feed element or with an item element. The module parser must look for module elements in the children of the given element. That is was the Sample parser is doing when looking for 'bar', 'foo' and 'date' children elements in the received element.

+

In the case of the 'foo' element it looks for all occurrences as the Sample module schema allows for more than one occurrence of the 'foo' element. A SampleModule bean is created and the found values are set into it. For the 'date' element it assumes its a date value in W3C datetime format.

+

If no Sample Module elements are found in the feed, the parse(Element) method returns null. This is to avoid having an empty instance of a module -not present in the feed- in the feed bean or in the item bean.

+
+
+public class SampleModuleParser implements ModuleParser {
+
+    private static final Namespace SAMPLE_NS  = Namespace.getNamespace("sample", SampleModule.URI);
+
+    public String getNamespaceUri() {
+        return SampleModule.URI;
+    }
+
+    public Module parse(Element dcRoot) {
+        boolean foundSomething = false;
+        SampleModule fm = new SampleModuleImpl();
+
+        Element e = dcRoot.getChild("bar", SAMPLE_NS);
+        if (e != null) {
+            foundSomething = true;
+            fm.setBar(e.getText());
+        }
+        List eList = dcRoot.getChildren("foo", SAMPLE_NS);
+        if (eList.size() > 0) {
+            foundSomething = true;
+            fm.setFoos(parseFoos(eList));
+        }
+        e = dcRoot.getChild("date", SAMPLE_NS);
+        if (e != null) {
+            foundSomething = true;
+            fm.setDate(DateParser.parseW3CDateTime(e.getText()));
+        }
+        return (foundSomething) ? fm : null;
+    }
+
+    private List parseFoos(List eList) {
+        List foos = new ArrayList();
+        for (int i = 0; i < eList.size(); i++) {
+            Element e = (Element) eList.get(i);
+            foos.add(e.getText());
+        }
+        return foos;
+    }
+
+}
+
+
+

Sample Module Generator

+

The sample module generator must implement the ModuleGenerator interface. This interface defines 2 methods, getNamespaceUri() that returns the URI of the module and generate(ModuleI,Element) which injects the module data into the given Element.

+

The feed generator will invoke the module generator with a feed element or with an item element. The module generator must inject the module properties into the given element (which is a feed or an item). This injection has to be done using the right namespace. The set of namespaces returned by the getNamespaces() method will be used to declare the namespaces used by the module in the feed root element.

+

If no Sample Module bean is in the feed bean the module generator is not invoked at all.

+
+
+public class SampleModuleGenerator  implements ModuleGenerator {
+    private static final Namespace SAMPLE_NS  = Namespace.getNamespace("sample", SampleModule.URI);
+
+    public String getNamespaceUri() {
+        return SampleModule.URI;
+    }
+
+    private static final Set NAMESPACES;
+
+    static {
+        Set nss = new HashSet();
+        nss.add(SAMPLE_NS);
+        NAMESPACES = Collections.unmodifiableSet(nss);
+    }
+
+    public Set getNamespaces() {
+        return NAMESPACES;
+    }
+
+    public void generate(Module module, Element element) {
+
+        // this is not necessary, it is done to avoid the namespace definition in every item.
+        Element root = element;
+        while (root.getParent()!=null && root.getParent() instanceof Element) {
+            root = (Element) element.getParent();
+        }
+        root.addNamespaceDeclaration(SAMPLE_NS);
+
+        SampleModuleI fm = (SampleModule)module;
+        if (fm.getBar() != null) {
+            element.addContent(generateSimpleElement("bar", fm.getBar()));
+        }
+        List foos = fm.getFoos();
+        for (int i = 0; i < foos.size(); i++) {
+            element.addContent(generateSimpleElement("foo",foos.get(i).toString()));
+        }
+        if (fm.getDate() != null) {
+            element.addContent(generateSimpleElement("date", DateParser.formatW3CDateTime(fm.getDate())));
+        }
+    }
+
+    protected Element generateSimpleElement(String name, String value)  {
+        Element element = new Element(name, SAMPLE_NS);
+        element.addContent(value);
+        return element;
+    }
+
+}
+
+
+

Configuration to make ROME process Sample Module in feeds

+

The last step is to setup the configuration file to indicate to ROME how and when to use the Sample Module parser and generator.

+

The configuration is stored in a Properties file, 'rome.properties', that has to be in the root of the classpath or JAR where the Sample Module bean, parser and generator classes are.

+

You must indicate the syndication feed formats (ie RSS 1.0) that must be aware of the Sample Module. You must indicate if the Sample Module is available for feed or item elements, or for both. You must indicate both the parser and the generator classes.

+

Following is the 'rome.properties' file for the Sample Module, it's defined for RSS 1.0 only, for both feed and item elements.

+
+
+# Parsers for RSS 1.0 feed modules
+#
+rss_1.0.feed.ModuleParser.classes=com.sun.syndication.samples.module.SampleModuleParser
+
+# Parsers for RSS 1.0 item modules
+#
+rss_1.0.item.ModuleParser.classes=com.sun.syndication.samples.module.SampleModuleParser
+
+# Generators for RSS 1.0 feed modules
+#
+rss_1.0.feed.ModuleGenerator.classes=com.sun.syndication.samples.module.SampleModuleGenerator
+
+# Generators for RSS_1.0 entry modules
+#
+rss_1.0.item.ModuleGenerator.classes=com.sun.syndication.samples.module.SampleModuleGenerator
+
+

If you are defining more than one module, indicate the parser and generator implementation classes separated by commas or spaces.

+
+

Using the Sample Module from the SyndFeed beans

+

They will be there, just use them. You may get the SampleModule bean using the getModule(String Uri) method of the SyndFeed bean and the SyndEntry bean.

+

Adding or replacing a syndication feed parser, generator or converter goes along the same lines of what it has been explained in the tutorial for modules. This is explained in the ROME Plugins Mechanism topic.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEToAggregateManySyndicationFeedsIntoASingleOne.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEToAggregateManySyndicationFeedsIntoASingleOne.html new file mode 100644 index 0000000..ff50d65 --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEToAggregateManySyndicationFeedsIntoASingleOne.html @@ -0,0 +1,203 @@ + + + + + + ROME - Rss and atOM utilitiEs (ROME) v0.5 Tutorial, Using ROME to aggregate many syndication feeds into a single one + + + + + + + + + + + +
+ +
+
+
+
+

Rss and atOM utilitiEs (ROME) v0.5 Tutorial, Using ROME to aggregate many syndication feeds into a single one

+

Software requirements: J2SE 1.4+, JDOM 1.0 and ROME 0.5.

+

ROME represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeed interface. The SyndFeed interfaces and its properties follow the Java Bean patterns. The default implementations provided with ROME are all lightweight classes.

+

ROME includes parsers to process syndication feeds into SyndFeed instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using ROME are the following 2 lines of code:

+
+
+SyndFeedInput input = new SyndFeedInput();
+SyndFeed feed = input.build(new XmlReader(feedUrl));
+
+

The first line creates a SyndFeedInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndFeedInput to read the syndication feed from the InputStream of a URL pointing to the feed. The XmlReader is a character based Reader that resolves the encoding following the HTTP MIME types and XML rules for it. The SyndFeedInput.build() method returns a SyndFeed instance that can be easily processed.

+

ROME also includes generators to create syndication feeds out of SyndFeed instances. The SyndFeedOutput class does this generation. The SyndFeedOutput will generate a syndication feed of the feed type indicated by the SyndFeed object being output. The following two lines of code show how to create a syndication feed output from a SyndFeed instance:

+
+
+SyndFeedOutput output = new SyndFeedOutput();
+output.output(feed,new PrintWriter(System.out));
+
+

The first line creates a SyndFeedOutput instance that will produce syndication feeds. It can output feeds of any type (rss_0.9, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0, rss_2.0 & atom_0.3), the SyndFeed feedType property indicates the type. The second line writes the SyndFeed as a syndication feed into the application's output.

+

SyndFeed instances can also be created and populated within the code. For example:

+
+
+SyndFeed aggrFeed = new SyndFeedImpl();
+aggrFeed.setFeedType("rss_1.0");
+aggrFeed.setTitle("Aggregated Feed");
+aggrFeed.setDescription("Anonymous Aggregated Feed");
+aggrFeed.setAuthor("anonymous");
+aggrFeed.setLink("http://www.anonymous.com");
+
+

The snipped of code above creates a SyndFeed instance using the default implementation provided by ROME, sets the feed type to RSS 1.0, sets the title, description, author and link properties of the feed.

+

SyndFeed properties can be modified, assigned to other SyndFeed instances, removed, etc. It's important to remember that the getters/setters semantics defined for all SyndFeed properties (and properties of its properties) is a copy by reference, not by value. In other words if you alter the property of a SyndFeed property you are altering the SyndFeed. Or, another example, if you assign the list of entries of one SyndFeed instance to another SyndFeed isntance and then you modify the list or any of the entries in the list, you are modifying the entries of both SyndFeed instances.

+

The following lines of code show how to copy the entries of a SyndFeed instance being read (inFeed) into a SyndFeed instance being created within the application (feed):

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import java.io.InputStreamReader;
+import java.io.PrintWriter;
+import java.util.List;
+import java.util.ArrayList;
+
+import com.sun.syndication.feed.synd.SyndFeed;
+import com.sun.syndication.feed.synd.SyndFeedImpl;
+import com.sun.syndication.io.SyndFeedOutput;
+import com.sun.syndication.io.SyndFeedInput;
+import com.sun.syndication.io.XmlReader;
+
+/**
+ * It aggregates a list of RSS/Atom feeds (they can be of different types)
+ * into a single feed of the specified type.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedAggregator {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length>=2) {
+            try {
+                String outputType = args[0];
+
+                SyndFeed feed = new SyndFeedImpl();
+                feed.setFeedType(outputType);
+
+                feed.setTitle("Aggregated Feed");
+                feed.setDescription("Anonymous Aggregated Feed");
+                feed.setAuthor("anonymous");
+                feed.setLink("http://www.anonymous.com");
+
+                List entries = new ArrayList();
+                feed.setEntries(entries);
+
+                for (int i=1;i<args.length;i++) {
+                    URL inputUrl = new URL(args[i]);
+
+                    SyndFeedInput input = new SyndFeedInput();
+                    SyndFeed inFeed = input.build(new XmlReader(inputUrl));
+
+                    entries.addAll(inFeed.getEntries());
+
+                }
+
+                SyndFeedOutput output = new SyndFeedOutput();
+                output.output(feed,new PrintWriter(System.out));
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedAggregator aggregates different feeds into a single one.");
+            System.out.println("The first parameter must be the feed type for the aggregated feed.");
+            System.out.println(" [valid values are: rss_0.9, rss_0.91U, rss_0.91N, rss_0.92, rss_0.93, ]");
+            System.out.println(" [                  rss_0.94, rss_1.0, rss_2.0 & atom_0.3  ]");
+            System.out.println("The second to last parameters are the URLs of feeds to aggregate.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEToConvertASyndicationFeedFromOneTypeToAnother.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEToConvertASyndicationFeedFromOneTypeToAnother.html new file mode 100644 index 0000000..e2e0870 --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEToConvertASyndicationFeedFromOneTypeToAnother.html @@ -0,0 +1,171 @@ + + + + + + ROME - Rss and atOM utilitiEs (ROME) v0.5 Tutorial, Using ROME to convert a syndication feed from one type to another + + + + + + + + + + + +
+ +
+
+
+
+

Rss and atOM utilitiEs (ROME) v0.5 Tutorial, Using ROME to convert a syndication feed from one type to another

+

Software requirements: Synd J2SE 1.4+, JDOM 1.0 and ROME 0.5.

+

ROME represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeed interface. The SyndFeed interfaces and its properties follow the Java Bean patterns. The default implementations provided with ROME are all lightweight classes.

+

ROME includes parsers to process syndication feeds into SyndFeed instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using ROME are the following 2 lines of code:

+
+
+SyndFeedInput input = new SyndFeedInput();
+SyndFeed feed = input.build(new XmlReader(feedUrl));
+
+

The first line creates a SyndFeedInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndFeedInput to read the syndication feed from the InputStream of a URL pointing to the feed. The XmlReader is a character based Reader that resolves the encoding following the HTTP MIME types and XML rules for it. The SyndFeedInput.build() method returns a SyndFeed instance that can be easily processed.

+

ROME also includes generators to create syndication feeds out of SyndFeed instances. The SyndFeedOutput class does this generation. The SyndFeedOutput will generate a syndication feed of the feed type indicated by the SyndFeed object being output. The following two lines of code show how to create a syndication feed output from a SyndFeed instance:

+
+
+SyndFeedOutput output = new SyndFeedOutput();
+output.output(feed,new PrintWriter(System.out));
+
+

The first line creates a SyndFeedOutput instance that will produce syndication feeds. It can output feeds of any type (rss_0.9, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0, rss_2.0 & atom_0.3), the SyndFeed feedType property indicates the type. The second line writes the SyndFeed as a syndication feed into the application's output.

+

Following is the full code for a Java application that reads a syndication feed and converts it to other syndication feed type, writing the converted feed to the application's output.

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import java.io.InputStreamReader;
+import java.io.PrintWriter;
+import com.sun.syndication.feed.synd.SyndFeed;
+import com.sun.syndication.io.SyndFeedInput;
+import com.sun.syndication.io.SyndFeedOutput;
+import com.sun.syndication.io.XmlReader;
+
+/**
+ * It Converts any RSS/Atom feed type to a an RSS/Atom feed of the
+ * specified type.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedConverter {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==2) {
+            try {
+                String outputType = args[0];
+
+                URL feedUrl = new URL(args[1]);
+
+                SyndFeedInput input = new SyndFeedInput();
+                SyndFeed feed = input.build(new XmlReader(feedUrl));
+                feed.setFeedType(outputType);
+                SyndFeedOutput output = new SyndFeedOutput();
+                output.output(feed,new PrintWriter(System.out));
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedConverter converts between syndication feeds types.");
+            System.out.println("The first parameter must be the feed type to convert to.");
+            System.out.println(" [valid values are: rss_0.9, rss_0.91, rss_0.92, rss_0.93, ]");
+            System.out.println(" [                  rss_0.94, rss_1.0, rss_2.0 & atom_0.3  ]");
+            System.out.println("The second parameter must be the URL of the feed to convert.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEToCreateAndWriteASyndicationFeed.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEToCreateAndWriteASyndicationFeed.html new file mode 100644 index 0000000..c73d2e2 --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEToCreateAndWriteASyndicationFeed.html @@ -0,0 +1,258 @@ + + + + + + ROME - Rss and atOM utilitiEs (ROME) v0.5 Tutorial, Using ROME to create and write a syndication feed + + + + + + + + + + + +
+ +
+
+
+
+

Rss and atOM utilitiEs (ROME) v0.5 Tutorial, Using ROME to create and write a syndication feed

+

Software requirements: J2SE 1.4+, JDOM 1.0 and ROME 0.5.

+

ROME represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeed interface. The SyndFeed interfaces and its properties follow the Java Bean patterns. The default implementations provided with ROME are all lightweight classes.

+

Creating a feed with SyndFeed beans consists of creating beans and setting their properties. The following code fragments show how a SyndFeed bean with 3 entries is created.

+

First the SyndFeed instance is created, the preferred syndication format is set and the feed header info (title, link, description) is also set.

+
+
+SyndFeed feed = new SyndFeedImpl();
+feed.setFeedType(feedType);
+
+feed.setTitle("Sample Feed (created with ROME)");
+feed.setLink("http://rome.dev.java.net");
+feed.setDescription("This feed has been created using ROME (Java syndication utilities");
+
+

Then a list for entries is created, entries are created and added to the list. Each entry is set with a title, link, published date and a description. The description for the first entry is plain test, for the third entry is HTML. After each entry is created is added to the list.

+
+
+List entries = new ArrayList();
+SyndEntry entry;
+SyndContent description;
+
+entry = new SyndEntryImpl();
+entry.setTitle("ROME v1.0");
+entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome01");
+entry.setPublishedDate(DATE_PARSER.parse("2004-06-08"));
+description = new SyndContentImpl();
+description.setType("text/plain");
+description.setValue("Initial release of ROME");
+entry.setDescription(description);
+entries.add(entry);
+[...]
+entry = new SyndEntryImpl();
+entry.setTitle("ROME v3.0");
+entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome03");
+entry.setPublishedDate(DATE_PARSER.parse("2004-07-27"));
+description = new SyndContentImpl();
+description.setType("text/html");
+description.setValue("<p>More Bug fixes, mor API changes, some new features and some Unit testing</p>"+
+                     "<p>For details check the <a href=\"https://rometools.jira.com/wiki/display/ROME/Change+Log#ChangeLog-Changesmadefromv0.3tov0.4\">Changes Log</a></p>");
+entry.setDescription(description);
+entries.add(entry);
+
+

Finally the list with entries is added to the SyndFeed bean.

+
+
+feed.setEntries(entries);
+
+

The SyndFeed bean is now ready to be written out to a syndication feed XML document. Note that any of supported syndication formats can be set in the feedType property.

+

ROME includes generators that allow producing syndication feed XML documents from SyndFeed instances. The SyndFeedOutput class handles the generation of the syndication feed XML documents on any of the supported feed formats (RSS and Atom). The developer does not need to worry about selecting the right generator for a syndication feed, the SyndFeedOutput will take care of it by looking at the information in the SyndFeed bean. All it takes to write a syndication feed XML document using ROME -assuming you have a SyndFeed bean and a Writer instance- are the following lines of code:

+
+
+SyndFeed feed = ...;
+Writer writer = ...;
+
+SyndFeedOutput output = new SyndFeedOutput();
+output.output(feed,writer);
+
+

First a SyndFeedOutput instance is created, this instance will work with any syndication feed type (RSS and Atom versions). Then the feed and the writer are given to the SyndFeedOutput instance, the SyndFeedOutput will write the syndication feed XML document represented by the SyndFeed bean to the Writer stream.

+

Following is the full code for a Java application that creates a syndication feed and writes it to a file in the specified syndication format.

+
+
+package com.sun.syndication.samples;
+
+import com.sun.syndication.feed.synd.*;
+import com.sun.syndication.io.SyndFeedOutput;
+
+import java.io.FileWriter;
+import java.io.Writer;
+import java.text.DateFormat;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * It creates a feed and writes it to a file.
+ * <p>
+ *
+ */
+public class FeedWriter {
+
+    private static final DateFormat DATE_PARSER = new SimpleDateFormat("yyyy-MM-dd");
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==2) {
+            try {
+                String feedType = args[0];
+                String fileName = args[1];
+
+                SyndFeed feed = new SyndFeedImpl();
+                feed.setFeedType(feedType);
+
+                feed.setTitle("Sample Feed (created with ROME)");
+                feed.setLink("http://rome.dev.java.net");
+                feed.setDescription("This feed has been created using ROME (Java syndication utilities");
+
+                List entries = new ArrayList();
+                SyndEntry entry;
+                SyndContent description;
+
+                entry = new SyndEntryImpl();
+                entry.setTitle("ROME v1.0");
+                entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome01");
+                entry.setPublishedDate(DATE_PARSER.parse("2004-06-08"));
+                description = new SyndContentImpl();
+                description.setType("text/plain");
+                description.setValue("Initial release of ROME");
+                entry.setDescription(description);
+                entries.add(entry);
+
+                entry = new SyndEntryImpl();
+                entry.setTitle("ROME v2.0");
+                entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome02");
+                entry.setPublishedDate(DATE_PARSER.parse("2004-06-16"));
+                description = new SyndContentImpl();
+                description.setType("text/plain");
+                description.setValue("Bug fixes, minor API changes and some new features");
+                entry.setDescription(description);
+                entries.add(entry);
+
+                entry = new SyndEntryImpl();
+                entry.setTitle("ROME v3.0");
+                entry.setLink("http://wiki.java.net/bin/view/Javawsxml/Rome03");
+                entry.setPublishedDate(DATE_PARSER.parse("2004-07-27"));
+                description = new SyndContentImpl();
+                description.setType("text/html");
+                description.setValue("<p>More Bug fixes, mor API changes, some new features and some Unit testing</p>"+
+                                     "<p>For details check the <a href=\"https://rometools.jira.com/wiki/display/ROME/Change+Log#ChangeLog-Changesmadefromv0.3tov0.4\">Changes Log</a></p>");
+                entry.setDescription(description);
+                entries.add(entry);
+
+                feed.setEntries(entries);
+
+                Writer writer = new FileWriter(fileName);
+                SyndFeedOutput output = new SyndFeedOutput();
+                output.output(feed,writer);
+                writer.close();
+
+                System.out.println("The feed has been written to the file ["+fileName+"]");
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                ex.printStackTrace();
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedWriter creates a RSS/Atom feed and writes it to a file.");
+            System.out.println("The first parameter must be the syndication format for the feed");
+            System.out.println("  (rss_0.90, rss_0.91, rss_0.92, rss_0.93, rss_0.94, rss_1.0 rss_2.0 or atom_0.3)");
+            System.out.println("The second parameter must be the file name for the feed");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEToReadASyndicationFeed.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEToReadASyndicationFeed.html new file mode 100644 index 0000000..7802837 --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEToReadASyndicationFeed.html @@ -0,0 +1,161 @@ + + + + + + ROME - Rss and atOM utilitiEs (ROME) v0.5 Tutorial, Using ROME to read a syndication feed + + + + + + + + + + + +
+ +
+
+
+
+

Rss and atOM utilitiEs (ROME) v0.5 Tutorial, Using ROME to read a syndication feed

+

Software requirements: J2SE 1.4+, JDOM 1.0 and ROME 0.5.

+

ROME represents syndication feeds (RSS and Atom) as instances of the com.sun.syndication.synd.SyndFeed interface. The SyndFeed interfaces and its properties follow the Java Bean patterns. The default implementations provided with ROME are all lightweight classes.

+

ROME includes parsers to process syndication feeds into SyndFeed instances. The SyndFeedInput class handles the parsers using the correct one based on the syndication feed being processed. The developer does not need to worry about selecting the right parser for a syndication feed, the SyndFeedInput will take care of it by peeking at the syndication feed structure. All it takes to read a syndication feed using ROME are the following 2 lines of code:

+
+
+SyndFeedInput input = new SyndFeedInput();
+SyndFeed feed = input.build(new XmlReader(feedUrl));
+
+

The first line creates a SyndFeedInput instance that will work with any syndication feed type (RSS and Atom versions). The second line instructs the SyndFeedInput to read the syndication feed from the char based input stream of a URL pointing to the feed. The XmlReader is a character based Reader that resolves the encoding following the HTTP MIME types and XML rules for it. The SyndFeedInput.build() method returns a SyndFeed instance that can be easily processed.

+

The default SyndFeed implementation has a detailed and clear toString() implementation. The following line just prints it to the application's output.

+
+
+  System.out.println(feed);
+
+

Following is the full code for a Java application that reads a syndication feed and prints the SyndFeed bean to the application's output.

+
+
+package com.sun.syndication.samples;
+
+import java.net.URL;
+import java.io.InputStreamReader;
+import com.sun.syndication.feed.synd.SyndFeed;
+import com.sun.syndication.io.SyndFeedInput;
+import com.sun.syndication.io.XmlReader;
+
+/**
+ * It Reads and prints any RSS/Atom feed type.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedReader {
+
+    public static void main(String[] args) {
+        boolean ok = false;
+        if (args.length==1) {
+            try {
+                URL feedUrl = new URL(args[0]);
+
+                SyndFeedInput input = new SyndFeedInput();
+                SyndFeed feed = input.build(new XmlReader(feedUrl));
+
+                System.out.println(feed);
+
+                ok = true;
+            }
+            catch (Exception ex) {
+                ex.printStackTrace();
+                System.out.println("ERROR: "+ex.getMessage());
+            }
+        }
+
+        if (!ok) {
+            System.out.println();
+            System.out.println("FeedReader reads and prints any RSS/Atom feed type.");
+            System.out.println("The first parameter must be the URL of the feed to read.");
+            System.out.println();
+        }
+    }
+
+}
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEWithinAServletToCreateAndReturnAFeed.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEWithinAServletToCreateAndReturnAFeed.html new file mode 100644 index 0000000..c0de70e --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/RssAndAtOMUtilitiEsROMEV0.5TutorialUsingROMEWithinAServletToCreateAndReturnAFeed.html @@ -0,0 +1,302 @@ + + + + + + ROME - Rss and atOM utilitiEs (ROME) v0.5 Tutorial, Using ROME within a Servlet to create and return a feed + + + + + + + + + + + +
+ +
+
+
+
+

Rss and atOM utilitiEs (ROME) v0.5 Tutorial, Using ROME within a Servlet to create and return a feed

+

Software requirements: J2SE 1.4+, Servlet Container 2.3+, JDOM 1.0 and ROME 0.5.

+

This sample consists of a servlet that serves a feed as response. The feed type (RSS in any of its variants or Atom) can be specified as a URL parameter when requesting the feed. The returned feed is hardwired in the sample and it would be straight forward to modify the sample to generate the feed dynamically (i.e. from data stored in a database).

+

The core logic of the FeedServlet is in the following fragment of code:

+
+
+public class FeedServlet extends HttpServlet {
+    ...
+
+    public void doGet(HttpServletRequest req,HttpServletResponse res) throws IOException {
+            ...
+            SyndFeed feed = getFeed(req);
+
+            String feedType = req.getParameter(FEED_TYPE);
+            feedType = (feedType!=null) ? feedType : _defaultFeedType;
+            feed.setFeedType(feedType);
+
+            res.setContentType(MIME_TYPE);
+            SyndFeedOutput output = new SyndFeedOutput();
+            output.output(feed,res.getWriter());
+            ...
+    }
+
+    protected SyndFeed getFeed(HttpServletRequest req) throws IOException,FeedException {
+        SyndFeed feed = new SyndFeedImpl();
+        feed = ...
+        return feed;
+    }
+
+}
+
+

The servlet returns a feed upon HTTP GET requests with the doGet() method.

+

First the SyndFeed bean is obtained by invoking the getFeed() method, the request object is passed as it could be used to obtain request contextual information to create the feed. How to create a feed using SyndFeed bean is explained in detail in the Using ROME to create and write a feed Tutorial.

+

Then the feed type of the response is determined, first looking at the request parameters and falling back to a default feed type (specified by a servlet init parameter) if the type is not indicated in the request parameters. Setting the feed type in the feed bean will indicate the SyndFeedOutput the feed type to output.

+

Finally, the response is set with the proper content type (the MIME_TYPE constant is 'application/xml; charset=UTF-8') and the feed is written to response writer using the SyndFeedOutput output classes.

+

Following is the full code for the servlet.

+
+
+package com.sun.syndication.samples.servlet;
+
+import com.sun.syndication.feed.synd.*;
+import com.sun.syndication.io.FeedException;
+import com.sun.syndication.io.SyndFeedOutput;
+
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
+import java.text.DateFormat;
+import java.text.ParseException;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Sample Servlet that serves a feed created with ROME.
+ * <p>
+ * The feed type is determined by the 'type' request parameter, if the parameter is missing it defaults
+ * to the 'default.feed.type' servlet init parameter, if the init parameter is missing it defaults to 'atom_0.3'
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class FeedServlet extends HttpServlet {
+    private static final String DEFAULT_FEED_TYPE = "default.feed.type";
+    private static final String FEED_TYPE = "type";
+    private static final String MIME_TYPE = "application/xml; charset=UTF-8";
+    private static final String COULD_NOT_GENERATE_FEED_ERROR = "Could not generate feed";
+
+    private static final DateFormat DATE_PARSER = new SimpleDateFormat("yyyy-MM-dd");
+
+    private String _defaultFeedType;
+
+    public void init() {
+        _defaultFeedType = getServletConfig().getInitParameter(DEFAULT_FEED_TYPE);
+        _defaultFeedType = (_defaultFeedType!=null) ? _defaultFeedType : "atom_0.3";
+    }
+
+    public void doGet(HttpServletRequest req,HttpServletResponse res) throws IOException {
+        try {
+            SyndFeed feed = getFeed(req);
+
+            String feedType = req.getParameter(FEED_TYPE);
+            feedType = (feedType!=null) ? feedType : _defaultFeedType;
+            feed.setFeedType(feedType);
+
+            res.setContentType(MIME_TYPE);
+            SyndFeedOutput output = new SyndFeedOutput();
+            output.output(feed,res.getWriter());
+        }
+        catch (FeedException ex) {
+            String msg = COULD_NOT_GENERATE_FEED_ERROR;
+            log(msg,ex);
+            res.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR,msg);
+        }
+    }
+
+    protected SyndFeed getFeed(HttpServletRequest req) throws IOException,FeedException {
+        SyndFeed feed = new SyndFeedImpl();
+
+        feed.setTitle("Sample Feed (created with ROME)");
+        feed.setLink("http://rome.dev.java.net");
+        feed.setDescription("This feed has been created using ROME (Java syndication utilities");
+
+        List entries = new ArrayList();
+        SyndEntry entry;
+        SyndContent description;
+
+        entry = new SyndEntryImpl();
+        entry.setTitle("ROME v0.1");
+        entry.setLink("http://wiki.java.net/bin/view/Javawsxml/rome01");
+        try {
+            entry.setPublishedDate(DATE_PARSER.parse("2004-06-08"));
+        }
+        catch (ParseException ex) {
+            // IT CANNOT HAPPEN WITH THIS SAMPLE
+        }
+        description = new SyndContentImpl();
+        description.setType("text/plain");
+        description.setValue("Initial release of ROME");
+        entry.setDescription(description);
+        entries.add(entry);
+
+        entry = new SyndEntryImpl();
+        entry.setTitle("Rome v0.2");
+        entry.setLink("http://wiki.java.net/bin/view/Javawsxml/rome02");
+        try {
+            entry.setPublishedDate(DATE_PARSER.parse("2004-06-16"));
+        }
+        catch (ParseException ex) {
+            // IT CANNOT HAPPEN WITH THIS SAMPLE
+        }
+        description = new SyndContentImpl();
+        description.setType("text/plain");
+        description.setValue("Bug fixes, minor API changes and some new features"+
+                             "<p>For details check the <a href=\"https://rometools.jira.com/wiki/display/ROME/Change+Log#ChangeLog-Changesmadefromv0.2tov0.3\">Changes Log for 0.2</a></p>");
+        entry.setDescription(description);
+        entries.add(entry);
+
+        entry = new SyndEntryImpl();
+        entry.setTitle("ROME v0.3");
+        entry.setLink("http://wiki.java.net/bin/view/Javawsxml/rome03");
+        try {
+            entry.setPublishedDate(DATE_PARSER.parse("2004-07-27"));
+        }
+        catch (ParseException ex) {
+            // IT CANNOT HAPPEN WITH THIS SAMPLE
+        }
+        description = new SyndContentImpl();
+        description.setType("text/html");
+        description.setValue("<p>Bug fixes, API changes, some new features and some Unit testing</p>"+
+                             "<p>For details check the <a href=\"https://rometools.jira.com/wiki/display/ROME/Change+Log#ChangeLog-Changesmadefromv0.3tov0.4\">Changes Log for 0.3</a></p>");
+        entry.setDescription(description);
+        entries.add(entry);
+
+        entry = new SyndEntryImpl();
+        entry.setTitle("ROME v0.4");
+        entry.setLink("http://wiki.java.net/bin/view/Javawsxml/rome04");
+        try {
+            entry.setPublishedDate(DATE_PARSER.parse("2004-09-24"));
+        }
+        catch (ParseException ex) {
+            // IT CANNOT HAPPEN WITH THIS SAMPLE
+        }
+        description = new SyndContentImpl();
+        description.setType("text/html");
+        description.setValue("<p>Bug fixes, API changes, some new features, Unit testing completed</p>"+
+                             "<p>For details check the <a href=\"https://rometools.jira.com/wiki/display/ROME/Change+Log#ChangeLog-Changesmadefromv0.4tov0.5\">Changes Log for 0.4</a></p>");
+        entry.setDescription(description);
+        entries.add(entry);
+
+        feed.setEntries(entries);
+
+        return feed;
+    }
+
+}
+
+

To use the FeedServlet we need to create a Web Application. For the Web Application we need a deployment descriptor, the web.xml file:

+
+
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+    <display-name>ROME Samples</display-name>
+
+    <servlet>
+        <servlet-name>FeedServlet</servlet-name>
+        <servlet-class>com.sun.syndication.samples.servlet.FeedServlet</servlet-class>
+        <init-param>
+            <param-name>default.feed.type</param-name>
+            <param-value>rss_2.0</param-value>
+        </init-param>
+    </servlet>
+
+    <servlet-mapping>
+         <servlet-name>FeedServlet</servlet-name>
+         <url-pattern>/feed</url-pattern>
+    </servlet-mapping>
+
+</web-app>
+
+

To build the sample Web Application, just run maven war in the samples sub-project. The WAR file, rome-samples.war, will be created under the target directory. Deploy the WAR in a servlet container and the FeedServlet should be up an running. If you are using Tomcat 4 or Tomcat 5 and the WAR file was dropped in the ${TOMCAT}/webapps directory the URL for the FeedServlet would be http://localhost:8080/rome-samples/feed in a default localhost Tomcat installation.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/TheCopyFromInterface.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/TheCopyFromInterface.html new file mode 100644 index 0000000..278e26e --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/TheCopyFromInterface.html @@ -0,0 +1,181 @@ + + + + + + ROME - The CopyFrom interface + + + + + + + + + + + +
+ +
+
+
+
+

The CopyFrom interface

+

The CopyFrom interface defines functionality similar to a deep cloning. The difference with the clone() method (besides the deep cloning requirements) is that the object to be the copy of the original one has to be explicitly created and it is this object the one that triggers the deep copying process. Implemetations of the CopyFrom interface should work propertly on arrays, collections, CopyFrom and basic type properties.

+

Using CopyFrom objects enables copying data between different implementations of a given interface without these implementation having to know about each other.

+

CopyFrom is unidirectional. A class implementing the CopyFrom knows how to extract properties from the given class (commonly having an interface in common).

+

A simple example using the CopyFrom interface is:

+
+
+    public interface Foo extends CopyFrom {
+        public void setName(String name);
+        public String getName();
+
+        public void setValues(Set values);
+        public Set getValues();
+    }
+
+    public class FooImplA implements Foo {
+        private String _name;
+        private Set _values;
+
+        public void setName(String name) {
+            _name = name;
+        }
+
+        public String getName() {
+            return _name;
+        }
+
+        public void setValues(Set values) {
+            _values = values;
+        }
+
+        public Set getValues() {
+            return _values;
+        }
+
+        public void copyFrom(Object obj) {
+            Foo other = (Foo) obj;
+            setName(other.getName());
+            setValues(new HashSet(other.getValues());
+        }
+
+        public Class getInterface() {
+            return Foo.class;
+        }
+    }
+
+    public class FooImplB implements Foo {
+        private Map _data;
+
+        public FooImplB() {
+            _data = new HashMap();
+        }
+
+        public void setName(String name) {
+            _data.put("name",name);
+        }
+
+        public String getName() {
+            return (String) _data.get("name");
+        }
+
+        public void setValues(Set values) {
+            _data.put("values",values);
+        }
+
+        public Set getValues() {
+            return (Set) _data.get("values");
+        }
+
+        public void copyFrom(Object obj) {
+            Foo other = (Foo) obj;
+            setName(other.getName());
+            setValues(new HashSet(other.getValues());
+        }
+
+        public Class getInterface() {
+            return Foo.class;
+        }
+    }
+
+

A use case for the CopyFrom functionality is a Java Bean implementation of an interface and a persistency implementation (such as Hibernate) of the the same interface that may add extra persistency related properties to the bean (ie, the 'Id' property as the persistency layer primary key).

+

For bean, array and collection properties the bean being invoked which copyFrom() method is invoked is responsible for those properties.

+

For properties implementing the CopyFrom interface, the bean must create a property instance implementing the interface returned by the getInterface() method. This allows the bean doing the copyFrom() to handle specialized subclasses of property elements propertly. This is also applicacle to array and collection properties. The 'modules' property of the SyndFeed and SyndEntry beans is a use case of this feature where the copyFrom() invocation must create different beans subclasses for each type of module, the getInteface() helps to find the right implementation.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/UnderstandingRssAndAtOMUtilitiEsROMEBeanUtilities.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/UnderstandingRssAndAtOMUtilitiEsROMEBeanUtilities.html new file mode 100644 index 0000000..939cbdc --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/UnderstandingRssAndAtOMUtilitiEsROMEBeanUtilities.html @@ -0,0 +1,209 @@ + + + + + + ROME - Understanding Rss and atOM utilitiEs (ROME) Bean Utilities + + + + + + + + + + + +
+ +
+
+
+
+

Understanding Rss and atOM utilitiEs (ROME) Bean Utilities

+

ROME bean utilities are not part of ROME public API. They are used by the default implementation of ROME beans and it may be useful for alternate implementations as well. It is important to keep in mind that these APIs are not public and they are subject to change breaking backward compatibility.

+

Rome com.sun.syndication.feed.impl package contains a set of Java classes that provide support for all the basic features Java Beans commonly must have: toString, equals, hashcode and cloning.

+

By using these classes Beans don't have to hand code these functions. This greatly simplifies things when Beans have several properties, collection properties and composite properties.

+

The CloneableBean, EqualsBean, ToStringBean and ObjectBean classes use instrospection on the properties of the classes using them. This is done recursively on all properties. All ROME Beans default implementations leverage these classes.

+
+

ToStringBean

+

Beans implementing the ToString interface must implement the toString(String prefix) method. This method must print the bean properties names and values, one per per line, separating the name and value with an '=' sign and prefixing the name with the given prefix parameter using the same notation used in the JSP expression language used in JSTL and in JSP 2.0. This must be done recursively for all array, collection and ToString properties.

+

The ToStringBean class provides an implementation of the toString() method producing a detailed output of all the properties of the Bean being processed. The ToStringBean constructor takes the class definition the ToStringBean class should use for properties scanning -using instrospection- for printing, normally it is the class of the Bean using the ToStringBean.

+
+

Using the ToStringBean class

+
+
+    public class MyBean {
+
+        public Foo getFoo() { ... }
+        public void setFoo(Foo foo) { ... }
+
+        public String getName() { ... }
+        public void setName(String name) { ... }
+
+        public List getValues() { ... }
+        public void setValues(List values) { ... }
+
+        public String toString(String prefix) {
+            ToStringBean tsBean = new ToStringBean(MyBean.class,this);
+            return tsBean.toString(prefix);
+        }
+
+        public String toString() {
+            return toString("myBean");
+        }
+    }
+
+
+

EqualBean

+

The EqualsBean class provides a recursive introspetion-based implementation of the equals() and hashCode() methods working on the Bean properties. The EqualsBean constructor takes the class definition that should be properties scanned (using introspection) by the equals() and thehashCode() methods. The EqualsBean class works on array, collection, bean and basic type properties.

+
+

Using the EqualsBean class

+
+
+    public class MyBean  {
+
+        public Foo getFoo() { ... }
+        public void setFoo(Foo foo) { ... }
+
+        public String getName() { ... }
+        public void setName(String name) { ... }
+
+        public List getValues() { ... }
+        public void setValues(List values) { ... }
+
+        public boolean equals(Object obj) {
+            EqualsBean eBean = new EqualsBean(MyBean.class,this);
+            return eBean.beanEquals(obj);
+        }
+
+        public int hashCode() {
+            EqualsBean equals = new EqualsBean(MyBean.class,this);
+            return equals.beanHashCode();
+        }
+    }
+
+
+

CloneableBean

+

The CloneableBean class provides a recursive introspetion-based implementation of the clone() method working on the Bean properties. The CloneableBean class works on array, collection, bean and basic type properties.

+
+

Using the CloneableBean class

+
+
+    public class MyBean implements Cloneable {
+
+        public Foo getFoo() { ... }
+        public void setFoo(Foo foo) { ... }
+
+        public String getName() { ... }
+        public void setName(String name) { ... }
+
+        public List getValues() { ... }
+        public void setValues(List values) { ... }
+
+        public Object clone() {
+            CloneableBean cBean = new CloneableBean(this);
+            return cBean.beanClone();
+        }
+    }
+
+

By default, the CloneableBean copies all properties of the given object. It also supports an ignore-properties set, the property names in this set will not be copied to the cloned instance. This is useful for cases where the Bean has convenience properties (properties that are actually references to other properties or properties of properties). For example SyndFeed and SyndEntry beans have convenience properties, publishedDate, author, copyright and categories all of them mapped to properties in the DC Module.

+
+

ObjectBean

+

The ObjectBean is a convenience bean providing ToStringBean, EqualsBean and CloneableBean functionality support. Also, ObjectBeans implements the Serializable interface making the beans serializable if all its properties are. Beans extending ObjectBean get toString(), equals(),hashCode() and clone() support as defined above.

+

And example of using the ObjectBean class is:

+
+
+    public class MyBean extends ObjectBean {
+
+        public MyBean() {
+            super(MyBean.class);
+        }
+
+        public Foo getFoo() { ... }
+        public void setFoo(Foo foo) { ... }
+
+        public String getName() { ... }
+        public void setName(String name) { ... }
+
+        public List getValues() { ... }
+        public void setValues(List values) { ... }
+    }
+
+

It can also be used in delegation mode instead as some of the previous examples.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/XMLCharsetEncodingDetectionHowRssAndAtOMUtilitiEsROMEHelpsGettingTheRightCharsetEncoding.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/XMLCharsetEncodingDetectionHowRssAndAtOMUtilitiEsROMEHelpsGettingTheRightCharsetEncoding.html new file mode 100644 index 0000000..648190c --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/XMLCharsetEncodingDetectionHowRssAndAtOMUtilitiEsROMEHelpsGettingTheRightCharsetEncoding.html @@ -0,0 +1,204 @@ + + + + + + ROME - XML Charset Encoding detection, how Rss and atOM utilitiEs (ROME) helps getting the right charset encoding + + + + + + + + + + + +
+ +
+
+
+
+

XML Charset Encoding detection, how Rss and atOM utilitiEs (ROME) helps getting the right charset encoding

+

Determining the charset set encoding of an XML document it may prove not as easy as it seems, and when the XML document is served over HTTP things get a little more hairy.

+

Current Java libraries or utilities don't do this by default, A JAXP SAX parser may detect the charset encoding of a XML document looking at the first bytes of the stream as defined Section 4.3.3 and Appendix F.1 of the in XML 1.0 (Third Edition) specification. But Appendix F.1 is non-normative and not all Java XML parsers do it right now. For example the JAXP SAX parser implementation in J2SE 1.4.2 does not handle Appendix F.1 and Xerces 2.6.2 just added support for it. But still this does not solve the whole problem. JAXP SAX parsers are not aware of the HTTP transport rules for charset encoding resolution as defined by RFC 3023. They are not because they operate on a byte stream or a char stream without any knowledge of the stream transport protocol, HTTP in this case.

+

Mark Pilgrim did a very good job explaining how the charset encoding should be determined, Determining the character encoding of a feed and XML on the Web Has Failed.

+

To isolate developers from this issue ROME has a special character stream class, the XmlReader. The XmlReader class is a subclass of the java.io.Reader that detects the charset encoding of XML documents read from files, input streams, URLs and input streams obtained over HTTP. Ideally this should be built into the JAXP SAX classes, most likely in the InputSource class.

+
+

Default Lenient Behavior

+

It is very common for many sites, due to improper configuration or lack of knowledge, to declare an invalid charset encoding. Invalid according to the XML 1.0 specification and the RFC 3023. For example a mismatch between the implicit charset encoding in the HTTP content-type and the explicit charset encoding in the XML prolog.

+

Because of this, ROME XmlReader by default has a lenient detection. This lenient detection works in the following order:

+
    +
  • A strict charset encoding detection, as specified by the Algorithms below is attempted
  • +
  • If the content type was 'text/html' it replaces it with 'text/xml' and tries strict charset encoding detection again
  • +
  • If the XML prolog had a charset encoding that encoding is used
  • +
  • If the content type had a charset encoding that encoding is used
  • +
  • 'UTF-8' is used
+

The XmlReader class has 2 constructors that allow a strict (non-lenient) charset encoding detection to be performed. This constructors take a lenient boolean flag, the flag should be set to false for a strict detection.

+
+

The Algorithms per XML 1.0 and RFC 3023 specifications

+

Following it's a detailed explanation on the algorithms the XmlReader uses to determine the charset encoding. These algorithms first appeared in Tucu's Weblog.

+
+

Raw XML charset encoding detection

+

Detection of the charset encoding of a XML document without external information (i.e. reading a XML document from a file). Following Section 4.3.3 and Appendix F.1 of the XML 1.0 specification the charset encoding of an XML document is determined as follows:

+
+
+BOMEnc     : byte order mark. Possible values: 'UTF-8', 'UTF-16BE', 'UTF-16LE' or NULL
+XMLGuessEnc: best guess using the byte representation of the first bytes of XML declaration
+             ('<?xml...?>') if present. Possible values: 'UTF-8', 'UTF-16BE', 'UTF-16LE' or NULL
+XMLEnc     : encoding in the XML declaration ('<?xml encoding="..."?>'). Possible values: anything or NULL
+
+if BOMEnc is NULL
+  if XMLGuessEnc is NULL or XMLEnc is NULL
+    encoding is 'UTF-8'                                                                   [1.0]
+  else
+  if XMLEnc is 'UTF-16' and (XMLGuessEnc is 'UTF-16BE' or XMLGuessEnc is 'UTF-16LE')
+    encoding is XMLGuessEnc                                                               [1.1]
+  else
+    encoding is XMLEnc                                                                    [1.2]
+else
+if BOMEnc is 'UTF-8'
+  if XMLGuessEnc is not NULL and XMLGuessEnc is not 'UTF-8'
+    ERROR, encoding mismatch                                                              [1.3]
+  if XMLEnc is not NULL and XMLEnc is not 'UTF-8'
+    ERROR, encoding mismatch                                                              [1.4]
+  encoding is 'UTF-8'
+else
+if BOMEnc is 'UTF-16BE' or BOMEnc is 'UTF-16LE'
+  if XMLGuessEnc is not NULL and XMLGuessEnc is not BOMEnc
+    ERROR, encoding mismatch                                                              [1.5]
+  if XMLEnc is not NULL and XMLEnc is not 'UTF-16' and XMLEnc is not BOMEnc
+    ERROR, encoding mismatch                                                              [1.6]
+  encoding is BOMEnc
+else
+  ERROR, cannot happen given BOMEnc possible values (see above)                           [1.7]
+
+

Byte Order Mark encoding and XML guessed encoding detection rules are clearly explained in the XML 1.0 Third Edition Appendix F.1. Note that in this algorithm BOMEnc and XMLGuessEnc are restricted to UTF-8 and UTF-16* encodings.

+
    +
  • #1.0. There is no BOM, an encoding or encoding family cannot be guessed from the first bytes in the stream, defaulting to UTF-8.
  • +
  • #1.1. Strictly following XML 1.0 Third Edition Section 4.3.3 Charset Encoding in Entities (2nd paragraph) no BOM and UTF-16 XML declaration encoding is an error. The BOM is required to identify if the encoding is BE or LE. But if XMLEnc was read it means that the encoding byte order of the stream was guessed from the first bytes in the stream, note that this is possible only if the document starts with a XML declaration. The logic verifies that there is no conflicting encoding information and relaxes the BOM requirement if a XML declaration (that allows guessing the byte order) is present.
  • +
  • #1.2. XMLEnc is present, it is not UTF-16 (although it can be UTF-16BE or UTF-16LE), the guessed encoding is used to read the XML declaration encoding. Detecting encoding mismatches here it would require awareness of charset families, instead the algorithm relies on the charset encoding routines that will process the stream to discover and report mismatches. IMPORTANT: To handle other encodings (i.e. USC-4 or EBCDIC encoding families) the algorithm should be extended here.
  • +
  • #1.3, #1.4, #1.5, #1.6 There is an explicit encoding mismatch.
  • +
  • #1.7. Given the currently assumed BOMEnc values this case cannot happen. IMPORTANT: To handle other encodings (i.e. USC-4 or EBCDIC encoding families) the algorithm should be extended here.
+
+

XML over HTTP charset encoding detection

+

Detection of the charset encoding of a XML document with external information (provided by HTTP). Following Section 4.3.3, Appendix F.1 and Appendix F.2 of the XML 1.0 specification, plus RFC 3023 the charset encoding of an XML document served over HTTP is determined as follows:

+
+
+ContentType: Content-Type HTTP header
+CTMime     : MIME type defined in the ContentType
+CTEnc      : charset encoding defined in the ContentType, NULL otherwise
+BOMEnc     : byte order mark. Possible values: 'UTF-8', 'UTF-16BE', 'UTF-16LE' or NULL
+XMLGuessEnc: best guess using the byte representation of the first bytes of XML declaration
+             ('<?xml...?>') if present. Possible values: 'UTF-8', 'UTF-16BE', 'UTF-16LE' or NULL
+XMLEnc     : encoding in the XML declaration ('<?xml encoding="..."?>'). Possible values: anything or NULL
+APP-XML    : RFC 3023 defined 'application/*xml' types
+TEXT-XML   : RFC 3023 defined 'text/*xml' types
+
+if CTMime is APP-XML or CTMime is TEXT-XML
+  if CTEnc is NULL
+    if CTMime is APP-XML
+      encoding is determined using the Raw XML charset encoding detection algorithm      [2.0]
+    else
+    if CTMime is TEXT-XML
+      encoding is 'US-ASCII'                                                             [2.1]
+  else
+  if (CTEnc is 'UTF-16BE' or CTEnc is 'UTF-16LE') and BOMEnc is not NULL
+    ERROR, RFC 3023 explicitly forbids this                                              [2.2]
+  else
+  if CTEnc is 'UTF-16'
+    if BOMEnc is 'UTF-16BE' or BOMEnc is 'UTF-16LE'
+      encoding is BOMEnc                                                                 [2.3]
+    else
+      ERROR, missing BOM or encoding mismatch                                            [2.4]
+  else
+    encoding is CTEnc                                                                    [2.5]
+else
+  ERROR, handling for other MIME types is undefined                                      [2.6]
+
+

Byte Order Mark encoding and XML guessed encoding detection rules are clearly explained in the XML 1.0 Third Edition Appendix F.1. Note that in this algorithm BOMEnc and XMLGuessEnc are restricted to UTF-8 and UTF-16* encodings.

+
    +
  • #2.0. HTTP content type declares a MIME of application type and XML sub-type. There is not HTTP Content-type charset encoding information. The charset encoding is determined using the Raw XML charset encoding detection algorithm. Refer to RFC 3023 Section 3.2. Application/xml Registration.
  • +
  • #2.1. HTTP content type declares a MIME of text type and XML sub-type. There is not HTTP Content-type charset encoding information. The charset encoding is US-ASCII. Refer to RFC 3023 Section 3.1. Text/xml Registration.
  • +
  • #2.2. For text-XML and application-XML MIME types if the HTTP content type declares 'UTF-16BE' or 'UTF-16LE' as the charset encoding, a BOM is prohibited. Refer to RFC 3023 Section 4. The Byte Order Mark (BOM) and Conversions to/from the UTF-16 Charset.
  • +
  • #2.3. For text-XML and application-XML MIME types if the HTTP content type declares 'UTF-16' as the charset encoding, a BOM is required and it must be used to determine the byte order. Refer to RFC 3023 Section 4. The Byte Order Mark (BOM) and Conversions to/from the UTF-16 Charset.
  • +
  • #2.4. For text-XML and application-XML MIME types if the HTTP content type declares 'UTF-16' as the charset encoding, a BOM must be present and it must be 'UTF-16BE' or 'UTF-16LE'. Refer to RFC 3023 Section 4. The Byte Order Mark (BOM) and Conversions to/from the UTF-16 Charset.
  • +
  • #2.5. For text-XML and application-XML MIME types if the HTTP content type declares a charset encoding other than the UTF-16 variants, that charset encoding is used, no other special handling is required.
  • +
  • #2.6. There is not defined logic to determine the charset encoding based on the MIME type given by the HTTP content type.
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/index.html b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/index.html new file mode 100644 index 0000000..ee4a7dd --- /dev/null +++ b/RssAndAtOMUtilitiEsROMEV0.5AndAboveTutorialsAndArticles/index.html @@ -0,0 +1,125 @@ + + + + + + ROME - Rss and atOM utilitiEs (ROME) v0.5 and above Tutorials and Articles + + + + + + + + + + + +
+ +
+
+
+
+

Rss and atOM utilitiEs (ROME) v0.5 and above Tutorials and Articles

+
+

Tutorials

+

The following tutorials show how to use the ROME API. They focus on the higher abstraction layer of classes offered by ROME, what we call the Synd* classes. By using the Synd* classes developers don't have to deal with the specifics of any syndication feed. They work with normalized feeds, the Synd* feeds. This makes it much easier to write applications that have to deal with all the variety of syndication feed types in use today.

+
    +
  1. Using ROME to read a syndication feed
  2. +
  3. Using ROME to convert a syndication feed from one type to another
  4. +
  5. Using ROME to aggregate many syndication feeds into a single one
  6. +
  7. Using ROME to create and write a feed
  8. +
  9. Defining a Custom Module bean, parser and generator
  10. +
  11. Using ROME within a Servlet to create and return a feed
+

For instructions on how to build and run the samples used in the tutorials click here.

+ +
+

Articles

+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/SitesToMoveFromJava.net.html b/SitesToMoveFromJava.net.html new file mode 100644 index 0000000..1e86aa4 --- /dev/null +++ b/SitesToMoveFromJava.net.html @@ -0,0 +1,335 @@ + + + + + + ROME - sites to move from java.net + + + + + + + + + + + +
+ +
+
+
+
+

sites to move from java.net

+
    +
  • ----+--+--+ | | source
+
+

|| target

+
+

|| state

+ + +
+

|

+ + +
+

| missing images

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

| links in code examples messed up

+ + +
+

| links in code examples messed up

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+ + +
+

|

+
+

| *----+--+--+

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/TutorialsAndArticles.html b/TutorialsAndArticles.html new file mode 100644 index 0000000..dedbdbd --- /dev/null +++ b/TutorialsAndArticles.html @@ -0,0 +1,155 @@ + + + + + + ROME - Tutorials and Articles + + + + + + + + + + + +
+ +
+
+
+
+

Tutorials and Articles

+
+

Tutorials and documentation

+
+
+

Articles

+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/WhatPartOfTheAPIYouShouldBeUsing.html b/WhatPartOfTheAPIYouShouldBeUsing.html new file mode 100644 index 0000000..24baff6 --- /dev/null +++ b/WhatPartOfTheAPIYouShouldBeUsing.html @@ -0,0 +1,101 @@ + + + + + + ROME - What part of the API you should be using + + + + + + + + + + + +
+ +
+
+
+
+

What part of the API you should be using

+

Rome API allows developers to work with classes that closely resemble a particular syndication feed type. For example, the Channel class for RSS feeds and the Feed class for Atom feeds. All the Synd* classes, which leverage the RSS and Atom specific classes, are the bridge to go from one syndication type to another.

+

For day to day coding, we found ourselves using the Synd* classes (in com.sun.syndication.feed.synd, com.sun.syndication.feed.module and com.sun.syndication.io packages) as we need to do applications that understand the different syndication feed types. And it is much simpler to work with a higher and independent abstraction.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/WhatSWrongWithOtherExistingRSSParsingLibraries.html b/WhatSWrongWithOtherExistingRSSParsingLibraries.html new file mode 100644 index 0000000..ae593d7 --- /dev/null +++ b/WhatSWrongWithOtherExistingRSSParsingLibraries.html @@ -0,0 +1,130 @@ + + + + + + ROME - What's wrong with other existing RSS parsing libraries? + + + + + + + + + + + +
+ +
+
+
+
+

What's wrong with other existing RSS parsing libraries?

+

Before we started with Rome we've evaluated other Java syndication management libraries to see if they'd fit our criteria. Feel free to update this evaluation if we forgot or mischaracterized your favorite library: this is a wiki after all:-)

+
+

Informa

+

The Informa: RSS Library for Java which exists since 2002 is too complicated to grasp and use. As of this writing it has 19 interfaces and 12 marker interfaces. It supports all RSS flavors in input, and only 1.0 and 0.91 in output.

+

No RSS 2.0 output.

+

No support for Atom at all.

+

They have some interesting features such as Hibernate and Castor based database serialization, and JSP taglibs, which are useful paraphernalia for server side application development. This seems to be their main focus of development today.

+

But we prefer to focus on our ESCAPE design criteria, so that our library does one thing really well: syndication parsing, abstract representation and conversion from/to all formats.

+

Thus our library will be useful for both client and server side developers.

+

We will develop the server side add-on later when the basics will be well oiled.

+
+

RSS4J

+

RSS4J was released in version 0.92 in april 2002. It did not evolve since then.

+

The web site explains:

+

This toolkit supports the three most commonly used RSS standards - 0.90 (the original), 0.91 and 1.0. RSS 0.92 and 0.93 are not supported due to the dramatic changes it makes to the format and the fact that 1.0 is already finalized.

+

No need to say more: it seems to be a dead project and doesn't even start to address our requirements.

+
+

RSS Utilities

+

RSS Utilities seems like a one-shot project from Rodrigo Oliveira, released in august 2003. It is a taglib to display RSS in JSPs, and includes a small parser for RSS 0.91, 0.92 and 2.0.

+

It does not seem to be maintained, does not address RSS 1.0 and Atom.

+

I would encourage Rodrigo to rewrite his taglibs using Rome as the parser, and eventually to contribute them to Rome.

+
+

RSSLibJ

+

RSSLibJ is a full-Java RSS generation and consumption library, primarily centering on generating RSS feeds but able to consume them as well. It's maintained, but undergoing a refactoring to change a rather undesirable dependency.

+

(This isn't a review - this was added by one of RSSLibJ 's authors.)

+
+

Sandler

+

Sandler is yet another parser except that it only supports Atom feeds. I can't say more than that because I haven't used it. And now I won't have to.

+
+

Conclusion

+

These are the only RSS or Syndication management libraries we found in Java when we reviewed what was available and wether it was worth starting a new project. Feel free to add to it if we forgot something.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/WhyThisProject.html b/WhyThisProject.html new file mode 100644 index 0000000..4a56109 --- /dev/null +++ b/WhyThisProject.html @@ -0,0 +1,110 @@ + + + + + + ROME - Why this project? + + + + + + + + + + + +
+ +
+
+
+
+

Why this project?

+

Various flavors of RSS and Atom syndication formats were reaching a tipping point in 2004. At Sun we started various projects involving these Syndication formats, but when looking around for Java libraries to take care of the parsing and generation of RSS we were not satisfied with what we found. Project ROME was started out of this frustration.

+

Our requirements are to ESCAPE from Syndication Feeds Hell. In order to allow that the library must be:

+
    +
  • *E*asy to use: given a url, get back a feed object independent of the underlying format, and serialize the feed object to the format I want.
  • +
  • *S*imple: RSS initially stood for "Really Simple Syndication"*, and this simplicity is what made the format successful. Specifications wars have made the current situation much more complicated. The goal of the library is to give that simplicity back to developers: each API we use force on us a mental model of the domain and we are using more and more libraries on each project we implement. This library tries to ease the cognitive load of developers and provides a very simple model for feeds and entries, abstarcting out the details of the various underlying formats.
  • +
  • *C*omplete: must handle all versions of RSS and Atom
  • +
  • *A*bstract: provides a Java-friendly abstraction layer on top of the various syndication specifications, that maps the commonalities of the various feed formats into a single simple JavaBeans Data Model.
  • +
  • *P*owerful: lets me access all the metadata of the feeds regardless of their format. If I need them, lets me access optional metadata expressed in extensions accepted by various formats (RSS 1.0 modules, other namespaces in Atom).
  • +
  • *E*xtensible: It needs to define a simple pluggable architecture to provide support for future extensions of the formats.
+

* - not so, it was originally "RDF Site Summary", see: RSS History

+

We set out to create this library in the same spirit as the JDOM library for XML manipulation in Java, incorporating XOM's Elliotte Rusty Harold's pearls of wisdom about API design and refactoring (see Air Bags and Other Design Principles which links his 6 interviews with Bill Venners). ROME implementation uses JDOM.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/apidocs/allclasses-frame.html b/apidocs/allclasses-frame.html new file mode 100644 index 0000000..5059396 --- /dev/null +++ b/apidocs/allclasses-frame.html @@ -0,0 +1,264 @@ + + + + + + + +All Classes (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + +All Classes +
+ + + + + +
Atom03Generator +
+Atom03Parser +
+Atom10Generator +
+Atom10Parser +
+Base64 +
+BaseWireFeedGenerator +
+BaseWireFeedParser +
+BeanIntrospector +
+Category +
+Category +
+Channel +
+CloneableBean +
+Cloud +
+Content +
+Content +
+Converter +
+ConverterForAtom03 +
+ConverterForAtom10 +
+ConverterForRSS090 +
+ConverterForRSS091Netscape +
+ConverterForRSS091Userland +
+ConverterForRSS092 +
+ConverterForRSS093 +
+ConverterForRSS094 +
+ConverterForRSS10 +
+ConverterForRSS20 +
+Converters +
+CopyFrom +
+CopyFromHelper +
+DateParser +
+DCModule +
+DCModuleGenerator +
+DCModuleImpl +
+DCModuleParser +
+DCSubject +
+DCSubjectImpl +
+DelegatingModuleGenerator +
+DelegatingModuleParser +
+Description +
+Enclosure +
+Entry +
+EqualsBean +
+Extendable +
+Feed +
+FeedException +
+FeedGenerators +
+FeedParsers +
+Generator +
+Guid +
+Image +
+Item +
+Link +
+Module +
+ModuleGenerator +
+ModuleGenerators +
+ModuleImpl +
+ModuleParser +
+ModuleParsers +
+ModuleUtils +
+NumberParser +
+ObjectBean +
+ParsingFeedException +
+Person +
+PluginManager +
+PropertiesLoader +
+RSS090Generator +
+RSS090Parser +
+RSS091NetscapeGenerator +
+RSS091NetscapeParser +
+RSS091UserlandGenerator +
+RSS091UserlandParser +
+RSS092Generator +
+RSS092Parser +
+RSS093Generator +
+RSS093Parser +
+RSS094Generator +
+RSS094Parser +
+RSS10Generator +
+RSS10Parser +
+RSS20Generator +
+RSS20Parser +
+RSS20wNSParser +
+SAXBuilder +
+Source +
+SyModule +
+SyModuleGenerator +
+SyModuleImpl +
+SyModuleParser +
+SyndCategory +
+SyndCategoryImpl +
+SyndContent +
+SyndContentImpl +
+SyndEnclosure +
+SyndEnclosureImpl +
+SyndEntry +
+SyndEntryImpl +
+SyndFeed +
+SyndFeedImpl +
+SyndFeedInput +
+SyndFeedOutput +
+SyndImage +
+SyndImageImpl +
+SyndLink +
+SyndLinkImpl +
+SyndPerson +
+SyndPersonImpl +
+TextInput +
+ToStringBean +
+URINormalizer +
+WireFeed +
+WireFeedGenerator +
+WireFeedInput +
+WireFeedOutput +
+WireFeedParser +
+XmlFixerReader +
+XmlReader +
+XmlReaderException +
+
+ + + \ No newline at end of file diff --git a/apidocs/allclasses-noframe.html b/apidocs/allclasses-noframe.html new file mode 100644 index 0000000..38f4ac1 --- /dev/null +++ b/apidocs/allclasses-noframe.html @@ -0,0 +1,264 @@ + + + + + + + +All Classes (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + +All Classes +
+ + + + + +
Atom03Generator +
+Atom03Parser +
+Atom10Generator +
+Atom10Parser +
+Base64 +
+BaseWireFeedGenerator +
+BaseWireFeedParser +
+BeanIntrospector +
+Category +
+Category +
+Channel +
+CloneableBean +
+Cloud +
+Content +
+Content +
+Converter +
+ConverterForAtom03 +
+ConverterForAtom10 +
+ConverterForRSS090 +
+ConverterForRSS091Netscape +
+ConverterForRSS091Userland +
+ConverterForRSS092 +
+ConverterForRSS093 +
+ConverterForRSS094 +
+ConverterForRSS10 +
+ConverterForRSS20 +
+Converters +
+CopyFrom +
+CopyFromHelper +
+DateParser +
+DCModule +
+DCModuleGenerator +
+DCModuleImpl +
+DCModuleParser +
+DCSubject +
+DCSubjectImpl +
+DelegatingModuleGenerator +
+DelegatingModuleParser +
+Description +
+Enclosure +
+Entry +
+EqualsBean +
+Extendable +
+Feed +
+FeedException +
+FeedGenerators +
+FeedParsers +
+Generator +
+Guid +
+Image +
+Item +
+Link +
+Module +
+ModuleGenerator +
+ModuleGenerators +
+ModuleImpl +
+ModuleParser +
+ModuleParsers +
+ModuleUtils +
+NumberParser +
+ObjectBean +
+ParsingFeedException +
+Person +
+PluginManager +
+PropertiesLoader +
+RSS090Generator +
+RSS090Parser +
+RSS091NetscapeGenerator +
+RSS091NetscapeParser +
+RSS091UserlandGenerator +
+RSS091UserlandParser +
+RSS092Generator +
+RSS092Parser +
+RSS093Generator +
+RSS093Parser +
+RSS094Generator +
+RSS094Parser +
+RSS10Generator +
+RSS10Parser +
+RSS20Generator +
+RSS20Parser +
+RSS20wNSParser +
+SAXBuilder +
+Source +
+SyModule +
+SyModuleGenerator +
+SyModuleImpl +
+SyModuleParser +
+SyndCategory +
+SyndCategoryImpl +
+SyndContent +
+SyndContentImpl +
+SyndEnclosure +
+SyndEnclosureImpl +
+SyndEntry +
+SyndEntryImpl +
+SyndFeed +
+SyndFeedImpl +
+SyndFeedInput +
+SyndFeedOutput +
+SyndImage +
+SyndImageImpl +
+SyndLink +
+SyndLinkImpl +
+SyndPerson +
+SyndPersonImpl +
+TextInput +
+ToStringBean +
+URINormalizer +
+WireFeed +
+WireFeedGenerator +
+WireFeedInput +
+WireFeedOutput +
+WireFeedParser +
+XmlFixerReader +
+XmlReader +
+XmlReaderException +
+
+ + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/CopyFrom.html b/apidocs/com/sun/syndication/feed/CopyFrom.html new file mode 100644 index 0000000..0a8d5ed --- /dev/null +++ b/apidocs/com/sun/syndication/feed/CopyFrom.html @@ -0,0 +1,251 @@ + + + + + + + +CopyFrom (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed +
+Interface CopyFrom<T>

+
+
All Known Subinterfaces:
DCModule, DCSubject, Module, SyModule, SyndContent, SyndEnclosure, SyndEntry, SyndFeed, SyndImage
+
+
+
All Known Implementing Classes:
DCModuleImpl, DCSubjectImpl, ModuleImpl, SyModuleImpl, SyndContentImpl, SyndEnclosureImpl, SyndEntryImpl, SyndFeedImpl, SyndImageImpl
+
+
+
+
public interface CopyFrom<T>
+ + +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidcopyFrom(CopyFrom obj) + +
+          Copies all the properties of the given bean into this one.
+ Class<? extends CopyFrom>getInterface() + +
+          Returns the interface the copyFrom works on.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getInterface

+
+Class<? extends CopyFrom> getInterface()
+
+
Returns the interface the copyFrom works on. +

+ This is useful when dealing with properties that may have multiple implementations. + For example, Module. +

+

+

+ +
Returns:
the interface the copyFrom works on.
+
+
+
+ +

+copyFrom

+
+void copyFrom(CopyFrom obj)
+
+
Copies all the properties of the given bean into this one. +

+ Any existing properties in this bean are lost. +

+ This method is useful for moving from one implementation of a bean interface to another. + For example from the default SyndFeed bean implementation to a Hibernate ready implementation. +

+

+

+
Parameters:
obj - the instance to copy properties from.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/WireFeed.html b/apidocs/com/sun/syndication/feed/WireFeed.html new file mode 100644 index 0000000..edd9df4 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/WireFeed.html @@ -0,0 +1,628 @@ + + + + + + + +WireFeed (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed +
+Class WireFeed

+
+java.lang.Object
+  extended by com.sun.syndication.feed.WireFeed
+
+
+
All Implemented Interfaces:
Extendable, Serializable, Cloneable
+
+
+
Direct Known Subclasses:
Channel, Feed
+
+
+
+
public abstract class WireFeed
extends Object
implements Cloneable, Serializable, Extendable
+ + +

+Parent class of the RSS (Channel) and Atom (Feed) feed beans. +

+ NOTE: We don't like this class at this package level but the alternative would have + been a proliferation of packages (one more level to hold atom and rss package with + this class just in that package). +

+ The format of the 'type' property must be [FEEDNAME]_[FEEDVERSION] with the FEEDNAME in lower case, + for example: rss_0.9, rss_0.93, atom_0.3 +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+protected WireFeed() + +
+          Default constructor, for bean cloning purposes only.
+protected WireFeed(String type) + +
+          Creates a feed for a given type.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetEncoding() + +
+          Returns the charset encoding of a the feed.
+ StringgetFeedType() + +
+          Returns the type of the feed.
+ ObjectgetForeignMarkup() + +
+          Returns foreign markup found at channel level.
+ ModulegetModule(String uri) + +
+          Returns the module identified by a given URI.
+ List<Module>getModules() + +
+          Returns the channel modules.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetEncoding(String encoding) + +
+          Sets the charset encoding of a the feed.
+ voidsetFeedType(String feedType) + +
+          Sets the feedType of a the feed.
+ voidsetForeignMarkup(Object foreignMarkup) + +
+          Sets foreign markup found at channel level.
+ voidsetModules(List<Module> modules) + +
+          Sets the channel modules.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WireFeed

+
+protected WireFeed()
+
+
Default constructor, for bean cloning purposes only. +

+

+

+
+ +

+WireFeed

+
+protected WireFeed(String type)
+
+
Creates a feed for a given type. +

+

+

+
Parameters:
type - of the feed to create.
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+setFeedType

+
+public void setFeedType(String feedType)
+
+
Sets the feedType of a the feed. Do not use, for bean cloning purposes only. +

+

+

+
+
+
+
Parameters:
feedType - the feedType of the feed.
+
+
+
+ +

+getFeedType

+
+public String getFeedType()
+
+
Returns the type of the feed. +

+

+
+
+
+ +
Returns:
the type of the feed.
+
+
+
+ +

+getEncoding

+
+public String getEncoding()
+
+
Returns the charset encoding of a the feed. +

+ This property is not set by feed parsers. But it is used by feed generators + to set the encoding in the XML prolog. +

+

+

+
+
+
+ +
Returns:
the charset encoding of the feed.
+
+
+
+ +

+setEncoding

+
+public void setEncoding(String encoding)
+
+
Sets the charset encoding of a the feed. +

+ This property is not set by feed parsers. But it is used by feed generators + to set the encoding in the XML prolog. +

+

+

+
+
+
+
Parameters:
encoding - the charset encoding of the feed.
+
+
+
+ +

+getModules

+
+public List<Module> getModules()
+
+
Returns the channel modules. +

+

+

+
Specified by:
getModules in interface Extendable
+
+
+ +
Returns:
a list of ModuleImpl elements with the channel modules, + an empty list if none.
+
+
+
+ +

+setModules

+
+public void setModules(List<Module> modules)
+
+
Sets the channel modules. +

+

+

+
Specified by:
setModules in interface Extendable
+
+
+
Parameters:
modules - the list of ModuleImpl elements with the channel modules to set, + an empty list or null if none.
+
+
+
+ +

+getModule

+
+public Module getModule(String uri)
+
+
Returns the module identified by a given URI. +

+

+

+
Specified by:
getModule in interface Extendable
+
+
+
Parameters:
uri - the URI of the ModuleImpl. +
Returns:
The module with the given URI, null if none.
+
+
+
+ +

+getForeignMarkup

+
+public Object getForeignMarkup()
+
+
Returns foreign markup found at channel level. +

+

+

+
+
+
+ +
Returns:
Opaque object to discourage use
+
+
+
+ +

+setForeignMarkup

+
+public void setForeignMarkup(Object foreignMarkup)
+
+
Sets foreign markup found at channel level. +

+

+

+
+
+
+
Parameters:
foreignMarkup - Opaque object to discourage use
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/Category.html b/apidocs/com/sun/syndication/feed/atom/Category.html new file mode 100644 index 0000000..0cedc2a --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/Category.html @@ -0,0 +1,555 @@ + + + + + + + +Category (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.atom +
+Class Category

+
+java.lang.Object
+  extended by com.sun.syndication.feed.atom.Category
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class Category
extends Object
implements Cloneable, Serializable
+ + +

+Bean for category elements of Atom feeds. +

+

+ +

+

+
Author:
+
Dave Johnson (added for Atom 1.0)
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Category() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetLabel() + +
+          Get label for category.
+ StringgetScheme() + +
+          Get Scheme URI for category.
+ StringgetSchemeResolved() + +
+           
+ StringgetTerm() + +
+          Return term for category.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetLabel(String label) + +
+          Set label for category.
+ voidsetScheme(String scheme) + +
+          Set scheme URI for category.
+ voidsetSchemeResolved(String schemeResolved) + +
+           
+ voidsetTerm(String term) + +
+          Set term for category.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Category

+
+public Category()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
Get label for category. +

+

+

+
+
+
+ +
Returns:
Label for category.
+
+
+
+ +

+setLabel

+
+public void setLabel(String label)
+
+
Set label for category. +

+

+

+
+
+
+
Parameters:
label - Label for category.
+
+
+
+ +

+getScheme

+
+public String getScheme()
+
+
Get Scheme URI for category. +

+

+

+
+
+
+ +
Returns:
Scheme URI for category.
+
+
+
+ +

+setScheme

+
+public void setScheme(String scheme)
+
+
Set scheme URI for category. +

+

+

+
+
+
+
Parameters:
scheme - Scheme URI for category.
+
+
+
+ +

+setSchemeResolved

+
+public void setSchemeResolved(String schemeResolved)
+
+
+
+
+
+
+
+
+
+ +

+getSchemeResolved

+
+public String getSchemeResolved()
+
+
+
+
+
+
+
+
+
+ +

+getTerm

+
+public String getTerm()
+
+
Return term for category. +

+

+

+
+
+
+ +
Returns:
Term for category.
+
+
+
+ +

+setTerm

+
+public void setTerm(String term)
+
+
Set term for category. +

+

+

+
+
+
+
Parameters:
term - Term for category.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/Content.html b/apidocs/com/sun/syndication/feed/atom/Content.html new file mode 100644 index 0000000..7defd04 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/Content.html @@ -0,0 +1,721 @@ + + + + + + + +Content (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.atom +
+Class Content

+
+java.lang.Object
+  extended by com.sun.syndication.feed.atom.Content
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class Content
extends Object
implements Cloneable, Serializable
+ + +

+Bean for content elements of Atom feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur, Dave Johnson (updated for Atom 1.0)
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringBASE64 + +
+          Atom 0.3 only
+static StringESCAPED + +
+          Atom 0.3 only
+static StringHTML + +
+           
+static StringTEXT + +
+           
+static StringXHTML + +
+           
+static StringXML + +
+          Atom 0.3 only
+  + + + + + + + + + + +
+Constructor Summary
Content() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetMode() + +
+          Returns the content mode (Atom 0.3 only).
+ StringgetSrc() + +
+          Returns the src +
+ StringgetType() + +
+          Returns the content type.
+ StringgetValue() + +
+          Returns the content value.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetMode(String mode) + +
+          Sets the content mode (Atom 0.3 only).
+ voidsetSrc(String src) + +
+          Set the src +
+ voidsetType(String type) + +
+          Sets the content type.
+ voidsetValue(String value) + +
+          Sets the content value.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+TEXT

+
+public static final String TEXT
+
+
+
Since:
+
Atom 1.0
+
See Also:
Constant Field Values
+
+
+ +

+HTML

+
+public static final String HTML
+
+
+
Since:
+
Atom 1.0
+
See Also:
Constant Field Values
+
+
+ +

+XHTML

+
+public static final String XHTML
+
+
+
Since:
+
Atom 1.0
+
See Also:
Constant Field Values
+
+
+ +

+XML

+
+public static final String XML
+
+
Atom 0.3 only +

+

+
See Also:
Constant Field Values
+
+
+ +

+BASE64

+
+public static final String BASE64
+
+
Atom 0.3 only +

+

+
See Also:
Constant Field Values
+
+
+ +

+ESCAPED

+
+public static final String ESCAPED
+
+
Atom 0.3 only +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Content

+
+public Content()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getType

+
+public String getType()
+
+
Returns the content type. +

+ The type indicates how the value was/will-be encoded in the XML feed. +

+

+

+
+
+
+
Since:
+
Atom 1.0
+
+
+
+
+ +

+setType

+
+public void setType(String type)
+
+
Sets the content type. +

+ The type indicates how the value was/will-be encoded in the XML feed. +

+

+

+
+
+
+
Since:
+
Atom 1.0
+
+
+
+
+ +

+getMode

+
+public String getMode()
+
+
Returns the content mode (Atom 0.3 only). +

+ The mode indicates how the value was/will-be encoded in the XML feed. +

+

+

+
+
+
+ +
Returns:
the content mode, null if none.
+
+
+
+ +

+setMode

+
+public void setMode(String mode)
+
+
Sets the content mode (Atom 0.3 only). +

+ The mode indicates how the value was/will-be encoded in the XML feed. +

+

+

+
+
+
+
Parameters:
mode - the content mode, null if none.
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Returns the content value. +

+ The return value should be decoded. +

+

+

+
+
+
+ +
Returns:
the content value, null if none.
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
Sets the content value. +

+ The value being set should be decoded. +

+

+

+
+
+
+
Parameters:
value - the content value, null if none.
+
+
+
+ +

+getSrc

+
+public String getSrc()
+
+
Returns the src +

+

+

+
+
+
+ +
Returns:
Returns the src.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setSrc

+
+public void setSrc(String src)
+
+
Set the src +

+

+

+
+
+
+
Parameters:
src - The src to set.
Since:
+
Atom 1.0
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/Entry.html b/apidocs/com/sun/syndication/feed/atom/Entry.html new file mode 100644 index 0000000..bdb2354 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/Entry.html @@ -0,0 +1,1494 @@ + + + + + + + +Entry (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.atom +
+Class Entry

+
+java.lang.Object
+  extended by com.sun.syndication.feed.atom.Entry
+
+
+
All Implemented Interfaces:
Extendable, Serializable, Cloneable
+
+
+
+
public class Entry
extends Object
implements Cloneable, Serializable, Extendable
+ + +

+Bean for entry elements of Atom feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur, Dave Johnson (updated for Atom 1.0)
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Entry() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ LinkfindRelatedLink(String relation) + +
+           
+ List<Link>getAlternateLinks() + +
+          Returns the entry alternate links.
+ List<Person>getAuthors() + +
+          Returns the entry author.
+ ListgetCategories() + +
+          Returns the categories +
+ List<Content>getContents() + +
+          Returns the entry contents.
+ List<Person>getContributors() + +
+          Returns the entry contributors.
+ DategetCreated() + +
+          Returns the entry created date (Atom 0.3 only) +
+ ObjectgetForeignMarkup() + +
+          Returns foreign markup found at entry level.
+ StringgetId() + +
+          Returns the entry ID.
+ DategetIssued() + +
+          Returns the entry issued date (Atom 0.3, maps to getPublished()).
+ DategetModified() + +
+          Returns the entry modified date (Atom 0.3, maps to getUpdated()).
+ ModulegetModule(String uri) + +
+          Returns the module identified by a given URI.
+ ListgetModules() + +
+          Returns the entry modules.
+ List<Link>getOtherLinks() + +
+          Returns the entry non-alternate links.
+ DategetPublished() + +
+          Returns the published +
+ StringgetRights() + +
+          Returns the rights +
+ FeedgetSource() + +
+          Returns the source +
+ ContentgetSummary() + +
+          Returns the entry summary.
+ StringgetTitle() + +
+          Returns the entry title.
+ ContentgetTitleEx() + +
+          Returns the entry title as a text construct.
+ DategetUpdated() + +
+          Returns the updated +
+ StringgetXmlBase() + +
+          Returns the xmlBase +
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ booleanisMediaEntry() + +
+          Returns true if entry is a media entry, i.e. has rel="edit-media".
+ voidsetAlternateLinks(List<Link> alternateLinks) + +
+          Sets the entry alternate links.
+ voidsetAuthors(List<Person> authors) + +
+          Sets the author of the entry.
+ voidsetCategories(List categories) + +
+          Set the categories +
+ voidsetContents(List contents) + +
+          Sets the entry contents.
+ voidsetContributors(List<Person> contributors) + +
+          Sets the entry contributors.
+ voidsetCreated(Date created) + +
+          Sets the entry created date (Atom 0.3 only) +
+ voidsetForeignMarkup(Object foreignMarkup) + +
+          Sets foreign markup found at entry level.
+ voidsetId(String id) + +
+          Sets the entry ID.
+ voidsetIssued(Date issued) + +
+          Sets the entry issued date (Atom 0.3, maps to setPublished(java.util.Date)).
+ voidsetModified(Date modified) + +
+          Sets the entry modified date (Atom 0.3, maps to setUpdated(java.util.Date)).
+ voidsetModules(List modules) + +
+          Sets the entry modules.
+ voidsetOtherLinks(List<Link> otherLinks) + +
+          Sets the entry non-alternate links.
+ voidsetPublished(Date published) + +
+          Set the published +
+ voidsetRights(String rights) + +
+          Set the rights +
+ voidsetSource(Feed source) + +
+          Set the source +
+ voidsetSummary(Content summary) + +
+          Sets the entry summary.
+ voidsetTitle(String title) + +
+          Sets the entry title.
+ voidsetTitleEx(Content title) + +
+          Sets the entry title as a text construct.
+ voidsetUpdated(Date updated) + +
+          Set the updated +
+ voidsetXmlBase(String xmlBase) + +
+          Set the xmlBase +
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Entry

+
+public Entry()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+setAlternateLinks

+
+public void setAlternateLinks(List<Link> alternateLinks)
+
+
Sets the entry alternate links. +

+

+

+
+
+
+
Parameters:
alternateLinks - the list of Link elements with the entry alternate links to set, + an empty list or null if none.
+
+
+
+ +

+getAlternateLinks

+
+public List<Link> getAlternateLinks()
+
+
Returns the entry alternate links. +

+

+

+
+
+
+ +
Returns:
a list of Link elements with the entry alternate links, an empty list if none.
+
+
+
+ +

+setAuthors

+
+public void setAuthors(List<Person> authors)
+
+
Sets the author of the entry. +

+

+

+
+
+
+
Parameters:
authors - the author of the entry, null if none.
+
+
+
+ +

+getAuthors

+
+public List<Person> getAuthors()
+
+
Returns the entry author. +

+

+

+
+
+
+ +
Returns:
the entry author, null if none.
+
+
+
+ +

+setCategories

+
+public void setCategories(List categories)
+
+
Set the categories +

+

+

+
+
+
+
Parameters:
categories - The categories to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getCategories

+
+public List getCategories()
+
+
Returns the categories +

+

+

+
+
+
+ +
Returns:
Returns the categories.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setContents

+
+public void setContents(List contents)
+
+
Sets the entry contents. +

+

+

+
+
+
+
Parameters:
contents - the list of Content elements with the entry contents to set, + an empty list or null if none.
+
+
+
+ +

+getContents

+
+public List<Content> getContents()
+
+
Returns the entry contents. +

+

+

+
+
+
+ +
Returns:
a list of Content elements with the entry contents, + an empty list if none.
+
+
+
+ +

+setContributors

+
+public void setContributors(List<Person> contributors)
+
+
Sets the entry contributors. +

+

+

+
+
+
+
Parameters:
contributors - the list of Person elements with the entry contributors to set, + an empty list or null if none.
+
+
+
+ +

+getContributors

+
+public List<Person> getContributors()
+
+
Returns the entry contributors. +

+

+

+
+
+
+ +
Returns:
a list of Person elements with the entry contributors, + an empty list if none.
+
+
+
+ +

+setCreated

+
+public void setCreated(Date created)
+
+
Sets the entry created date (Atom 0.3 only) +

+

+

+
+
+
+
Parameters:
created - the entry created date, null if none.
+
+
+
+ +

+getCreated

+
+public Date getCreated()
+
+
Returns the entry created date (Atom 0.3 only) +

+

+

+
+
+
+ +
Returns:
the entry created date, null if none.
+
+
+
+ +

+setForeignMarkup

+
+public void setForeignMarkup(Object foreignMarkup)
+
+
Sets foreign markup found at entry level. +

+

+

+
+
+
+
Parameters:
foreignMarkup - Opaque object to discourage use
+
+
+
+ +

+getForeignMarkup

+
+public Object getForeignMarkup()
+
+
Returns foreign markup found at entry level. +

+

+

+
+
+
+ +
Returns:
list of Opaque object to discourage use
+
+
+
+ +

+setId

+
+public void setId(String id)
+
+
Sets the entry ID. +

+

+

+
+
+
+
Parameters:
id - the entry ID, null if none.
+
+
+
+ +

+getId

+
+public String getId()
+
+
Returns the entry ID. +

+

+

+
+
+
+ +
Returns:
the entry ID, null if none.
+
+
+
+ +

+setIssued

+
+public void setIssued(Date issued)
+
+
Sets the entry issued date (Atom 0.3, maps to setPublished(java.util.Date)). +

+

+

+
+
+
+
Parameters:
issued - the entry issued date, null if none.
+
+
+
+ +

+getIssued

+
+public Date getIssued()
+
+
Returns the entry issued date (Atom 0.3, maps to getPublished()). +

+

+

+
+
+
+ +
Returns:
the entry issued date, null if none.
+
+
+
+ +

+isMediaEntry

+
+public boolean isMediaEntry()
+
+
Returns true if entry is a media entry, i.e. has rel="edit-media". +

+

+
+
+
+ +
Returns:
true if entry is a media entry
+
+
+
+ +

+setModified

+
+public void setModified(Date modified)
+
+
Sets the entry modified date (Atom 0.3, maps to setUpdated(java.util.Date)). +

+

+

+
+
+
+
Parameters:
modified - the entry modified date, null if none.
+
+
+
+ +

+getModified

+
+public Date getModified()
+
+
Returns the entry modified date (Atom 0.3, maps to getUpdated()). +

+

+

+
+
+
+ +
Returns:
the entry modified date, null if none.
+
+
+
+ +

+getModule

+
+public Module getModule(String uri)
+
+
Returns the module identified by a given URI. +

+

+

+
Specified by:
getModule in interface Extendable
+
+
+
Parameters:
uri - the URI of the ModuleImpl. +
Returns:
The module with the given URI, null if none.
+
+
+
+ +

+setModules

+
+public void setModules(List modules)
+
+
Sets the entry modules. +

+

+

+
Specified by:
setModules in interface Extendable
+
+
+
Parameters:
modules - the list of ModuleImpl elements with the entry modules to set, + an empty list or null if none.
+
+
+
+ +

+getModules

+
+public List getModules()
+
+
Returns the entry modules. +

+

+

+
Specified by:
getModules in interface Extendable
+
+
+ +
Returns:
a list of ModuleImpl elements with the entry modules, + an emtpy list if none.
+
+
+
+ +

+setOtherLinks

+
+public void setOtherLinks(List<Link> otherLinks)
+
+
Sets the entry non-alternate links. +

+

+

+
+
+
+
Parameters:
otherLinks - the list Link elements with the entry non-alternate links to set, + an empty list or null if none.
+
+
+
+ +

+getOtherLinks

+
+public List<Link> getOtherLinks()
+
+
Returns the entry non-alternate links. +

+

+

+
+
+
+ +
Returns:
the list of Link elements with the entry non-alternate links to set, + an empty list if none.
+
+
+
+ +

+setPublished

+
+public void setPublished(Date published)
+
+
Set the published +

+

+

+
+
+
+
Parameters:
published - The published to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getPublished

+
+public Date getPublished()
+
+
Returns the published +

+

+

+
+
+
+ +
Returns:
Returns the published.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setRights

+
+public void setRights(String rights)
+
+
Set the rights +

+

+

+
+
+
+
Parameters:
rights - The rights to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getRights

+
+public String getRights()
+
+
Returns the rights +

+

+

+
+
+
+ +
Returns:
Returns the rights.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setSource

+
+public void setSource(Feed source)
+
+
Set the source +

+

+

+
+
+
+
Parameters:
source - The source to set.
+
+
+
+ +

+getSource

+
+public Feed getSource()
+
+
Returns the source +

+

+

+
+
+
+ +
Returns:
Returns the source.
+
+
+
+ +

+setSummary

+
+public void setSummary(Content summary)
+
+
Sets the entry summary. +

+

+

+
+
+
+
Parameters:
summary - the entry summary, null if none.
+
+
+
+ +

+getSummary

+
+public Content getSummary()
+
+
Returns the entry summary. +

+

+

+
+
+
+ +
Returns:
the entry summary, null if none.
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
Sets the entry title. +

+

+

+
+
+
+
Parameters:
title - the entry title, null if none.
+
+
+
+ +

+getTitle

+
+public String getTitle()
+
+
Returns the entry title. +

+

+

+
+
+
+ +
Returns:
the entry title, null if none.
+
+
+
+ +

+setTitleEx

+
+public void setTitleEx(Content title)
+
+
Sets the entry title as a text construct. +

+

+

+
+
+
+
Parameters:
title - the entry title, null if none.
+
+
+
+ +

+getTitleEx

+
+public Content getTitleEx()
+
+
Returns the entry title as a text construct. +

+

+

+
+
+
+ +
Returns:
the entry title, null if none.
+
+
+
+ +

+setUpdated

+
+public void setUpdated(Date updated)
+
+
Set the updated +

+

+

+
+
+
+
Parameters:
updated - The updated to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getUpdated

+
+public Date getUpdated()
+
+
Returns the updated +

+

+

+
+
+
+ +
Returns:
Returns the updated.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setXmlBase

+
+public void setXmlBase(String xmlBase)
+
+
Set the xmlBase +

+

+

+
+
+
+
Parameters:
xmlBase - The xmlBase to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getXmlBase

+
+public String getXmlBase()
+
+
Returns the xmlBase +

+

+

+
+
+
+ +
Returns:
Returns the xmlBase.
Since:
+
Atom 1.0
+
+
+
+
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+findRelatedLink

+
+public Link findRelatedLink(String relation)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/Feed.html b/apidocs/com/sun/syndication/feed/atom/Feed.html new file mode 100644 index 0000000..9d9956e --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/Feed.html @@ -0,0 +1,1357 @@ + + + + + + + +Feed (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.atom +
+Class Feed

+
+java.lang.Object
+  extended by com.sun.syndication.feed.WireFeed
+      extended by com.sun.syndication.feed.atom.Feed
+
+
+
All Implemented Interfaces:
Extendable, Serializable, Cloneable
+
+
+
+
public class Feed
extends WireFeed
+ + +

+Bean for Atom feeds. +

+ It handles Atom feeds version 0.3 without loosing any feed information. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur, Dave Johnson (updated for Atom 1.0)
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
Feed() + +
+          Default constructor, for bean cloning purposes only.
Feed(String type) + +
+          Feed Constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ List<Link>getAlternateLinks() + +
+          Returns the feed alternate links.
+ List<Person>getAuthors() + +
+          Returns the feed author.
+ ListgetCategories() + +
+          Returns the categories +
+ List<Person>getContributors() + +
+          Returns the feed contributors.
+ StringgetCopyright() + +
+          Returns the feed copyright (Atom 0.3, maps to getRights()).
+ List<Entry>getEntries() + +
+          Returns the feed entries.
+ GeneratorgetGenerator() + +
+          Returns the feed generator.
+ StringgetIcon() + +
+          Returns the icon +
+ StringgetId() + +
+          Returns the feed ID.
+ ContentgetInfo() + +
+          Returns the feed info (Atom 0.3 only) +
+ StringgetLanguage() + +
+          Returns the feed language (Atom 0.3 only) +
+ StringgetLogo() + +
+          Returns the logo +
+ DategetModified() + +
+          Returns the feed modified date (Atom 0.3, maps to getUpdated()).
+ ModulegetModule(String uri) + +
+          Returns the module identified by a given URI.
+ List<Module>getModules() + +
+          Returns the feed modules.
+ List<Link>getOtherLinks() + +
+          Returns the feed other links (non-alternate ones).
+ StringgetRights() + +
+          Returns the rights +
+ ContentgetSubtitle() + +
+          Returns the subtitle +
+ ContentgetTagline() + +
+          Returns the feed tag line (Atom 0.3, maps to getSubtitle()).
+ StringgetTitle() + +
+          Returns the feed title.
+ ContentgetTitleEx() + +
+          Returns the feed title.
+ DategetUpdated() + +
+          Returns the updated +
+ StringgetXmlBase() + +
+          Returns the xmlBase +
+ voidsetAlternateLinks(List<Link> alternateLinks) + +
+          Sets the feed alternate links.
+ voidsetAuthors(List<Person> authors) + +
+          Sets the feed author.
+ voidsetCategories(List<Category> categories) + +
+          Set the categories +
+ voidsetContributors(List<Person> contributors) + +
+          Sets the feed contributors.
+ voidsetCopyright(String copyright) + +
+          Sets the feed copyright (Atom 0.3, maps to setRights(java.lang.String)).
+ voidsetEntries(List entries) + +
+          Sets the feed entries.
+ voidsetGenerator(Generator generator) + +
+          Sets the feed generator.
+ voidsetIcon(String icon) + +
+          Set the icon +
+ voidsetId(String id) + +
+          Sets the feed ID.
+ voidsetInfo(Content info) + +
+          Sets the feed info (Atom 0.3 only) +
+ voidsetLanguage(String language) + +
+          Sets the feed language (Atom 0.3 only) +
+ voidsetLogo(String logo) + +
+          Set the logo +
+ voidsetModified(Date modified) + +
+          Sets the feed modified date (Atom 0.3, maps to setUpdated(java.util.Date)).
+ voidsetModules(List<Module> modules) + +
+          Sets the feed moduless.
+ voidsetOtherLinks(List<Link> otherLinks) + +
+          Sets the feed other links (non-alternate ones).
+ voidsetRights(String rights) + +
+          Set the rights +
+ voidsetSubtitle(Content subtitle) + +
+          Set the subtitle +
+ voidsetTagline(Content tagline) + +
+          Sets the feed tagline (Atom 0.3, maps to setSubtitle(com.sun.syndication.feed.atom.Content)).
+ voidsetTitle(String title) + +
+          Sets the feed title.
+ voidsetTitleEx(Content title) + +
+          Sets the feed title.
+ voidsetUpdated(Date updated) + +
+          Set the updated +
+ voidsetXmlBase(String xmlBase) + +
+          Set the xmlBase +
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.WireFeed
clone, equals, getEncoding, getFeedType, getForeignMarkup, hashCode, setEncoding, setFeedType, setForeignMarkup, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Feed

+
+public Feed()
+
+
Default constructor, for bean cloning purposes only. +

+

+
+ +

+Feed

+
+public Feed(String type)
+
+
Feed Constructor. All properties, except the type, are set to null. +

+

+

+
Parameters:
type - the type of the Atom feed.
+
+ + + + + + + + +
+Method Detail
+ +

+getLanguage

+
+public String getLanguage()
+
+
Returns the feed language (Atom 0.3 only) +

+

+

+ +
Returns:
the feed language, null if none.
+
+
+
+ +

+setLanguage

+
+public void setLanguage(String language)
+
+
Sets the feed language (Atom 0.3 only) +

+

+

+
Parameters:
language - the feed language to set, null if none.
+
+
+
+ +

+getTitle

+
+public String getTitle()
+
+
Returns the feed title. +

+

+

+ +
Returns:
the feed title, null if none.
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
Sets the feed title. +

+

+

+
Parameters:
title - the feed title to set, null if none.
+
+
+
+ +

+getTitleEx

+
+public Content getTitleEx()
+
+
Returns the feed title. +

+

+

+ +
Returns:
the feed title, null if none.
+
+
+
+ +

+setTitleEx

+
+public void setTitleEx(Content title)
+
+
Sets the feed title. +

+

+

+
Parameters:
title - the feed title to set, null if none.
+
+
+
+ +

+getAlternateLinks

+
+public List<Link> getAlternateLinks()
+
+
Returns the feed alternate links. +

+

+

+ +
Returns:
a list of Link elements with the feed alternate links, + an empty list if none.
+
+
+
+ +

+setAlternateLinks

+
+public void setAlternateLinks(List<Link> alternateLinks)
+
+
Sets the feed alternate links. +

+

+

+
Parameters:
alternateLinks - the list of Link elements with the feed alternate links to set, + an empty list or null if none.
+
+
+
+ +

+getOtherLinks

+
+public List<Link> getOtherLinks()
+
+
Returns the feed other links (non-alternate ones). +

+

+

+ +
Returns:
a list of Link elements with the feed other links (non-alternate ones), + an empty list if none.
+
+
+
+ +

+setOtherLinks

+
+public void setOtherLinks(List<Link> otherLinks)
+
+
Sets the feed other links (non-alternate ones). +

+

+

+
Parameters:
otherLinks - the list of Link elements with the feed other links (non-alternate ones) to set, + an empty list or null if none.
+
+
+
+ +

+getAuthors

+
+public List<Person> getAuthors()
+
+
Returns the feed author. +

+

+

+ +
Returns:
the feed author, null if none.
+
+
+
+ +

+setAuthors

+
+public void setAuthors(List<Person> authors)
+
+
Sets the feed author. +

+

+

+
Parameters:
authors - the feed author to set, null if none.
+
+
+
+ +

+getContributors

+
+public List<Person> getContributors()
+
+
Returns the feed contributors. +

+

+

+ +
Returns:
a list of Person elements with the feed contributors, + an empty list if none.
+
+
+
+ +

+setContributors

+
+public void setContributors(List<Person> contributors)
+
+
Sets the feed contributors. +

+

+

+
Parameters:
contributors - the list of Person elements with the feed contributors to set, + an empty list or null if none.
+
+
+
+ +

+getTagline

+
+public Content getTagline()
+
+
Returns the feed tag line (Atom 0.3, maps to getSubtitle()). +

+

+

+ +
Returns:
the feed tag line, null if none.
+
+
+
+ +

+setTagline

+
+public void setTagline(Content tagline)
+
+
Sets the feed tagline (Atom 0.3, maps to setSubtitle(com.sun.syndication.feed.atom.Content)). +

+

+

+
Parameters:
tagline - the feed tagline to set, null if none.
+
+
+
+ +

+getId

+
+public String getId()
+
+
Returns the feed ID. +

+

+

+ +
Returns:
the feed ID, null if none.
+
+
+
+ +

+setId

+
+public void setId(String id)
+
+
Sets the feed ID. +

+

+

+
Parameters:
id - the feed ID to set, null if none.
+
+
+
+ +

+getGenerator

+
+public Generator getGenerator()
+
+
Returns the feed generator. +

+

+

+ +
Returns:
the feed generator, null if none.
+
+
+
+ +

+setGenerator

+
+public void setGenerator(Generator generator)
+
+
Sets the feed generator. +

+

+

+
Parameters:
generator - the feed generator to set, null if none.
+
+
+
+ +

+getCopyright

+
+public String getCopyright()
+
+
Returns the feed copyright (Atom 0.3, maps to getRights()). +

+

+

+ +
Returns:
the feed copyright, null if none.
+
+
+
+ +

+setCopyright

+
+public void setCopyright(String copyright)
+
+
Sets the feed copyright (Atom 0.3, maps to setRights(java.lang.String)). +

+

+

+
Parameters:
copyright - the feed copyright to set, null if none.
+
+
+
+ +

+getInfo

+
+public Content getInfo()
+
+
Returns the feed info (Atom 0.3 only) +

+

+

+ +
Returns:
the feed info, null if none.
+
+
+
+ +

+setInfo

+
+public void setInfo(Content info)
+
+
Sets the feed info (Atom 0.3 only) +

+

+

+
Parameters:
info - the feed info to set, null if none.
+
+
+
+ +

+getModified

+
+public Date getModified()
+
+
Returns the feed modified date (Atom 0.3, maps to getUpdated()). +

+

+

+ +
Returns:
the feed modified date, null if none.
+
+
+
+ +

+setModified

+
+public void setModified(Date modified)
+
+
Sets the feed modified date (Atom 0.3, maps to setUpdated(java.util.Date)). +

+

+

+
Parameters:
modified - the feed modified date to set, null if none.
+
+
+
+ +

+getEntries

+
+public List<Entry> getEntries()
+
+
Returns the feed entries. +

+

+

+ +
Returns:
a list of Entry elements with the feed entries, + an empty list if none.
+
+
+
+ +

+setEntries

+
+public void setEntries(List entries)
+
+
Sets the feed entries. +

+

+

+
Parameters:
entries - the list of Entry elements with the feed entries to set, + an empty list or null if none.
+
+
+
+ +

+getModules

+
+public List<Module> getModules()
+
+
Returns the feed modules. +

+

+

+
Specified by:
getModules in interface Extendable
Overrides:
getModules in class WireFeed
+
+
+ +
Returns:
a list of ModuleImpl elements with the feed modules, + an empty list if none.
+
+
+
+ +

+setModules

+
+public void setModules(List<Module> modules)
+
+
Sets the feed moduless. +

+

+

+
Specified by:
setModules in interface Extendable
Overrides:
setModules in class WireFeed
+
+
+
Parameters:
modules - the list of ModuleImpl elements with the feed moduless to set, + an empty list or null if none.
+
+
+
+ +

+getModule

+
+public Module getModule(String uri)
+
+
Returns the module identified by a given URI. +

+

+

+
Specified by:
getModule in interface Extendable
Overrides:
getModule in class WireFeed
+
+
+
Parameters:
uri - the URI of the ModuleImpl. +
Returns:
The module with the given URI, null if none.
+
+
+
+ +

+getCategories

+
+public List getCategories()
+
+
Returns the categories +

+

+

+ +
Returns:
Returns the categories.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setCategories

+
+public void setCategories(List<Category> categories)
+
+
Set the categories +

+

+

+
Parameters:
categories - The categories to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getIcon

+
+public String getIcon()
+
+
Returns the icon +

+

+

+ +
Returns:
Returns the icon.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setIcon

+
+public void setIcon(String icon)
+
+
Set the icon +

+

+

+
Parameters:
icon - The icon to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getLogo

+
+public String getLogo()
+
+
Returns the logo +

+

+

+ +
Returns:
Returns the logo.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setLogo

+
+public void setLogo(String logo)
+
+
Set the logo +

+

+

+
Parameters:
logo - The logo to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getRights

+
+public String getRights()
+
+
Returns the rights +

+

+

+ +
Returns:
Returns the rights.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setRights

+
+public void setRights(String rights)
+
+
Set the rights +

+

+

+
Parameters:
rights - The rights to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getSubtitle

+
+public Content getSubtitle()
+
+
Returns the subtitle +

+

+

+ +
Returns:
Returns the subtitle.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setSubtitle

+
+public void setSubtitle(Content subtitle)
+
+
Set the subtitle +

+

+

+
Parameters:
subtitle - The subtitle to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getUpdated

+
+public Date getUpdated()
+
+
Returns the updated +

+

+

+ +
Returns:
Returns the updated.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setUpdated

+
+public void setUpdated(Date updated)
+
+
Set the updated +

+

+

+
Parameters:
updated - The updated to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getXmlBase

+
+public String getXmlBase()
+
+
Returns the xmlBase +

+

+

+ +
Returns:
Returns the xmlBase.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setXmlBase

+
+public void setXmlBase(String xmlBase)
+
+
Set the xmlBase +

+

+

+
Parameters:
xmlBase - The xmlBase to set.
Since:
+
Atom 1.0
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/Generator.html b/apidocs/com/sun/syndication/feed/atom/Generator.html new file mode 100644 index 0000000..2c2d93d --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/Generator.html @@ -0,0 +1,511 @@ + + + + + + + +Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.atom +
+Class Generator

+
+java.lang.Object
+  extended by com.sun.syndication.feed.atom.Generator
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class Generator
extends Object
implements Cloneable, Serializable
+ + +

+Bean for the generator element of Atom feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Generator() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetUrl() + +
+          Returns the generator URL.
+ StringgetValue() + +
+          Returns the generator value.
+ StringgetVersion() + +
+          Returns the generator version.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetUrl(String url) + +
+          Sets the generator URL.
+ voidsetValue(String value) + +
+          Sets the generator value.
+ voidsetVersion(String version) + +
+          Sets the generator version.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Generator

+
+public Generator()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getUrl

+
+public String getUrl()
+
+
Returns the generator URL. +

+

+

+
+
+
+ +
Returns:
the generator URL, null if none.
+
+
+
+ +

+setUrl

+
+public void setUrl(String url)
+
+
Sets the generator URL. +

+

+

+
+
+
+
Parameters:
url - the generator URL, null if none.
+
+
+
+ +

+getVersion

+
+public String getVersion()
+
+
Returns the generator version. +

+

+

+
+
+
+ +
Returns:
the generator version, null if none.
+
+
+
+ +

+setVersion

+
+public void setVersion(String version)
+
+
Sets the generator version. +

+

+

+
+
+
+
Parameters:
version - the generator version, null if none.
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Returns the generator value. +

+

+

+
+
+
+ +
Returns:
the generator value, null if none.
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
Sets the generator value. +

+

+

+
+
+
+
Parameters:
value - the generator value, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/Link.html b/apidocs/com/sun/syndication/feed/atom/Link.html new file mode 100644 index 0000000..fcf8315 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/Link.html @@ -0,0 +1,716 @@ + + + + + + + +Link (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.atom +
+Class Link

+
+java.lang.Object
+  extended by com.sun.syndication.feed.atom.Link
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class Link
extends Object
implements Cloneable, Serializable
+ + +

+Bean for link elements of Atom feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur, Dave Johnson (updated for Atom 1.0)
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Link() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetHref() + +
+          Returns the link href.
+ StringgetHreflang() + +
+          Returns the hreflang +
+ StringgetHrefResolved() + +
+           
+ longgetLength() + +
+          Returns the length +
+ StringgetRel() + +
+          Returns the link rel.
+ StringgetTitle() + +
+          Returns the link title.
+ StringgetType() + +
+          Returns the link type.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetHref(String href) + +
+          Sets the link href.
+ voidsetHreflang(String hreflang) + +
+          Set the hreflang +
+ voidsetHrefResolved(String hrefResolved) + +
+           
+ voidsetLength(long length) + +
+          Set the length +
+ voidsetRel(String rel) + +
+          Sets the link rel.
+ voidsetTitle(String title) + +
+          Sets the link title.
+ voidsetType(String type) + +
+          Sets the link type.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Link

+
+public Link()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getRel

+
+public String getRel()
+
+
Returns the link rel. +

+

+

+
+
+
+ +
Returns:
the link rel, null if none.
+
+
+
+ +

+setRel

+
+public void setRel(String rel)
+
+
Sets the link rel. +

+

+

+
+
+
+
Parameters:
rel - the link rel,, null if none.
+
+
+
+ +

+getType

+
+public String getType()
+
+
Returns the link type. +

+

+

+
+
+
+ +
Returns:
the link type, null if none.
+
+
+
+ +

+setType

+
+public void setType(String type)
+
+
Sets the link type. +

+

+

+
+
+
+
Parameters:
type - the link type, null if none.
+
+
+
+ +

+getHref

+
+public String getHref()
+
+
Returns the link href. +

+

+

+
+
+
+ +
Returns:
the link href, null if none.
+
+
+
+ +

+setHref

+
+public void setHref(String href)
+
+
Sets the link href. +

+

+

+
+
+
+
Parameters:
href - the link href, null if none.
+
+
+
+ +

+setHrefResolved

+
+public void setHrefResolved(String hrefResolved)
+
+
+
+
+
+
+
+
+
+ +

+getHrefResolved

+
+public String getHrefResolved()
+
+
+
+
+
+
+
+
+
+ +

+getTitle

+
+public String getTitle()
+
+
Returns the link title. +

+

+

+
+
+
+ +
Returns:
the link title, null if none.
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
Sets the link title. +

+

+

+
+
+
+
Parameters:
title - the link title, null if none.
+
+
+
+ +

+getHreflang

+
+public String getHreflang()
+
+
Returns the hreflang +

+

+

+
+
+
+ +
Returns:
Returns the hreflang.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setHreflang

+
+public void setHreflang(String hreflang)
+
+
Set the hreflang +

+

+

+
+
+
+
Parameters:
hreflang - The hreflang to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getLength

+
+public long getLength()
+
+
Returns the length +

+

+

+
+
+
+ +
Returns:
Returns the length.
+
+
+
+ +

+setLength

+
+public void setLength(long length)
+
+
Set the length +

+

+

+
+
+
+
Parameters:
length - The length to set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/Person.html b/apidocs/com/sun/syndication/feed/atom/Person.html new file mode 100644 index 0000000..6f82028 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/Person.html @@ -0,0 +1,693 @@ + + + + + + + +Person (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.atom +
+Class Person

+
+java.lang.Object
+  extended by com.sun.syndication.feed.atom.Person
+
+
+
All Implemented Interfaces:
Extendable, Serializable, Cloneable
+
+
+
+
public class Person
extends Object
implements Cloneable, Serializable, Extendable
+ + +

+Bean for person elements of Atom feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur, Dave Johnson (updated for Atom 1.0)
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Person() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetEmail() + +
+          Returns the person email.
+ ModulegetModule(String uri) + +
+          Returns the module identified by a given URI.
+ ListgetModules() + +
+          Returns the entry modules.
+ StringgetName() + +
+          Returns the person name.
+ StringgetUri() + +
+          Returns the uri +
+ StringgetUriResolved(String resolveURI) + +
+           
+ StringgetUrl() + +
+          Returns the person URL (same as getUri()) +
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetEmail(String email) + +
+          Sets the person email.
+ voidsetModules(List modules) + +
+          Sets the entry modules.
+ voidsetName(String name) + +
+          Sets the personname.
+ voidsetUri(String uri) + +
+          Set the uri +
+ voidsetUriResolved(String uriResolved) + +
+           
+ voidsetUrl(String url) + +
+          Sets the person URL (same as setUri(java.lang.String)) +
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Person

+
+public Person()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getName

+
+public String getName()
+
+
Returns the person name. +

+

+

+
+
+
+ +
Returns:
the person name, null if none.
+
+
+
+ +

+setName

+
+public void setName(String name)
+
+
Sets the personname. +

+

+

+
+
+
+
Parameters:
name - the person name, null if none.
+
+
+
+ +

+getUrl

+
+public String getUrl()
+
+
Returns the person URL (same as getUri()) +

+

+

+
+
+
+ +
Returns:
the person URL, null if none.
+
+
+
+ +

+setUrl

+
+public void setUrl(String url)
+
+
Sets the person URL (same as setUri(java.lang.String)) +

+

+

+
+
+
+
Parameters:
url - the person URL, null if none.
+
+
+
+ +

+setUriResolved

+
+public void setUriResolved(String uriResolved)
+
+
+
+
+
+
+
+
+
+ +

+getUriResolved

+
+public String getUriResolved(String resolveURI)
+
+
+
+
+
+
+
+
+
+ +

+getEmail

+
+public String getEmail()
+
+
Returns the person email. +

+

+

+
+
+
+ +
Returns:
the person email, null if none.
+
+
+
+ +

+setEmail

+
+public void setEmail(String email)
+
+
Sets the person email. +

+

+

+
+
+
+
Parameters:
email - the person email, null if none.
+
+
+
+ +

+getUri

+
+public String getUri()
+
+
Returns the uri +

+

+

+
+
+
+ +
Returns:
Returns the uri.
Since:
+
Atom 1.0
+
+
+
+
+ +

+setUri

+
+public void setUri(String uri)
+
+
Set the uri +

+

+

+
+
+
+
Parameters:
uri - The uri to set.
Since:
+
Atom 1.0
+
+
+
+
+ +

+getModules

+
+public List getModules()
+
+
Returns the entry modules. +

+

+

+
Specified by:
getModules in interface Extendable
+
+
+ +
Returns:
a list of ModuleImpl elements with the entry modules, + an emtpy list if none.
+
+
+
+ +

+setModules

+
+public void setModules(List modules)
+
+
Sets the entry modules. +

+

+

+
Specified by:
setModules in interface Extendable
+
+
+
Parameters:
modules - the list of ModuleImpl elements with the entry modules to set, + an empty list or null if none.
+
+
+
+ +

+getModule

+
+public Module getModule(String uri)
+
+
Returns the module identified by a given URI. +

+

+

+
Specified by:
getModule in interface Extendable
+
+
+
Parameters:
uri - the URI of the ModuleImpl. +
Returns:
The module with the given URI, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/class-use/Category.html b/apidocs/com/sun/syndication/feed/atom/class-use/Category.html new file mode 100644 index 0000000..8506884 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/class-use/Category.html @@ -0,0 +1,211 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.atom.Category (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.atom.Category

+
+ + + + + + + + + + + + + +
+Packages that use Category
com.sun.syndication.feed.atom  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Category in com.sun.syndication.feed.atom
+  +

+ + + + + + + + + +
Method parameters in com.sun.syndication.feed.atom with type arguments of type Category
+ voidFeed.setCategories(List<Category> categories) + +
+          Set the categories +
+  +

+ + + + + +
+Uses of Category in com.sun.syndication.io.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Category
+protected  org.jdom.ElementAtom10Generator.generateCategoryElement(Category cat) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/class-use/Content.html b/apidocs/com/sun/syndication/feed/atom/class-use/Content.html new file mode 100644 index 0000000..dd623c6 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/class-use/Content.html @@ -0,0 +1,397 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.atom.Content (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.atom.Content

+
+ + + + + + + + + + + + + + + + + +
+Packages that use Content
com.sun.syndication.feed.atom  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Content in com.sun.syndication.feed.atom
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.atom that return Content
+ ContentFeed.getInfo() + +
+          Returns the feed info (Atom 0.3 only) +
+ ContentFeed.getSubtitle() + +
+          Returns the subtitle +
+ ContentEntry.getSummary() + +
+          Returns the entry summary.
+ ContentFeed.getTagline() + +
+          Returns the feed tag line (Atom 0.3, maps to Feed.getSubtitle()).
+ ContentEntry.getTitleEx() + +
+          Returns the entry title as a text construct.
+ ContentFeed.getTitleEx() + +
+          Returns the feed title.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.atom that return types with arguments of type Content
+ List<Content>Entry.getContents() + +
+          Returns the entry contents.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.atom with parameters of type Content
+ voidFeed.setInfo(Content info) + +
+          Sets the feed info (Atom 0.3 only) +
+ voidFeed.setSubtitle(Content subtitle) + +
+          Set the subtitle +
+ voidEntry.setSummary(Content summary) + +
+          Sets the entry summary.
+ voidFeed.setTagline(Content tagline) + +
+          Sets the feed tagline (Atom 0.3, maps to Feed.setSubtitle(com.sun.syndication.feed.atom.Content)).
+ voidEntry.setTitleEx(Content title) + +
+          Sets the entry title as a text construct.
+ voidFeed.setTitleEx(Content title) + +
+          Sets the feed title.
+  +

+ + + + + +
+Uses of Content in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return Content
+protected  ContentConverterForAtom10.createAtomContent(SyndContent sContent) + +
+           
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type Content
+protected  SyndContentConverterForAtom10.createSyndContent(Content content) + +
+           
+  +

+ + + + + +
+Uses of Content in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Content
+protected  voidAtom10Generator.fillContentElement(org.jdom.Element contentElement, + Content content) + +
+           
+protected  voidAtom03Generator.fillContentElement(org.jdom.Element contentElement, + Content content) + +
+           
+protected  org.jdom.ElementAtom10Generator.generateTagLineElement(Content tagline) + +
+           
+protected  org.jdom.ElementAtom03Generator.generateTagLineElement(Content tagline) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/class-use/Entry.html b/apidocs/com/sun/syndication/feed/atom/class-use/Entry.html new file mode 100644 index 0000000..56874af --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/class-use/Entry.html @@ -0,0 +1,357 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.atom.Entry (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.atom.Entry

+
+ + + + + + + + + + + + + + + + + +
+Packages that use Entry
com.sun.syndication.feed.atom  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Entry in com.sun.syndication.feed.atom
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.atom that return types with arguments of type Entry
+ List<Entry>Feed.getEntries() + +
+          Returns the feed entries.
+  +

+ + + + + +
+Uses of Entry in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return Entry
+protected  EntryConverterForAtom10.createAtomEntry(SyndEntry sEntry) + +
+           
+protected  EntryConverterForAtom03.createAtomEntry(SyndEntry sEntry) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type Entry
+ SyndEnclosureConverterForAtom03.createSyndEnclosure(Entry entry, + Link link) + +
+           
+ SyndEnclosureConverterForAtom10.createSyndEnclosure(Feed feed, + Entry entry, + Link link) + +
+           
+protected  SyndEntryConverterForAtom03.createSyndEntry(Entry entry, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForAtom10.createSyndEntry(Feed feed, + Entry entry, + boolean preserveWireItem) + +
+           
+  +

+ + + + + +
+Uses of Entry in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl that return Entry
+protected  EntryAtom10Parser.parseEntry(Feed feed, + org.jdom.Element eEntry, + String baseURI) + +
+           
+static EntryAtom10Parser.parseEntry(Reader rd, + String baseURI) + +
+          Parse entry from reader.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Entry
+protected  voidAtom10Generator.addEntry(Entry entry, + org.jdom.Element parent) + +
+           
+protected  voidAtom03Generator.addEntry(Entry entry, + org.jdom.Element parent) + +
+           
+protected  voidAtom10Generator.populateEntry(Entry entry, + org.jdom.Element eEntry) + +
+           
+protected  voidAtom03Generator.populateEntry(Entry entry, + org.jdom.Element eEntry) + +
+           
+static voidAtom10Generator.serializeEntry(Entry entry, + Writer writer) + +
+          Utility method to serialize an entry to writer.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/class-use/Feed.html b/apidocs/com/sun/syndication/feed/atom/class-use/Feed.html new file mode 100644 index 0000000..2171bc8 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/class-use/Feed.html @@ -0,0 +1,379 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.atom.Feed (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.atom.Feed

+
+ + + + + + + + + + + + + + + + + +
+Packages that use Feed
com.sun.syndication.feed.atom  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Feed in com.sun.syndication.feed.atom
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.atom that return Feed
+ FeedEntry.getSource() + +
+          Returns the source +
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.atom with parameters of type Feed
+ voidEntry.setSource(Feed source) + +
+          Set the source +
+  +

+ + + + + +
+Uses of Feed in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type Feed
+ SyndEnclosureConverterForAtom10.createSyndEnclosure(Feed feed, + Entry entry, + Link link) + +
+           
+protected  ListConverterForAtom10.createSyndEntries(Feed feed, + List atomEntries, + boolean preserveWireItems) + +
+           
+protected  SyndEntryConverterForAtom10.createSyndEntry(Feed feed, + Entry entry, + boolean preserveWireItem) + +
+           
+  +

+ + + + + +
+Uses of Feed in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Feed
+protected  voidAtom10Generator.addEntries(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidAtom03Generator.addEntries(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidAtom10Generator.addFeed(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidAtom03Generator.addFeed(Feed feed, + org.jdom.Element parent) + +
+           
+protected  org.jdom.ElementAtom10Generator.createRootElement(Feed feed) + +
+           
+protected  org.jdom.ElementAtom03Generator.createRootElement(Feed feed) + +
+           
+protected  ListAtom10Parser.parseEntries(Feed feed, + String baseURI, + List eEntries) + +
+           
+protected  EntryAtom10Parser.parseEntry(Feed feed, + org.jdom.Element eEntry, + String baseURI) + +
+           
+protected  voidAtom10Generator.populateFeed(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidAtom03Generator.populateFeed(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidAtom10Generator.populateFeedHeader(Feed feed, + org.jdom.Element eFeed) + +
+           
+protected  voidAtom03Generator.populateFeedHeader(Feed feed, + org.jdom.Element eFeed) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/class-use/Generator.html b/apidocs/com/sun/syndication/feed/atom/class-use/Generator.html new file mode 100644 index 0000000..bb71ae6 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/class-use/Generator.html @@ -0,0 +1,234 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.atom.Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.atom.Generator

+
+ + + + + + + + + + + + + +
+Packages that use Generator
com.sun.syndication.feed.atom  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Generator in com.sun.syndication.feed.atom
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.atom that return Generator
+ GeneratorFeed.getGenerator() + +
+          Returns the feed generator.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.atom with parameters of type Generator
+ voidFeed.setGenerator(Generator generator) + +
+          Sets the feed generator.
+  +

+ + + + + +
+Uses of Generator in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Generator
+protected  org.jdom.ElementAtom10Generator.generateGeneratorElement(Generator generator) + +
+           
+protected  org.jdom.ElementAtom03Generator.generateGeneratorElement(Generator generator) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/class-use/Link.html b/apidocs/com/sun/syndication/feed/atom/class-use/Link.html new file mode 100644 index 0000000..fb80b56 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/class-use/Link.html @@ -0,0 +1,394 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.atom.Link (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.atom.Link

+
+ + + + + + + + + + + + + + + + + +
+Packages that use Link
com.sun.syndication.feed.atom  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Link in com.sun.syndication.feed.atom
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.atom that return Link
+ LinkEntry.findRelatedLink(String relation) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.atom that return types with arguments of type Link
+ List<Link>Entry.getAlternateLinks() + +
+          Returns the entry alternate links.
+ List<Link>Feed.getAlternateLinks() + +
+          Returns the feed alternate links.
+ List<Link>Entry.getOtherLinks() + +
+          Returns the entry non-alternate links.
+ List<Link>Feed.getOtherLinks() + +
+          Returns the feed other links (non-alternate ones).
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Method parameters in com.sun.syndication.feed.atom with type arguments of type Link
+ voidEntry.setAlternateLinks(List<Link> alternateLinks) + +
+          Sets the entry alternate links.
+ voidFeed.setAlternateLinks(List<Link> alternateLinks) + +
+          Sets the feed alternate links.
+ voidEntry.setOtherLinks(List<Link> otherLinks) + +
+          Sets the entry non-alternate links.
+ voidFeed.setOtherLinks(List<Link> otherLinks) + +
+          Sets the feed other links (non-alternate ones).
+  +

+ + + + + +
+Uses of Link in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return Link
+ LinkConverterForAtom10.createAtomEnclosure(SyndEnclosure syndEnclosure) + +
+           
+ LinkConverterForAtom03.createAtomEnclosure(SyndEnclosure syndEnclosure) + +
+           
+ LinkConverterForAtom10.createAtomLink(SyndLink syndLink) + +
+           
+ LinkConverterForAtom03.createAtomLink(SyndLink syndLink) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type Link
+ SyndEnclosureConverterForAtom03.createSyndEnclosure(Entry entry, + Link link) + +
+           
+ SyndEnclosureConverterForAtom10.createSyndEnclosure(Feed feed, + Entry entry, + Link link) + +
+           
+ SyndLinkConverterForAtom10.createSyndLink(Link link) + +
+           
+ SyndLinkConverterForAtom03.createSyndLink(Link link) + +
+           
+  +

+ + + + + +
+Uses of Link in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Link
+protected  org.jdom.ElementAtom10Generator.generateLinkElement(Link link) + +
+           
+protected  org.jdom.ElementAtom03Generator.generateLinkElement(Link link) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/class-use/Person.html b/apidocs/com/sun/syndication/feed/atom/class-use/Person.html new file mode 100644 index 0000000..552433b --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/class-use/Person.html @@ -0,0 +1,284 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.atom.Person (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.atom.Person

+
+ + + + + + + + + + + + + +
+Packages that use Person
com.sun.syndication.feed.atom  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Person in com.sun.syndication.feed.atom
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.atom that return types with arguments of type Person
+ List<Person>Entry.getAuthors() + +
+          Returns the entry author.
+ List<Person>Feed.getAuthors() + +
+          Returns the feed author.
+ List<Person>Entry.getContributors() + +
+          Returns the entry contributors.
+ List<Person>Feed.getContributors() + +
+          Returns the feed contributors.
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Method parameters in com.sun.syndication.feed.atom with type arguments of type Person
+ voidEntry.setAuthors(List<Person> authors) + +
+          Sets the author of the entry.
+ voidFeed.setAuthors(List<Person> authors) + +
+          Sets the feed author.
+ voidEntry.setContributors(List<Person> contributors) + +
+          Sets the entry contributors.
+ voidFeed.setContributors(List<Person> contributors) + +
+          Sets the feed contributors.
+  +

+ + + + + +
+Uses of Person in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Person
+protected  voidAtom10Generator.fillPersonElement(org.jdom.Element element, + Person person) + +
+           
+protected  voidAtom03Generator.fillPersonElement(org.jdom.Element element, + Person person) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/package-frame.html b/apidocs/com/sun/syndication/feed/atom/package-frame.html new file mode 100644 index 0000000..a56e6fa --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/package-frame.html @@ -0,0 +1,45 @@ + + + + + + + +com.sun.syndication.feed.atom (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + +com.sun.syndication.feed.atom + + + + +
+Classes  + +
+Category +
+Content +
+Entry +
+Feed +
+Generator +
+Link +
+Person
+ + + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/package-summary.html b/apidocs/com/sun/syndication/feed/atom/package-summary.html new file mode 100644 index 0000000..6569533 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/package-summary.html @@ -0,0 +1,182 @@ + + + + + + + +com.sun.syndication.feed.atom (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.sun.syndication.feed.atom +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CategoryBean for category elements of Atom feeds.
ContentBean for content elements of Atom feeds.
EntryBean for entry elements of Atom feeds.
FeedBean for Atom feeds.
GeneratorBean for the generator element of Atom feeds.
LinkBean for link elements of Atom feeds.
PersonBean for person elements of Atom feeds.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/package-tree.html b/apidocs/com/sun/syndication/feed/atom/package-tree.html new file mode 100644 index 0000000..135b9bd --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/package-tree.html @@ -0,0 +1,163 @@ + + + + + + + +com.sun.syndication.feed.atom Class Hierarchy (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.sun.syndication.feed.atom +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/atom/package-use.html b/apidocs/com/sun/syndication/feed/atom/package-use.html new file mode 100644 index 0000000..53c17de --- /dev/null +++ b/apidocs/com/sun/syndication/feed/atom/package-use.html @@ -0,0 +1,299 @@ + + + + + + + +Uses of Package com.sun.syndication.feed.atom (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.sun.syndication.feed.atom

+
+ + + + + + + + + + + + + + + + + +
+Packages that use com.sun.syndication.feed.atom
com.sun.syndication.feed.atom  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io.impl  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.feed.atom used by com.sun.syndication.feed.atom
Category + +
+          Bean for category elements of Atom feeds.
Content + +
+          Bean for content elements of Atom feeds.
Entry + +
+          Bean for entry elements of Atom feeds.
Feed + +
+          Bean for Atom feeds.
Generator + +
+          Bean for the generator element of Atom feeds.
Link + +
+          Bean for link elements of Atom feeds.
Person + +
+          Bean for person elements of Atom feeds.
+  +

+ + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.feed.atom used by com.sun.syndication.feed.synd.impl
Content + +
+          Bean for content elements of Atom feeds.
Entry + +
+          Bean for entry elements of Atom feeds.
Feed + +
+          Bean for Atom feeds.
Link + +
+          Bean for link elements of Atom feeds.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.feed.atom used by com.sun.syndication.io.impl
Category + +
+          Bean for category elements of Atom feeds.
Content + +
+          Bean for content elements of Atom feeds.
Entry + +
+          Bean for entry elements of Atom feeds.
Feed + +
+          Bean for Atom feeds.
Generator + +
+          Bean for the generator element of Atom feeds.
Link + +
+          Bean for link elements of Atom feeds.
Person + +
+          Bean for person elements of Atom feeds.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/class-use/CopyFrom.html b/apidocs/com/sun/syndication/feed/class-use/CopyFrom.html new file mode 100644 index 0000000..1730fe0 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/class-use/CopyFrom.html @@ -0,0 +1,511 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.CopyFrom (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.CopyFrom

+
+ + + + + + + + + + + + + + + + + +
+Packages that use CopyFrom
com.sun.syndication.feed  
com.sun.syndication.feed.module  
com.sun.syndication.feed.synd  
+  +

+ + + + + +
+Uses of CopyFrom in com.sun.syndication.feed
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed that return types with arguments of type CopyFrom
+ Class<? extends CopyFrom>CopyFrom.getInterface() + +
+          Returns the interface the copyFrom works on.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed with parameters of type CopyFrom
+ voidCopyFrom.copyFrom(CopyFrom obj) + +
+          Copies all the properties of the given bean into this one.
+  +

+ + + + + +
+Uses of CopyFrom in com.sun.syndication.feed.module
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Subinterfaces of CopyFrom in com.sun.syndication.feed.module
+ interfaceDCModule + +
+          Dublin Core Module.
+ interfaceDCSubject + +
+          Subject of the Dublin Core ModuleImpl.
+ interfaceModule + +
+          Base class for modules describing Metadata of feeds.
+ interfaceSyModule + +
+          Syndication ModuleImpl.
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Classes in com.sun.syndication.feed.module that implement CopyFrom
+ classDCModuleImpl + +
+          Dublin Core ModuleImpl, default implementation.
+ classDCSubjectImpl + +
+          Subject of the Dublin Core ModuleImpl, default implementation.
+ classModuleImpl + +
+          Base class for modules describing Metadata of feeds, default implementations.
+ classSyModuleImpl + +
+          Syndication ModuleImpl, default implementation.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.module that return types with arguments of type CopyFrom
+ Class<? extends CopyFrom>DCModuleImpl.getInterface() + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.module with parameters of type CopyFrom
+ voidSyModuleImpl.copyFrom(CopyFrom obj) + +
+           
+ voidDCModuleImpl.copyFrom(CopyFrom obj) + +
+           
+ voidDCSubjectImpl.copyFrom(CopyFrom obj) + +
+           
+  +

+ + + + + +
+Uses of CopyFrom in com.sun.syndication.feed.synd
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Subinterfaces of CopyFrom in com.sun.syndication.feed.synd
+ interfaceSyndContent + +
+          Bean interface for content of SyndFeedImpl entries.
+ interfaceSyndEnclosure + +
+           
+ interfaceSyndEntry + +
+          Bean interface for entries of SyndFeedImpl feeds.
+ interfaceSyndFeed + +
+          Bean interface for all types of feeds.
+ interfaceSyndImage + +
+          Bean interface for images of SyndFeedImpl feeds.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in com.sun.syndication.feed.synd that implement CopyFrom
+ classSyndContentImpl + +
+          Bean for content of SyndFeedImpl entries.
+ classSyndEnclosureImpl + +
+           
+ classSyndEntryImpl + +
+          Bean for entries of SyndFeedImpl feeds.
+ classSyndFeedImpl + +
+          Bean for all types of feeds.
+ classSyndImageImpl + +
+          Bean for images of SyndFeedImpl feeds.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return types with arguments of type CopyFrom
+ Class<? extends CopyFrom>SyndEnclosureImpl.getInterface() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd with parameters of type CopyFrom
+ voidSyndEnclosureImpl.copyFrom(CopyFrom obj) + +
+           
+ voidSyndContentImpl.copyFrom(CopyFrom obj) + +
+           
+ voidSyndEntryImpl.copyFrom(CopyFrom obj) + +
+           
+ voidSyndFeedImpl.copyFrom(CopyFrom obj) + +
+           
+ voidSyndImageImpl.copyFrom(CopyFrom syndImage) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/class-use/WireFeed.html b/apidocs/com/sun/syndication/feed/class-use/WireFeed.html new file mode 100644 index 0000000..9d12e50 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/class-use/WireFeed.html @@ -0,0 +1,773 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.WireFeed (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.WireFeed

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use WireFeed
com.sun.syndication.feed.atom  
com.sun.syndication.feed.rss  
com.sun.syndication.feed.synd  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of WireFeed in com.sun.syndication.feed.atom
+  +

+ + + + + + + + + +
Subclasses of WireFeed in com.sun.syndication.feed.atom
+ classFeed + +
+          Bean for Atom feeds.
+  +

+ + + + + +
+Uses of WireFeed in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + +
Subclasses of WireFeed in com.sun.syndication.feed.rss
+ classChannel + +
+          Bean for RSS feeds.
+  +

+ + + + + +
+Uses of WireFeed in com.sun.syndication.feed.synd
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return WireFeed
+ WireFeedConverter.createRealFeed(SyndFeed syndFeed) + +
+          Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.
+ WireFeedSyndFeed.createWireFeed() + +
+          Creates a real feed containing the information of the SyndFeedImpl.
+ WireFeedSyndFeedImpl.createWireFeed() + +
+          Creates a real feed containing the information of the SyndFeedImpl.
+ WireFeedSyndFeed.createWireFeed(String feedType) + +
+          Creates a real feed containing the information of the SyndFeedImpl.
+ WireFeedSyndFeedImpl.createWireFeed(String feedType) + +
+          Creates a real feed containing the information of the SyndFeedImpl.
+ WireFeedSyndFeed.originalWireFeed() + +
+          Returns the WireFeed this SyndFeed was created from.
+ WireFeedSyndFeedImpl.originalWireFeed() + +
+          Returns the WireFeed this SyndFeed was created from.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.synd with parameters of type WireFeed
+ voidConverter.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+          Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.
+  +

+ + + + + + + + + + + +
Constructors in com.sun.syndication.feed.synd with parameters of type WireFeed
SyndFeedImpl(WireFeed feed) + +
+          Creates a SyndFeedImpl and populates all its properties out of the + given RSS Channel or Atom Feed properties.
SyndFeedImpl(WireFeed feed, + boolean preserveWireFeed) + +
+          Creates a SyndFeedImpl and populates all its properties out of the + given RSS Channel or Atom Feed properties, while optionally preserving + the WireFeed for access via the orignalWireFeed() method.
+  +

+ + + + + +
+Uses of WireFeed in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return WireFeed
+protected  WireFeedConverterForRSS094.createRealFeed(String type, + SyndFeed syndFeed) + +
+           
+protected  WireFeedConverterForRSS090.createRealFeed(String type, + SyndFeed syndFeed) + +
+           
+protected  WireFeedConverterForRSS10.createRealFeed(String type, + SyndFeed syndFeed) + +
+           
+protected  WireFeedConverterForRSS091Userland.createRealFeed(String type, + SyndFeed syndFeed) + +
+           
+ WireFeedConverterForRSS090.createRealFeed(SyndFeed syndFeed) + +
+           
+ WireFeedConverterForAtom10.createRealFeed(SyndFeed syndFeed) + +
+           
+ WireFeedConverterForAtom03.createRealFeed(SyndFeed syndFeed) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type WireFeed
+ voidConverterForRSS094.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+           
+ voidConverterForRSS090.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+           
+ voidConverterForRSS10.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+           
+ voidConverterForRSS091Userland.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+           
+ voidConverterForAtom10.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+           
+ voidConverterForAtom03.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+           
+  +

+ + + + + +
+Uses of WireFeed in com.sun.syndication.io
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io that return WireFeed
+ WireFeedWireFeedInput.build(Document document) + +
+          Builds an WireFeed (RSS or Atom) from an W3C DOM document.
+ WireFeedWireFeedInput.build(org.jdom.Document document) + +
+          Builds an WireFeed (RSS or Atom) from an JDOM document.
+ WireFeedWireFeedInput.build(File file) + +
+          Builds an WireFeed (RSS or Atom) from a file.
+ WireFeedWireFeedInput.build(InputSource is) + +
+          Builds an WireFeed (RSS or Atom) from an W3C SAX InputSource.
+ WireFeedWireFeedInput.build(Reader reader) + +
+          Builds an WireFeed (RSS or Atom) from an Reader.
+ WireFeedWireFeedParser.parse(org.jdom.Document document, + boolean validate) + +
+          Parses an XML document (JDOM Document) into a feed bean.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io with parameters of type WireFeed
+ org.jdom.DocumentWireFeedGenerator.generate(WireFeed feed) + +
+          Creates an XML document (JDOM) for the given feed bean.
+ voidWireFeedOutput.output(WireFeed feed, + File file) + +
+          Creates a File containing with the XML representation for the given WireFeed.
+ voidWireFeedOutput.output(WireFeed feed, + File file, + boolean prettyPrint) + +
+          Creates a File containing with the XML representation for the given WireFeed.
+ voidWireFeedOutput.output(WireFeed feed, + Writer writer) + +
+          Writes to an Writer the XML representation for the given WireFeed.
+ voidWireFeedOutput.output(WireFeed feed, + Writer writer, + boolean prettyPrint) + +
+          Writes to an Writer the XML representation for the given WireFeed.
+ org.jdom.DocumentWireFeedOutput.outputJDom(WireFeed feed) + +
+          Creates a JDOM document for the given WireFeed.
+ StringWireFeedOutput.outputString(WireFeed feed) + +
+          Creates a String with the XML representation for the given WireFeed.
+ StringWireFeedOutput.outputString(WireFeed feed, + boolean prettyPrint) + +
+          Creates a String with the XML representation for the given WireFeed.
+ DocumentWireFeedOutput.outputW3CDom(WireFeed feed) + +
+          Creates a W3C DOM document for the given WireFeed.
+  +

+ + + + + +
+Uses of WireFeed in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl that return WireFeed
+ WireFeedAtom10Parser.parse(org.jdom.Document document, + boolean validate) + +
+           
+ WireFeedAtom03Parser.parse(org.jdom.Document document, + boolean validate) + +
+           
+ WireFeedRSS090Parser.parse(org.jdom.Document document, + boolean validate) + +
+           
+protected  WireFeedRSS10Parser.parseChannel(org.jdom.Element rssRoot) + +
+           
+protected  WireFeedRSS094Parser.parseChannel(org.jdom.Element rssRoot) + +
+           
+protected  WireFeedRSS091UserlandParser.parseChannel(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document into a Channel bean.
+protected  WireFeedRSS092Parser.parseChannel(org.jdom.Element rssRoot) + +
+           
+protected  WireFeedRSS20wNSParser.parseChannel(org.jdom.Element rssRoot) + +
+          After we parse the feed we put "rss_2.0" in it (so converters and generators work) + this parser is a phantom.
+protected  WireFeedRSS090Parser.parseChannel(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document into a Channel bean.
+protected  WireFeedAtom10Parser.parseFeed(org.jdom.Element eFeed) + +
+           
+protected  WireFeedAtom03Parser.parseFeed(org.jdom.Element eFeed) + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type WireFeed
+ org.jdom.DocumentRSS090Generator.generate(WireFeed feed) + +
+           
+ org.jdom.DocumentAtom10Generator.generate(WireFeed wFeed) + +
+           
+ org.jdom.DocumentAtom03Generator.generate(WireFeed wFeed) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/BeanIntrospector.html b/apidocs/com/sun/syndication/feed/impl/BeanIntrospector.html new file mode 100644 index 0000000..ae81578 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/BeanIntrospector.html @@ -0,0 +1,267 @@ + + + + + + + +BeanIntrospector (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.impl +
+Class BeanIntrospector

+
+java.lang.Object
+  extended by com.sun.syndication.feed.impl.BeanIntrospector
+
+
+
+
public class BeanIntrospector
extends Object
+ + +

+Obtains all property descriptors from a bean (interface or implementation). +

+ The java.beans.Introspector does not process the interfaces hierarchy chain, this one does. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
BeanIntrospector() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static PropertyDescriptor[]getPropertyDescriptors(Class klass) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanIntrospector

+
+public BeanIntrospector()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getPropertyDescriptors

+
+public static PropertyDescriptor[] getPropertyDescriptors(Class klass)
+                                                   throws IntrospectionException
+
+
+ +
Throws: +
IntrospectionException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/CloneableBean.html b/apidocs/com/sun/syndication/feed/impl/CloneableBean.html new file mode 100644 index 0000000..520ff61 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/CloneableBean.html @@ -0,0 +1,386 @@ + + + + + + + +CloneableBean (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.impl +
+Class CloneableBean

+
+java.lang.Object
+  extended by com.sun.syndication.feed.impl.CloneableBean
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class CloneableBean
extends Object
implements Serializable, Cloneable
+ + +

+Provides deep Bean clonning support. +

+ It works on all read/write properties, recursively. It support all primitive types, Strings, Collections, + Cloneable objects and multi-dimensional arrays of any of them. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
+protected CloneableBean() + +
+          Default constructor.
+ CloneableBean(Object obj) + +
+          Creates a CloneableBean to be used in a delegation pattern.
+ CloneableBean(Object obj, + Set ignoreProperties) + +
+          Creates a CloneableBean to be used in a delegation pattern.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ ObjectbeanClone() + +
+          Makes a deep bean clone of the object passed in the constructor.
+ Objectclone() + +
+          Makes a deep bean clone of the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CloneableBean

+
+protected CloneableBean()
+
+
Default constructor. +

+ To be used by classes extending CloneableBean only. +

+

+

+
+ +

+CloneableBean

+
+public CloneableBean(Object obj)
+
+
Creates a CloneableBean to be used in a delegation pattern. +

+ For example: +

+ + public class Foo implements Cloneable { + private CloneableBean _cloneableBean; + + public Foo() { + _cloneableBean = new CloneableBean(this); + } + + public Object clone() throws CloneNotSupportedException { + return _cloneableBean.beanClone(); + } + + } + +

+

+

+
Parameters:
obj - object bean to clone.
+
+
+ +

+CloneableBean

+
+public CloneableBean(Object obj,
+                     Set ignoreProperties)
+
+
Creates a CloneableBean to be used in a delegation pattern. +

+ The property names in the ignoreProperties Set will not be copied into + the cloned instance. This is useful for cases where the Bean has convenience + properties (properties that are actually references to other properties or + properties of properties). For example SyndFeed and SyndEntry beans have + convenience properties, publishedDate, author, copyright and categories all + of them mapped to properties in the DC Module. +

+

+

+
Parameters:
obj - object bean to clone.
ignoreProperties - properties to ignore when cloning.
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Makes a deep bean clone of the object. +

+ To be used by classes extending CloneableBean. Although it works also for classes using + CloneableBean in a delegation pattern, for correctness those classes should use the +

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object bean. +
Throws: +
CloneNotSupportedException - thrown if the object bean could not be cloned.
See Also:
beanClone method. +

+
+
+
+ +

+beanClone

+
+public Object beanClone()
+                 throws CloneNotSupportedException
+
+
Makes a deep bean clone of the object passed in the constructor. +

+ To be used by classes using CloneableBean in a delegation pattern, +

+

+
+
+
+ +
Returns:
a clone of the object bean. +
Throws: +
CloneNotSupportedException - thrown if the object bean could not be cloned.
See Also:
constructor.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/CopyFromHelper.html b/apidocs/com/sun/syndication/feed/impl/CopyFromHelper.html new file mode 100644 index 0000000..81ec559 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/CopyFromHelper.html @@ -0,0 +1,263 @@ + + + + + + + +CopyFromHelper (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.impl +
+Class CopyFromHelper

+
+java.lang.Object
+  extended by com.sun.syndication.feed.impl.CopyFromHelper
+
+
+
+
public class CopyFromHelper
extends Object
+ + +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
CopyFromHelper(Class beanInterfaceClass, + Map basePropInterfaceMap, + Map basePropClassImplMap) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidcopy(Object target, + Object source) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CopyFromHelper

+
+public CopyFromHelper(Class beanInterfaceClass,
+                      Map basePropInterfaceMap,
+                      Map basePropClassImplMap)
+
+
+ + + + + + + + +
+Method Detail
+ +

+copy

+
+public void copy(Object target,
+                 Object source)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/EqualsBean.html b/apidocs/com/sun/syndication/feed/impl/EqualsBean.html new file mode 100644 index 0000000..c00d0b5 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/EqualsBean.html @@ -0,0 +1,428 @@ + + + + + + + +EqualsBean (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.impl +
+Class EqualsBean

+
+java.lang.Object
+  extended by com.sun.syndication.feed.impl.EqualsBean
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class EqualsBean
extends Object
implements Serializable
+ + +

+Provides deep Bean equals() and hashCode() functionality for Java Beans. +

+ It works on all read/write properties, recursively. It support all primitive types, Strings, Collections, + bean-like objects and multi-dimensional arrays of any of them. +

+ The hashcode is calculated by getting the hashcode of the Bean String representation. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+protected EqualsBean(Class beanClass) + +
+          Default constructor.
+ EqualsBean(Class beanClass, + Object obj) + +
+          Creates a EqualsBean to be used in a delegation pattern.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanbeanEquals(Object obj) + +
+          Indicates whether some other object is "equal to" the object passed in the constructor, + as defined by the Object equals() method.
+ intbeanHashCode() + +
+          Returns the hashcode for the object passed in the constructor.
+ booleanequals(Object obj) + +
+          Indicates whether some other object is "equal to" this object as defined by the Object equals() method.
+ inthashCode() + +
+          Returns the hashcode for this object.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EqualsBean

+
+protected EqualsBean(Class beanClass)
+
+
Default constructor. +

+ To be used by classes extending EqualsBean only. +

+

+

+
Parameters:
beanClass - the class/interface to be used for property scanning.
+
+
+ +

+EqualsBean

+
+public EqualsBean(Class beanClass,
+                  Object obj)
+
+
Creates a EqualsBean to be used in a delegation pattern. +

+ For example: +

+ + public class Foo implements FooI { + private EqualsBean _equalsBean; + + public Foo() { + _equalsBean = new EqualsBean(FooI.class); + } + + public boolean equals(Object obj) { + return _equalsBean.beanEquals(obj); + } + + public int hashCode() { + return _equalsBean.beanHashCode(); + } + + } + +

+

+

+
Parameters:
beanClass - the class/interface to be used for property scanning.
obj - object bean to test equality.
+
+ + + + + + + + +
+Method Detail
+ +

+equals

+
+public boolean equals(Object obj)
+
+
Indicates whether some other object is "equal to" this object as defined by the Object equals() method. +

+ To be used by classes extending EqualsBean. Although it works also for classes using + EqualsBean in a delegation pattern, for correctness those classes should use the +

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
obj - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
See Also:
beanEquals method. +

+
+
+
+ +

+beanEquals

+
+public boolean beanEquals(Object obj)
+
+
Indicates whether some other object is "equal to" the object passed in the constructor, + as defined by the Object equals() method. +

+ To be used by classes using EqualsBean in a delegation pattern, +

+

+
+
+
+
Parameters:
obj - he reference object with which to compare. +
Returns:
true if the object passed in the constructor is equal to the 'obj' object.
See Also:
constructor. +

+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns the hashcode for this object. +

+ It follows the contract defined by the Object hashCode() method. +

+ The hashcode is calculated by getting the hashcode of the Bean String representation. +

+ To be used by classes extending EqualsBean. Although it works also for classes using + EqualsBean in a delegation pattern, for correctness those classes should use the +

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
See Also:
beanHashCode method. +

+
+
+
+ +

+beanHashCode

+
+public int beanHashCode()
+
+
Returns the hashcode for the object passed in the constructor. +

+ It follows the contract defined by the Object hashCode() method. +

+ The hashcode is calculated by getting the hashcode of the Bean String representation. +

+ To be used by classes using EqualsBean in a delegation pattern, +

+

+
+
+
+ +
Returns:
the hashcode of the bean object.
See Also:
constructor. +

+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/ObjectBean.html b/apidocs/com/sun/syndication/feed/impl/ObjectBean.html new file mode 100644 index 0000000..0ddffe9 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/ObjectBean.html @@ -0,0 +1,405 @@ + + + + + + + +ObjectBean (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.impl +
+Class ObjectBean

+
+java.lang.Object
+  extended by com.sun.syndication.feed.impl.ObjectBean
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class ObjectBean
extends Object
implements Serializable, Cloneable
+ + +

+Convenience class providing clone(), toString(), equals() and hashCode() functionality for Java Beans. +

+ It works on all read/write properties, recursively. +

+ It uses the CloneableBean, EqualsBean and ToStringBean classes in a delegation pattern. +

+

ObjectBean programming conventions

+

+ All ObjectBean subclasses having properties that return collections they should never + return null if the property has been set to null or if a collection has not been set. + They should create and return an empty collection, this empty collection instance should + also be set to the corresponding property. +

+ All ObjectBean subclasses properties should be live references. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ObjectBean(Class beanClass, + Object obj) + +
+          Constructor.
ObjectBean(Class beanClass, + Object obj, + Set ignoreProperties) + +
+          Constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ObjectBean

+
+public ObjectBean(Class beanClass,
+                  Object obj)
+
+
Constructor. +

+

+

+
Parameters:
beanClass - the class/interface to be used for property scanning.
+
+
+ +

+ObjectBean

+
+public ObjectBean(Class beanClass,
+                  Object obj,
+                  Set ignoreProperties)
+
+
Constructor. +

+ The property names in the ignoreProperties Set will not be copied into + the cloned instance. This is useful for cases where the Bean has convenience + properties (properties that are actually references to other properties or + properties of properties). For example SyndFeed and SyndEntry beans have + convenience properties, publishedDate, author, copyright and categories all + of them mapped to properties in the DC Module. +

+

+

+
Parameters:
beanClass - the class/interface to be used for property scanning.
ignoreProperties - properties to ignore when cloning.
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/ToStringBean.html b/apidocs/com/sun/syndication/feed/impl/ToStringBean.html new file mode 100644 index 0000000..20142a2 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/ToStringBean.html @@ -0,0 +1,326 @@ + + + + + + + +ToStringBean (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.impl +
+Class ToStringBean

+
+java.lang.Object
+  extended by com.sun.syndication.feed.impl.ToStringBean
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class ToStringBean
extends Object
implements Serializable
+ + +

+Provides deep Bean toString support. +

+ It works on all read/write properties, recursively. It support all primitive types, Strings, Collections, + ToString objects and multi-dimensional arrays of any of them. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+protected ToStringBean(Class beanClass) + +
+          Default constructor.
+ ToStringBean(Class beanClass, + Object obj) + +
+          Creates a ToStringBean to be used in a delegation pattern.
+  + + + + + + + + + + + +
+Method Summary
+ StringtoString() + +
+          Returns the String representation of the bean given in the constructor.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ToStringBean

+
+protected ToStringBean(Class beanClass)
+
+
Default constructor. +

+ To be used by classes extending ToStringBean only. +

+

+

+
Parameters:
beanClass - indicates the class to scan for properties, normally an interface class.
+
+
+ +

+ToStringBean

+
+public ToStringBean(Class beanClass,
+                    Object obj)
+
+
Creates a ToStringBean to be used in a delegation pattern. +

+ For example: +

+ + public class Foo implements ToString { + + public String toString(String prefix) { + ToStringBean tsb = new ToStringBean(this); + return tsb.toString(prefix); + } + + public String toString() { + return toString("Foo"); + } + + } + +

+

+

+
Parameters:
beanClass - indicates the class to scan for properties, normally an interface class.
obj - object bean to create String representation.
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public String toString()
+
+
Returns the String representation of the bean given in the constructor. +

+ It uses the Class name as the prefix. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
bean object String representation.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/class-use/BeanIntrospector.html b/apidocs/com/sun/syndication/feed/impl/class-use/BeanIntrospector.html new file mode 100644 index 0000000..2c206fd --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/class-use/BeanIntrospector.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.impl.BeanIntrospector (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.impl.BeanIntrospector

+
+No usage of com.sun.syndication.feed.impl.BeanIntrospector +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/class-use/CloneableBean.html b/apidocs/com/sun/syndication/feed/impl/class-use/CloneableBean.html new file mode 100644 index 0000000..e615de9 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/class-use/CloneableBean.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.impl.CloneableBean (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.impl.CloneableBean

+
+No usage of com.sun.syndication.feed.impl.CloneableBean +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/class-use/CopyFromHelper.html b/apidocs/com/sun/syndication/feed/impl/class-use/CopyFromHelper.html new file mode 100644 index 0000000..f65c37c --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/class-use/CopyFromHelper.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.impl.CopyFromHelper (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.impl.CopyFromHelper

+
+No usage of com.sun.syndication.feed.impl.CopyFromHelper +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/class-use/EqualsBean.html b/apidocs/com/sun/syndication/feed/impl/class-use/EqualsBean.html new file mode 100644 index 0000000..d0ef948 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/class-use/EqualsBean.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.impl.EqualsBean (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.impl.EqualsBean

+
+No usage of com.sun.syndication.feed.impl.EqualsBean +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/class-use/ObjectBean.html b/apidocs/com/sun/syndication/feed/impl/class-use/ObjectBean.html new file mode 100644 index 0000000..a88ecf5 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/class-use/ObjectBean.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.impl.ObjectBean (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.impl.ObjectBean

+
+No usage of com.sun.syndication.feed.impl.ObjectBean +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/class-use/ToStringBean.html b/apidocs/com/sun/syndication/feed/impl/class-use/ToStringBean.html new file mode 100644 index 0000000..f668185 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/class-use/ToStringBean.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.impl.ToStringBean (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.impl.ToStringBean

+
+No usage of com.sun.syndication.feed.impl.ToStringBean +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/package-frame.html b/apidocs/com/sun/syndication/feed/impl/package-frame.html new file mode 100644 index 0000000..39ea28e --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/package-frame.html @@ -0,0 +1,43 @@ + + + + + + + +com.sun.syndication.feed.impl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + +com.sun.syndication.feed.impl + + + + +
+Classes  + +
+BeanIntrospector +
+CloneableBean +
+CopyFromHelper +
+EqualsBean +
+ObjectBean +
+ToStringBean
+ + + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/package-summary.html b/apidocs/com/sun/syndication/feed/impl/package-summary.html new file mode 100644 index 0000000..f7c7014 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/package-summary.html @@ -0,0 +1,178 @@ + + + + + + + +com.sun.syndication.feed.impl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.sun.syndication.feed.impl +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BeanIntrospectorObtains all property descriptors from a bean (interface or implementation).
CloneableBeanProvides deep Bean clonning support.
CopyFromHelper 
EqualsBeanProvides deep Bean equals() and hashCode() functionality for Java Beans.
ObjectBeanConvenience class providing clone(), toString(), equals() and hashCode() functionality for Java Beans.
ToStringBeanProvides deep Bean toString support.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/package-tree.html b/apidocs/com/sun/syndication/feed/impl/package-tree.html new file mode 100644 index 0000000..c4a7617 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/package-tree.html @@ -0,0 +1,158 @@ + + + + + + + +com.sun.syndication.feed.impl Class Hierarchy (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.sun.syndication.feed.impl +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/impl/package-use.html b/apidocs/com/sun/syndication/feed/impl/package-use.html new file mode 100644 index 0000000..58c8dc7 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/impl/package-use.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Package com.sun.syndication.feed.impl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.sun.syndication.feed.impl

+
+No usage of com.sun.syndication.feed.impl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/DCModule.html b/apidocs/com/sun/syndication/feed/module/DCModule.html new file mode 100644 index 0000000..68d7c20 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/DCModule.html @@ -0,0 +1,1849 @@ + + + + + + + +DCModule (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.module +
+Interface DCModule

+
+
All Superinterfaces:
Cloneable, CopyFrom, Module, Serializable
+
+
+
All Known Implementing Classes:
DCModuleImpl
+
+
+
+
public interface DCModule
extends Module, CopyFrom
+ + +

+Dublin Core Module. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Dublin Core module.
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringURI + +
+          URI of the Dublin Core Module (http://purl.org/dc/elements/1.1/).
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetContributor() + +
+          Gets the DublinCore module contributor.
+ List<String>getContributors() + +
+          Returns the DublinCore module contributor.
+ StringgetCoverage() + +
+          Gets the DublinCore module coverage.
+ List<String>getCoverages() + +
+          Returns the DublinCore module coverage.
+ StringgetCreator() + +
+          Gets the DublinCore module creator.
+ List<String>getCreators() + +
+          Returns the DublinCore module creator.
+ DategetDate() + +
+          Gets the DublinCore module date.
+ List<Date>getDates() + +
+          Returns the DublinCore module date.
+ StringgetDescription() + +
+          Gets the DublinCore module description.
+ List<String>getDescriptions() + +
+          Returns the DublinCore module description.
+ StringgetFormat() + +
+          Gets the DublinCore module format.
+ List<String>getFormats() + +
+          Returns the DublinCore module format.
+ StringgetIdentifier() + +
+          Gets the DublinCore module identifier.
+ List<String>getIdentifiers() + +
+          Returns the DublinCore module identifier.
+ StringgetLanguage() + +
+          Gets the DublinCore module language.
+ List<String>getLanguages() + +
+          Returns the DublinCore module language.
+ StringgetPublisher() + +
+          Gets the DublinCore module publisher.
+ List<String>getPublishers() + +
+          Returns the DublinCore module publisher.
+ StringgetRelation() + +
+          Gets the DublinCore module relation.
+ List<String>getRelations() + +
+          Returns the DublinCore module relation.
+ StringgetRights() + +
+          Gets the DublinCore module right.
+ List<String>getRightsList() + +
+          Returns the DublinCore module rights.
+ StringgetSource() + +
+          Gets the DublinCore module subject.
+ List<String>getSources() + +
+          Returns the DublinCore module source.
+ DCSubjectgetSubject() + +
+          Gets the DublinCore module subject.
+ List<DCSubject>getSubjects() + +
+          Returns the DublinCore module subjects.
+ StringgetTitle() + +
+          Gets the DublinCore module title.
+ List<String>getTitles() + +
+          Returns the DublinCore module titles.
+ StringgetType() + +
+          Gets the DublinCore module type.
+ List<String>getTypes() + +
+          Returns the DublinCore module type.
+ voidsetContributor(String contributor) + +
+          Sets the DublinCore module contributor.
+ voidsetContributors(List<String> contributors) + +
+          Sets the DublinCore module contributors.
+ voidsetCoverage(String coverage) + +
+          Sets the DublinCore module coverage.
+ voidsetCoverages(List<String> coverages) + +
+          Sets the DublinCore module coverages.
+ voidsetCreator(String creator) + +
+          Sets the DublinCore module creator.
+ voidsetCreators(List<String> creators) + +
+          Sets the DublinCore module creators.
+ voidsetDate(Date date) + +
+          Sets the DublinCore module date.
+ voidsetDates(List<Date> dates) + +
+          Sets the DublinCore module dates.
+ voidsetDescription(String description) + +
+          Sets the DublinCore module description.
+ voidsetDescriptions(List<String> descriptions) + +
+          Sets the DublinCore module descriptions.
+ voidsetFormat(String format) + +
+          Sets the DublinCore module format.
+ voidsetFormats(List<String> formats) + +
+          Sets the DublinCore module formats.
+ voidsetIdentifier(String identifier) + +
+          Sets the DublinCore module identifier.
+ voidsetIdentifiers(List<String> identifiers) + +
+          Sets the DublinCore module identifiers.
+ voidsetLanguage(String language) + +
+          Sets the DublinCore module language.
+ voidsetLanguages(List<String> languages) + +
+          Sets the DublinCore module languages.
+ voidsetPublisher(String publisher) + +
+          Sets the DublinCore module publisher.
+ voidsetPublishers(List<String> publishers) + +
+          Sets the DublinCore module publishers.
+ voidsetRelation(String relation) + +
+          Sets the DublinCore module relation.
+ voidsetRelations(List<String> relations) + +
+          Sets the DublinCore module relations.
+ voidsetRights(String rights) + +
+          Sets the DublinCore module rights.
+ voidsetRightsList(List<String> rights) + +
+          Sets the DublinCore module rightss.
+ voidsetSource(String source) + +
+          Sets the DublinCore module source.
+ voidsetSources(List<String> sources) + +
+          Sets the DublinCore module sources.
+ voidsetSubject(DCSubject subject) + +
+          Sets the DCSubject element.
+ voidsetSubjects(List<DCSubject> subjects) + +
+          Sets the DublinCore module subjects.
+ voidsetTitle(String title) + +
+          Sets the DublinCore module title.
+ voidsetTitles(List<String> titles) + +
+          Sets the DublinCore module titles.
+ voidsetType(String type) + +
+          Sets the DublinCore module type.
+ voidsetTypes(List<String> types) + +
+          Sets the DublinCore module types.
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.module.Module
clone, getUri
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.CopyFrom
copyFrom, getInterface
+  +

+ + + + + + + + +
+Field Detail
+ +

+URI

+
+static final String URI
+
+
URI of the Dublin Core Module (http://purl.org/dc/elements/1.1/). +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+getTitles

+
+List<String> getTitles()
+
+
Returns the DublinCore module titles. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module title, + an empty list if none.
+
+
+
+ +

+setTitles

+
+void setTitles(List<String> titles)
+
+
Sets the DublinCore module titles. +

+

+

+
+
+
+
Parameters:
titles - the list of String representing the DublinCore module titles + to set, an empty list or null if none.
+
+
+
+ +

+getTitle

+
+String getTitle()
+
+
Gets the DublinCore module title. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module title, null if none.
+
+
+
+ +

+setTitle

+
+void setTitle(String title)
+
+
Sets the DublinCore module title. Convenience method that can be used + when there is only one title to set. +

+

+

+
+
+
+
Parameters:
title - the DublinCore module title to set, null if none.
+
+
+
+ +

+getCreators

+
+List<String> getCreators()
+
+
Returns the DublinCore module creator. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module creator, + an empty list if none.
+
+
+
+ +

+setCreators

+
+void setCreators(List<String> creators)
+
+
Sets the DublinCore module creators. +

+

+

+
+
+
+
Parameters:
creators - the list of String representing the DublinCore module + creators to set, an empty list or null if none.
+
+
+
+ +

+getCreator

+
+String getCreator()
+
+
Gets the DublinCore module creator. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module creator, null if none.
+
+
+
+ +

+setCreator

+
+void setCreator(String creator)
+
+
Sets the DublinCore module creator. Convenience method that can be used + when there is only one creator to set. +

+

+

+
+
+
+
Parameters:
creator - the DublinCore module creator to set, null if none.
+
+
+
+ +

+getSubjects

+
+List<DCSubject> getSubjects()
+
+
Returns the DublinCore module subjects. +

+

+

+
+
+
+ +
Returns:
a list of DCSubject elements with the DublinCore module subjects, + an empty list if none.
+
+
+
+ +

+setSubjects

+
+void setSubjects(List<DCSubject> subjects)
+
+
Sets the DublinCore module subjects. +

+

+

+
+
+
+
Parameters:
subjects - the list of DCSubject elements with the DublinCore + module subjects to set, an empty list or null if none.
+
+
+
+ +

+getSubject

+
+DCSubject getSubject()
+
+
Gets the DublinCore module subject. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module subject, null if none.
+
+
+
+ +

+setSubject

+
+void setSubject(DCSubject subject)
+
+
Sets the DCSubject element. Convenience method that can be used when + there is only one subject to set. +

+

+

+
+
+
+
Parameters:
subject - the DublinCore module subject to set, null if none.
+
+
+
+ +

+getDescriptions

+
+List<String> getDescriptions()
+
+
Returns the DublinCore module description. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module description, + an empty list if none.
+
+
+
+ +

+setDescriptions

+
+void setDescriptions(List<String> descriptions)
+
+
Sets the DublinCore module descriptions. +

+

+

+
+
+
+
Parameters:
descriptions - the list of String representing the DublinCore + module descriptions to set, an empty list or null if none.
+
+
+
+ +

+getDescription

+
+String getDescription()
+
+
Gets the DublinCore module description. Convenience method that can be + used to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module description, null if none.
+
+
+
+ +

+setDescription

+
+void setDescription(String description)
+
+
Sets the DublinCore module description. Convenience method that can be + used when there is only one description to set. +

+

+

+
+
+
+
Parameters:
description - the DublinCore module description to set, null if none.
+
+
+
+ +

+getPublishers

+
+List<String> getPublishers()
+
+
Returns the DublinCore module publisher. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module publisher, + an empty list if none.
+
+
+
+ +

+setPublishers

+
+void setPublishers(List<String> publishers)
+
+
Sets the DublinCore module publishers. +

+

+

+
+
+
+
Parameters:
publishers - the list of String representing the DublinCore module + publishers to set, an empty list or null if none.
+
+
+
+ +

+getPublisher

+
+String getPublisher()
+
+
Gets the DublinCore module publisher. Convenience method that can be + used to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module publisher, null if none.
+
+
+
+ +

+setPublisher

+
+void setPublisher(String publisher)
+
+
Sets the DublinCore module publisher. Convenience method that can be used when + there is only one publisher to set. +

+

+

+
+
+
+
Parameters:
publisher - the DublinCore module publisher to set, null if none.
+
+
+
+ +

+getContributors

+
+List<String> getContributors()
+
+
Returns the DublinCore module contributor. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module contributor, + an empty list if none.
+
+
+
+ +

+setContributors

+
+void setContributors(List<String> contributors)
+
+
Sets the DublinCore module contributors. +

+

+

+
+
+
+
Parameters:
contributors - the list of String representing the DublinCore module + contributors to set, an empty list or null if none.
+
+
+
+ +

+getContributor

+
+String getContributor()
+
+
Gets the DublinCore module contributor. Convenience method that can be + used to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module contributor, null if none.
+
+
+
+ +

+setContributor

+
+void setContributor(String contributor)
+
+
Sets the DublinCore module contributor. Convenience method that can be + used when there is only one contributor to set. +

+

+

+
+
+
+
Parameters:
contributor - the DublinCore module contributor to set, null if none.
+
+
+
+ +

+getDates

+
+List<Date> getDates()
+
+
Returns the DublinCore module date. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module date, + an empty list if none.
+
+
+
+ +

+setDates

+
+void setDates(List<Date> dates)
+
+
Sets the DublinCore module dates. +

+

+

+
+
+
+
Parameters:
dates - the list of Date representing the DublinCore module dates to set, + an empty list or null if none.
+
+
+
+ +

+getDate

+
+Date getDate()
+
+
Gets the DublinCore module date. Convenience method that can be used to + obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module date, null if none.
+
+
+
+ +

+setDate

+
+void setDate(Date date)
+
+
Sets the DublinCore module date. Convenience method that can be used + when there is only one date to set. +

+

+

+
+
+
+
Parameters:
date - the DublinCore module date to set, null if none.
+
+
+
+ +

+getTypes

+
+List<String> getTypes()
+
+
Returns the DublinCore module type. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module type, + an empty list if none.
+
+
+
+ +

+setTypes

+
+void setTypes(List<String> types)
+
+
Sets the DublinCore module types. +

+

+

+
+
+
+
Parameters:
types - the list of String representing the DublinCore module types to set, + an empty list or null if none.
+
+
+
+ +

+getType

+
+String getType()
+
+
Gets the DublinCore module type. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module type, null if none.
+
+
+
+ +

+setType

+
+void setType(String type)
+
+
Sets the DublinCore module type. Convenience method that can be used + when there is only one type to set. +

+

+

+
+
+
+
Parameters:
type - the DublinCore module type to set, null if none.
+
+
+
+ +

+getFormats

+
+List<String> getFormats()
+
+
Returns the DublinCore module format. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module format, + an empty list if none.
+
+
+
+ +

+setFormats

+
+void setFormats(List<String> formats)
+
+
Sets the DublinCore module formats. +

+

+

+
+
+
+
Parameters:
formats - the list of String representing the DublinCore module + formats to set, an empty list or null if none.
+
+
+
+ +

+getFormat

+
+String getFormat()
+
+
Gets the DublinCore module format. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module format, null if none.
+
+
+
+ +

+setFormat

+
+void setFormat(String format)
+
+
Sets the DublinCore module format. Convenience method that can be used + when there is only one format to set. +

+

+

+
+
+
+
Parameters:
format - the DublinCore module format to set, null if none.
+
+
+
+ +

+getIdentifiers

+
+List<String> getIdentifiers()
+
+
Returns the DublinCore module identifier. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module identifier, + an empty list if none.
+
+
+
+ +

+setIdentifiers

+
+void setIdentifiers(List<String> identifiers)
+
+
Sets the DublinCore module identifiers. +

+

+

+
+
+
+
Parameters:
identifiers - the list of String representing the DublinCore module + identifiers to set, an empty list or null if none.
+
+
+
+ +

+getIdentifier

+
+String getIdentifier()
+
+
Gets the DublinCore module identifier. Convenience method that can be + used to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module identifier, null if none.
+
+
+
+ +

+setIdentifier

+
+void setIdentifier(String identifier)
+
+
Sets the DublinCore module identifier. Convenience method that can be + used when there is only one identifier to set. +

+

+

+
+
+
+
Parameters:
identifier - the DublinCore module identifier to set, null if none.
+
+
+
+ +

+getSources

+
+List<String> getSources()
+
+
Returns the DublinCore module source. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module source, + an empty list if none.
+
+
+
+ +

+setSources

+
+void setSources(List<String> sources)
+
+
Sets the DublinCore module sources. +

+

+

+
+
+
+
Parameters:
sources - the list of String representing the DublinCore module + sources to set, an empty list or null if none.
+
+
+
+ +

+getSource

+
+String getSource()
+
+
Gets the DublinCore module subject. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module creator, null if none.
+
+
+
+ +

+setSource

+
+void setSource(String source)
+
+
Sets the DublinCore module source. Convenience method that can be used + when there is only one source to set. +

+

+

+
+
+
+
Parameters:
source - the DublinCore module source to set, null if none.
+
+
+
+ +

+getLanguages

+
+List<String> getLanguages()
+
+
Returns the DublinCore module language. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module language, + an empty list if none.
+
+
+
+ +

+setLanguages

+
+void setLanguages(List<String> languages)
+
+
Sets the DublinCore module languages. +

+

+

+
+
+
+
Parameters:
languages - the list of String representing the DublinCore module + languages to set, an empty list or null if none.
+
+
+
+ +

+getLanguage

+
+String getLanguage()
+
+
Gets the DublinCore module language. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module language, null if none.
+
+
+
+ +

+setLanguage

+
+void setLanguage(String language)
+
+
Sets the DublinCore module language. Convenience method that can be used + when there is only one language to set. +

+

+

+
+
+
+
Parameters:
language - the DublinCore module language to set, null if none.
+
+
+
+ +

+getRelations

+
+List<String> getRelations()
+
+
Returns the DublinCore module relation. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module relation, + an empty list if none.
+
+
+
+ +

+setRelations

+
+void setRelations(List<String> relations)
+
+
Sets the DublinCore module relations. +

+

+

+
+
+
+
Parameters:
relations - the list of String representing the DublinCore module + relations to set, an empty list or null if none.
+
+
+
+ +

+getRelation

+
+String getRelation()
+
+
Gets the DublinCore module relation. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module relation, null if none.
+
+
+
+ +

+setRelation

+
+void setRelation(String relation)
+
+
Sets the DublinCore module relation. Convenience method that can be used + when there is only one relation to set. +

+

+

+
+
+
+
Parameters:
relation - the DublinCore module relation to set, null if none.
+
+
+
+ +

+getCoverages

+
+List<String> getCoverages()
+
+
Returns the DublinCore module coverage. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module coverage, + an empty list if none.
+
+
+
+ +

+setCoverages

+
+void setCoverages(List<String> coverages)
+
+
Sets the DublinCore module coverages. +

+

+

+
+
+
+
Parameters:
coverages - the list of String representing the DublinCore module + coverages to set, an empty list or null if none.
+
+
+
+ +

+getCoverage

+
+String getCoverage()
+
+
Gets the DublinCore module coverage. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module coverage, null if none.
+
+
+
+ +

+setCoverage

+
+void setCoverage(String coverage)
+
+
Sets the DublinCore module coverage. Convenience method that can be used + when there is only one coverage to set. +

+

+

+
+
+
+
Parameters:
coverage - the DublinCore module coverage to set, null if none.
+
+
+
+ +

+getRightsList

+
+List<String> getRightsList()
+
+
Returns the DublinCore module rights. +

+

+

+
+
+
+ +
Returns:
a list of Strings representing the DublinCore module rights, + an empty list if none.
+
+
+
+ +

+setRightsList

+
+void setRightsList(List<String> rights)
+
+
Sets the DublinCore module rightss. +

+

+

+
+
+
+
Parameters:
rights - the list of String representing the DublinCore module + rights to set, an empty list or null if none.
+
+
+
+ +

+getRights

+
+String getRights()
+
+
Gets the DublinCore module right. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
+
+
+ +
Returns:
the first DublinCore module right, null if none.
+
+
+
+ +

+setRights

+
+void setRights(String rights)
+
+
Sets the DublinCore module rights. Convenience method that can be used + when there is only one rights to set. +

+

+

+
+
+
+
Parameters:
rights - the DublinCore module rights to set, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/DCModuleImpl.html b/apidocs/com/sun/syndication/feed/module/DCModuleImpl.html new file mode 100644 index 0000000..8e19337 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/DCModuleImpl.html @@ -0,0 +1,2080 @@ + + + + + + + +DCModuleImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.module +
+Class DCModuleImpl

+
+java.lang.Object
+  extended by com.sun.syndication.feed.module.ModuleImpl
+      extended by com.sun.syndication.feed.module.DCModuleImpl
+
+
+
All Implemented Interfaces:
CopyFrom, DCModule, Module, Serializable, Cloneable
+
+
+
+
public class DCModuleImpl
extends ModuleImpl
implements DCModule
+ + +

+Dublin Core ModuleImpl, default implementation. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Dublin Core module., +Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static SetCONVENIENCE_PROPERTIES + +
+          Unmodifiable Set containing the convenience properties of this class.
+ + + + + + + +
Fields inherited from interface com.sun.syndication.feed.module.DCModule
URI
+  + + + + + + + + + + +
+Constructor Summary
DCModuleImpl() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ voidcopyFrom(CopyFrom obj) + +
+          Copies all the properties of the given bean into this one.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetContributor() + +
+          Gets the DublinCore module contributor.
+ ListgetContributors() + +
+          Returns the DublinCore module contributor.
+ StringgetCoverage() + +
+          Gets the DublinCore module coverage.
+ ListgetCoverages() + +
+          Returns the DublinCore module coverage.
+ StringgetCreator() + +
+          Gets the DublinCore module title.
+ ListgetCreators() + +
+          Returns the DublinCore module creator.
+ DategetDate() + +
+          Gets the DublinCore module date.
+ List<Date>getDates() + +
+          Returns the DublinCore module date.
+ StringgetDescription() + +
+          Gets the DublinCore module description.
+ ListgetDescriptions() + +
+          Returns the DublinCore module description.
+ StringgetFormat() + +
+          Gets the DublinCore module format.
+ ListgetFormats() + +
+          Returns the DublinCore module format.
+ StringgetIdentifier() + +
+          Gets the DublinCore module identifier.
+ ListgetIdentifiers() + +
+          Returns the DublinCore module identifier.
+ Class<? extends CopyFrom>getInterface() + +
+          Returns the interface the copyFrom works on.
+ StringgetLanguage() + +
+          Gets the DublinCore module language.
+ ListgetLanguages() + +
+          Returns the DublinCore module language.
+ StringgetPublisher() + +
+          Gets the DublinCore module title.
+ ListgetPublishers() + +
+          Returns the DublinCore module publisher.
+ StringgetRelation() + +
+          Gets the DublinCore module relation.
+ ListgetRelations() + +
+          Returns the DublinCore module relation.
+ StringgetRights() + +
+          Gets the DublinCore module rights.
+ ListgetRightsList() + +
+          Returns the DublinCore module rights.
+ StringgetSource() + +
+          Gets the DublinCore module source.
+ ListgetSources() + +
+          Returns the DublinCore module source.
+ DCSubjectgetSubject() + +
+          Gets the DublinCore module subject.
+ ListgetSubjects() + +
+          Returns the DublinCore module subjects.
+ StringgetTitle() + +
+          Gets the DublinCore module title.
+ ListgetTitles() + +
+          Returns the DublinCore module titles.
+ StringgetType() + +
+          Gets the DublinCore module type.
+ ListgetTypes() + +
+          Returns the DublinCore module type.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetContributor(String contributor) + +
+          Sets the DublinCore module contributor.
+ voidsetContributors(List contributors) + +
+          Sets the DublinCore module contributors.
+ voidsetCoverage(String coverage) + +
+          Sets the DublinCore module coverage.
+ voidsetCoverages(List coverages) + +
+          Sets the DublinCore module coverages.
+ voidsetCreator(String creator) + +
+          Sets the DublinCore module creator.
+ voidsetCreators(List creators) + +
+          Sets the DublinCore module creators.
+ voidsetDate(Date date) + +
+          Sets the DublinCore module date.
+ voidsetDates(List<Date> dates) + +
+          Sets the DublinCore module dates.
+ voidsetDescription(String description) + +
+          Sets the DublinCore module description.
+ voidsetDescriptions(List descriptions) + +
+          Sets the DublinCore module descriptions.
+ voidsetFormat(String format) + +
+          Sets the DublinCore module format.
+ voidsetFormats(List formats) + +
+          Sets the DublinCore module formats.
+ voidsetIdentifier(String identifier) + +
+          Sets the DublinCore module identifier.
+ voidsetIdentifiers(List identifiers) + +
+          Sets the DublinCore module identifiers.
+ voidsetLanguage(String language) + +
+          Sets the DublinCore module language.
+ voidsetLanguages(List languages) + +
+          Sets the DublinCore module languages.
+ voidsetPublisher(String publisher) + +
+          Sets the DublinCore module publisher.
+ voidsetPublishers(List publishers) + +
+          Sets the DublinCore module publishers.
+ voidsetRelation(String relation) + +
+          Sets the DublinCore module relation.
+ voidsetRelations(List relations) + +
+          Sets the DublinCore module relations.
+ voidsetRights(String rights) + +
+          Sets the DublinCore module rights.
+ voidsetRightsList(List rights) + +
+          Sets the DublinCore module rights.
+ voidsetSource(String source) + +
+          Sets the DublinCore module source.
+ voidsetSources(List sources) + +
+          Sets the DublinCore module sources.
+ voidsetSubject(DCSubject subject) + +
+          Sets the DCSubject element.
+ voidsetSubjects(List subjects) + +
+          Sets the DublinCore module subjects.
+ voidsetTitle(String title) + +
+          Sets the DublinCore module title.
+ voidsetTitles(List titles) + +
+          Sets the DublinCore module titles.
+ voidsetType(String type) + +
+          Sets the DublinCore module type.
+ voidsetTypes(List types) + +
+          Sets the DublinCore module types.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.module.ModuleImpl
getUri
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.module.Module
getUri
+  +

+ + + + + + + + +
+Field Detail
+ +

+CONVENIENCE_PROPERTIES

+
+public static final Set CONVENIENCE_PROPERTIES
+
+
Unmodifiable Set containing the convenience properties of this class. +

+ Convenience properties are mapped to Modules, for cloning the convenience + properties can be ignored as the will be copied as part of the module + cloning. +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+DCModuleImpl

+
+public DCModuleImpl()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+getTitles

+
+public List getTitles()
+
+
Returns the DublinCore module titles. +

+

+

+
Specified by:
getTitles in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module title, + an empty list if none.
+
+
+
+ +

+setTitles

+
+public void setTitles(List titles)
+
+
Sets the DublinCore module titles. +

+

+

+
Specified by:
setTitles in interface DCModule
+
+
+
Parameters:
titles - the list of String representing the DublinCore module + titles to set, an empty list or null if none.
+
+
+
+ +

+getTitle

+
+public String getTitle()
+
+
Gets the DublinCore module title. Convenience method that can be used to + obtain the first item, null if none. +

+

+

+
Specified by:
getTitle in interface DCModule
+
+
+ +
Returns:
the first DublinCore module title, null if none.
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
Sets the DublinCore module title. Convenience method that can be used + when there is only one title to set. +

+

+

+
Specified by:
setTitle in interface DCModule
+
+
+
Parameters:
title - the DublinCore module title to set, null if none.
+
+
+
+ +

+getCreators

+
+public List getCreators()
+
+
Returns the DublinCore module creator. +

+

+

+
Specified by:
getCreators in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module creator, + an empty list if none.
+
+
+
+ +

+setCreators

+
+public void setCreators(List creators)
+
+
Sets the DublinCore module creators. +

+

+

+
Specified by:
setCreators in interface DCModule
+
+
+
Parameters:
creators - the list of String representing the DublinCore module + creators to set, an empty list or null if none.
+
+
+
+ +

+getCreator

+
+public String getCreator()
+
+
Gets the DublinCore module title. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
Specified by:
getCreator in interface DCModule
+
+
+ +
Returns:
the first DublinCore module title, null if none.
+
+
+
+ +

+setCreator

+
+public void setCreator(String creator)
+
+
Sets the DublinCore module creator. Convenience method that can be used + when there is only one creator to set. +

+

+

+
Specified by:
setCreator in interface DCModule
+
+
+
Parameters:
creator - the DublinCore module creator to set, null if none.
+
+
+
+ +

+getSubjects

+
+public List getSubjects()
+
+
Returns the DublinCore module subjects. +

+

+

+
Specified by:
getSubjects in interface DCModule
+
+
+ +
Returns:
a list of DCSubject elements with the DublinCore module subjects, + an empty list if none.
+
+
+
+ +

+setSubjects

+
+public void setSubjects(List subjects)
+
+
Sets the DublinCore module subjects. +

+

+

+
Specified by:
setSubjects in interface DCModule
+
+
+
Parameters:
subjects - the list of DCSubject elements with the DublinCore + module subjects to set, an empty list or null if none.
+
+
+
+ +

+getSubject

+
+public DCSubject getSubject()
+
+
Gets the DublinCore module subject. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
Specified by:
getSubject in interface DCModule
+
+
+ +
Returns:
the first DublinCore module subject, null if none.
+
+
+
+ +

+setSubject

+
+public void setSubject(DCSubject subject)
+
+
Sets the DCSubject element. Convenience method that can be used when + there is only one subject to set. +

+

+

+
Specified by:
setSubject in interface DCModule
+
+
+
Parameters:
subject - the DublinCore module subject to set, null if none.
+
+
+
+ +

+getDescriptions

+
+public List getDescriptions()
+
+
Returns the DublinCore module description. +

+

+

+
Specified by:
getDescriptions in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module + description, an empty list if none.
+
+
+
+ +

+setDescriptions

+
+public void setDescriptions(List descriptions)
+
+
Sets the DublinCore module descriptions. +

+

+

+
Specified by:
setDescriptions in interface DCModule
+
+
+
Parameters:
descriptions - the list of String representing the DublinCore + module descriptions to set, an empty list or null if none.
+
+
+
+ +

+getDescription

+
+public String getDescription()
+
+
Gets the DublinCore module description. Convenience method that can be + used to obtain the first item, null if none. +

+

+

+
Specified by:
getDescription in interface DCModule
+
+
+ +
Returns:
the first DublinCore module description, null if none.
+
+
+
+ +

+setDescription

+
+public void setDescription(String description)
+
+
Sets the DublinCore module description. Convenience method that can be + used when there is only one description to set. +

+

+

+
Specified by:
setDescription in interface DCModule
+
+
+
Parameters:
description - the DublinCore module description to set, null if none.
+
+
+
+ +

+getPublishers

+
+public List getPublishers()
+
+
Returns the DublinCore module publisher. +

+

+

+
Specified by:
getPublishers in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module publisher, + an empty list if none.
+
+
+
+ +

+setPublishers

+
+public void setPublishers(List publishers)
+
+
Sets the DublinCore module publishers. +

+

+

+
Specified by:
setPublishers in interface DCModule
+
+
+
Parameters:
publishers - the list of String representing the DublinCore module + publishers to set, an empty list or null if none.
+
+
+
+ +

+getPublisher

+
+public String getPublisher()
+
+
Gets the DublinCore module title. Convenience method that can be used to + obtain the first item, null if none. +

+

+

+
Specified by:
getPublisher in interface DCModule
+
+
+ +
Returns:
the first DublinCore module title, null if none.
+
+
+
+ +

+setPublisher

+
+public void setPublisher(String publisher)
+
+
Sets the DublinCore module publisher. Convenience method that can be + used when there is only one publisher to set. +

+

+

+
Specified by:
setPublisher in interface DCModule
+
+
+
Parameters:
publisher - the DublinCore module publisher to set, null if none.
+
+
+
+ +

+getContributors

+
+public List getContributors()
+
+
Returns the DublinCore module contributor. +

+

+

+
Specified by:
getContributors in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module contributor, + an empty list if none.
+
+
+
+ +

+setContributors

+
+public void setContributors(List contributors)
+
+
Sets the DublinCore module contributors. +

+

+

+
Specified by:
setContributors in interface DCModule
+
+
+
Parameters:
contributors - the list of String representing the DublinCore + module contributors to set, an empty list or null if none.
+
+
+
+ +

+getContributor

+
+public String getContributor()
+
+
Gets the DublinCore module contributor. Convenience method that can be + used to obtain the first item, null if none. +

+

+

+
Specified by:
getContributor in interface DCModule
+
+
+ +
Returns:
the first DublinCore module contributor, null if none.
+
+
+
+ +

+setContributor

+
+public void setContributor(String contributor)
+
+
Sets the DublinCore module contributor. Convenience method that can be + used when there is only one contributor to set. +

+

+

+
Specified by:
setContributor in interface DCModule
+
+
+
Parameters:
contributor - the DublinCore module contributor to set, null if none.
+
+
+
+ +

+getDates

+
+public List<Date> getDates()
+
+
Returns the DublinCore module date. +

+

+

+
Specified by:
getDates in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module date, + an empty list if none.
+
+
+
+ +

+setDates

+
+public void setDates(List<Date> dates)
+
+
Sets the DublinCore module dates. +

+

+

+
Specified by:
setDates in interface DCModule
+
+
+
Parameters:
dates - the list of Date representing the DublinCore module dates + to set, an empty list or null if none.
+
+
+
+ +

+getDate

+
+public Date getDate()
+
+
Gets the DublinCore module date. Convenience method that can be used to + obtain the first item, null if none. +

+

+

+
Specified by:
getDate in interface DCModule
+
+
+ +
Returns:
the first DublinCore module date, null if none.
+
+
+
+ +

+setDate

+
+public void setDate(Date date)
+
+
Sets the DublinCore module date. Convenience method that can be used + when there is only one date to set. +

+

+

+
Specified by:
setDate in interface DCModule
+
+
+
Parameters:
date - the DublinCore module date to set, null if none.
+
+
+
+ +

+getTypes

+
+public List getTypes()
+
+
Returns the DublinCore module type. +

+

+

+
Specified by:
getTypes in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module type, + an empty list if none.
+
+
+
+ +

+setTypes

+
+public void setTypes(List types)
+
+
Sets the DublinCore module types. +

+

+

+
Specified by:
setTypes in interface DCModule
+
+
+
Parameters:
types - the list of String representing the DublinCore module types + to set, an empty list or null if none.
+
+
+
+ +

+getType

+
+public String getType()
+
+
Gets the DublinCore module type. Convenience method that can be used to + obtain the first item, null if none. +

+

+

+
Specified by:
getType in interface DCModule
+
+
+ +
Returns:
the first DublinCore module type, null if none.
+
+
+
+ +

+setType

+
+public void setType(String type)
+
+
Sets the DublinCore module type. Convenience method that can be used + when there is only one type to set. +

+

+

+
Specified by:
setType in interface DCModule
+
+
+
Parameters:
type - the DublinCore module type to set, null if none.
+
+
+
+ +

+getFormats

+
+public List getFormats()
+
+
Returns the DublinCore module format. +

+

+

+
Specified by:
getFormats in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module format, + an empty list if none.
+
+
+
+ +

+setFormats

+
+public void setFormats(List formats)
+
+
Sets the DublinCore module formats. +

+

+

+
Specified by:
setFormats in interface DCModule
+
+
+
Parameters:
formats - the list of String representing the DublinCore module + formats to set, an empty list or null if none.
+
+
+
+ +

+getFormat

+
+public String getFormat()
+
+
Gets the DublinCore module format. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
Specified by:
getFormat in interface DCModule
+
+
+ +
Returns:
the first DublinCore module format, null if none.
+
+
+
+ +

+setFormat

+
+public void setFormat(String format)
+
+
Sets the DublinCore module format. Convenience method that can be used + when there is only one format to set. +

+

+

+
Specified by:
setFormat in interface DCModule
+
+
+
Parameters:
format - the DublinCore module format to set, null if none.
+
+
+
+ +

+getIdentifiers

+
+public List getIdentifiers()
+
+
Returns the DublinCore module identifier. +

+

+

+
Specified by:
getIdentifiers in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module identifier, + an empty list if none.
+
+
+
+ +

+setIdentifiers

+
+public void setIdentifiers(List identifiers)
+
+
Sets the DublinCore module identifiers. +

+

+

+
Specified by:
setIdentifiers in interface DCModule
+
+
+
Parameters:
identifiers - the list of String representing the DublinCore module + identifiers to set, an empty list or null if none.
+
+
+
+ +

+getIdentifier

+
+public String getIdentifier()
+
+
Gets the DublinCore module identifier. Convenience method that can be + used to obtain the first item, null if none. +

+

+

+
Specified by:
getIdentifier in interface DCModule
+
+
+ +
Returns:
the first DublinCore module identifier, null if none.
+
+
+
+ +

+setIdentifier

+
+public void setIdentifier(String identifier)
+
+
Sets the DublinCore module identifier. Convenience method that can be + used when there is only one identifier to set. +

+

+

+
Specified by:
setIdentifier in interface DCModule
+
+
+
Parameters:
identifier - the DublinCore module identifier to set, null if none.
+
+
+
+ +

+getSources

+
+public List getSources()
+
+
Returns the DublinCore module source. +

+

+

+
Specified by:
getSources in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module source, + an empty list if none.
+
+
+
+ +

+setSources

+
+public void setSources(List sources)
+
+
Sets the DublinCore module sources. +

+

+

+
Specified by:
setSources in interface DCModule
+
+
+
Parameters:
sources - the list of String representing the DublinCore module + sources to set, an empty list or null if none.
+
+
+
+ +

+getSource

+
+public String getSource()
+
+
Gets the DublinCore module source. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
Specified by:
getSource in interface DCModule
+
+
+ +
Returns:
the first DublinCore module source, null if none.
+
+
+
+ +

+setSource

+
+public void setSource(String source)
+
+
Sets the DublinCore module source. Convenience method that can be used + when there is only one source to set. +

+

+

+
Specified by:
setSource in interface DCModule
+
+
+
Parameters:
source - the DublinCore module source to set, null if none.
+
+
+
+ +

+getLanguages

+
+public List getLanguages()
+
+
Returns the DublinCore module language. +

+

+

+
Specified by:
getLanguages in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module language, + an empty list if none.
+
+
+
+ +

+setLanguages

+
+public void setLanguages(List languages)
+
+
Sets the DublinCore module languages. +

+

+

+
Specified by:
setLanguages in interface DCModule
+
+
+
Parameters:
languages - the list of String representing the DublinCore module + languages to set, an empty list or null if none.
+
+
+
+ +

+getLanguage

+
+public String getLanguage()
+
+
Gets the DublinCore module language. Convenience method that can be + used to obtain the first item, null if none. +

+

+

+
Specified by:
getLanguage in interface DCModule
+
+
+ +
Returns:
the first DublinCore module langauge, null if none.
+
+
+
+ +

+setLanguage

+
+public void setLanguage(String language)
+
+
Sets the DublinCore module language. Convenience method that can be used + when there is only one language to set. +

+

+

+
Specified by:
setLanguage in interface DCModule
+
+
+
Parameters:
language - the DublinCore module language to set, null if none.
+
+
+
+ +

+getRelations

+
+public List getRelations()
+
+
Returns the DublinCore module relation. +

+

+

+
Specified by:
getRelations in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module relation, + an empty list if none.
+
+
+
+ +

+setRelations

+
+public void setRelations(List relations)
+
+
Sets the DublinCore module relations. +

+

+

+
Specified by:
setRelations in interface DCModule
+
+
+
Parameters:
relations - the list of String representing the DublinCore module + relations to set, an empty list or null if none.
+
+
+
+ +

+getRelation

+
+public String getRelation()
+
+
Gets the DublinCore module relation. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
Specified by:
getRelation in interface DCModule
+
+
+ +
Returns:
the first DublinCore module relation, null if none.
+
+
+
+ +

+setRelation

+
+public void setRelation(String relation)
+
+
Sets the DublinCore module relation. Convenience method that can be used + when there is only one relation to set. +

+

+

+
Specified by:
setRelation in interface DCModule
+
+
+
Parameters:
relation - the DublinCore module relation to set, null if none.
+
+
+
+ +

+getCoverages

+
+public List getCoverages()
+
+
Returns the DublinCore module coverage. +

+

+

+
Specified by:
getCoverages in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module coverage, + an empty list if none.
+
+
+
+ +

+setCoverages

+
+public void setCoverages(List coverages)
+
+
Sets the DublinCore module coverages. +

+

+

+
Specified by:
setCoverages in interface DCModule
+
+
+
Parameters:
coverages - the list of String representing the DublinCore module + coverages to set, an empty list or null if none.
+
+
+
+ +

+getCoverage

+
+public String getCoverage()
+
+
Gets the DublinCore module coverage. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
Specified by:
getCoverage in interface DCModule
+
+
+ +
Returns:
the first DublinCore module coverage, null if none.
+
+
+
+ +

+setCoverage

+
+public void setCoverage(String coverage)
+
+
Sets the DublinCore module coverage. Convenience method that can be used + when there is only one coverage to set. +

+

+

+
Specified by:
setCoverage in interface DCModule
+
+
+
Parameters:
coverage - the DublinCore module coverage to set, null if none.
+
+
+
+ +

+getRightsList

+
+public List getRightsList()
+
+
Returns the DublinCore module rights. +

+

+

+
Specified by:
getRightsList in interface DCModule
+
+
+ +
Returns:
a list of Strings representing the DublinCore module rights, + an empty list if none.
+
+
+
+ +

+setRightsList

+
+public void setRightsList(List rights)
+
+
Sets the DublinCore module rights. +

+

+

+
Specified by:
setRightsList in interface DCModule
+
+
+
Parameters:
rights - the list of String representing the DublinCore module + rights to set, an empty list or null if none.
+
+
+
+ +

+getRights

+
+public String getRights()
+
+
Gets the DublinCore module rights. Convenience method that can be used + to obtain the first item, null if none. +

+

+

+
Specified by:
getRights in interface DCModule
+
+
+ +
Returns:
the first DublinCore module rights, null if none.
+
+
+
+ +

+setRights

+
+public void setRights(String rights)
+
+
Sets the DublinCore module rights. Convenience method that can be used + when there is only one rights to set. +

+

+

+
Specified by:
setRights in interface DCModule
+
+
+
Parameters:
rights - the DublinCore module rights to set, null if none.
+
+
+
+ +

+clone

+
+public final Object clone()
+                   throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Specified by:
clone in interface Module
Overrides:
clone in class ModuleImpl
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public final boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class ModuleImpl
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public final int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class ModuleImpl
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public final String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class ModuleImpl
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getInterface

+
+public final Class<? extends CopyFrom> getInterface()
+
+
Description copied from interface: CopyFrom
+
Returns the interface the copyFrom works on. +

+ This is useful when dealing with properties that may have multiple implementations. + For example, Module. +

+

+

+
Specified by:
getInterface in interface CopyFrom
+
+
+ +
Returns:
the interface the copyFrom works on.
+
+
+
+ +

+copyFrom

+
+public final void copyFrom(CopyFrom obj)
+
+
Description copied from interface: CopyFrom
+
Copies all the properties of the given bean into this one. +

+ Any existing properties in this bean are lost. +

+ This method is useful for moving from one implementation of a bean interface to another. + For example from the default SyndFeed bean implementation to a Hibernate ready implementation. +

+

+

+
Specified by:
copyFrom in interface CopyFrom
+
+
+
Parameters:
obj - the instance to copy properties from.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/DCSubject.html b/apidocs/com/sun/syndication/feed/module/DCSubject.html new file mode 100644 index 0000000..9ee9783 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/DCSubject.html @@ -0,0 +1,343 @@ + + + + + + + +DCSubject (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.module +
+Interface DCSubject

+
+
All Superinterfaces:
Cloneable, CopyFrom
+
+
+
All Known Implementing Classes:
DCSubjectImpl
+
+
+
+
public interface DCSubject
extends Cloneable, CopyFrom
+ + +

+Subject of the Dublin Core ModuleImpl. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Dublin Core module.
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep clone of the object.
+ StringgetTaxonomyUri() + +
+          Returns the DublinCore subject taxonomy URI.
+ StringgetValue() + +
+          Returns the DublinCore subject value.
+ voidsetTaxonomyUri(String taxonomyUri) + +
+          Sets the DublinCore subject taxonomy URI.
+ voidsetValue(String value) + +
+          Sets the DublinCore subject value.
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.CopyFrom
copyFrom, getInterface
+  +

+ + + + + + + + +
+Method Detail
+ +

+getTaxonomyUri

+
+String getTaxonomyUri()
+
+
Returns the DublinCore subject taxonomy URI. +

+

+

+
+
+
+ +
Returns:
the DublinCore subject taxonomy URI, null if none.
+
+
+
+ +

+setTaxonomyUri

+
+void setTaxonomyUri(String taxonomyUri)
+
+
Sets the DublinCore subject taxonomy URI. +

+

+

+
+
+
+
Parameters:
taxonomyUri - the DublinCore subject taxonomy URI to set, null if none.
+
+
+
+ +

+getValue

+
+String getValue()
+
+
Returns the DublinCore subject value. +

+

+

+
+
+
+ +
Returns:
the DublinCore subject value, null if none.
+
+
+
+ +

+setValue

+
+void setValue(String value)
+
+
Sets the DublinCore subject value. +

+

+

+
+
+
+
Parameters:
value - the DublinCore subject value to set, null if none.
+
+
+
+ +

+clone

+
+Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep clone of the object. +

+

+

+
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/DCSubjectImpl.html b/apidocs/com/sun/syndication/feed/module/DCSubjectImpl.html new file mode 100644 index 0000000..d0a0763 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/DCSubjectImpl.html @@ -0,0 +1,522 @@ + + + + + + + +DCSubjectImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.module +
+Class DCSubjectImpl

+
+java.lang.Object
+  extended by com.sun.syndication.feed.module.DCSubjectImpl
+
+
+
All Implemented Interfaces:
CopyFrom, DCSubject, Serializable, Cloneable
+
+
+
+
public class DCSubjectImpl
extends Object
implements Cloneable, Serializable, DCSubject
+ + +

+Subject of the Dublin Core ModuleImpl, default implementation. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Dublin Core module., +Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DCSubjectImpl() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ voidcopyFrom(CopyFrom obj) + +
+          Copies all the properties of the given bean into this one.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ ClassgetInterface() + +
+          Returns the interface the copyFrom works on.
+ StringgetTaxonomyUri() + +
+          Returns the DublinCore subject taxonomy URI.
+ StringgetValue() + +
+          Returns the DublinCore subject value.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetTaxonomyUri(String taxonomyUri) + +
+          Sets the DublinCore subject taxonomy URI.
+ voidsetValue(String value) + +
+          Sets the DublinCore subject value.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DCSubjectImpl

+
+public DCSubjectImpl()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Specified by:
clone in interface DCSubject
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getTaxonomyUri

+
+public String getTaxonomyUri()
+
+
Returns the DublinCore subject taxonomy URI. +

+

+

+
Specified by:
getTaxonomyUri in interface DCSubject
+
+
+ +
Returns:
the DublinCore subject taxonomy URI, null if none.
+
+
+
+ +

+setTaxonomyUri

+
+public void setTaxonomyUri(String taxonomyUri)
+
+
Sets the DublinCore subject taxonomy URI. +

+

+

+
Specified by:
setTaxonomyUri in interface DCSubject
+
+
+
Parameters:
taxonomyUri - the DublinCore subject taxonomy URI to set, null if none.
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Returns the DublinCore subject value. +

+

+

+
Specified by:
getValue in interface DCSubject
+
+
+ +
Returns:
the DublinCore subject value, null if none.
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
Sets the DublinCore subject value. +

+

+

+
Specified by:
setValue in interface DCSubject
+
+
+
Parameters:
value - the DublinCore subject value to set, null if none.
+
+
+
+ +

+getInterface

+
+public Class getInterface()
+
+
Description copied from interface: CopyFrom
+
Returns the interface the copyFrom works on. +

+ This is useful when dealing with properties that may have multiple implementations. + For example, Module. +

+

+

+
Specified by:
getInterface in interface CopyFrom
+
+
+ +
Returns:
the interface the copyFrom works on.
+
+
+
+ +

+copyFrom

+
+public void copyFrom(CopyFrom obj)
+
+
Description copied from interface: CopyFrom
+
Copies all the properties of the given bean into this one. +

+ Any existing properties in this bean are lost. +

+ This method is useful for moving from one implementation of a bean interface to another. + For example from the default SyndFeed bean implementation to a Hibernate ready implementation. +

+

+

+
Specified by:
copyFrom in interface CopyFrom
+
+
+
Parameters:
obj - the instance to copy properties from.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/Extendable.html b/apidocs/com/sun/syndication/feed/module/Extendable.html new file mode 100644 index 0000000..8da5d67 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/Extendable.html @@ -0,0 +1,272 @@ + + + + + + + +Extendable (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.module +
+Interface Extendable

+
+
All Known Subinterfaces:
SyndEntry, SyndFeed, SyndPerson
+
+
+
All Known Implementing Classes:
Channel, Entry, Feed, Item, Person, SyndEntryImpl, SyndFeedImpl, SyndPersonImpl, WireFeed
+
+
+
+
public interface Extendable
+ + +

+Objects that can have modules are Extendable. +

+ +

+

+
Author:
+
Dave Johnson
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ModulegetModule(String uri) + +
+          Returns the module identified by a given URI.
+ List<Module>getModules() + +
+          Returns the entry modules.
+ voidsetModules(List<Module> modules) + +
+          Sets the entry modules.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getModule

+
+Module getModule(String uri)
+
+
Returns the module identified by a given URI. +

+

+

+
Parameters:
uri - the URI of the ModuleImpl. +
Returns:
The module with the given URI, null if none.
+
+
+
+ +

+getModules

+
+List<Module> getModules()
+
+
Returns the entry modules. +

+

+

+ +
Returns:
a list of ModuleImpl elements with the entry modules, + an empty list if none.
+
+
+
+ +

+setModules

+
+void setModules(List<Module> modules)
+
+
Sets the entry modules. +

+

+

+
Parameters:
modules - the list of ModuleImpl elements with the entry modules to set, + an empty list or null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/Module.html b/apidocs/com/sun/syndication/feed/module/Module.html new file mode 100644 index 0000000..dc8feea --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/Module.html @@ -0,0 +1,271 @@ + + + + + + + +Module (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.module +
+Interface Module

+
+
All Superinterfaces:
Cloneable, CopyFrom, Serializable
+
+
+
All Known Subinterfaces:
DCModule, SyModule
+
+
+
All Known Implementing Classes:
DCModuleImpl, ModuleImpl, SyModuleImpl
+
+
+
+
public interface Module
extends Cloneable, CopyFrom, Serializable
+ + +

+Base class for modules describing Metadata of feeds. Examples of such modules are + the Dublin Core and Syndication modules. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep clone of the object.
+ StringgetUri() + +
+          Returns the URI of the module.
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.CopyFrom
copyFrom, getInterface
+  +

+ + + + + + + + +
+Method Detail
+ +

+getUri

+
+String getUri()
+
+
Returns the URI of the module. +

+

+

+
+
+
+ +
Returns:
URI of the module.
+
+
+
+ +

+clone

+
+Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep clone of the object. +

+

+

+
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/ModuleImpl.html b/apidocs/com/sun/syndication/feed/module/ModuleImpl.html new file mode 100644 index 0000000..fb3074b --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/ModuleImpl.html @@ -0,0 +1,403 @@ + + + + + + + +ModuleImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.module +
+Class ModuleImpl

+
+java.lang.Object
+  extended by com.sun.syndication.feed.module.ModuleImpl
+
+
+
All Implemented Interfaces:
CopyFrom, Module, Serializable, Cloneable
+
+
+
Direct Known Subclasses:
DCModuleImpl, SyModuleImpl
+
+
+
+
public abstract class ModuleImpl
extends Object
implements Cloneable, Serializable, Module
+ + +

+Base class for modules describing Metadata of feeds, default implementations. + Examples of such modules are the Dublin Core and Syndication modules. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + +
+Constructor Summary
+protected ModuleImpl(Class beanClass, + String uri) + +
+          Constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetUri() + +
+          Returns the URI of the module.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.CopyFrom
copyFrom, getInterface
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ModuleImpl

+
+protected ModuleImpl(Class beanClass,
+                     String uri)
+
+
Constructor. +

+

+

+
Parameters:
uri - URI of the module.
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Specified by:
clone in interface Module
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getUri

+
+public String getUri()
+
+
Returns the URI of the module. +

+

+

+
Specified by:
getUri in interface Module
+
+
+ +
Returns:
URI of the module.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/SyModule.html b/apidocs/com/sun/syndication/feed/module/SyModule.html new file mode 100644 index 0000000..25b9025 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/SyModule.html @@ -0,0 +1,502 @@ + + + + + + + +SyModule (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.module +
+Interface SyModule

+
+
All Superinterfaces:
Cloneable, CopyFrom, Module, Serializable
+
+
+
All Known Implementing Classes:
SyModuleImpl
+
+
+
+
public interface SyModule
extends Module
+ + +

+Syndication ModuleImpl. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Syndication module.
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringDAILY + +
+           
+static StringHOURLY + +
+           
+static StringMONTHLY + +
+           
+static StringURI + +
+          URI of the Syndication ModuleImpl (http://purl.org/rss/1.0/modules/syndication/).
+static StringWEEKLY + +
+           
+static StringYEARLY + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ DategetUpdateBase() + +
+          Returns the Syndication module update base date.
+ intgetUpdateFrequency() + +
+          Returns the Syndication module update frequency.
+ StringgetUpdatePeriod() + +
+          Returns the Syndication module update period.
+ voidsetUpdateBase(Date updateBase) + +
+          Sets the Syndication module update base date.
+ voidsetUpdateFrequency(int updateFrequency) + +
+          Sets the Syndication module update frequency.
+ voidsetUpdatePeriod(String updatePeriod) + +
+          Sets the Syndication module update period.
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.module.Module
clone, getUri
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.CopyFrom
copyFrom, getInterface
+  +

+ + + + + + + + +
+Field Detail
+ +

+URI

+
+static final String URI
+
+
URI of the Syndication ModuleImpl (http://purl.org/rss/1.0/modules/syndication/). +

+

+
See Also:
Constant Field Values
+
+
+ +

+HOURLY

+
+static final String HOURLY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DAILY

+
+static final String DAILY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WEEKLY

+
+static final String WEEKLY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MONTHLY

+
+static final String MONTHLY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+YEARLY

+
+static final String YEARLY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+getUpdatePeriod

+
+String getUpdatePeriod()
+
+
Returns the Syndication module update period. +

+

+

+
+
+
+ +
Returns:
the Syndication module update period, null if none.
+
+
+
+ +

+setUpdatePeriod

+
+void setUpdatePeriod(String updatePeriod)
+
+
Sets the Syndication module update period. +

+

+

+
+
+
+
Parameters:
updatePeriod - the Syndication module update period to set, null if none.
+
+
+
+ +

+getUpdateFrequency

+
+int getUpdateFrequency()
+
+
Returns the Syndication module update frequency. +

+

+

+
+
+
+ +
Returns:
the Syndication module update frequency, null if none.
+
+
+
+ +

+setUpdateFrequency

+
+void setUpdateFrequency(int updateFrequency)
+
+
Sets the Syndication module update frequency. +

+

+

+
+
+
+
Parameters:
updateFrequency - the Syndication module update frequency to set, null if none.
+
+
+
+ +

+getUpdateBase

+
+Date getUpdateBase()
+
+
Returns the Syndication module update base date. +

+

+

+
+
+
+ +
Returns:
the Syndication module update base date, null if none.
+
+
+
+ +

+setUpdateBase

+
+void setUpdateBase(Date updateBase)
+
+
Sets the Syndication module update base date. +

+

+

+
+
+
+
Parameters:
updateBase - the Syndication module update base date to set, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/SyModuleImpl.html b/apidocs/com/sun/syndication/feed/module/SyModuleImpl.html new file mode 100644 index 0000000..fa6b646 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/SyModuleImpl.html @@ -0,0 +1,501 @@ + + + + + + + +SyModuleImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.module +
+Class SyModuleImpl

+
+java.lang.Object
+  extended by com.sun.syndication.feed.module.ModuleImpl
+      extended by com.sun.syndication.feed.module.SyModuleImpl
+
+
+
All Implemented Interfaces:
CopyFrom, Module, SyModule, Serializable, Cloneable
+
+
+
+
public class SyModuleImpl
extends ModuleImpl
implements SyModule
+ + +

+Syndication ModuleImpl, default implementation. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Syndication module., +Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface com.sun.syndication.feed.module.SyModule
DAILY, HOURLY, MONTHLY, URI, WEEKLY, YEARLY
+  + + + + + + + + + + +
+Constructor Summary
SyModuleImpl() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcopyFrom(CopyFrom obj) + +
+          Copies all the properties of the given bean into this one.
+ Class<? extends Module>getInterface() + +
+          Returns the interface the copyFrom works on.
+ DategetUpdateBase() + +
+          Returns the Syndication module update base date.
+ intgetUpdateFrequency() + +
+          Returns the Syndication module update frequency.
+ StringgetUpdatePeriod() + +
+          Returns the Syndication module update period.
+ voidsetUpdateBase(Date updateBase) + +
+          Sets the Syndication module update base date.
+ voidsetUpdateFrequency(int updateFrequency) + +
+          Sets the Syndication module update frequency.
+ voidsetUpdatePeriod(String updatePeriod) + +
+          Sets the Syndication module update period.
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.module.ModuleImpl
clone, equals, getUri, hashCode, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.module.Module
clone, getUri
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyModuleImpl

+
+public SyModuleImpl()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+getUpdatePeriod

+
+public String getUpdatePeriod()
+
+
Returns the Syndication module update period. +

+

+

+
Specified by:
getUpdatePeriod in interface SyModule
+
+
+ +
Returns:
the Syndication module update period, null if none.
+
+
+
+ +

+setUpdatePeriod

+
+public void setUpdatePeriod(String updatePeriod)
+
+
Sets the Syndication module update period. +

+

+

+
Specified by:
setUpdatePeriod in interface SyModule
+
+
+
Parameters:
updatePeriod - the Syndication module update period to set, null if none.
+
+
+
+ +

+getUpdateFrequency

+
+public int getUpdateFrequency()
+
+
Returns the Syndication module update frequency. +

+

+

+
Specified by:
getUpdateFrequency in interface SyModule
+
+
+ +
Returns:
the Syndication module update frequency, null if none.
+
+
+
+ +

+setUpdateFrequency

+
+public void setUpdateFrequency(int updateFrequency)
+
+
Sets the Syndication module update frequency. +

+

+

+
Specified by:
setUpdateFrequency in interface SyModule
+
+
+
Parameters:
updateFrequency - the Syndication module update frequency to set, null if none.
+
+
+
+ +

+getUpdateBase

+
+public Date getUpdateBase()
+
+
Returns the Syndication module update base date. +

+

+

+
Specified by:
getUpdateBase in interface SyModule
+
+
+ +
Returns:
the Syndication module update base date, null if none.
+
+
+
+ +

+setUpdateBase

+
+public void setUpdateBase(Date updateBase)
+
+
Sets the Syndication module update base date. +

+

+

+
Specified by:
setUpdateBase in interface SyModule
+
+
+
Parameters:
updateBase - the Syndication module update base date to set, null if none.
+
+
+
+ +

+getInterface

+
+public Class<? extends Module> getInterface()
+
+
Description copied from interface: CopyFrom
+
Returns the interface the copyFrom works on. +

+ This is useful when dealing with properties that may have multiple implementations. + For example, Module. +

+

+

+
Specified by:
getInterface in interface CopyFrom
+
+
+ +
Returns:
the interface the copyFrom works on.
+
+
+
+ +

+copyFrom

+
+public void copyFrom(CopyFrom obj)
+
+
Description copied from interface: CopyFrom
+
Copies all the properties of the given bean into this one. +

+ Any existing properties in this bean are lost. +

+ This method is useful for moving from one implementation of a bean interface to another. + For example from the default SyndFeed bean implementation to a Hibernate ready implementation. +

+

+

+
Specified by:
copyFrom in interface CopyFrom
+
+
+
Parameters:
obj - the instance to copy properties from.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/class-use/DCModule.html b/apidocs/com/sun/syndication/feed/module/class-use/DCModule.html new file mode 100644 index 0000000..22b1c16 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/class-use/DCModule.html @@ -0,0 +1,181 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.module.DCModule (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.module.DCModule

+
+ + + + + + + + + +
+Packages that use DCModule
com.sun.syndication.feed.module  
+  +

+ + + + + +
+Uses of DCModule in com.sun.syndication.feed.module
+  +

+ + + + + + + + + +
Classes in com.sun.syndication.feed.module that implement DCModule
+ classDCModuleImpl + +
+          Dublin Core ModuleImpl, default implementation.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/class-use/DCModuleImpl.html b/apidocs/com/sun/syndication/feed/module/class-use/DCModuleImpl.html new file mode 100644 index 0000000..ee23632 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/class-use/DCModuleImpl.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.module.DCModuleImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.module.DCModuleImpl

+
+No usage of com.sun.syndication.feed.module.DCModuleImpl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/class-use/DCSubject.html b/apidocs/com/sun/syndication/feed/module/class-use/DCSubject.html new file mode 100644 index 0000000..e6244a3 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/class-use/DCSubject.html @@ -0,0 +1,290 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.module.DCSubject (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.module.DCSubject

+
+ + + + + + + + + + + + + +
+Packages that use DCSubject
com.sun.syndication.feed.module  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of DCSubject in com.sun.syndication.feed.module
+  +

+ + + + + + + + + +
Classes in com.sun.syndication.feed.module that implement DCSubject
+ classDCSubjectImpl + +
+          Subject of the Dublin Core ModuleImpl, default implementation.
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.module that return DCSubject
+ DCSubjectDCModuleImpl.getSubject() + +
+          Gets the DublinCore module subject.
+ DCSubjectDCModule.getSubject() + +
+          Gets the DublinCore module subject.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.module that return types with arguments of type DCSubject
+ List<DCSubject>DCModule.getSubjects() + +
+          Returns the DublinCore module subjects.
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.module with parameters of type DCSubject
+ voidDCModuleImpl.setSubject(DCSubject subject) + +
+          Sets the DCSubject element.
+ voidDCModule.setSubject(DCSubject subject) + +
+          Sets the DCSubject element.
+  +

+ + + + + + + + + +
Method parameters in com.sun.syndication.feed.module with type arguments of type DCSubject
+ voidDCModule.setSubjects(List<DCSubject> subjects) + +
+          Sets the DublinCore module subjects.
+  +

+ + + + + +
+Uses of DCSubject in com.sun.syndication.io.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type DCSubject
+protected  org.jdom.ElementDCModuleGenerator.generateSubjectElement(DCSubject subject) + +
+          Utility method to generate an element for a subject.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/class-use/DCSubjectImpl.html b/apidocs/com/sun/syndication/feed/module/class-use/DCSubjectImpl.html new file mode 100644 index 0000000..1f3f4ab --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/class-use/DCSubjectImpl.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.module.DCSubjectImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.module.DCSubjectImpl

+
+No usage of com.sun.syndication.feed.module.DCSubjectImpl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/class-use/Extendable.html b/apidocs/com/sun/syndication/feed/module/class-use/Extendable.html new file mode 100644 index 0000000..a1b095b --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/class-use/Extendable.html @@ -0,0 +1,371 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.module.Extendable (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.module.Extendable

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use Extendable
com.sun.syndication.feed  
com.sun.syndication.feed.atom  
com.sun.syndication.feed.rss  
com.sun.syndication.feed.synd  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Extendable in com.sun.syndication.feed
+  +

+ + + + + + + + + +
Classes in com.sun.syndication.feed that implement Extendable
+ classWireFeed + +
+          Parent class of the RSS (Channel) and Atom (Feed) feed beans.
+  +

+ + + + + +
+Uses of Extendable in com.sun.syndication.feed.atom
+  +

+ + + + + + + + + + + + + + + + + +
Classes in com.sun.syndication.feed.atom that implement Extendable
+ classEntry + +
+          Bean for entry elements of Atom feeds.
+ classFeed + +
+          Bean for Atom feeds.
+ classPerson + +
+          Bean for person elements of Atom feeds.
+  +

+ + + + + +
+Uses of Extendable in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + + + + + +
Classes in com.sun.syndication.feed.rss that implement Extendable
+ classChannel + +
+          Bean for RSS feeds.
+ classItem + +
+          Bean for items of RSS feeds.
+  +

+ + + + + +
+Uses of Extendable in com.sun.syndication.feed.synd
+  +

+ + + + + + + + + + + + + + + + + +
Subinterfaces of Extendable in com.sun.syndication.feed.synd
+ interfaceSyndEntry + +
+          Bean interface for entries of SyndFeedImpl feeds.
+ interfaceSyndFeed + +
+          Bean interface for all types of feeds.
+ interfaceSyndPerson + +
+          Bean interface for authors and contributors of SyndFeedImpl feeds and entries.
+  +

+ + + + + + + + + + + + + + + + + +
Classes in com.sun.syndication.feed.synd that implement Extendable
+ classSyndEntryImpl + +
+          Bean for entries of SyndFeedImpl feeds.
+ classSyndFeedImpl + +
+          Bean for all types of feeds.
+ classSyndPersonImpl + +
+          Bean for authors and contributors of SyndFeedImpl feeds and entries.
+  +

+ + + + + +
+Uses of Extendable in com.sun.syndication.io.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Extendable
+protected  ListBaseWireFeedParser.extractForeignMarkup(org.jdom.Element e, + Extendable ext, + org.jdom.Namespace basens) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/class-use/Module.html b/apidocs/com/sun/syndication/feed/module/class-use/Module.html new file mode 100644 index 0000000..d41aa77 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/class-use/Module.html @@ -0,0 +1,797 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.module.Module (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.module.Module

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use Module
com.sun.syndication.feed  
com.sun.syndication.feed.atom  
com.sun.syndication.feed.module  
com.sun.syndication.feed.module.impl  
com.sun.syndication.feed.rss  
com.sun.syndication.feed.synd  
com.sun.syndication.io  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Module in com.sun.syndication.feed
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed that return Module
+ ModuleWireFeed.getModule(String uri) + +
+          Returns the module identified by a given URI.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed that return types with arguments of type Module
+ List<Module>WireFeed.getModules() + +
+          Returns the channel modules.
+  +

+ + + + + + + + + +
Method parameters in com.sun.syndication.feed with type arguments of type Module
+ voidWireFeed.setModules(List<Module> modules) + +
+          Sets the channel modules.
+  +

+ + + + + +
+Uses of Module in com.sun.syndication.feed.atom
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.atom that return Module
+ ModulePerson.getModule(String uri) + +
+          Returns the module identified by a given URI.
+ ModuleEntry.getModule(String uri) + +
+          Returns the module identified by a given URI.
+ ModuleFeed.getModule(String uri) + +
+          Returns the module identified by a given URI.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.atom that return types with arguments of type Module
+ List<Module>Feed.getModules() + +
+          Returns the feed modules.
+  +

+ + + + + + + + + +
Method parameters in com.sun.syndication.feed.atom with type arguments of type Module
+ voidFeed.setModules(List<Module> modules) + +
+          Sets the feed moduless.
+  +

+ + + + + +
+Uses of Module in com.sun.syndication.feed.module
+  +

+ + + + + + + + + + + + + +
Subinterfaces of Module in com.sun.syndication.feed.module
+ interfaceDCModule + +
+          Dublin Core Module.
+ interfaceSyModule + +
+          Syndication ModuleImpl.
+  +

+ + + + + + + + + + + + + + + + + +
Classes in com.sun.syndication.feed.module that implement Module
+ classDCModuleImpl + +
+          Dublin Core ModuleImpl, default implementation.
+ classModuleImpl + +
+          Base class for modules describing Metadata of feeds, default implementations.
+ classSyModuleImpl + +
+          Syndication ModuleImpl, default implementation.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.module that return Module
+ ModuleExtendable.getModule(String uri) + +
+          Returns the module identified by a given URI.
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.module that return types with arguments of type Module
+ Class<? extends Module>SyModuleImpl.getInterface() + +
+           
+ List<Module>Extendable.getModules() + +
+          Returns the entry modules.
+  +

+ + + + + + + + + +
Method parameters in com.sun.syndication.feed.module with type arguments of type Module
+ voidExtendable.setModules(List<Module> modules) + +
+          Sets the entry modules.
+  +

+ + + + + +
+Uses of Module in com.sun.syndication.feed.module.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.module.impl that return Module
+static ModuleModuleUtils.getModule(List<Module> modules, + String uri) + +
+           
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.module.impl that return types with arguments of type Module
+static List<Module>ModuleUtils.cloneModules(List<Module> modules) + +
+           
+  +

+ + + + + + + + + + + + + +
Method parameters in com.sun.syndication.feed.module.impl with type arguments of type Module
+static List<Module>ModuleUtils.cloneModules(List<Module> modules) + +
+           
+static ModuleModuleUtils.getModule(List<Module> modules, + String uri) + +
+           
+  +

+ + + + + +
+Uses of Module in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.rss that return Module
+ ModuleItem.getModule(String uri) + +
+          Returns the module identified by a given URI.
+ ModuleChannel.getModule(String uri) + +
+          Returns the module identified by a given URI.
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.rss that return types with arguments of type Module
+ List<Module>Item.getModules() + +
+          Returns the item modules.
+ List<Module>Channel.getModules() + +
+          Returns the channel modules.
+  +

+ + + + + + + + + + + + + +
Method parameters in com.sun.syndication.feed.rss with type arguments of type Module
+ voidItem.setModules(List<Module> modules) + +
+          Sets the item modules.
+ voidChannel.setModules(List<Module> modules) + +
+          Sets the channel modules.
+  +

+ + + + + +
+Uses of Module in com.sun.syndication.feed.synd
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return Module
+ ModuleSyndEntry.getModule(String uri) + +
+          Returns the module identified by a given URI.
+ ModuleSyndFeed.getModule(String uri) + +
+          Returns the module identified by a given URI.
+ ModuleSyndEntryImpl.getModule(String uri) + +
+          Returns the module identified by a given URI.
+ ModuleSyndPersonImpl.getModule(String uri) + +
+          Returns the module identified by a given URI.
+ ModuleSyndFeedImpl.getModule(String uri) + +
+          Returns the module identified by a given URI.
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return types with arguments of type Module
+ List<Module>SyndEntry.getModules() + +
+          Returns the entry modules.
+ List<Module>SyndFeed.getModules() + +
+          Returns the feed modules.
+ List<Module>SyndEntryImpl.getModules() + +
+          Returns the entry modules.
+  +

+ + + + + + + + + + + + + +
Method parameters in com.sun.syndication.feed.synd with type arguments of type Module
+ voidSyndEntry.setModules(List<Module> modules) + +
+          Sets the entry modules.
+ voidSyndEntryImpl.setModules(List<Module> modules) + +
+          Sets the entry modules.
+  +

+ + + + + +
+Uses of Module in com.sun.syndication.io
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io that return Module
+ ModuleModuleParser.parse(org.jdom.Element element) + +
+          Parses the XML node (JDOM element) extracting module information.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io with parameters of type Module
+ voidModuleGenerator.generate(Module module, + org.jdom.Element element) + +
+          Generates and injects module metadata into an XML node (JDOM element).
+  +

+ + + + + +
+Uses of Module in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl that return Module
+ ModuleDCModuleParser.parse(org.jdom.Element dcRoot) + +
+          Parse an element tree and return the module found in it.
+ ModuleSyModuleParser.parse(org.jdom.Element syndRoot) + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Module
+ voidDCModuleGenerator.generate(Module module, + org.jdom.Element element) + +
+          Populate an element tree with elements for a module.
+ voidSyModuleGenerator.generate(Module module, + org.jdom.Element element) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/class-use/ModuleImpl.html b/apidocs/com/sun/syndication/feed/module/class-use/ModuleImpl.html new file mode 100644 index 0000000..6f7271f --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/class-use/ModuleImpl.html @@ -0,0 +1,189 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.module.ModuleImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.module.ModuleImpl

+
+ + + + + + + + + +
+Packages that use ModuleImpl
com.sun.syndication.feed.module  
+  +

+ + + + + +
+Uses of ModuleImpl in com.sun.syndication.feed.module
+  +

+ + + + + + + + + + + + + +
Subclasses of ModuleImpl in com.sun.syndication.feed.module
+ classDCModuleImpl + +
+          Dublin Core ModuleImpl, default implementation.
+ classSyModuleImpl + +
+          Syndication ModuleImpl, default implementation.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/class-use/SyModule.html b/apidocs/com/sun/syndication/feed/module/class-use/SyModule.html new file mode 100644 index 0000000..f518b6b --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/class-use/SyModule.html @@ -0,0 +1,181 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.module.SyModule (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.module.SyModule

+
+ + + + + + + + + +
+Packages that use SyModule
com.sun.syndication.feed.module  
+  +

+ + + + + +
+Uses of SyModule in com.sun.syndication.feed.module
+  +

+ + + + + + + + + +
Classes in com.sun.syndication.feed.module that implement SyModule
+ classSyModuleImpl + +
+          Syndication ModuleImpl, default implementation.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/class-use/SyModuleImpl.html b/apidocs/com/sun/syndication/feed/module/class-use/SyModuleImpl.html new file mode 100644 index 0000000..60f10dc --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/class-use/SyModuleImpl.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.module.SyModuleImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.module.SyModuleImpl

+
+No usage of com.sun.syndication.feed.module.SyModuleImpl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/impl/ModuleUtils.html b/apidocs/com/sun/syndication/feed/module/impl/ModuleUtils.html new file mode 100644 index 0000000..5d56896 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/impl/ModuleUtils.html @@ -0,0 +1,277 @@ + + + + + + + +ModuleUtils (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.module.impl +
+Class ModuleUtils

+
+java.lang.Object
+  extended by com.sun.syndication.feed.module.impl.ModuleUtils
+
+
+
+
public class ModuleUtils
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ModuleUtils() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static List<Module>cloneModules(List<Module> modules) + +
+           
+static ModulegetModule(List<Module> modules, + String uri) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ModuleUtils

+
+public ModuleUtils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+cloneModules

+
+public static List<Module> cloneModules(List<Module> modules)
+
+
+
+
+
+
+ +

+getModule

+
+public static Module getModule(List<Module> modules,
+                               String uri)
+
+
+
Parameters:
modules -
uri - +
Returns:
Since:
+
1.5 Changed to return the first, not the last.
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/impl/class-use/ModuleUtils.html b/apidocs/com/sun/syndication/feed/module/impl/class-use/ModuleUtils.html new file mode 100644 index 0000000..d71bcd4 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/impl/class-use/ModuleUtils.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.module.impl.ModuleUtils (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.module.impl.ModuleUtils

+
+No usage of com.sun.syndication.feed.module.impl.ModuleUtils +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/impl/package-frame.html b/apidocs/com/sun/syndication/feed/module/impl/package-frame.html new file mode 100644 index 0000000..54ff5b7 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/impl/package-frame.html @@ -0,0 +1,33 @@ + + + + + + + +com.sun.syndication.feed.module.impl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + +com.sun.syndication.feed.module.impl + + + + +
+Classes  + +
+ModuleUtils
+ + + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/impl/package-summary.html b/apidocs/com/sun/syndication/feed/module/impl/package-summary.html new file mode 100644 index 0000000..a8a3fbb --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/impl/package-summary.html @@ -0,0 +1,158 @@ + + + + + + + +com.sun.syndication.feed.module.impl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.sun.syndication.feed.module.impl +

+ + + + + + + + + +
+Class Summary
ModuleUtils 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/impl/package-tree.html b/apidocs/com/sun/syndication/feed/module/impl/package-tree.html new file mode 100644 index 0000000..22def7c --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/impl/package-tree.html @@ -0,0 +1,154 @@ + + + + + + + +com.sun.syndication.feed.module.impl Class Hierarchy (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.sun.syndication.feed.module.impl +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/impl/package-use.html b/apidocs/com/sun/syndication/feed/module/impl/package-use.html new file mode 100644 index 0000000..4a2f680 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/impl/package-use.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Package com.sun.syndication.feed.module.impl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.sun.syndication.feed.module.impl

+
+No usage of com.sun.syndication.feed.module.impl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/package-frame.html b/apidocs/com/sun/syndication/feed/module/package-frame.html new file mode 100644 index 0000000..2f06ab0 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/package-frame.html @@ -0,0 +1,58 @@ + + + + + + + +com.sun.syndication.feed.module (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + +com.sun.syndication.feed.module + + + + +
+Interfaces  + +
+DCModule +
+DCSubject +
+Extendable +
+Module +
+SyModule
+ + + + + + +
+Classes  + +
+DCModuleImpl +
+DCSubjectImpl +
+ModuleImpl +
+SyModuleImpl
+ + + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/package-summary.html b/apidocs/com/sun/syndication/feed/module/package-summary.html new file mode 100644 index 0000000..d0d4d1d --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/package-summary.html @@ -0,0 +1,200 @@ + + + + + + + +com.sun.syndication.feed.module (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.sun.syndication.feed.module +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
DCModuleDublin Core Module.
DCSubjectSubject of the Dublin Core ModuleImpl.
ExtendableObjects that can have modules are Extendable.
ModuleBase class for modules describing Metadata of feeds.
SyModuleSyndication ModuleImpl.
+  + +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
DCModuleImplDublin Core ModuleImpl, default implementation.
DCSubjectImplSubject of the Dublin Core ModuleImpl, default implementation.
ModuleImplBase class for modules describing Metadata of feeds, default implementations.
SyModuleImplSyndication ModuleImpl, default implementation.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/package-tree.html b/apidocs/com/sun/syndication/feed/module/package-tree.html new file mode 100644 index 0000000..f41f41a --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/package-tree.html @@ -0,0 +1,186 @@ + + + + + + + +com.sun.syndication.feed.module Class Hierarchy (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.sun.syndication.feed.module +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/module/package-use.html b/apidocs/com/sun/syndication/feed/module/package-use.html new file mode 100644 index 0000000..44f4d21 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/module/package-use.html @@ -0,0 +1,364 @@ + + + + + + + +Uses of Package com.sun.syndication.feed.module (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.sun.syndication.feed.module

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use com.sun.syndication.feed.module
com.sun.syndication.feed  
com.sun.syndication.feed.atom  
com.sun.syndication.feed.module  
com.sun.syndication.feed.module.impl  
com.sun.syndication.feed.rss  
com.sun.syndication.feed.synd  
com.sun.syndication.io  
com.sun.syndication.io.impl  
+  +

+ + + + + + + + + + + +
+Classes in com.sun.syndication.feed.module used by com.sun.syndication.feed
Extendable + +
+          Objects that can have modules are Extendable.
Module + +
+          Base class for modules describing Metadata of feeds.
+  +

+ + + + + + + + + + + +
+Classes in com.sun.syndication.feed.module used by com.sun.syndication.feed.atom
Extendable + +
+          Objects that can have modules are Extendable.
Module + +
+          Base class for modules describing Metadata of feeds.
+  +

+ + + + + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.feed.module used by com.sun.syndication.feed.module
DCModule + +
+          Dublin Core Module.
DCSubject + +
+          Subject of the Dublin Core ModuleImpl.
Module + +
+          Base class for modules describing Metadata of feeds.
ModuleImpl + +
+          Base class for modules describing Metadata of feeds, default implementations.
SyModule + +
+          Syndication ModuleImpl.
+  +

+ + + + + + + + +
+Classes in com.sun.syndication.feed.module used by com.sun.syndication.feed.module.impl
Module + +
+          Base class for modules describing Metadata of feeds.
+  +

+ + + + + + + + + + + +
+Classes in com.sun.syndication.feed.module used by com.sun.syndication.feed.rss
Extendable + +
+          Objects that can have modules are Extendable.
Module + +
+          Base class for modules describing Metadata of feeds.
+  +

+ + + + + + + + + + + +
+Classes in com.sun.syndication.feed.module used by com.sun.syndication.feed.synd
Extendable + +
+          Objects that can have modules are Extendable.
Module + +
+          Base class for modules describing Metadata of feeds.
+  +

+ + + + + + + + +
+Classes in com.sun.syndication.feed.module used by com.sun.syndication.io
Module + +
+          Base class for modules describing Metadata of feeds.
+  +

+ + + + + + + + + + + + + + +
+Classes in com.sun.syndication.feed.module used by com.sun.syndication.io.impl
DCSubject + +
+          Subject of the Dublin Core ModuleImpl.
Extendable + +
+          Objects that can have modules are Extendable.
Module + +
+          Base class for modules describing Metadata of feeds.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/package-frame.html b/apidocs/com/sun/syndication/feed/package-frame.html new file mode 100644 index 0000000..1fbf913 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/package-frame.html @@ -0,0 +1,44 @@ + + + + + + + +com.sun.syndication.feed (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + +com.sun.syndication.feed + + + + +
+Interfaces  + +
+CopyFrom
+ + + + + + +
+Classes  + +
+WireFeed
+ + + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/package-summary.html b/apidocs/com/sun/syndication/feed/package-summary.html new file mode 100644 index 0000000..9c76a5e --- /dev/null +++ b/apidocs/com/sun/syndication/feed/package-summary.html @@ -0,0 +1,172 @@ + + + + + + + +com.sun.syndication.feed (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.sun.syndication.feed +

+ + + + + + + + + +
+Interface Summary
CopyFrom<T> 
+  + +

+ + + + + + + + + +
+Class Summary
WireFeedParent class of the RSS (Channel) and Atom (Feed) feed beans.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/package-tree.html b/apidocs/com/sun/syndication/feed/package-tree.html new file mode 100644 index 0000000..6b0c5a5 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/package-tree.html @@ -0,0 +1,160 @@ + + + + + + + +com.sun.syndication.feed Class Hierarchy (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.sun.syndication.feed +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/package-use.html b/apidocs/com/sun/syndication/feed/package-use.html new file mode 100644 index 0000000..6f5a37b --- /dev/null +++ b/apidocs/com/sun/syndication/feed/package-use.html @@ -0,0 +1,310 @@ + + + + + + + +Uses of Package com.sun.syndication.feed (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.sun.syndication.feed

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use com.sun.syndication.feed
com.sun.syndication.feed  
com.sun.syndication.feed.atom  
com.sun.syndication.feed.module  
com.sun.syndication.feed.rss  
com.sun.syndication.feed.synd  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io  
com.sun.syndication.io.impl  
+  +

+ + + + + + + + +
+Classes in com.sun.syndication.feed used by com.sun.syndication.feed
CopyFrom + +
+           
+  +

+ + + + + + + + +
+Classes in com.sun.syndication.feed used by com.sun.syndication.feed.atom
WireFeed + +
+          Parent class of the RSS (Channel) and Atom (Feed) feed beans.
+  +

+ + + + + + + + +
+Classes in com.sun.syndication.feed used by com.sun.syndication.feed.module
CopyFrom + +
+           
+  +

+ + + + + + + + +
+Classes in com.sun.syndication.feed used by com.sun.syndication.feed.rss
WireFeed + +
+          Parent class of the RSS (Channel) and Atom (Feed) feed beans.
+  +

+ + + + + + + + + + + +
+Classes in com.sun.syndication.feed used by com.sun.syndication.feed.synd
CopyFrom + +
+           
WireFeed + +
+          Parent class of the RSS (Channel) and Atom (Feed) feed beans.
+  +

+ + + + + + + + +
+Classes in com.sun.syndication.feed used by com.sun.syndication.feed.synd.impl
WireFeed + +
+          Parent class of the RSS (Channel) and Atom (Feed) feed beans.
+  +

+ + + + + + + + +
+Classes in com.sun.syndication.feed used by com.sun.syndication.io
WireFeed + +
+          Parent class of the RSS (Channel) and Atom (Feed) feed beans.
+  +

+ + + + + + + + +
+Classes in com.sun.syndication.feed used by com.sun.syndication.io.impl
WireFeed + +
+          Parent class of the RSS (Channel) and Atom (Feed) feed beans.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/Category.html b/apidocs/com/sun/syndication/feed/rss/Category.html new file mode 100644 index 0000000..7bb06fb --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/Category.html @@ -0,0 +1,460 @@ + + + + + + + +Category (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.rss +
+Class Category

+
+java.lang.Object
+  extended by com.sun.syndication.feed.rss.Category
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class Category
extends Object
implements Cloneable, Serializable
+ + +

+Bean for categories of RSS feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Category() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetDomain() + +
+          Returns the category domain.
+ StringgetValue() + +
+          Returns the category value.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetDomain(String domain) + +
+          Sets the category domain.
+ voidsetValue(String value) + +
+          Sets the category value.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Category

+
+public Category()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getDomain

+
+public String getDomain()
+
+
Returns the category domain. +

+

+

+
+
+
+ +
Returns:
the category domain, null if none.
+
+
+
+ +

+setDomain

+
+public void setDomain(String domain)
+
+
Sets the category domain. +

+

+

+
+
+
+
Parameters:
domain - the category domain to set, null if none.
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Returns the category value. +

+

+

+
+
+
+ +
Returns:
the category value, null if none.
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
Sets the category value. +

+

+

+
+
+
+
Parameters:
value - the category value to set, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/Channel.html b/apidocs/com/sun/syndication/feed/rss/Channel.html new file mode 100644 index 0000000..5057b58 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/Channel.html @@ -0,0 +1,1456 @@ + + + + + + + +Channel (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.rss +
+Class Channel

+
+java.lang.Object
+  extended by com.sun.syndication.feed.WireFeed
+      extended by com.sun.syndication.feed.rss.Channel
+
+
+
All Implemented Interfaces:
Extendable, Serializable, Cloneable
+
+
+
+
public class Channel
extends WireFeed
+ + +

+Bean for RSS feeds. +

+ It handles all RSS versions (0.9, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) + without losing information. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringFRIDAY + +
+           
+static StringMONDAY + +
+           
+static StringSATURDAY + +
+           
+static StringSUNDAY + +
+           
+static StringTHURSDAY + +
+           
+static StringTUESDAY + +
+           
+static StringWEDNESDAY + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
Channel() + +
+          Default constructor, for bean cloning purposes only.
Channel(String type) + +
+          Channel Constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ List<Category>getCategories() + +
+          Returns the channel categories.
+ CloudgetCloud() + +
+          Returns the channel cloud.
+ StringgetCopyright() + +
+          Returns the channel copyright.
+ StringgetDescription() + +
+          Returns the channel description.
+ StringgetDocs() + +
+          Returns the channel docs.
+ StringgetGenerator() + +
+          Returns the channel generator.
+ ImagegetImage() + +
+          Returns the channel image.
+ List<Item>getItems() + +
+          Returns the channel items.
+ StringgetLanguage() + +
+          Returns the channel language.
+ DategetLastBuildDate() + +
+          Returns the channel last build date.
+ StringgetLink() + +
+          Returns the channel link.
+ StringgetManagingEditor() + +
+          Returns the channel managing editor.
+ ModulegetModule(String uri) + +
+          Returns the module identified by a given URI.
+ List<Module>getModules() + +
+          Returns the channel modules.
+ DategetPubDate() + +
+          Returns the channel publishing date.
+ StringgetRating() + +
+          Returns the channel rating.
+ List<String>getSkipDays() + +
+          Returns the channel skip days.
+ List<Integer>getSkipHours() + +
+          Returns the channel skip hours.
+ TextInputgetTextInput() + +
+          Returns the channel text input.
+ StringgetTitle() + +
+          Returns the channel title.
+ intgetTtl() + +
+          Returns the channel time to live.
+ StringgetUri() + +
+          Returns the channel uri.
+ StringgetWebMaster() + +
+          Returns the channel web master.
+ voidsetCategories(List<Category> categories) + +
+          Sets the channel categories.
+ voidsetCloud(Cloud cloud) + +
+          Sets the channel cloud.
+ voidsetCopyright(String copyright) + +
+          Sets the channel copyright.
+ voidsetDescription(String description) + +
+          Sets the channel description.
+ voidsetDocs(String docs) + +
+          Sets the channel docs.
+ voidsetGenerator(String generator) + +
+          Sets the channel generator.
+ voidsetImage(Image image) + +
+          Sets the channel image.
+ voidsetItems(List<Item> items) + +
+          Sets the channel items.
+ voidsetLanguage(String language) + +
+          Sets the channel language.
+ voidsetLastBuildDate(Date lastBuildDate) + +
+          Sets the channel last build date.
+ voidsetLink(String link) + +
+          Sets the channel link.
+ voidsetManagingEditor(String managingEditor) + +
+          Sets the channel managing editor.
+ voidsetModules(List<Module> modules) + +
+          Sets the channel modules.
+ voidsetPubDate(Date pubDate) + +
+          Sets the channel publishing date.
+ voidsetRating(String rating) + +
+          Sets the channel rating.
+ voidsetSkipDays(List<String> skipDays) + +
+          Sets the channel skip days.
+ voidsetSkipHours(List<Integer> skipHours) + +
+          Sets the channel skip hours.
+ voidsetTextInput(TextInput textInput) + +
+          Sets the channel text input.
+ voidsetTitle(String title) + +
+          Sets the channel title.
+ voidsetTtl(int ttl) + +
+          Sets the channel time to live.
+ voidsetUri(String uri) + +
+          Sets the channel uri.
+ voidsetWebMaster(String webMaster) + +
+          Sets the channel web master.
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.WireFeed
clone, equals, getEncoding, getFeedType, getForeignMarkup, hashCode, setEncoding, setFeedType, setForeignMarkup, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+SUNDAY

+
+public static final String SUNDAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MONDAY

+
+public static final String MONDAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TUESDAY

+
+public static final String TUESDAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WEDNESDAY

+
+public static final String WEDNESDAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THURSDAY

+
+public static final String THURSDAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FRIDAY

+
+public static final String FRIDAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SATURDAY

+
+public static final String SATURDAY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Channel

+
+public Channel()
+
+
Default constructor, for bean cloning purposes only. +

+

+
+ +

+Channel

+
+public Channel(String type)
+
+
Channel Constructor. All properties, except the type, are set to null. +

+

+

+
Parameters:
type - the type of the RSS feed.
+
+ + + + + + + + +
+Method Detail
+ +

+getTitle

+
+public String getTitle()
+
+
Returns the channel title. +

+

+

+ +
Returns:
the channel title, null if none.
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
Sets the channel title. +

+

+

+
Parameters:
title - the channel title to set, null if none.
+
+
+
+ +

+getDescription

+
+public String getDescription()
+
+
Returns the channel description. +

+

+

+ +
Returns:
the channel description, null if none.
+
+
+
+ +

+setDescription

+
+public void setDescription(String description)
+
+
Sets the channel description. +

+

+

+
Parameters:
description - the channel description to set, null if none.
+
+
+
+ +

+getLink

+
+public String getLink()
+
+
Returns the channel link. +

+

+

+ +
Returns:
the channel link, null if none.
+
+
+
+ +

+setLink

+
+public void setLink(String link)
+
+
Sets the channel link. +

+

+

+
Parameters:
link - the channel link to set, null if none.
+
+
+
+ +

+getUri

+
+public String getUri()
+
+
Returns the channel uri. +

+

+

+ +
Returns:
the channel uri, null if none.
+
+
+
+ +

+setUri

+
+public void setUri(String uri)
+
+
Sets the channel uri. +

+

+

+
Parameters:
uri - the channel uri, null if none.
+
+
+
+ +

+getImage

+
+public Image getImage()
+
+
Returns the channel image. +

+

+

+ +
Returns:
the channel image, null if none.
+
+
+
+ +

+setImage

+
+public void setImage(Image image)
+
+
Sets the channel image. +

+

+

+
Parameters:
image - the channel image to set, null if none.
+
+
+
+ +

+getItems

+
+public List<Item> getItems()
+
+
Returns the channel items. +

+

+

+ +
Returns:
a list of Item elements with the channel items, + an empty list if none.
+
+
+
+ +

+setItems

+
+public void setItems(List<Item> items)
+
+
Sets the channel items. +

+

+

+
Parameters:
items - the list of Item elements with the channel items to set, + an empty list or null if none.
+
+
+
+ +

+getTextInput

+
+public TextInput getTextInput()
+
+
Returns the channel text input. +

+

+

+ +
Returns:
the channel text input, null if none.
+
+
+
+ +

+setTextInput

+
+public void setTextInput(TextInput textInput)
+
+
Sets the channel text input. +

+

+

+
Parameters:
textInput - the channel text input to set, null if none.
+
+
+
+ +

+getLanguage

+
+public String getLanguage()
+
+
Returns the channel language. +

+

+

+ +
Returns:
the channel language, null if none.
+
+
+
+ +

+setLanguage

+
+public void setLanguage(String language)
+
+
Sets the channel language. +

+

+

+
Parameters:
language - the channel language to set, null if none.
+
+
+
+ +

+getRating

+
+public String getRating()
+
+
Returns the channel rating. +

+

+

+ +
Returns:
the channel rating, null if none.
+
+
+
+ +

+setRating

+
+public void setRating(String rating)
+
+
Sets the channel rating. +

+

+

+
Parameters:
rating - the channel rating to set, null if none.
+
+
+
+ +

+getCopyright

+
+public String getCopyright()
+
+
Returns the channel copyright. +

+

+

+ +
Returns:
the channel copyright, null if none.
+
+
+
+ +

+setCopyright

+
+public void setCopyright(String copyright)
+
+
Sets the channel copyright. +

+

+

+
Parameters:
copyright - the channel copyright to set, null if none.
+
+
+
+ +

+getPubDate

+
+public Date getPubDate()
+
+
Returns the channel publishing date. +

+

+

+ +
Returns:
the channel publishing date, null if none.
+
+
+
+ +

+setPubDate

+
+public void setPubDate(Date pubDate)
+
+
Sets the channel publishing date. +

+

+

+
Parameters:
pubDate - the channel publishing date to set, null if none.
+
+
+
+ +

+getLastBuildDate

+
+public Date getLastBuildDate()
+
+
Returns the channel last build date. +

+

+

+ +
Returns:
the channel last build date, null if none.
+
+
+
+ +

+setLastBuildDate

+
+public void setLastBuildDate(Date lastBuildDate)
+
+
Sets the channel last build date. +

+

+

+
Parameters:
lastBuildDate - the channel last build date to set, null if none.
+
+
+
+ +

+getDocs

+
+public String getDocs()
+
+
Returns the channel docs. +

+

+

+ +
Returns:
the channel docs, null if none.
+
+
+
+ +

+setDocs

+
+public void setDocs(String docs)
+
+
Sets the channel docs. +

+

+

+
Parameters:
docs - the channel docs to set, null if none.
+
+
+
+ +

+getManagingEditor

+
+public String getManagingEditor()
+
+
Returns the channel managing editor. +

+

+

+ +
Returns:
the channel managing editor, null if none.
+
+
+
+ +

+setManagingEditor

+
+public void setManagingEditor(String managingEditor)
+
+
Sets the channel managing editor. +

+

+

+
Parameters:
managingEditor - the channel managing editor to set, null if none.
+
+
+
+ +

+getWebMaster

+
+public String getWebMaster()
+
+
Returns the channel web master. +

+

+

+ +
Returns:
the channel web master, null if none.
+
+
+
+ +

+setWebMaster

+
+public void setWebMaster(String webMaster)
+
+
Sets the channel web master. +

+

+

+
Parameters:
webMaster - the channel web master to set, null if none.
+
+
+
+ +

+getSkipHours

+
+public List<Integer> getSkipHours()
+
+
Returns the channel skip hours. +

+

+

+ +
Returns:
a list of Integer elements with the channel skip hours, + an empty list if none.
+
+
+
+ +

+setSkipHours

+
+public void setSkipHours(List<Integer> skipHours)
+
+
Sets the channel skip hours. +

+

+

+
Parameters:
skipHours - the list of Integer elements with the channel skip hours to set, + an empty list or null if none.
+
+
+
+ +

+getSkipDays

+
+public List<String> getSkipDays()
+
+
Returns the channel skip days. +

+

+

+ +
Returns:
a list of Day elements with the channel skip days, + an empty list if none.
+
+
+
+ +

+setSkipDays

+
+public void setSkipDays(List<String> skipDays)
+
+
Sets the channel skip days. +

+

+

+
Parameters:
skipDays - the list of Day elements with the channel skip days to set, + an empty list or null if none.
+
+
+
+ +

+getCloud

+
+public Cloud getCloud()
+
+
Returns the channel cloud. +

+

+

+ +
Returns:
the channel cloud, null if none.
+
+
+
+ +

+setCloud

+
+public void setCloud(Cloud cloud)
+
+
Sets the channel cloud. +

+

+

+
Parameters:
cloud - the channel cloud to set, null if none.
+
+
+
+ +

+getCategories

+
+public List<Category> getCategories()
+
+
Returns the channel categories. +

+

+

+ +
Returns:
a list of Category elements with the channel categories, + an empty list if none.
+
+
+
+ +

+setCategories

+
+public void setCategories(List<Category> categories)
+
+
Sets the channel categories. +

+

+

+
Parameters:
categories - the list of Category elements with the channel categories to set, + an empty list or null if none.
+
+
+
+ +

+getGenerator

+
+public String getGenerator()
+
+
Returns the channel generator. +

+

+

+ +
Returns:
the channel generator, null if none.
+
+
+
+ +

+setGenerator

+
+public void setGenerator(String generator)
+
+
Sets the channel generator. +

+

+

+
Parameters:
generator - the channel generator to set, null if none.
+
+
+
+ +

+getTtl

+
+public int getTtl()
+
+
Returns the channel time to live. +

+

+

+ +
Returns:
the channel time to live, null if none.
+
+
+
+ +

+setTtl

+
+public void setTtl(int ttl)
+
+
Sets the channel time to live. +

+

+

+
Parameters:
ttl - the channel time to live to set, null if none.
+
+
+
+ +

+getModules

+
+public List<Module> getModules()
+
+
Returns the channel modules. +

+

+

+
Specified by:
getModules in interface Extendable
Overrides:
getModules in class WireFeed
+
+
+ +
Returns:
a list of ModuleImpl elements with the channel modules, + an empty list if none.
+
+
+
+ +

+setModules

+
+public void setModules(List<Module> modules)
+
+
Sets the channel modules. +

+

+

+
Specified by:
setModules in interface Extendable
Overrides:
setModules in class WireFeed
+
+
+
Parameters:
modules - the list of ModuleImpl elements with the channel modules to set, + an empty list or null if none.
+
+
+
+ +

+getModule

+
+public Module getModule(String uri)
+
+
Returns the module identified by a given URI. +

+

+

+
Specified by:
getModule in interface Extendable
Overrides:
getModule in class WireFeed
+
+
+
Parameters:
uri - the URI of the ModuleImpl. +
Returns:
The module with the given URI, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/Cloud.html b/apidocs/com/sun/syndication/feed/rss/Cloud.html new file mode 100644 index 0000000..bbdde2f --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/Cloud.html @@ -0,0 +1,613 @@ + + + + + + + +Cloud (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.rss +
+Class Cloud

+
+java.lang.Object
+  extended by com.sun.syndication.feed.rss.Cloud
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class Cloud
extends Object
implements Cloneable, Serializable
+ + +

+Bean for clouds of RSS feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Cloud() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetDomain() + +
+          Returns the cloud domain.
+ StringgetPath() + +
+          Returns the cloud path.
+ intgetPort() + +
+          Returns the cloud port.
+ StringgetProtocol() + +
+          Returns the cloud protocol.
+ StringgetRegisterProcedure() + +
+          Returns the cloud register procedure.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetDomain(String domain) + +
+          Sets the cloud domain.
+ voidsetPath(String path) + +
+          Sets the cloud path.
+ voidsetPort(int port) + +
+          Sets the cloud port.
+ voidsetProtocol(String protocol) + +
+          Sets the cloud protocol.
+ voidsetRegisterProcedure(String registerProcedure) + +
+          Sets the cloud register procedure.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Cloud

+
+public Cloud()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getDomain

+
+public String getDomain()
+
+
Returns the cloud domain. +

+

+

+
+
+
+ +
Returns:
the cloud domain, null if none.
+
+
+
+ +

+setDomain

+
+public void setDomain(String domain)
+
+
Sets the cloud domain. +

+

+

+
+
+
+
Parameters:
domain - the cloud domain to set, null if none.
+
+
+
+ +

+getPort

+
+public int getPort()
+
+
Returns the cloud port. +

+

+

+
+
+
+ +
Returns:
the cloud port, null if none.
+
+
+
+ +

+setPort

+
+public void setPort(int port)
+
+
Sets the cloud port. +

+

+

+
+
+
+
Parameters:
port - the cloud port to set, null if none.
+
+
+
+ +

+getPath

+
+public String getPath()
+
+
Returns the cloud path. +

+

+

+
+
+
+ +
Returns:
the cloud path, null if none.
+
+
+
+ +

+setPath

+
+public void setPath(String path)
+
+
Sets the cloud path. +

+

+

+
+
+
+
Parameters:
path - the cloud path to set, null if none.
+
+
+
+ +

+getRegisterProcedure

+
+public String getRegisterProcedure()
+
+
Returns the cloud register procedure. +

+

+

+
+
+
+ +
Returns:
the cloud register procedure, null if none.
+
+
+
+ +

+setRegisterProcedure

+
+public void setRegisterProcedure(String registerProcedure)
+
+
Sets the cloud register procedure. +

+

+

+
+
+
+
Parameters:
registerProcedure - the cloud register procedure to set, null if none.
+
+
+
+ +

+getProtocol

+
+public String getProtocol()
+
+
Returns the cloud protocol. +

+

+

+
+
+
+ +
Returns:
the cloud protocol, null if none.
+
+
+
+ +

+setProtocol

+
+public void setProtocol(String protocol)
+
+
Sets the cloud protocol. +

+

+

+
+
+
+
Parameters:
protocol - the cloud protocol to set, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/Content.html b/apidocs/com/sun/syndication/feed/rss/Content.html new file mode 100644 index 0000000..bd03198 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/Content.html @@ -0,0 +1,514 @@ + + + + + + + +Content (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.rss +
+Class Content

+
+java.lang.Object
+  extended by com.sun.syndication.feed.rss.Content
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class Content
extends Object
implements Cloneable, Serializable
+ + +

+Bean for item descriptions of RSS feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static StringHTML + +
+           
+static StringTEXT + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Content() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetType() + +
+          Returns the description type.
+ StringgetValue() + +
+          Returns the description value.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetType(String type) + +
+          Sets the description type.
+ voidsetValue(String value) + +
+          Sets the description value.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+HTML

+
+public static final String HTML
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TEXT

+
+public static final String TEXT
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Content

+
+public Content()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+setType

+
+public void setType(String type)
+
+
Sets the description type. +

+

+

+
+
+
+
Parameters:
type - the description type to set, null if none.
+
+
+
+ +

+getType

+
+public String getType()
+
+
Returns the description type. +

+

+

+
+
+
+ +
Returns:
the description type, null if none.
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
Sets the description value. +

+

+

+
+
+
+
Parameters:
value - the description value to set, null if none.
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Returns the description value. +

+

+

+
+
+
+ +
Returns:
the description value, null if none.
+
+
+
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/Description.html b/apidocs/com/sun/syndication/feed/rss/Description.html new file mode 100644 index 0000000..0a7a50f --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/Description.html @@ -0,0 +1,460 @@ + + + + + + + +Description (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.rss +
+Class Description

+
+java.lang.Object
+  extended by com.sun.syndication.feed.rss.Description
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class Description
extends Object
implements Cloneable, Serializable
+ + +

+Bean for item descriptions of RSS feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Description() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetType() + +
+          Returns the description type.
+ StringgetValue() + +
+          Returns the description value.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetType(String type) + +
+          Sets the description type.
+ voidsetValue(String value) + +
+          Sets the description value.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Description

+
+public Description()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getType

+
+public String getType()
+
+
Returns the description type. +

+

+

+
+
+
+ +
Returns:
the description type, null if none.
+
+
+
+ +

+setType

+
+public void setType(String type)
+
+
Sets the description type. +

+

+

+
+
+
+
Parameters:
type - the description type to set, null if none.
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Returns the description value. +

+

+

+
+
+
+ +
Returns:
the description value, null if none.
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
Sets the description value. +

+

+

+
+
+
+
Parameters:
value - the description value to set, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/Enclosure.html b/apidocs/com/sun/syndication/feed/rss/Enclosure.html new file mode 100644 index 0000000..24c4010 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/Enclosure.html @@ -0,0 +1,511 @@ + + + + + + + +Enclosure (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.rss +
+Class Enclosure

+
+java.lang.Object
+  extended by com.sun.syndication.feed.rss.Enclosure
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class Enclosure
extends Object
implements Cloneable, Serializable
+ + +

+Bean for item enclosures of RSS feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Enclosure() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ longgetLength() + +
+          Returns the enclosure length.
+ StringgetType() + +
+          Returns the enclosure type.
+ StringgetUrl() + +
+          Returns the enclosure URL.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetLength(long length) + +
+          Sets the enclosure length.
+ voidsetType(String type) + +
+          Sets the enclosure type.
+ voidsetUrl(String url) + +
+          Sets the enclosure URL.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Enclosure

+
+public Enclosure()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getUrl

+
+public String getUrl()
+
+
Returns the enclosure URL. +

+

+

+
+
+
+ +
Returns:
the enclosure URL, null if none.
+
+
+
+ +

+setUrl

+
+public void setUrl(String url)
+
+
Sets the enclosure URL. +

+

+

+
+
+
+
Parameters:
url - the enclosure URL to set, null if none.
+
+
+
+ +

+getLength

+
+public long getLength()
+
+
Returns the enclosure length. +

+

+

+
+
+
+ +
Returns:
the enclosure length, 0 if none.
+
+
+
+ +

+setLength

+
+public void setLength(long length)
+
+
Sets the enclosure length. +

+

+

+
+
+
+
Parameters:
length - the enclosure length to set, 0 if none.
+
+
+
+ +

+getType

+
+public String getType()
+
+
Returns the enclosure type. +

+

+

+
+
+
+ +
Returns:
the enclosure type, null if none.
+
+
+
+ +

+setType

+
+public void setType(String type)
+
+
Sets the enclosure type. +

+

+

+
+
+
+
Parameters:
type - the enclosure type to set, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/Guid.html b/apidocs/com/sun/syndication/feed/rss/Guid.html new file mode 100644 index 0000000..857de3f --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/Guid.html @@ -0,0 +1,460 @@ + + + + + + + +Guid (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.rss +
+Class Guid

+
+java.lang.Object
+  extended by com.sun.syndication.feed.rss.Guid
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class Guid
extends Object
implements Cloneable, Serializable
+ + +

+Bean for item GUIDs of RSS feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Guid() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetValue() + +
+          Returns the guid value.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ booleanisPermaLink() + +
+          Returns the guid perma link.
+ voidsetPermaLink(boolean permaLink) + +
+          Sets the guid perma link.
+ voidsetValue(String value) + +
+          Sets the guid value.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Guid

+
+public Guid()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+isPermaLink

+
+public boolean isPermaLink()
+
+
Returns the guid perma link. +

+

+

+
+
+
+ +
Returns:
the guid perma link, null if none.
+
+
+
+ +

+setPermaLink

+
+public void setPermaLink(boolean permaLink)
+
+
Sets the guid perma link. +

+

+

+
+
+
+
Parameters:
permaLink - the guid perma link to set, null if none.
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Returns the guid value. +

+

+

+
+
+
+ +
Returns:
the guid value, null if none.
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
Sets the guid value. +

+

+

+
+
+
+
Parameters:
value - the guid value to set, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/Image.html b/apidocs/com/sun/syndication/feed/rss/Image.html new file mode 100644 index 0000000..a1f78f8 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/Image.html @@ -0,0 +1,664 @@ + + + + + + + +Image (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.rss +
+Class Image

+
+java.lang.Object
+  extended by com.sun.syndication.feed.rss.Image
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class Image
extends Object
implements Cloneable, Serializable
+ + +

+Bean for images of RSS feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Image() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetDescription() + +
+          Returns the image description.
+ IntegergetHeight() + +
+          Returns the image height.
+ StringgetLink() + +
+          Returns the image link.
+ StringgetTitle() + +
+          Returns the image title.
+ StringgetUrl() + +
+          Returns the image URL.
+ IntegergetWidth() + +
+          Returns the image width.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetDescription(String description) + +
+          Sets the image description.
+ voidsetHeight(Integer height) + +
+          Sets the image height.
+ voidsetLink(String link) + +
+          Sets the image link.
+ voidsetTitle(String title) + +
+          Sets the image title.
+ voidsetUrl(String url) + +
+          Sets the image URL.
+ voidsetWidth(Integer width) + +
+          Sets the image width.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Image

+
+public Image()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getTitle

+
+public String getTitle()
+
+
Returns the image title. +

+

+

+
+
+
+ +
Returns:
the image title, null if none.
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
Sets the image title. +

+

+

+
+
+
+
Parameters:
title - the image title to set, null if none.
+
+
+
+ +

+getUrl

+
+public String getUrl()
+
+
Returns the image URL. +

+

+

+
+
+
+ +
Returns:
the image URL, null if none.
+
+
+
+ +

+setUrl

+
+public void setUrl(String url)
+
+
Sets the image URL. +

+

+

+
+
+
+
Parameters:
url - the image URL to set, null if none.
+
+
+
+ +

+getLink

+
+public String getLink()
+
+
Returns the image link. +

+

+

+
+
+
+ +
Returns:
the image link, null if none.
+
+
+
+ +

+setLink

+
+public void setLink(String link)
+
+
Sets the image link. +

+

+

+
+
+
+
Parameters:
link - the image link to set, null if none.
+
+
+
+ +

+getWidth

+
+public Integer getWidth()
+
+
Returns the image width. +

+

+

+
+
+
+ +
Returns:
the image width, null if none.
+
+
+
+ +

+setWidth

+
+public void setWidth(Integer width)
+
+
Sets the image width. +

+

+

+
+
+
+
Parameters:
width - the image width to set, null if none.
+
+
+
+ +

+getHeight

+
+public Integer getHeight()
+
+
Returns the image height. +

+

+

+
+
+
+ +
Returns:
the image height, null if none.
+
+
+
+ +

+setHeight

+
+public void setHeight(Integer height)
+
+
Sets the image height. +

+

+

+
+
+
+
Parameters:
height - the image height to set, null if none.
+
+
+
+ +

+getDescription

+
+public String getDescription()
+
+
Returns the image description. +

+

+

+
+
+
+ +
Returns:
the image description, null if none.
+
+
+
+ +

+setDescription

+
+public void setDescription(String description)
+
+
Sets the image description. +

+

+

+
+
+
+
Parameters:
description - the image description to set, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/Item.html b/apidocs/com/sun/syndication/feed/rss/Item.html new file mode 100644 index 0000000..8322121 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/Item.html @@ -0,0 +1,1160 @@ + + + + + + + +Item (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.rss +
+Class Item

+
+java.lang.Object
+  extended by com.sun.syndication.feed.rss.Item
+
+
+
All Implemented Interfaces:
Extendable, Serializable, Cloneable
+
+
+
+
public class Item
extends Object
implements Cloneable, Serializable, Extendable
+ + +

+Bean for items of RSS feeds. +

+ It handles all RSS versions without loosing information. +

+ For RSS1.0 it supports Dublin Core and Syndication modules. Note that + those modules currently support simple syntax format only. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Item() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetAuthor() + +
+          Returns the item author.
+ ListgetCategories() + +
+          Returns the item categories.
+ StringgetComments() + +
+          Returns the item comments.
+ ContentgetContent() + +
+          Returns the item content.
+ DescriptiongetDescription() + +
+          Returns the item description.
+ List<Enclosure>getEnclosures() + +
+          Returns the item enclosures.
+ DategetExpirationDate() + +
+          Returns the item expiration date.
+ ObjectgetForeignMarkup() + +
+          Returns foreign markup found at item level.
+ GuidgetGuid() + +
+          Returns the item GUID.
+ StringgetLink() + +
+          Returns the item link.
+ ModulegetModule(String uri) + +
+          Returns the module identified by a given URI.
+ List<Module>getModules() + +
+          Returns the item modules.
+ DategetPubDate() + +
+          Returns the item publishing date.
+ SourcegetSource() + +
+          Returns the item source.
+ StringgetTitle() + +
+          Returns the item title.
+ StringgetUri() + +
+          Returns the item uri.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetAuthor(String author) + +
+          Sets the item author.
+ voidsetCategories(List<Category> categories) + +
+          Sets the item categories.
+ voidsetComments(String comments) + +
+          Sets the item comments.
+ voidsetContent(Content content) + +
+          Sets the item content.
+ voidsetDescription(Description description) + +
+          Sets the item description.
+ voidsetEnclosures(List<Enclosure> enclosures) + +
+          Sets the item enclosures.
+ voidsetExpirationDate(Date expirationDate) + +
+          Sets the item expiration date.
+ voidsetForeignMarkup(Object foreignMarkup) + +
+          Sets foreign markup found at item level.
+ voidsetGuid(Guid guid) + +
+          Sets the item GUID.
+ voidsetLink(String link) + +
+          Sets the item link.
+ voidsetModules(List<Module> modules) + +
+          Sets the item modules.
+ voidsetPubDate(Date pubDate) + +
+          Sets the item publishing date.
+ voidsetSource(Source source) + +
+          Sets the item source.
+ voidsetTitle(String title) + +
+          Sets the item title.
+ voidsetUri(String uri) + +
+          Sets the item uri.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Item

+
+public Item()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getTitle

+
+public String getTitle()
+
+
Returns the item title. +

+

+

+
+
+
+ +
Returns:
the item title, null if none.
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
Sets the item title. +

+

+

+
+
+
+
Parameters:
title - the item title to set, null if none.
+
+
+
+ +

+getLink

+
+public String getLink()
+
+
Returns the item link. +

+

+

+
+
+
+ +
Returns:
the item link, null if none.
+
+
+
+ +

+setLink

+
+public void setLink(String link)
+
+
Sets the item link. +

+

+

+
+
+
+
Parameters:
link - the item link to set, null if none.
+
+
+
+ +

+getUri

+
+public String getUri()
+
+
Returns the item uri. +

+

+

+
+
+
+ +
Returns:
the item uri, null if none.
+
+
+
+ +

+setUri

+
+public void setUri(String uri)
+
+
Sets the item uri. +

+

+

+
+
+
+
Parameters:
uri - the item uri to set, null if none.
+
+
+
+ +

+getDescription

+
+public Description getDescription()
+
+
Returns the item description. +

+

+

+
+
+
+ +
Returns:
the item description, null if none.
+
+
+
+ +

+setDescription

+
+public void setDescription(Description description)
+
+
Sets the item description. +

+

+

+
+
+
+
Parameters:
description - the item description to set, null if none.
+
+
+
+ +

+getContent

+
+public Content getContent()
+
+
Returns the item content. +

+

+

+
+
+
+ +
Returns:
the item content, null if none.
+
+
+
+ +

+setContent

+
+public void setContent(Content content)
+
+
Sets the item content. +

+

+

+
+
+
+
Parameters:
content - the item content to set, null if none.
+
+
+
+ +

+getSource

+
+public Source getSource()
+
+
Returns the item source. +

+

+

+
+
+
+ +
Returns:
the item source, null if none.
+
+
+
+ +

+setSource

+
+public void setSource(Source source)
+
+
Sets the item source. +

+

+

+
+
+
+
Parameters:
source - the item source to set, null if none.
+
+
+
+ +

+getEnclosures

+
+public List<Enclosure> getEnclosures()
+
+
Returns the item enclosures. +

+

+

+
+
+
+ +
Returns:
a list of Enclosure elements with the item enclosures, + an empty list if none.
+
+
+
+ +

+setEnclosures

+
+public void setEnclosures(List<Enclosure> enclosures)
+
+
Sets the item enclosures. +

+

+

+
+
+
+
Parameters:
enclosures - the list of Enclosure elements with the item enclosures to set, + an empty list or null if none.
+
+
+
+ +

+getCategories

+
+public List getCategories()
+
+
Returns the item categories. +

+

+

+
+
+
+ +
Returns:
a list of Category elements with the item categories, + an empty list if none.
+
+
+
+ +

+setCategories

+
+public void setCategories(List<Category> categories)
+
+
Sets the item categories. +

+

+

+
+
+
+
Parameters:
categories - the list of Categories elements with the item categories to set, + an empty list or null if none.
+
+
+
+ +

+getGuid

+
+public Guid getGuid()
+
+
Returns the item GUID. +

+

+

+
+
+
+ +
Returns:
the item GUID, null if none.
+
+
+
+ +

+setGuid

+
+public void setGuid(Guid guid)
+
+
Sets the item GUID. +

+

+

+
+
+
+
Parameters:
guid - the item GUID to set, null if none.
+
+
+
+ +

+getComments

+
+public String getComments()
+
+
Returns the item comments. +

+

+

+
+
+
+ +
Returns:
the item comments, null if none.
+
+
+
+ +

+setComments

+
+public void setComments(String comments)
+
+
Sets the item comments. +

+

+

+
+
+
+
Parameters:
comments - the item comments to set, null if none.
+
+
+
+ +

+getAuthor

+
+public String getAuthor()
+
+
Returns the item author. +

+

+

+
+
+
+ +
Returns:
the item author, null if none.
+
+
+
+ +

+setAuthor

+
+public void setAuthor(String author)
+
+
Sets the item author. +

+

+

+
+
+
+
Parameters:
author - the item author to set, null if none.
+
+
+
+ +

+getModules

+
+public List<Module> getModules()
+
+
Returns the item modules. +

+

+

+
Specified by:
getModules in interface Extendable
+
+
+ +
Returns:
a list of ModuleImpl elements with the item modules, + an empty list if none.
+
+
+
+ +

+setModules

+
+public void setModules(List<Module> modules)
+
+
Sets the item modules. +

+

+

+
Specified by:
setModules in interface Extendable
+
+
+
Parameters:
modules - the list of ModuleImpl elements with the item modules to set, + an empty list or null if none.
+
+
+
+ +

+getModule

+
+public Module getModule(String uri)
+
+
Returns the module identified by a given URI. +

+

+

+
Specified by:
getModule in interface Extendable
+
+
+
Parameters:
uri - the URI of the ModuleImpl. +
Returns:
The module with the given URI, null if none.
+
+
+
+ +

+getPubDate

+
+public Date getPubDate()
+
+
Returns the item publishing date. +

+

+

+
+
+
+ +
Returns:
the item publishing date, null if none.
+
+
+
+ +

+setPubDate

+
+public void setPubDate(Date pubDate)
+
+
Sets the item publishing date. +

+

+

+
+
+
+
Parameters:
pubDate - the item publishing date to set, null if none.
+
+
+
+ +

+getExpirationDate

+
+public Date getExpirationDate()
+
+
Returns the item expiration date. +

+

+

+
+
+
+ +
Returns:
the item expiration date, null if none.
+
+
+
+ +

+setExpirationDate

+
+public void setExpirationDate(Date expirationDate)
+
+
Sets the item expiration date. +

+

+

+
+
+
+
Parameters:
expirationDate - the item expiration date to set, null if none.
+
+
+
+ +

+getForeignMarkup

+
+public Object getForeignMarkup()
+
+
Returns foreign markup found at item level. +

+

+

+
+
+
+ +
Returns:
Opaque object to discourage use
+
+
+
+ +

+setForeignMarkup

+
+public void setForeignMarkup(Object foreignMarkup)
+
+
Sets foreign markup found at item level. +

+

+

+
+
+
+
Parameters:
foreignMarkup - Opaque object to discourage use
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/Source.html b/apidocs/com/sun/syndication/feed/rss/Source.html new file mode 100644 index 0000000..731a093 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/Source.html @@ -0,0 +1,460 @@ + + + + + + + +Source (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.rss +
+Class Source

+
+java.lang.Object
+  extended by com.sun.syndication.feed.rss.Source
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class Source
extends Object
implements Cloneable, Serializable
+ + +

+Bean for item sources of RSS feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Source() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetUrl() + +
+          Returns the source URL.
+ StringgetValue() + +
+          Returns the source value.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetUrl(String url) + +
+          Sets the source URL.
+ voidsetValue(String value) + +
+          Sets the source value.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Source

+
+public Source()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getUrl

+
+public String getUrl()
+
+
Returns the source URL. +

+

+

+
+
+
+ +
Returns:
the source URL, null if none.
+
+
+
+ +

+setUrl

+
+public void setUrl(String url)
+
+
Sets the source URL. +

+

+

+
+
+
+
Parameters:
url - the source URL to set, null if none.
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Returns the source value. +

+

+

+
+
+
+ +
Returns:
the source value, null if none.
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
Sets the source value. +

+

+

+
+
+
+
Parameters:
value - the source value to set, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/TextInput.html b/apidocs/com/sun/syndication/feed/rss/TextInput.html new file mode 100644 index 0000000..75fd030 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/TextInput.html @@ -0,0 +1,562 @@ + + + + + + + +TextInput (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.rss +
+Class TextInput

+
+java.lang.Object
+  extended by com.sun.syndication.feed.rss.TextInput
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class TextInput
extends Object
implements Cloneable, Serializable
+ + +

+Bean for text input of RSS feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
TextInput() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetDescription() + +
+          Returns the text input description.
+ StringgetLink() + +
+          Returns the text input link.
+ StringgetName() + +
+          Returns the text input name.
+ StringgetTitle() + +
+          Returns the text input title.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetDescription(String description) + +
+          Sets the text input description.
+ voidsetLink(String link) + +
+          Sets the text input link.
+ voidsetName(String name) + +
+          Sets the text input name.
+ voidsetTitle(String title) + +
+          Sets the text input title.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TextInput

+
+public TextInput()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getTitle

+
+public String getTitle()
+
+
Returns the text input title. +

+

+

+
+
+
+ +
Returns:
the text input title, null if none.
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
Sets the text input title. +

+

+

+
+
+
+
Parameters:
title - the text input title to set, null if none.
+
+
+
+ +

+getDescription

+
+public String getDescription()
+
+
Returns the text input description. +

+

+

+
+
+
+ +
Returns:
the text input description, null if none.
+
+
+
+ +

+setDescription

+
+public void setDescription(String description)
+
+
Sets the text input description. +

+

+

+
+
+
+
Parameters:
description - the text input description to set, null if none.
+
+
+
+ +

+getName

+
+public String getName()
+
+
Returns the text input name. +

+

+

+
+
+
+ +
Returns:
the text input name, null if none.
+
+
+
+ +

+setName

+
+public void setName(String name)
+
+
Sets the text input name. +

+

+

+
+
+
+
Parameters:
name - the text input name to set, null if none.
+
+
+
+ +

+getLink

+
+public String getLink()
+
+
Returns the text input link. +

+

+

+
+
+
+ +
Returns:
the text input link, null if none.
+
+
+
+ +

+setLink

+
+public void setLink(String link)
+
+
Sets the text input link. +

+

+

+
+
+
+
Parameters:
link - the text input link to set, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/class-use/Category.html b/apidocs/com/sun/syndication/feed/rss/class-use/Category.html new file mode 100644 index 0000000..d69ad9d --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/class-use/Category.html @@ -0,0 +1,234 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.rss.Category (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.rss.Category

+
+ + + + + + + + + + + + + +
+Packages that use Category
com.sun.syndication.feed.rss  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Category in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss that return types with arguments of type Category
+ List<Category>Channel.getCategories() + +
+          Returns the channel categories.
+  +

+ + + + + + + + + + + + + +
Method parameters in com.sun.syndication.feed.rss with type arguments of type Category
+ voidItem.setCategories(List<Category> categories) + +
+          Sets the item categories.
+ voidChannel.setCategories(List<Category> categories) + +
+          Sets the channel categories.
+  +

+ + + + + +
+Uses of Category in com.sun.syndication.io.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Category
+protected  org.jdom.ElementRSS092Generator.generateCategoryElement(Category category) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/class-use/Channel.html b/apidocs/com/sun/syndication/feed/rss/class-use/Channel.html new file mode 100644 index 0000000..8d80be0 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/class-use/Channel.html @@ -0,0 +1,298 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.rss.Channel (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.rss.Channel

+
+ + + + + + + + + +
+Packages that use Channel
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Channel in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Channel
+protected  voidRSS090Generator.addChannel(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidRSS091UserlandGenerator.addChannel(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidRSS090Generator.addImage(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidRSS090Generator.addItems(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidRSS090Generator.addTextInput(Channel channel, + org.jdom.Element parent) + +
+           
+protected  org.jdom.ElementRSS090Generator.createRootElement(Channel channel) + +
+           
+protected  org.jdom.ElementRSS091UserlandGenerator.createRootElement(Channel channel) + +
+           
+protected  voidRSS10Generator.populateChannel(Channel channel, + org.jdom.Element eChannel) + +
+           
+protected  voidRSS090Generator.populateChannel(Channel channel, + org.jdom.Element eChannel) + +
+          Populates the given channel with parsed data from the ROME element that holds the + channel data.
+protected  voidRSS20Generator.populateChannel(Channel channel, + org.jdom.Element eChannel) + +
+           
+protected  voidRSS092Generator.populateChannel(Channel channel, + org.jdom.Element eChannel) + +
+           
+protected  voidRSS091UserlandGenerator.populateChannel(Channel channel, + org.jdom.Element eChannel) + +
+           
+protected  voidRSS090Generator.populateFeed(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidRSS091UserlandGenerator.populateFeed(Channel channel, + org.jdom.Element parent) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/class-use/Cloud.html b/apidocs/com/sun/syndication/feed/rss/class-use/Cloud.html new file mode 100644 index 0000000..101a73b --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/class-use/Cloud.html @@ -0,0 +1,226 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.rss.Cloud (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.rss.Cloud

+
+ + + + + + + + + + + + + +
+Packages that use Cloud
com.sun.syndication.feed.rss  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Cloud in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss that return Cloud
+ CloudChannel.getCloud() + +
+          Returns the channel cloud.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss with parameters of type Cloud
+ voidChannel.setCloud(Cloud cloud) + +
+          Sets the channel cloud.
+  +

+ + + + + +
+Uses of Cloud in com.sun.syndication.io.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Cloud
+protected  org.jdom.ElementRSS092Generator.generateCloud(Cloud cloud) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/class-use/Content.html b/apidocs/com/sun/syndication/feed/rss/class-use/Content.html new file mode 100644 index 0000000..eb57aae --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/class-use/Content.html @@ -0,0 +1,226 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.rss.Content (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.rss.Content

+
+ + + + + + + + + + + + + +
+Packages that use Content
com.sun.syndication.feed.rss  
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + +
+Uses of Content in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss that return Content
+ ContentItem.getContent() + +
+          Returns the item content.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss with parameters of type Content
+ voidItem.setContent(Content content) + +
+          Sets the item content.
+  +

+ + + + + +
+Uses of Content in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return Content
+protected  ContentConverterForRSS10.createItemContent(SyndContent sContent) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/class-use/Description.html b/apidocs/com/sun/syndication/feed/rss/class-use/Description.html new file mode 100644 index 0000000..1e7a674 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/class-use/Description.html @@ -0,0 +1,300 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.rss.Description (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.rss.Description

+
+ + + + + + + + + + + + + + + + + +
+Packages that use Description
com.sun.syndication.feed.rss  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Description in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss that return Description
+ DescriptionItem.getDescription() + +
+          Returns the item description.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss with parameters of type Description
+ voidItem.setDescription(Description description) + +
+          Sets the item description.
+  +

+ + + + + +
+Uses of Description in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return Description
+protected  DescriptionConverterForRSS10.createItemDescription(SyndContent sContent) + +
+           
+protected  DescriptionConverterForRSS091Userland.createItemDescription(SyndContent sContent) + +
+           
+  +

+ + + + + +
+Uses of Description in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl that return Description
+protected  DescriptionRSS10Parser.parseItemDescription(org.jdom.Element rssRoot, + org.jdom.Element eDesc) + +
+           
+protected  DescriptionRSS094Parser.parseItemDescription(org.jdom.Element rssRoot, + org.jdom.Element eDesc) + +
+           
+protected  DescriptionRSS091UserlandParser.parseItemDescription(org.jdom.Element rssRoot, + org.jdom.Element eDesc) + +
+           
+protected  DescriptionRSS20Parser.parseItemDescription(org.jdom.Element rssRoot, + org.jdom.Element eDesc) + +
+           
+protected  DescriptionRSS092Parser.parseItemDescription(org.jdom.Element rssRoot, + org.jdom.Element eDesc) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/class-use/Enclosure.html b/apidocs/com/sun/syndication/feed/rss/class-use/Enclosure.html new file mode 100644 index 0000000..51e2e9d --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/class-use/Enclosure.html @@ -0,0 +1,226 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.rss.Enclosure (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.rss.Enclosure

+
+ + + + + + + + + + + + + +
+Packages that use Enclosure
com.sun.syndication.feed.rss  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Enclosure in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss that return types with arguments of type Enclosure
+ List<Enclosure>Item.getEnclosures() + +
+          Returns the item enclosures.
+  +

+ + + + + + + + + +
Method parameters in com.sun.syndication.feed.rss with type arguments of type Enclosure
+ voidItem.setEnclosures(List<Enclosure> enclosures) + +
+          Sets the item enclosures.
+  +

+ + + + + +
+Uses of Enclosure in com.sun.syndication.io.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Enclosure
+protected  org.jdom.ElementRSS092Generator.generateEnclosure(Enclosure enclosure) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/class-use/Guid.html b/apidocs/com/sun/syndication/feed/rss/class-use/Guid.html new file mode 100644 index 0000000..3c98cc8 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/class-use/Guid.html @@ -0,0 +1,197 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.rss.Guid (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.rss.Guid

+
+ + + + + + + + + +
+Packages that use Guid
com.sun.syndication.feed.rss  
+  +

+ + + + + +
+Uses of Guid in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss that return Guid
+ GuidItem.getGuid() + +
+          Returns the item GUID.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss with parameters of type Guid
+ voidItem.setGuid(Guid guid) + +
+          Sets the item GUID.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/class-use/Image.html b/apidocs/com/sun/syndication/feed/rss/class-use/Image.html new file mode 100644 index 0000000..50711b0 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/class-use/Image.html @@ -0,0 +1,321 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.rss.Image (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.rss.Image

+
+ + + + + + + + + + + + + + + + + +
+Packages that use Image
com.sun.syndication.feed.rss  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Image in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss that return Image
+ ImageChannel.getImage() + +
+          Returns the channel image.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss with parameters of type Image
+ voidChannel.setImage(Image image) + +
+          Sets the channel image.
+  +

+ + + + + +
+Uses of Image in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return Image
+protected  ImageConverterForRSS090.createRSSImage(SyndImage sImage) + +
+           
+protected  ImageConverterForRSS091Userland.createRSSImage(SyndImage sImage) + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type Image
+protected  SyndImageConverterForRSS090.createSyndImage(Image rssImage) + +
+           
+protected  SyndImageConverterForRSS091Userland.createSyndImage(Image rssImage) + +
+           
+  +

+ + + + + +
+Uses of Image in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl that return Image
+protected  ImageRSS091UserlandParser.parseImage(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document looking for image information.
+protected  ImageRSS090Parser.parseImage(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document looking for image information.
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Image
+protected  voidRSS090Generator.populateImage(Image image, + org.jdom.Element eImage) + +
+           
+protected  voidRSS091UserlandGenerator.populateImage(Image image, + org.jdom.Element eImage) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/class-use/Item.html b/apidocs/com/sun/syndication/feed/rss/class-use/Item.html new file mode 100644 index 0000000..ea9bd31 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/class-use/Item.html @@ -0,0 +1,491 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.rss.Item (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.rss.Item

+
+ + + + + + + + + + + + + + + + + +
+Packages that use Item
com.sun.syndication.feed.rss  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Item in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss that return types with arguments of type Item
+ List<Item>Channel.getItems() + +
+          Returns the channel items.
+  +

+ + + + + + + + + +
Method parameters in com.sun.syndication.feed.rss with type arguments of type Item
+ voidChannel.setItems(List<Item> items) + +
+          Sets the channel items.
+  +

+ + + + + +
+Uses of Item in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return Item
+protected  ItemConverterForRSS094.createRSSItem(SyndEntry sEntry) + +
+           
+protected  ItemConverterForRSS090.createRSSItem(SyndEntry sEntry) + +
+           
+protected  ItemConverterForRSS092.createRSSItem(SyndEntry sEntry) + +
+           
+protected  ItemConverterForRSS10.createRSSItem(SyndEntry sEntry) + +
+           
+protected  ItemConverterForRSS091Userland.createRSSItem(SyndEntry sEntry) + +
+           
+protected  ItemConverterForRSS093.createRSSItem(SyndEntry sEntry) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type Item
+protected  SyndEntryConverterForRSS094.createSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForRSS090.createSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForRSS092.createSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForRSS10.createSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForRSS091Userland.createSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForRSS093.createSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+  +

+ + + + + +
+Uses of Item in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl that return Item
+protected  ItemRSS10Parser.parseItem(org.jdom.Element rssRoot, + org.jdom.Element eItem) + +
+          Parses an item element of an RSS document looking for item information.
+ ItemRSS094Parser.parseItem(org.jdom.Element rssRoot, + org.jdom.Element eItem) + +
+           
+protected  ItemRSS091UserlandParser.parseItem(org.jdom.Element rssRoot, + org.jdom.Element eItem) + +
+          Parses an item element of an RSS document looking for item information.
+protected  ItemRSS093Parser.parseItem(org.jdom.Element rssRoot, + org.jdom.Element eItem) + +
+           
+protected  ItemRSS092Parser.parseItem(org.jdom.Element rssRoot, + org.jdom.Element eItem) + +
+           
+protected  ItemRSS090Parser.parseItem(org.jdom.Element rssRoot, + org.jdom.Element eItem) + +
+          Parses an item element of an RSS document looking for item information.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Item
+protected  voidRSS090Generator.addItem(Item item, + org.jdom.Element parent, + int index) + +
+           
+protected  voidRSS10Generator.populateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+protected  voidRSS090Generator.populateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+protected  voidRSS093Generator.populateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+protected  voidRSS094Generator.populateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+ voidRSS20Generator.populateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+protected  voidRSS092Generator.populateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+protected  voidRSS091UserlandGenerator.populateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/class-use/Source.html b/apidocs/com/sun/syndication/feed/rss/class-use/Source.html new file mode 100644 index 0000000..f5b7e45 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/class-use/Source.html @@ -0,0 +1,226 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.rss.Source (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.rss.Source

+
+ + + + + + + + + + + + + +
+Packages that use Source
com.sun.syndication.feed.rss  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of Source in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss that return Source
+ SourceItem.getSource() + +
+          Returns the item source.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss with parameters of type Source
+ voidItem.setSource(Source source) + +
+          Sets the item source.
+  +

+ + + + + +
+Uses of Source in com.sun.syndication.io.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type Source
+protected  org.jdom.ElementRSS092Generator.generateSourceElement(Source source) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/class-use/TextInput.html b/apidocs/com/sun/syndication/feed/rss/class-use/TextInput.html new file mode 100644 index 0000000..2e2ed85 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/class-use/TextInput.html @@ -0,0 +1,243 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.rss.TextInput (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.rss.TextInput

+
+ + + + + + + + + + + + + +
+Packages that use TextInput
com.sun.syndication.feed.rss  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of TextInput in com.sun.syndication.feed.rss
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss that return TextInput
+ TextInputChannel.getTextInput() + +
+          Returns the channel text input.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.rss with parameters of type TextInput
+ voidChannel.setTextInput(TextInput textInput) + +
+          Sets the channel text input.
+  +

+ + + + + +
+Uses of TextInput in com.sun.syndication.io.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl that return TextInput
+protected  TextInputRSS090Parser.parseTextInput(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document looking for text-input information.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl with parameters of type TextInput
+protected  voidRSS090Generator.populateTextInput(TextInput textInput, + org.jdom.Element eTextInput) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/package-frame.html b/apidocs/com/sun/syndication/feed/rss/package-frame.html new file mode 100644 index 0000000..706ce1a --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/package-frame.html @@ -0,0 +1,53 @@ + + + + + + + +com.sun.syndication.feed.rss (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + +com.sun.syndication.feed.rss + + + + +
+Classes  + +
+Category +
+Channel +
+Cloud +
+Content +
+Description +
+Enclosure +
+Guid +
+Image +
+Item +
+Source +
+TextInput
+ + + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/package-summary.html b/apidocs/com/sun/syndication/feed/rss/package-summary.html new file mode 100644 index 0000000..920e4bb --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/package-summary.html @@ -0,0 +1,198 @@ + + + + + + + +com.sun.syndication.feed.rss (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.sun.syndication.feed.rss +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CategoryBean for categories of RSS feeds.
ChannelBean for RSS feeds.
CloudBean for clouds of RSS feeds.
ContentBean for item descriptions of RSS feeds.
DescriptionBean for item descriptions of RSS feeds.
EnclosureBean for item enclosures of RSS feeds.
GuidBean for item GUIDs of RSS feeds.
ImageBean for images of RSS feeds.
ItemBean for items of RSS feeds.
SourceBean for item sources of RSS feeds.
TextInputBean for text input of RSS feeds.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/package-tree.html b/apidocs/com/sun/syndication/feed/rss/package-tree.html new file mode 100644 index 0000000..b11376e --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/package-tree.html @@ -0,0 +1,167 @@ + + + + + + + +com.sun.syndication.feed.rss Class Hierarchy (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.sun.syndication.feed.rss +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/rss/package-use.html b/apidocs/com/sun/syndication/feed/rss/package-use.html new file mode 100644 index 0000000..8ccce2e --- /dev/null +++ b/apidocs/com/sun/syndication/feed/rss/package-use.html @@ -0,0 +1,329 @@ + + + + + + + +Uses of Package com.sun.syndication.feed.rss (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.sun.syndication.feed.rss

+
+ + + + + + + + + + + + + + + + + +
+Packages that use com.sun.syndication.feed.rss
com.sun.syndication.feed.rss  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io.impl  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.feed.rss used by com.sun.syndication.feed.rss
Category + +
+          Bean for categories of RSS feeds.
Cloud + +
+          Bean for clouds of RSS feeds.
Content + +
+          Bean for item descriptions of RSS feeds.
Description + +
+          Bean for item descriptions of RSS feeds.
Enclosure + +
+          Bean for item enclosures of RSS feeds.
Guid + +
+          Bean for item GUIDs of RSS feeds.
Image + +
+          Bean for images of RSS feeds.
Item + +
+          Bean for items of RSS feeds.
Source + +
+          Bean for item sources of RSS feeds.
TextInput + +
+          Bean for text input of RSS feeds.
+  +

+ + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.feed.rss used by com.sun.syndication.feed.synd.impl
Content + +
+          Bean for item descriptions of RSS feeds.
Description + +
+          Bean for item descriptions of RSS feeds.
Image + +
+          Bean for images of RSS feeds.
Item + +
+          Bean for items of RSS feeds.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.feed.rss used by com.sun.syndication.io.impl
Category + +
+          Bean for categories of RSS feeds.
Channel + +
+          Bean for RSS feeds.
Cloud + +
+          Bean for clouds of RSS feeds.
Description + +
+          Bean for item descriptions of RSS feeds.
Enclosure + +
+          Bean for item enclosures of RSS feeds.
Image + +
+          Bean for images of RSS feeds.
Item + +
+          Bean for items of RSS feeds.
Source + +
+          Bean for item sources of RSS feeds.
TextInput + +
+          Bean for text input of RSS feeds.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/Converter.html b/apidocs/com/sun/syndication/feed/synd/Converter.html new file mode 100644 index 0000000..dfaeea2 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/Converter.html @@ -0,0 +1,281 @@ + + + + + + + +Converter (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Interface Converter

+
+
All Known Implementing Classes:
ConverterForAtom03, ConverterForAtom10, ConverterForRSS090, ConverterForRSS091Netscape, ConverterForRSS091Userland, ConverterForRSS092, ConverterForRSS093, ConverterForRSS094, ConverterForRSS10, ConverterForRSS20
+
+
+
+
public interface Converter
+ + +

+Interface that defines the functionality to convert a SyndFeedImpl + to a real feed (RSS or Atom) and vice versa. +

+ Each implementation knows how to deal with a specific type (version) + of a real feed. +

+ Implementations must be thread safe. +

+ TODO: explain how developers can plugin their own implementations. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcopyInto(WireFeed feed, + SyndFeed syndFeed) + +
+          Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.
+ WireFeedcreateRealFeed(SyndFeed syndFeed) + +
+          Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.
+ StringgetType() + +
+          Returns the type (version) of the real feed this converter handles.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getType

+
+String getType()
+
+
Returns the type (version) of the real feed this converter handles. +

+

+

+ +
Returns:
the real feed type.
See Also:
for details on the format of this string. +

+
+
+
+ +

+copyInto

+
+void copyInto(WireFeed feed,
+              SyndFeed syndFeed)
+
+
Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl. +

+ It assumes the given SyndFeedImpl has no properties set. +

+

+

+
Parameters:
feed - real feed to copy/convert.
syndFeed - the SyndFeedImpl that will contain the copied/converted values of the real feed.
+
+
+
+ +

+createRealFeed

+
+WireFeed createRealFeed(SyndFeed syndFeed)
+
+
Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl. +

+

+

+
Parameters:
syndFeed - SyndFeedImpl to copy/convert value from. +
Returns:
a real feed with copied/converted values of the SyndFeedImpl.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndCategory.html b/apidocs/com/sun/syndication/feed/synd/SyndCategory.html new file mode 100644 index 0000000..525bfd0 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndCategory.html @@ -0,0 +1,334 @@ + + + + + + + +SyndCategory (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Interface SyndCategory

+
+
All Superinterfaces:
Cloneable
+
+
+
All Known Implementing Classes:
SyndCategoryImpl
+
+
+
+
public interface SyndCategory
extends Cloneable
+ + +

+Bean interface for categories of SyndFeedImpl feeds and entries. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep clone of the object.
+ StringgetName() + +
+          Returns the category name.
+ StringgetTaxonomyUri() + +
+          Returns the category taxonomy URI.
+ voidsetName(String name) + +
+          Sets the category name.
+ voidsetTaxonomyUri(String taxonomyUri) + +
+          Sets the category taxonomy URI.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getName

+
+String getName()
+
+
Returns the category name. +

+

+

+
+
+
+ +
Returns:
the category name, null if none.
+
+
+
+ +

+setName

+
+void setName(String name)
+
+
Sets the category name. +

+

+

+
+
+
+
Parameters:
name - the category name to set, null if none.
+
+
+
+ +

+getTaxonomyUri

+
+String getTaxonomyUri()
+
+
Returns the category taxonomy URI. +

+

+

+
+
+
+ +
Returns:
the category taxonomy URI, null if none.
+
+
+
+ +

+setTaxonomyUri

+
+void setTaxonomyUri(String taxonomyUri)
+
+
Sets the category taxonomy URI. +

+

+

+
+
+
+
Parameters:
taxonomyUri - the category taxonomy URI to set, null if none.
+
+
+
+ +

+clone

+
+Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep clone of the object. +

+

+

+
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndCategoryImpl.html b/apidocs/com/sun/syndication/feed/synd/SyndCategoryImpl.html new file mode 100644 index 0000000..b94ed1e --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndCategoryImpl.html @@ -0,0 +1,460 @@ + + + + + + + +SyndCategoryImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Class SyndCategoryImpl

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.SyndCategoryImpl
+
+
+
All Implemented Interfaces:
SyndCategory, Serializable, Cloneable
+
+
+
+
public class SyndCategoryImpl
extends Object
implements Serializable, SyndCategory
+ + +

+Bean for categories of SyndFeedImpl feeds and entries. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SyndCategoryImpl() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetName() + +
+          Returns the category name.
+ StringgetTaxonomyUri() + +
+          Returns the category taxonomy URI.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetName(String name) + +
+          Sets the category name.
+ voidsetTaxonomyUri(String taxonomyUri) + +
+          Sets the category taxonomy URI.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyndCategoryImpl

+
+public SyndCategoryImpl()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Specified by:
clone in interface SyndCategory
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getName

+
+public String getName()
+
+
Returns the category name. +

+

+

+
Specified by:
getName in interface SyndCategory
+
+
+ +
Returns:
the category name, null if none.
+
+
+
+ +

+setName

+
+public void setName(String name)
+
+
Sets the category name. +

+

+

+
Specified by:
setName in interface SyndCategory
+
+
+
Parameters:
name - the category name to set, null if none.
+
+
+
+ +

+getTaxonomyUri

+
+public String getTaxonomyUri()
+
+
Returns the category taxonomy URI. +

+

+

+
Specified by:
getTaxonomyUri in interface SyndCategory
+
+
+ +
Returns:
the category taxonomy URI, null if none.
+
+
+
+ +

+setTaxonomyUri

+
+public void setTaxonomyUri(String taxonomyUri)
+
+
Sets the category taxonomy URI. +

+

+

+
Specified by:
setTaxonomyUri in interface SyndCategory
+
+
+
Parameters:
taxonomyUri - the category taxonomy URI to set, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndContent.html b/apidocs/com/sun/syndication/feed/synd/SyndContent.html new file mode 100644 index 0000000..31aacb4 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndContent.html @@ -0,0 +1,396 @@ + + + + + + + +SyndContent (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Interface SyndContent

+
+
All Superinterfaces:
Cloneable, CopyFrom<SyndContent>
+
+
+
All Known Implementing Classes:
SyndContentImpl
+
+
+
+
public interface SyndContent
extends Cloneable, CopyFrom<SyndContent>
+ + +

+Bean interface for content of SyndFeedImpl entries. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep clone of the object.
+ StringgetMode() + +
+          Gets the content mode (needed for Atom 0.3 support).
+ StringgetType() + +
+          Returns the content type.
+ StringgetValue() + +
+          Returns the content value.
+ voidsetMode(String mode) + +
+          Sets the content mode (needed for Atom 0.3 support).
+ voidsetType(String type) + +
+          Sets the content type.
+ voidsetValue(String value) + +
+          Sets the content value.
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.CopyFrom
copyFrom, getInterface
+  +

+ + + + + + + + +
+Method Detail
+ +

+getType

+
+String getType()
+
+
Returns the content type. +

+ When used for the description of an entry, if null 'text/plain' must be assumed. +

+

+

+
+
+
+ +
Returns:
the content type, null if none.
+
+
+
+ +

+setType

+
+void setType(String type)
+
+
Sets the content type. +

+ When used for the description of an entry, if null 'text/plain' must be assumed. +

+

+

+
+
+
+
Parameters:
type - the content type to set, null if none.
+
+
+
+ +

+getMode

+
+String getMode()
+
+
Gets the content mode (needed for Atom 0.3 support). +

+

+
+
+
+ +
Returns:
type the content, null if none.
+
+
+
+ +

+setMode

+
+void setMode(String mode)
+
+
Sets the content mode (needed for Atom 0.3 support). +

+

+
+
+
+
Parameters:
mode - the content mode to set, null if none.
+
+
+
+ +

+getValue

+
+String getValue()
+
+
Returns the content value. +

+

+

+
+
+
+ +
Returns:
the content value, null if none.
+
+
+
+ +

+setValue

+
+void setValue(String value)
+
+
Sets the content value. +

+

+

+
+
+
+
Parameters:
value - the content value to set, null if none.
+
+
+
+ +

+clone

+
+Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep clone of the object. +

+

+

+
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndContentImpl.html b/apidocs/com/sun/syndication/feed/synd/SyndContentImpl.html new file mode 100644 index 0000000..06c55e0 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndContentImpl.html @@ -0,0 +1,574 @@ + + + + + + + +SyndContentImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Class SyndContentImpl

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.SyndContentImpl
+
+
+
All Implemented Interfaces:
CopyFrom<SyndContent>, SyndContent, Serializable, Cloneable
+
+
+
+
public class SyndContentImpl
extends Object
implements Serializable, SyndContent
+ + +

+Bean for content of SyndFeedImpl entries. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SyndContentImpl() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ voidcopyFrom(CopyFrom obj) + +
+          Copies all the properties of the given bean into this one.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ ClassgetInterface() + +
+          Returns the interface the copyFrom works on.
+ StringgetMode() + +
+          Returns the content mode.
+ StringgetType() + +
+          Returns the content type.
+ StringgetValue() + +
+          Returns the content value.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetMode(String mode) + +
+          Sets the content mode.
+ voidsetType(String type) + +
+          Sets the content type.
+ voidsetValue(String value) + +
+          Sets the content value.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyndContentImpl

+
+public SyndContentImpl()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Specified by:
clone in interface SyndContent
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getType

+
+public String getType()
+
+
Returns the content type. +

+ When used for the description of an entry, if null 'text/plain' must be assumed. +

+

+

+
Specified by:
getType in interface SyndContent
+
+
+ +
Returns:
the content type, null if none.
+
+
+
+ +

+setType

+
+public void setType(String type)
+
+
Sets the content type. +

+ When used for the description of an entry, if null 'text/plain' must be assumed. +

+

+

+
Specified by:
setType in interface SyndContent
+
+
+
Parameters:
type - the content type to set, null if none.
+
+
+
+ +

+getMode

+
+public String getMode()
+
+
Returns the content mode. +

+

+
Specified by:
getMode in interface SyndContent
+
+
+ +
Returns:
the content mode, null if none.
+
+
+
+ +

+setMode

+
+public void setMode(String mode)
+
+
Sets the content mode. +

+

+
Specified by:
setMode in interface SyndContent
+
+
+
Parameters:
mode - the content mode to set, null if none.
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Returns the content value. +

+

+

+
Specified by:
getValue in interface SyndContent
+
+
+ +
Returns:
the content value, null if none.
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
Sets the content value. +

+

+

+
Specified by:
setValue in interface SyndContent
+
+
+
Parameters:
value - the content value to set, null if none.
+
+
+
+ +

+getInterface

+
+public Class getInterface()
+
+
Description copied from interface: CopyFrom
+
Returns the interface the copyFrom works on. +

+ This is useful when dealing with properties that may have multiple implementations. + For example, Module. +

+

+

+
Specified by:
getInterface in interface CopyFrom<SyndContent>
+
+
+ +
Returns:
the interface the copyFrom works on.
+
+
+
+ +

+copyFrom

+
+public void copyFrom(CopyFrom obj)
+
+
Description copied from interface: CopyFrom
+
Copies all the properties of the given bean into this one. +

+ Any existing properties in this bean are lost. +

+ This method is useful for moving from one implementation of a bean interface to another. + For example from the default SyndFeed bean implementation to a Hibernate ready implementation. +

+

+

+
Specified by:
copyFrom in interface CopyFrom<SyndContent>
+
+
+
Parameters:
obj - the instance to copy properties from.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndEnclosure.html b/apidocs/com/sun/syndication/feed/synd/SyndEnclosure.html new file mode 100644 index 0000000..e482bf9 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndEnclosure.html @@ -0,0 +1,360 @@ + + + + + + + +SyndEnclosure (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Interface SyndEnclosure

+
+
All Superinterfaces:
Cloneable, CopyFrom<SyndEnclosure>
+
+
+
All Known Implementing Classes:
SyndEnclosureImpl
+
+
+
+
public interface SyndEnclosure
extends Cloneable, CopyFrom<SyndEnclosure>
+ + +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ longgetLength() + +
+          Returns the enclosure length.
+ StringgetType() + +
+          Returns the enclosure type.
+ StringgetUrl() + +
+          Returns the enclosure URL.
+ voidsetLength(long length) + +
+          Sets the enclosure length.
+ voidsetType(String type) + +
+          Sets the enclosure type.
+ voidsetUrl(String url) + +
+          Sets the enclosure URL.
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.CopyFrom
copyFrom, getInterface
+  +

+ + + + + + + + +
+Method Detail
+ +

+getUrl

+
+String getUrl()
+
+
Returns the enclosure URL. +

+

+

+
+
+
+ +
Returns:
the enclosure URL, null if none.
+
+
+
+ +

+setUrl

+
+void setUrl(String url)
+
+
Sets the enclosure URL. +

+

+

+
+
+
+
Parameters:
url - the enclosure URL to set, null if none.
+
+
+
+ +

+getLength

+
+long getLength()
+
+
Returns the enclosure length. +

+

+

+
+
+
+ +
Returns:
the enclosure length, 0 if none.
+
+
+
+ +

+setLength

+
+void setLength(long length)
+
+
Sets the enclosure length. +

+

+

+
+
+
+
Parameters:
length - the enclosure length to set, 0 if none.
+
+
+
+ +

+getType

+
+String getType()
+
+
Returns the enclosure type. +

+

+

+
+
+
+ +
Returns:
the enclosure type, null if none.
+
+
+
+ +

+setType

+
+void setType(String type)
+
+
Sets the enclosure type. +

+

+

+
+
+
+
Parameters:
type - the enclosure type to set, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndEnclosureImpl.html b/apidocs/com/sun/syndication/feed/synd/SyndEnclosureImpl.html new file mode 100644 index 0000000..4fd4431 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndEnclosureImpl.html @@ -0,0 +1,567 @@ + + + + + + + +SyndEnclosureImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Class SyndEnclosureImpl

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.SyndEnclosureImpl
+
+
+
All Implemented Interfaces:
CopyFrom<SyndEnclosure>, SyndEnclosure, Serializable, Cloneable
+
+
+
+
public class SyndEnclosureImpl
extends Object
implements Serializable, SyndEnclosure
+ + +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SyndEnclosureImpl() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ voidcopyFrom(CopyFrom obj) + +
+          Copies all the properties of the given bean into this one.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ Class<? extends CopyFrom>getInterface() + +
+          Returns the interface the copyFrom works on.
+ longgetLength() + +
+          Returns the enclosure length.
+ StringgetType() + +
+          Returns the enclosure type.
+ StringgetUrl() + +
+          Returns the enclosure URL.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetLength(long length) + +
+          Sets the enclosure length.
+ voidsetType(String type) + +
+          Sets the enclosure type.
+ voidsetUrl(String url) + +
+          Sets the enclosure URL.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyndEnclosureImpl

+
+public SyndEnclosureImpl()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getUrl

+
+public String getUrl()
+
+
Returns the enclosure URL. +

+

+

+
Specified by:
getUrl in interface SyndEnclosure
+
+
+ +
Returns:
the enclosure URL, null if none.
+
+
+
+ +

+setUrl

+
+public void setUrl(String url)
+
+
Sets the enclosure URL. +

+

+

+
Specified by:
setUrl in interface SyndEnclosure
+
+
+
Parameters:
url - the enclosure URL to set, null if none.
+
+
+
+ +

+getLength

+
+public long getLength()
+
+
Returns the enclosure length. +

+

+

+
Specified by:
getLength in interface SyndEnclosure
+
+
+ +
Returns:
the enclosure length, null if none.
+
+
+
+ +

+setLength

+
+public void setLength(long length)
+
+
Sets the enclosure length. +

+

+

+
Specified by:
setLength in interface SyndEnclosure
+
+
+
Parameters:
length - the enclosure length to set, null if none.
+
+
+
+ +

+getType

+
+public String getType()
+
+
Returns the enclosure type. +

+

+

+
Specified by:
getType in interface SyndEnclosure
+
+
+ +
Returns:
the enclosure type, null if none.
+
+
+
+ +

+setType

+
+public void setType(String type)
+
+
Sets the enclosure type. +

+

+

+
Specified by:
setType in interface SyndEnclosure
+
+
+
Parameters:
type - the enclosure type to set, null if none.
+
+
+
+ +

+getInterface

+
+public Class<? extends CopyFrom> getInterface()
+
+
Description copied from interface: CopyFrom
+
Returns the interface the copyFrom works on. +

+ This is useful when dealing with properties that may have multiple implementations. + For example, Module. +

+

+

+
Specified by:
getInterface in interface CopyFrom<SyndEnclosure>
+
+
+ +
Returns:
the interface the copyFrom works on.
+
+
+
+ +

+copyFrom

+
+public void copyFrom(CopyFrom obj)
+
+
Description copied from interface: CopyFrom
+
Copies all the properties of the given bean into this one. +

+ Any existing properties in this bean are lost. +

+ This method is useful for moving from one implementation of a bean interface to another. + For example from the default SyndFeed bean implementation to a Hibernate ready implementation. +

+

+

+
Specified by:
copyFrom in interface CopyFrom<SyndEnclosure>
+
+
+
Parameters:
obj - the instance to copy properties from.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndEntry.html b/apidocs/com/sun/syndication/feed/synd/SyndEntry.html new file mode 100644 index 0000000..fad9a29 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndEntry.html @@ -0,0 +1,1239 @@ + + + + + + + +SyndEntry (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Interface SyndEntry

+
+
All Superinterfaces:
Cloneable, CopyFrom, Extendable
+
+
+
All Known Implementing Classes:
SyndEntryImpl
+
+
+
+
public interface SyndEntry
extends Cloneable, CopyFrom, Extendable
+ + +

+Bean interface for entries of SyndFeedImpl feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep clone of the object.
+ SyndLinkfindRelatedLink(String relation) + +
+          Returns the first instance of a SyndLink with the specified relation, or null
+ StringgetAuthor() + +
+          Returns the name of the first entry author in the collection of authors.
+ List<SyndPerson>getAuthors() + +
+          Returns the entry authors.
+ List<SyndCategory>getCategories() + +
+          Returns the entry categories.
+ List<SyndContent>getContents() + +
+          Returns the entry contents.
+ List<SyndPerson>getContributors() + +
+          Returns the feed author.
+ SyndContentgetDescription() + +
+          Returns the entry description.
+ List<SyndEnclosure>getEnclosures() + +
+          Returns the entry enclosures.
+ ObjectgetForeignMarkup() + +
+          Returns foreign markup found at channel level.
+ StringgetLink() + +
+          Returns the entry link.
+ List<SyndLink>getLinks() + +
+          Returns the entry links +
+ ModulegetModule(String uri) + +
+          Returns the module identified by a given URI.
+ List<Module>getModules() + +
+          Returns the entry modules.
+ DategetPublishedDate() + +
+          Returns the entry published date.
+ SyndFeedgetSource() + +
+          Returns the entry source.
+ StringgetTitle() + +
+          Returns the entry title.
+ SyndContentgetTitleEx() + +
+          Returns the entry title as a text construct.
+ DategetUpdatedDate() + +
+          Returns the entry updated date.
+ StringgetUri() + +
+          Returns the entry URI.
+ ObjectgetWireEntry() + +
+          Return the original item this SyndEntry is generated from.
+ voidsetAuthor(String author) + +
+          Sets the entry author.
+ voidsetAuthors(List<SyndPerson> authors) + +
+          Sets the entry author.
+ voidsetCategories(List<SyndCategory> categories) + +
+          Sets the entry categories.
+ voidsetContents(List<SyndContent> contents) + +
+          Sets the entry contents.
+ voidsetContributors(List<SyndPerson> contributors) + +
+          Sets the feed contributors.
+ voidsetDescription(SyndContent description) + +
+          Sets the entry description.
+ voidsetEnclosures(List<SyndEnclosure> enclosures) + +
+          Sets the entry enclosures.
+ voidsetForeignMarkup(Object foreignMarkup) + +
+          Sets foreign markup found at channel level.
+ voidsetLink(String link) + +
+          Sets the entry link.
+ voidsetLinks(List<SyndLink> links) + +
+          Sets the entry links.
+ voidsetModules(List<Module> modules) + +
+          Sets the entry modules.
+ voidsetPublishedDate(Date publishedDate) + +
+          Sets the entry published date.
+ voidsetSource(SyndFeed source) + +
+          Sets the entry source feed (for use if different from containing feed) +
+ voidsetTitle(String title) + +
+          Sets the entry title.
+ voidsetTitleEx(SyndContent title) + +
+          Sets the entry title as a text construct.
+ voidsetUpdatedDate(Date updatedDate) + +
+          Sets the entry updated date.
+ voidsetUri(String uri) + +
+          Sets the entry URI.
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.CopyFrom
copyFrom, getInterface
+  +

+ + + + + + + + +
+Method Detail
+ +

+getUri

+
+String getUri()
+
+
Returns the entry URI. +

+ How the entry URI maps to a concrete feed type (RSS or Atom) depends on + the concrete feed type. This is explained in detail in Rome documentation, + Feed and entry URI mapping. +

+ The returned URI is a normalized URI as specified in RFC 2396bis. +

+

+

+
+
+
+ +
Returns:
the entry URI, null if none.
+
+
+
+ +

+setUri

+
+void setUri(String uri)
+
+
Sets the entry URI. +

+ How the entry URI maps to a concrete feed type (RSS or Atom) depends on + the concrete feed type. This is explained in detail in Rome documentation, + Feed and entry URI mapping. +

+

+

+
+
+
+
Parameters:
uri - the entry URI to set, null if none.
+
+
+
+ +

+getTitle

+
+String getTitle()
+
+
Returns the entry title. +

+

+

+
+
+
+ +
Returns:
the entry title, null if none.
+
+
+
+ +

+setTitle

+
+void setTitle(String title)
+
+
Sets the entry title. +

+

+

+
+
+
+
Parameters:
title - the entry title to set, null if none.
+
+
+
+ +

+getTitleEx

+
+SyndContent getTitleEx()
+
+
Returns the entry title as a text construct. +

+

+

+
+
+
+ +
Returns:
the entry title, null if none.
+
+
+
+ +

+setTitleEx

+
+void setTitleEx(SyndContent title)
+
+
Sets the entry title as a text construct. +

+

+

+
+
+
+
Parameters:
title - the entry title to set, null if none.
+
+
+
+ +

+getLink

+
+String getLink()
+
+
Returns the entry link. +

+

+

+
+
+
+ +
Returns:
the entry link, null if none.
+
+
+
+ +

+setLink

+
+void setLink(String link)
+
+
Sets the entry link. +

+

+

+
+
+
+
Parameters:
link - the entry link to set, null if none.
+
+
+
+ +

+getLinks

+
+List<SyndLink> getLinks()
+
+
Returns the entry links +

+

+

+
+
+
+ +
Returns:
the entry links, null if none.
+
+
+
+ +

+setLinks

+
+void setLinks(List<SyndLink> links)
+
+
Sets the entry links. +

+

+

+
+
+
+
Parameters:
links - the entry links to set, null if none.
+
+
+
+ +

+getDescription

+
+SyndContent getDescription()
+
+
Returns the entry description. +

+

+

+
+
+
+ +
Returns:
the entry description, null if none.
+
+
+
+ +

+setDescription

+
+void setDescription(SyndContent description)
+
+
Sets the entry description. +

+

+

+
+
+
+
Parameters:
description - the entry description to set, null if none.
+
+
+
+ +

+getContents

+
+List<SyndContent> getContents()
+
+
Returns the entry contents. +

+

+

+
+
+
+ +
Returns:
a list of SyndContentImpl elements with the entry contents, + an empty list if none.
+
+
+
+ +

+setContents

+
+void setContents(List<SyndContent> contents)
+
+
Sets the entry contents. +

+

+

+
+
+
+
Parameters:
contents - the list of SyndContentImpl elements with the entry contents to set, + an empty list or null if none.
+
+
+
+ +

+getEnclosures

+
+List<SyndEnclosure> getEnclosures()
+
+
Returns the entry enclosures. +

+

+

+
+
+
+ +
Returns:
a list of SyndEnclosure elements with the entry enclosures, + an empty list if none.
+
+
+
+ +

+setEnclosures

+
+void setEnclosures(List<SyndEnclosure> enclosures)
+
+
Sets the entry enclosures. +

+

+

+
+
+
+
Parameters:
enclosures - the list of SyndEnclosure elements with the entry enclosures to set, + an empty list or null if none.
+
+
+
+ +

+getPublishedDate

+
+Date getPublishedDate()
+
+
Returns the entry published date. +

+ This method is a convenience method, it maps to the Dublin Core module date. +

+

+

+
+
+
+ +
Returns:
the entry published date, null if none.
+
+
+
+ +

+setPublishedDate

+
+void setPublishedDate(Date publishedDate)
+
+
Sets the entry published date. +

+ This method is a convenience method, it maps to the Dublin Core module date. +

+

+

+
+
+
+
Parameters:
publishedDate - the entry published date to set, null if none.
+
+
+
+ +

+getUpdatedDate

+
+Date getUpdatedDate()
+
+
Returns the entry updated date. +

+

+

+
+
+
+ +
Returns:
the entry updated date, null if none.
+
+
+
+ +

+setUpdatedDate

+
+void setUpdatedDate(Date updatedDate)
+
+
Sets the entry updated date. +

+

+

+
+
+
+
Parameters:
updatedDate - the entry updated date to set, null if none.
+
+
+
+ +

+getAuthors

+
+List<SyndPerson> getAuthors()
+
+
Returns the entry authors. +

+ For Atom feeds, this returns the authors as a list of SyndPerson objects, + for RSS feeds this method is a convenience method, it maps to the + Dublin Core module creator. +

+

+

+
+
+
+ +
Returns:
the feed author, null if none.
+
+
+
+ +

+setAuthors

+
+void setAuthors(List<SyndPerson> authors)
+
+
Sets the entry author. +

+ For Atom feeds, this sets the authors as a list of SyndPerson + objects, for RSS feeds this method is a convenience method, it maps + to the Dublin Core module creator. +

+

+

+
+
+
+
Parameters:
authors - the feed author to set, null if none.
+
+
+
+ +

+getAuthor

+
+String getAuthor()
+
+
Returns the name of the first entry author in the collection of authors. +

+ For Atom feeds, this returns the authors as a list of SyndPerson objects, + for RSS feeds this method is a convenience method, it maps to the + Dublin Core module creator. +

+

+

+
+
+
+ +
Returns:
the feed author, null if none.
+
+
+
+ +

+setAuthor

+
+void setAuthor(String author)
+
+
Sets the entry author. +

+ For Atom feeds, this sets the feed author's name, for RSS feeds + this method is a convenience method, it maps to the Dublin Core + module creator. +

+

+

+
+
+
+
Parameters:
author - the feed author to set, null if none.
+
+
+
+ +

+getContributors

+
+List<SyndPerson> getContributors()
+
+
Returns the feed author. +

+ For Atom feeds, this returns the contributors as a list of + SyndPerson objects +

+

+

+
+
+
+ +
Returns:
the feed author, null if none.
+
+
+
+ +

+setContributors

+
+void setContributors(List<SyndPerson> contributors)
+
+
Sets the feed contributors. +

+ Returns contributors as a list of SyndPerson objects. +

+

+

+
+
+
+
Parameters:
contributors - the feed contributors to set, null if none.
+
+
+
+ +

+getCategories

+
+List<SyndCategory> getCategories()
+
+
Returns the entry categories. +

+ This method is a convenience method, it maps to the Dublin Core module subjects. +

+

+

+
+
+
+ +
Returns:
a list of SyndCategoryImpl elements with the entry categories, + an empty list if none.
+
+
+
+ +

+setCategories

+
+void setCategories(List<SyndCategory> categories)
+
+
Sets the entry categories. +

+ This method is a convenience method, it maps to the Dublin Core module subjects. +

+

+

+
+
+
+
Parameters:
categories - the list of SyndCategoryImpl elements with the entry categories to set, + an empty list or null if none.
+
+
+
+ +

+getSource

+
+SyndFeed getSource()
+
+
Returns the entry source. +

+ This returns the entry source as a SyndFeed +

+

+

+
+
+
+ +
Returns:
the SyndFeed to which this entry is attributed
+
+
+
+ +

+setSource

+
+void setSource(SyndFeed source)
+
+
Sets the entry source feed (for use if different from containing feed) +

+

+

+
+
+
+
Parameters:
source - the original SyndFeed that contained this article
+
+
+
+ +

+getWireEntry

+
+Object getWireEntry()
+
+
Return the original item this SyndEntry is generated from. + The type of the object returned depends on the original type of + the feed. Atom 0.3/1.0 will return com.sun.syndication.feed.atom.Entry, + while RSS will return com.sun.syndication.feed.rss.Item.java. + If this entry was not generated from a WireFeed, or the SyndFeed + was not set to preserve the WireFeed then it will return null +

+

+
+
+
+ +
Returns:
the WireFeed Item or Entry this Entry is generated from, or null
+
+
+
+ +

+getModule

+
+Module getModule(String uri)
+
+
Returns the module identified by a given URI. +

+

+

+
Specified by:
getModule in interface Extendable
+
+
+
Parameters:
uri - the URI of the ModuleImpl. +
Returns:
The module with the given URI, null if none.
+
+
+
+ +

+getModules

+
+List<Module> getModules()
+
+
Returns the entry modules. +

+

+

+
Specified by:
getModules in interface Extendable
+
+
+ +
Returns:
a list of ModuleImpl elements with the entry modules, + an empty list if none.
+
+
+
+ +

+setModules

+
+void setModules(List<Module> modules)
+
+
Sets the entry modules. +

+

+

+
Specified by:
setModules in interface Extendable
+
+
+
Parameters:
modules - the list of ModuleImpl elements with the entry modules to set, + an empty list or null if none.
+
+
+
+ +

+getForeignMarkup

+
+Object getForeignMarkup()
+
+
Returns foreign markup found at channel level. +

+

+

+
+
+
+ +
Returns:
Opaque object to discourage use
+
+
+
+ +

+setForeignMarkup

+
+void setForeignMarkup(Object foreignMarkup)
+
+
Sets foreign markup found at channel level. +

+

+

+
+
+
+
Parameters:
foreignMarkup - Opaque object to discourage use
+
+
+
+ +

+clone

+
+Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep clone of the object. +

+

+

+
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+findRelatedLink

+
+SyndLink findRelatedLink(String relation)
+
+
Returns the first instance of a SyndLink with the specified relation, or null +

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndEntryImpl.html b/apidocs/com/sun/syndication/feed/synd/SyndEntryImpl.html new file mode 100644 index 0000000..032934c --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndEntryImpl.html @@ -0,0 +1,1515 @@ + + + + + + + +SyndEntryImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Class SyndEntryImpl

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.SyndEntryImpl
+
+
+
All Implemented Interfaces:
CopyFrom, Extendable, SyndEntry, Serializable, Cloneable
+
+
+
+
public class SyndEntryImpl
extends Object
implements Serializable, SyndEntry
+ + +

+Bean for entries of SyndFeedImpl feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static SetCONVENIENCE_PROPERTIES + +
+          Unmodifiable Set containing the convenience properties of this class.
+  + + + + + + + + + + + + + + + +
+Constructor Summary
+ SyndEntryImpl() + +
+          Default constructor.
+protected SyndEntryImpl(Class beanClass, + Set convenienceProperties) + +
+          For implementations extending SyndEntryImpl to be able to use the ObjectBean functionality + with extended interfaces.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ voidcopyFrom(CopyFrom obj) + +
+          Copies all the properties of the given bean into this one.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ SyndLinkfindRelatedLink(String relation) + +
+          Returns the first instance of a SyndLink with the specified relation, or null
+ StringgetAuthor() + +
+          Returns the entry author.
+ ListgetAuthors() + +
+          Returns the entry authors.
+ List<SyndCategory>getCategories() + +
+          Returns the entry categories.
+ List<SyndContent>getContents() + +
+          Returns the entry contents.
+ ListgetContributors() + +
+          Returns the feed author.
+ SyndContentgetDescription() + +
+          Returns the entry description.
+ List<SyndEnclosure>getEnclosures() + +
+          Returns the entry enclosures.
+ ObjectgetForeignMarkup() + +
+          Returns foreign markup found at channel level.
+ ClassgetInterface() + +
+          Returns the interface the copyFrom works on.
+ StringgetLink() + +
+          Returns the entry link.
+ List<SyndLink>getLinks() + +
+          Returns the links +
+ ModulegetModule(String uri) + +
+          Returns the module identified by a given URI.
+ List<Module>getModules() + +
+          Returns the entry modules.
+ DategetPublishedDate() + +
+          Returns the entry published date.
+ SyndFeedgetSource() + +
+          Returns the entry source.
+ StringgetTitle() + +
+          Returns the entry title.
+ SyndContentgetTitleEx() + +
+          Returns the entry title as a text construct.
+ DategetUpdatedDate() + +
+          Returns the updatedDate +
+ StringgetUri() + +
+          Returns the entry URI.
+ ObjectgetWireEntry() + +
+          Return the original item this SyndEntry is generated from.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetAuthor(String author) + +
+          Sets the entry author.
+ voidsetAuthors(List authors) + +
+          Sets the entry author.
+ voidsetCategories(List<SyndCategory> categories) + +
+          Sets the entry categories.
+ voidsetContents(List<SyndContent> contents) + +
+          Sets the entry contents.
+ voidsetContributors(List contributors) + +
+          Sets the feed contributors.
+ voidsetDescription(SyndContent description) + +
+          Sets the entry description.
+ voidsetEnclosures(List<SyndEnclosure> enclosures) + +
+          Sets the entry enclosures.
+ voidsetForeignMarkup(Object foreignMarkup) + +
+          Sets foreign markup found at channel level.
+ voidsetLink(String link) + +
+          Sets the entry link.
+ voidsetLinks(List links) + +
+          Set the links +
+ voidsetModules(List<Module> modules) + +
+          Sets the entry modules.
+ voidsetPublishedDate(Date publishedDate) + +
+          Sets the entry published date.
+ voidsetSource(SyndFeed source) + +
+          Sets the entry source feed (for use if different from containing feed) +
+ voidsetTitle(String title) + +
+          Sets the entry title.
+ voidsetTitleEx(SyndContent title) + +
+          Sets the entry title as a text construct.
+ voidsetUpdatedDate(Date updatedDate) + +
+          Set the updatedDate +
+ voidsetUri(String uri) + +
+          Sets the entry URI.
+ voidsetWireEntry(Object wireEntry) + +
+           
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CONVENIENCE_PROPERTIES

+
+public static final Set CONVENIENCE_PROPERTIES
+
+
Unmodifiable Set containing the convenience properties of this class. +

+ Convenience properties are mapped to Modules, for cloning the convenience properties + can be ignored as the will be copied as part of the module cloning. +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SyndEntryImpl

+
+protected SyndEntryImpl(Class beanClass,
+                        Set convenienceProperties)
+
+
For implementations extending SyndEntryImpl to be able to use the ObjectBean functionality + with extended interfaces. +

+

+

+
Parameters:
beanClass -
convenienceProperties - set containing the convenience properties of the SyndEntryImpl + (the are ignored during cloning, check CloneableBean for details).
+
+
+ +

+SyndEntryImpl

+
+public SyndEntryImpl()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Specified by:
clone in interface SyndEntry
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getUri

+
+public String getUri()
+
+
Returns the entry URI. +

+ How the entry URI maps to a concrete feed type (RSS or Atom) depends on + the concrete feed type. This is explained in detail in Rome documentation, + Feed and entry URI mapping. +

+ The returned URI is a normalized URI as specified in RFC 2396bis. +

+

+

+
Specified by:
getUri in interface SyndEntry
+
+
+ +
Returns:
the entry URI, null if none.
+
+
+
+ +

+setUri

+
+public void setUri(String uri)
+
+
Sets the entry URI. +

+ How the entry URI maps to a concrete feed type (RSS or Atom) depends on + the concrete feed type. This is explained in detail in Rome documentation, + Feed and entry URI mapping. +

+

+

+
Specified by:
setUri in interface SyndEntry
+
+
+
Parameters:
uri - the entry URI to set, null if none.
+
+
+
+ +

+getTitle

+
+public String getTitle()
+
+
Returns the entry title. +

+

+

+
Specified by:
getTitle in interface SyndEntry
+
+
+ +
Returns:
the entry title, null if none.
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
Sets the entry title. +

+

+

+
Specified by:
setTitle in interface SyndEntry
+
+
+
Parameters:
title - the entry title to set, null if none.
+
+
+
+ +

+getTitleEx

+
+public SyndContent getTitleEx()
+
+
Returns the entry title as a text construct. +

+

+

+
Specified by:
getTitleEx in interface SyndEntry
+
+
+ +
Returns:
the entry title, null if none.
+
+
+
+ +

+setTitleEx

+
+public void setTitleEx(SyndContent title)
+
+
Sets the entry title as a text construct. +

+

+

+
Specified by:
setTitleEx in interface SyndEntry
+
+
+
Parameters:
title - the entry title to set, null if none.
+
+
+
+ +

+getLink

+
+public String getLink()
+
+
Returns the entry link. +

+

+

+
Specified by:
getLink in interface SyndEntry
+
+
+ +
Returns:
the entry link, null if none.
+
+
+
+ +

+setLink

+
+public void setLink(String link)
+
+
Sets the entry link. +

+

+

+
Specified by:
setLink in interface SyndEntry
+
+
+
Parameters:
link - the entry link to set, null if none.
+
+
+
+ +

+getDescription

+
+public SyndContent getDescription()
+
+
Returns the entry description. +

+

+

+
Specified by:
getDescription in interface SyndEntry
+
+
+ +
Returns:
the entry description, null if none.
+
+
+
+ +

+setDescription

+
+public void setDescription(SyndContent description)
+
+
Sets the entry description. +

+

+

+
Specified by:
setDescription in interface SyndEntry
+
+
+
Parameters:
description - the entry description to set, null if none.
+
+
+
+ +

+getContents

+
+public List<SyndContent> getContents()
+
+
Returns the entry contents. +

+

+

+
Specified by:
getContents in interface SyndEntry
+
+
+ +
Returns:
a list of SyndContentImpl elements with the entry contents, + an empty list if none.
+
+
+
+ +

+setContents

+
+public void setContents(List<SyndContent> contents)
+
+
Sets the entry contents. +

+

+

+
Specified by:
setContents in interface SyndEntry
+
+
+
Parameters:
contents - the list of SyndContentImpl elements with the entry contents to set, + an empty list or null if none.
+
+
+
+ +

+getEnclosures

+
+public List<SyndEnclosure> getEnclosures()
+
+
Returns the entry enclosures. +

+

+

+
Specified by:
getEnclosures in interface SyndEntry
+
+
+ +
Returns:
a list of SyndEnclosure elements with the entry enclosures, + an empty list if none.
+
+
+
+ +

+setEnclosures

+
+public void setEnclosures(List<SyndEnclosure> enclosures)
+
+
Sets the entry enclosures. +

+

+

+
Specified by:
setEnclosures in interface SyndEntry
+
+
+
Parameters:
enclosures - the list of SyndEnclosure elements with the entry enclosures to set, + an empty list or null if none.
+
+
+
+ +

+getPublishedDate

+
+public Date getPublishedDate()
+
+
Returns the entry published date. +

+ This method is a convenience method, it maps to the Dublin Core module date. +

+

+

+
Specified by:
getPublishedDate in interface SyndEntry
+
+
+ +
Returns:
the entry published date, null if none.
+
+
+
+ +

+setPublishedDate

+
+public void setPublishedDate(Date publishedDate)
+
+
Sets the entry published date. +

+ This method is a convenience method, it maps to the Dublin Core module date. +

+

+

+
Specified by:
setPublishedDate in interface SyndEntry
+
+
+
Parameters:
publishedDate - the entry published date to set, null if none.
+
+
+
+ +

+getCategories

+
+public List<SyndCategory> getCategories()
+
+
Returns the entry categories. +

+

+

+
Specified by:
getCategories in interface SyndEntry
+
+
+ +
Returns:
a list of SyndCategoryImpl elements with the entry categories, + an empty list if none.
+
+
+
+ +

+setCategories

+
+public void setCategories(List<SyndCategory> categories)
+
+
Sets the entry categories. +

+ This method is a convenience method, it maps to the Dublin Core module subjects. +

+

+

+
Specified by:
setCategories in interface SyndEntry
+
+
+
Parameters:
categories - the list of SyndCategoryImpl elements with the entry categories to set, + an empty list or null if none.
+
+
+
+ +

+getModules

+
+public List<Module> getModules()
+
+
Returns the entry modules. +

+

+

+
Specified by:
getModules in interface Extendable
Specified by:
getModules in interface SyndEntry
+
+
+ +
Returns:
a list of ModuleImpl elements with the entry modules, + an empty list if none.
+
+
+
+ +

+setModules

+
+public void setModules(List<Module> modules)
+
+
Sets the entry modules. +

+

+

+
Specified by:
setModules in interface Extendable
Specified by:
setModules in interface SyndEntry
+
+
+
Parameters:
modules - the list of ModuleImpl elements with the entry modules to set, + an empty list or null if none.
+
+
+
+ +

+getModule

+
+public Module getModule(String uri)
+
+
Returns the module identified by a given URI. +

+

+

+
Specified by:
getModule in interface Extendable
Specified by:
getModule in interface SyndEntry
+
+
+
Parameters:
uri - the URI of the ModuleImpl. +
Returns:
The module with the given URI, null if none.
+
+
+
+ +

+getInterface

+
+public Class getInterface()
+
+
Description copied from interface: CopyFrom
+
Returns the interface the copyFrom works on. +

+ This is useful when dealing with properties that may have multiple implementations. + For example, Module. +

+

+

+
Specified by:
getInterface in interface CopyFrom
+
+
+ +
Returns:
the interface the copyFrom works on.
+
+
+
+ +

+copyFrom

+
+public void copyFrom(CopyFrom obj)
+
+
Description copied from interface: CopyFrom
+
Copies all the properties of the given bean into this one. +

+ Any existing properties in this bean are lost. +

+ This method is useful for moving from one implementation of a bean interface to another. + For example from the default SyndFeed bean implementation to a Hibernate ready implementation. +

+

+

+
Specified by:
copyFrom in interface CopyFrom
+
+
+
Parameters:
obj - the instance to copy properties from.
+
+
+
+ +

+getLinks

+
+public List<SyndLink> getLinks()
+
+
Returns the links +

+

+

+
Specified by:
getLinks in interface SyndEntry
+
+
+ +
Returns:
Returns the links.
+
+
+
+ +

+setLinks

+
+public void setLinks(List links)
+
+
Set the links +

+

+

+
Specified by:
setLinks in interface SyndEntry
+
+
+
Parameters:
links - The links to set.
+
+
+
+ +

+getUpdatedDate

+
+public Date getUpdatedDate()
+
+
Returns the updatedDate +

+

+

+
Specified by:
getUpdatedDate in interface SyndEntry
+
+
+ +
Returns:
Returns the updatedDate.
+
+
+
+ +

+setUpdatedDate

+
+public void setUpdatedDate(Date updatedDate)
+
+
Set the updatedDate +

+

+

+
Specified by:
setUpdatedDate in interface SyndEntry
+
+
+
Parameters:
updatedDate - The updatedDate to set.
+
+
+
+ +

+getAuthors

+
+public List getAuthors()
+
+
Description copied from interface: SyndEntry
+
Returns the entry authors. +

+ For Atom feeds, this returns the authors as a list of SyndPerson objects, + for RSS feeds this method is a convenience method, it maps to the + Dublin Core module creator. +

+

+

+
Specified by:
getAuthors in interface SyndEntry
+
+
+ +
Returns:
the feed author, null if none.
+
+
+
+ +

+setAuthors

+
+public void setAuthors(List authors)
+
+
Description copied from interface: SyndEntry
+
Sets the entry author. +

+ For Atom feeds, this sets the authors as a list of SyndPerson + objects, for RSS feeds this method is a convenience method, it maps + to the Dublin Core module creator. +

+

+

+
Specified by:
setAuthors in interface SyndEntry
+
+
+
Parameters:
authors - the feed author to set, null if none.
+
+
+
+ +

+getAuthor

+
+public String getAuthor()
+
+
Returns the entry author. +

+ This method is a convenience method, it maps to the Dublin Core module creator. +

+

+

+
Specified by:
getAuthor in interface SyndEntry
+
+
+ +
Returns:
the entry author, null if none.
+
+
+
+ +

+setAuthor

+
+public void setAuthor(String author)
+
+
Sets the entry author. +

+ This method is a convenience method, it maps to the Dublin Core module creator. +

+

+

+
Specified by:
setAuthor in interface SyndEntry
+
+
+
Parameters:
author - the entry author to set, null if none.
+
+
+
+ +

+getContributors

+
+public List getContributors()
+
+
Description copied from interface: SyndEntry
+
Returns the feed author. +

+ For Atom feeds, this returns the contributors as a list of + SyndPerson objects +

+

+

+
Specified by:
getContributors in interface SyndEntry
+
+
+ +
Returns:
the feed author, null if none.
+
+
+
+ +

+setContributors

+
+public void setContributors(List contributors)
+
+
Description copied from interface: SyndEntry
+
Sets the feed contributors. +

+ Returns contributors as a list of SyndPerson objects. +

+

+

+
Specified by:
setContributors in interface SyndEntry
+
+
+
Parameters:
contributors - the feed contributors to set, null if none.
+
+
+
+ +

+getSource

+
+public SyndFeed getSource()
+
+
Description copied from interface: SyndEntry
+
Returns the entry source. +

+ This returns the entry source as a SyndFeed +

+

+

+
Specified by:
getSource in interface SyndEntry
+
+
+ +
Returns:
the SyndFeed to which this entry is attributed
+
+
+
+ +

+setSource

+
+public void setSource(SyndFeed source)
+
+
Description copied from interface: SyndEntry
+
Sets the entry source feed (for use if different from containing feed) +

+

+

+
Specified by:
setSource in interface SyndEntry
+
+
+
Parameters:
source - the original SyndFeed that contained this article
+
+
+
+ +

+getForeignMarkup

+
+public Object getForeignMarkup()
+
+
Returns foreign markup found at channel level. +

+

+

+
Specified by:
getForeignMarkup in interface SyndEntry
+
+
+ +
Returns:
list of JDOM nodes containing channel-level foreign markup, + an empty list if none.
+
+
+
+ +

+setForeignMarkup

+
+public void setForeignMarkup(Object foreignMarkup)
+
+
Sets foreign markup found at channel level. +

+

+

+
Specified by:
setForeignMarkup in interface SyndEntry
+
+
+
Parameters:
foreignMarkup - list of JDOM nodes containing channel-level foreign markup, + an empty list if none.
+
+
+
+ +

+getWireEntry

+
+public Object getWireEntry()
+
+
Description copied from interface: SyndEntry
+
Return the original item this SyndEntry is generated from. + The type of the object returned depends on the original type of + the feed. Atom 0.3/1.0 will return com.sun.syndication.feed.atom.Entry, + while RSS will return com.sun.syndication.feed.rss.Item.java. + If this entry was not generated from a WireFeed, or the SyndFeed + was not set to preserve the WireFeed then it will return null +

+

+
Specified by:
getWireEntry in interface SyndEntry
+
+
+ +
Returns:
the WireFeed Item or Entry this Entry is generated from, or null
+
+
+
+ +

+setWireEntry

+
+public void setWireEntry(Object wireEntry)
+
+
+
+
+
+
+
+
+
+ +

+findRelatedLink

+
+public SyndLink findRelatedLink(String relation)
+
+
Description copied from interface: SyndEntry
+
Returns the first instance of a SyndLink with the specified relation, or null +

+

+
Specified by:
findRelatedLink in interface SyndEntry
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndFeed.html b/apidocs/com/sun/syndication/feed/synd/SyndFeed.html new file mode 100644 index 0000000..1fc18d7 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndFeed.html @@ -0,0 +1,1520 @@ + + + + + + + +SyndFeed (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Interface SyndFeed

+
+
All Superinterfaces:
Cloneable, CopyFrom, Extendable
+
+
+
All Known Implementing Classes:
SyndFeedImpl
+
+
+
+
public interface SyndFeed
extends Cloneable, CopyFrom, Extendable
+ + +

+Bean interface for all types of feeds. +

+ It handles all RSS versions and Atom 0.3, it normalizes all info, it may lose information. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep clone of the object.
+ WireFeedcreateWireFeed() + +
+          Creates a real feed containing the information of the SyndFeedImpl.
+ WireFeedcreateWireFeed(String feedType) + +
+          Creates a real feed containing the information of the SyndFeedImpl.
+ StringgetAuthor() + +
+          Returns the name of the first feed author in the collection of authors.
+ List<SyndPerson>getAuthors() + +
+          Returns the feed authors.
+ List<SyndCategory>getCategories() + +
+          Returns the feed categories.
+ List<SyndPerson>getContributors() + +
+          Returns the feed author.
+ StringgetCopyright() + +
+          Returns the feed copyright.
+ StringgetDescription() + +
+          Returns the feed description.
+ SyndContentgetDescriptionEx() + +
+          Returns the feed description as a text construct.
+ StringgetEncoding() + +
+          Returns the charset encoding of a the feed.
+ List<SyndEntry>getEntries() + +
+          Returns the feed entries.
+ StringgetFeedType() + +
+          Returns the wire feed type the feed had/will-have when converted from/to a WireFeed.
+ ObjectgetForeignMarkup() + +
+          Returns foreign markup found at channel level.
+ SyndImagegetImage() + +
+          Returns the feed image.
+ StringgetLanguage() + +
+          Returns the feed language.
+ StringgetLink() + +
+          Returns the feed link.
+ List<SyndLink>getLinks() + +
+          Returns the entry links +
+ ModulegetModule(String uri) + +
+          Returns the module identified by a given URI.
+ List<Module>getModules() + +
+          Returns the feed modules.
+ DategetPublishedDate() + +
+          Returns the feed published date.
+ List<String>getSupportedFeedTypes() + +
+          Returns the real feed types the SyndFeedImpl supports when converting from and to.
+ StringgetTitle() + +
+          Returns the feed title.
+ SyndContentgetTitleEx() + +
+          Returns the feed title.
+ StringgetUri() + +
+          Returns the feed URI.
+ booleanisPreservingWireFeed() + +
+           
+ WireFeedoriginalWireFeed() + +
+          Returns the WireFeed this SyndFeed was created from.
+ voidsetAuthor(String author) + +
+          Sets the feed author.
+ voidsetAuthors(List<SyndPerson> authors) + +
+          Sets the feed authors.
+ voidsetCategories(List<SyndCategory> categories) + +
+          Sets the feed categories.
+ voidsetContributors(List<SyndPerson> contributors) + +
+          Sets the feed author.
+ voidsetCopyright(String copyright) + +
+          Sets the feed copyright.
+ voidsetDescription(String description) + +
+          Sets the feed description.
+ voidsetDescriptionEx(SyndContent description) + +
+          Sets the feed description as a text construct.
+ voidsetEncoding(String encoding) + +
+          Sets the charset encoding of a the feed.
+ voidsetEntries(List<SyndEntry> entries) + +
+          Sets the feed entries.
+ voidsetFeedType(String feedType) + +
+          Sets the wire feed type the feed will-have when coverted to a WireFeed.
+ voidsetForeignMarkup(Object foreignMarkup) + +
+          Sets foreign markup found at channel level.
+ voidsetImage(SyndImage image) + +
+          Sets the feed image.
+ voidsetLanguage(String language) + +
+          Sets the feed language.
+ voidsetLink(String link) + +
+          Sets the feed link.
+ voidsetLinks(List<SyndLink> links) + +
+          Sets the entry links.
+ voidsetModules(List modules) + +
+          Sets the feed modules.
+ voidsetPublishedDate(Date publishedDate) + +
+          Sets the feed published date.
+ voidsetTitle(String title) + +
+          Sets the feed title.
+ voidsetTitleEx(SyndContent title) + +
+          Sets the feed title.
+ voidsetUri(String uri) + +
+          Sets the feed URI.
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.CopyFrom
copyFrom, getInterface
+  +

+ + + + + + + + +
+Method Detail
+ +

+getSupportedFeedTypes

+
+List<String> getSupportedFeedTypes()
+
+
Returns the real feed types the SyndFeedImpl supports when converting from and to. +

+

+

+
+
+
+ +
Returns:
the real feed type supported.
+
+
+
+ +

+createWireFeed

+
+WireFeed createWireFeed()
+
+
Creates a real feed containing the information of the SyndFeedImpl. +

+ The feed type of the created WireFeed is taken from the SyndFeedImpl feedType property. +

+

+

+
+
+
+ +
Returns:
the real feed.
+
+
+
+ +

+createWireFeed

+
+WireFeed createWireFeed(String feedType)
+
+
Creates a real feed containing the information of the SyndFeedImpl. +

+

+

+
+
+
+
Parameters:
feedType - the feed type for the WireFeed to be created. +
Returns:
the real feed.
+
+
+
+ +

+originalWireFeed

+
+WireFeed originalWireFeed()
+
+
Returns the WireFeed this SyndFeed was created from. + Will return null if the original feed is not stored or if this SyndFeed was not created from a WireFeed +

+

+
+
+
+ +
Returns:
The WireFeed this was created from, or null
+
+
+
+ +

+isPreservingWireFeed

+
+boolean isPreservingWireFeed()
+
+
+
+
+
+ +
Returns:
true if this SyndFeed preserves the WireFeed it was created from
+
+
+
+ +

+getFeedType

+
+String getFeedType()
+
+
Returns the wire feed type the feed had/will-have when converted from/to a WireFeed. +

+

+

+
+
+
+ +
Returns:
the feed type, null if none.
+
+
+
+ +

+setFeedType

+
+void setFeedType(String feedType)
+
+
Sets the wire feed type the feed will-have when coverted to a WireFeed. +

+

+

+
+
+
+
Parameters:
feedType - the feed type to set, null if none.
+
+
+
+ +

+getEncoding

+
+String getEncoding()
+
+
Returns the charset encoding of a the feed. This is not set by Rome parsers. +

+

+

+
+
+
+ +
Returns:
the charset encoding of the feed.
+
+
+
+ +

+setEncoding

+
+void setEncoding(String encoding)
+
+
Sets the charset encoding of a the feed. This is not set by Rome parsers. +

+

+

+
+
+
+
Parameters:
encoding - the charset encoding of the feed.
+
+
+
+ +

+getUri

+
+String getUri()
+
+
Returns the feed URI. +

+ How the feed URI maps to a concrete feed type (RSS or Atom) depends on + the concrete feed type. This is explained in detail in Rome documentation, + Feed and entry URI mapping. +

+ The returned URI is a normalized URI as specified in RFC 2396bis. +

+ Note: The URI is the unique identifier, in the RSS 2.0/atom case this is + the GUID, for RSS 1.0 this is the URI attribute of the item. The Link + is the URL that the item is accessible under, the URI is the + permanent identifier which the aggregator should use to reference + this item. Often the URI will use some standardized identifier scheme + such as DOI's so that items can be identified even if they appear in + multiple feeds with different "links" (they might be on different + hosting platforms but be the same item). Also, though rare, there + could be multiple items with the same link but a different URI and + associated metadata which need to be treated as distinct entities. + In the RSS 1.0 case the URI must be a valid RDF URI reference. +

+

+

+
+
+
+ +
Returns:
the feed URI, null if none.
+
+
+
+ +

+setUri

+
+void setUri(String uri)
+
+
Sets the feed URI. +

+ How the feed URI maps to a concrete feed type (RSS or Atom) depends on + the concrete feed type. This is explained in detail in Rome documentation, + Feed and entry URI mapping. +

+ Note: The URI is the unique identifier, in the RSS 2.0/atom case this is + the GUID, for RSS 1.0 this is the URI attribute of the item. The Link + is the URL that the item is accessible under, the URI is the + permanent identifier which the aggregator should use to reference + this item. Often the URI will use some standardized identifier scheme + such as DOI's so that items can be identified even if they appear in + multiple feeds with different "links" (they might be on different + hosting platforms but be the same item). Also, though rare, there + could be multiple items with the same link but a different URI and + associated metadata which need to be treated as distinct entities. + In the RSS 1.0 case the URI must be a valid RDF URI reference. +

+

+

+
+
+
+
Parameters:
uri - the feed URI to set, null if none.
+
+
+
+ +

+getTitle

+
+String getTitle()
+
+
Returns the feed title. +

+

+

+
+
+
+ +
Returns:
the feed title, null if none.
+
+
+
+ +

+setTitle

+
+void setTitle(String title)
+
+
Sets the feed title. +

+

+

+
+
+
+
Parameters:
title - the feed title to set, null if none.
+
+
+
+ +

+getTitleEx

+
+SyndContent getTitleEx()
+
+
Returns the feed title. +

+

+

+
+
+
+ +
Returns:
the feed title, null if none.
+
+
+
+ +

+setTitleEx

+
+void setTitleEx(SyndContent title)
+
+
Sets the feed title. +

+

+

+
+
+
+
Parameters:
title - the feed title to set, null if none.
+
+
+
+ +

+getLink

+
+String getLink()
+
+
Returns the feed link. +

+ Note: The URI is the unique identifier, in the RSS 2.0/atom case this is + the GUID, for RSS 1.0 this is the URI attribute of the item. The Link + is the URL that the item is accessible under, the URI is the + permanent identifier which the aggregator should use to reference + this item. Often the URI will use some standardized identifier scheme + such as DOI's so that items can be identified even if they appear in + multiple feeds with different "links" (they might be on different + hosting platforms but be the same item). Also, though rare, there + could be multiple items with the same link but a different URI and + associated metadata which need to be treated as distinct entities. + In the RSS 1.0 case the URI must be a valid RDF URI reference. +

+

+

+
+
+
+ +
Returns:
the feed link, null if none.
+
+
+
+ +

+setLink

+
+void setLink(String link)
+
+
Sets the feed link. +

+ Note: The URI is the unique identifier, in the RSS 2.0/atom case this is + the GUID, for RSS 1.0 this is the URI attribute of the item. The Link + is the URL that the item is accessible under, the URI is the + permanent identifier which the aggregator should use to reference + this item. Often the URI will use some standardized identifier scheme + such as DOI's so that items can be identified even if they appear in + multiple feeds with different "links" (they might be on different + hosting platforms but be the same item). Also, though rare, there + could be multiple items with the same link but a different URI and + associated metadata which need to be treated as distinct entities. + In the RSS 1.0 case the URI must be a valid RDF URI reference. +

+

+

+
+
+
+
Parameters:
link - the feed link to set, null if none.
+
+
+
+ +

+getLinks

+
+List<SyndLink> getLinks()
+
+
Returns the entry links +

+

+

+
+
+
+ +
Returns:
the entry links, null if none.
+
+
+
+ +

+setLinks

+
+void setLinks(List<SyndLink> links)
+
+
Sets the entry links. +

+

+

+
+
+
+
Parameters:
links - the entry links to set, null if none.
+
+
+
+ +

+getDescription

+
+String getDescription()
+
+
Returns the feed description. +

+

+

+
+
+
+ +
Returns:
the feed description, null if none.
+
+
+
+ +

+setDescription

+
+void setDescription(String description)
+
+
Sets the feed description. +

+

+

+
+
+
+
Parameters:
description - the feed description to set, null if none.
+
+
+
+ +

+getDescriptionEx

+
+SyndContent getDescriptionEx()
+
+
Returns the feed description as a text construct. +

+

+

+
+
+
+ +
Returns:
the feed description, null if none.
+
+
+
+ +

+setDescriptionEx

+
+void setDescriptionEx(SyndContent description)
+
+
Sets the feed description as a text construct. +

+

+

+
+
+
+
Parameters:
description - the feed description to set, null if none.
+
+
+
+ +

+getPublishedDate

+
+Date getPublishedDate()
+
+
Returns the feed published date. +

+ This method is a convenience method, it maps to the Dublin Core module date. +

+

+

+
+
+
+ +
Returns:
the feed published date, null if none.
+
+
+
+ +

+setPublishedDate

+
+void setPublishedDate(Date publishedDate)
+
+
Sets the feed published date. +

+ This method is a convenience method, it maps to the Dublin Core module date. +

+

+

+
+
+
+
Parameters:
publishedDate - the feed published date to set, null if none.
+
+
+
+ +

+getAuthors

+
+List<SyndPerson> getAuthors()
+
+
Returns the feed authors. +

+ For Atom feeds, this returns the authors as a list of SyndPerson objects, + for RSS feeds this method is a convenience method, it maps to the + Dublin Core module creator. +

+

+

+
+
+
+ +
Returns:
the feed authors, null if none.
+
+
+
+ +

+setAuthors

+
+void setAuthors(List<SyndPerson> authors)
+
+
Sets the feed authors. +

+ For Atom feeds, this sets the authors as a list of SyndPerson + objects, for RSS feeds this method is a convenience method, it maps + to the Dublin Core module creator. +

+

+

+
+
+
+
Parameters:
authors - the feed authors to set, null if none.
+
+
+
+ +

+getAuthor

+
+String getAuthor()
+
+
Returns the name of the first feed author in the collection of authors. +

+ For Atom feeds, this returns the authors as a list of SyndPerson objects, + for RSS feeds this method is a convenience method, it maps to the + Dublin Core module creator. +

+

+

+
+
+
+ +
Returns:
the feed author, null if none.
+
+
+
+ +

+setAuthor

+
+void setAuthor(String author)
+
+
Sets the feed author. +

+ For Atom feeds, this sets the feed author's name, for RSS feeds + this method is a convenience method, it maps to the Dublin Core + module creator. +

+

+

+
+
+
+
Parameters:
author - the feed author to set, null if none.
+
+
+
+ +

+getContributors

+
+List<SyndPerson> getContributors()
+
+
Returns the feed author. +

+ For Atom feeds, this returns the contributors as a list of + SyndPerson objects +

+

+

+
+
+
+ +
Returns:
the feed author, null if none.
+
+
+
+ +

+setContributors

+
+void setContributors(List<SyndPerson> contributors)
+
+
Sets the feed author. +

+ Returns contributors as a list of SyndPerson objects. +

+

+

+
+
+
+
Parameters:
contributors - the feed contributors to set, null if none.
+
+
+
+ +

+getCopyright

+
+String getCopyright()
+
+
Returns the feed copyright. +

+ This method is a convenience method, it maps to the Dublin Core module rights. +

+

+

+
+
+
+ +
Returns:
the feed copyright, null if none.
+
+
+
+ +

+setCopyright

+
+void setCopyright(String copyright)
+
+
Sets the feed copyright. +

+ This method is a convenience method, it maps to the Dublin Core module rights. +

+

+

+
+
+
+
Parameters:
copyright - the feed copyright to set, null if none.
+
+
+
+ +

+getImage

+
+SyndImage getImage()
+
+
Returns the feed image. +

+

+

+
+
+
+ +
Returns:
the feed image, null if none.
+
+
+
+ +

+setImage

+
+void setImage(SyndImage image)
+
+
Sets the feed image. +

+

+

+
+
+
+
Parameters:
image - the feed image to set, null if none.
+
+
+
+ +

+getCategories

+
+List<SyndCategory> getCategories()
+
+
Returns the feed categories. +

+ This method is a convenience method, it maps to the Dublin Core module subjects. +

+

+

+
+
+
+ +
Returns:
a list of SyndCategoryImpl elements with the feed categories, + an empty list if none.
+
+
+
+ +

+setCategories

+
+void setCategories(List<SyndCategory> categories)
+
+
Sets the feed categories. +

+ This method is a convenience method, it maps to the Dublin Core module subjects. +

+

+

+
+
+
+
Parameters:
categories - the list of SyndCategoryImpl elements with the feed categories to set, + an empty list or null if none.
+
+
+
+ +

+getEntries

+
+List<SyndEntry> getEntries()
+
+
Returns the feed entries. +

+

+

+
+
+
+ +
Returns:
a list of SyndEntry elements with the feed entries, + an empty list if none.
+
+
+
+ +

+setEntries

+
+void setEntries(List<SyndEntry> entries)
+
+
Sets the feed entries. +

+

+

+
+
+
+
Parameters:
entries - the list of SyndEntryImpl elements with the feed entries to set, + an empty list or null if none.
+
+
+
+ +

+getLanguage

+
+String getLanguage()
+
+
Returns the feed language. +

+ This method is a convenience method, it maps to the Dublin Core module language. +

+

+

+
+
+
+ +
Returns:
the feed language, null if none.
+
+
+
+ +

+setLanguage

+
+void setLanguage(String language)
+
+
Sets the feed language. +

+ This method is a convenience method, it maps to the Dublin Core module language. +

+

+

+
+
+
+
Parameters:
language - the feed language to set, null if none.
+
+
+
+ +

+getModule

+
+Module getModule(String uri)
+
+
Returns the module identified by a given URI. +

+

+

+
Specified by:
getModule in interface Extendable
+
+
+
Parameters:
uri - the URI of the ModuleImpl. +
Returns:
The module with the given URI, null if none.
+
+
+
+ +

+getModules

+
+List<Module> getModules()
+
+
Returns the feed modules. +

+

+

+
Specified by:
getModules in interface Extendable
+
+
+ +
Returns:
a list of ModuleImpl elements with the feed modules, + an empty list if none.
+
+
+
+ +

+setModules

+
+void setModules(List modules)
+
+
Sets the feed modules. +

+

+

+
Specified by:
setModules in interface Extendable
+
+
+
Parameters:
modules - the list of ModuleImpl elements with the feed modules to set, + an empty list or null if none.
+
+
+
+ +

+getForeignMarkup

+
+Object getForeignMarkup()
+
+
Returns foreign markup found at channel level. +

+

+

+
+
+
+ +
Returns:
Opaque object to discourage use
+
+
+
+ +

+setForeignMarkup

+
+void setForeignMarkup(Object foreignMarkup)
+
+
Sets foreign markup found at channel level. +

+

+

+
+
+
+
Parameters:
foreignMarkup - Opaque object to discourage use
+
+
+
+ +

+clone

+
+Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep clone of the object. +

+

+

+
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndFeedImpl.html b/apidocs/com/sun/syndication/feed/synd/SyndFeedImpl.html new file mode 100644 index 0000000..f3c561b --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndFeedImpl.html @@ -0,0 +1,1820 @@ + + + + + + + +SyndFeedImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Class SyndFeedImpl

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.SyndFeedImpl
+
+
+
All Implemented Interfaces:
CopyFrom, Extendable, SyndFeed, Serializable, Cloneable
+
+
+
+
public class SyndFeedImpl
extends Object
implements Serializable, SyndFeed
+ + +

+Bean for all types of feeds. +

+ It handles all RSS versions, Atom 0.3 and Atom 1.0, it normalizes all info, it may lose information. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static SetCONVENIENCE_PROPERTIES + +
+          Unmodifiable Set containing the convenience properties of this class.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
+ SyndFeedImpl() + +
+          Default constructor.
+protected SyndFeedImpl(Class beanClass, + Set convenienceProperties) + +
+          For implementations extending SyndFeedImpl to be able to use the ObjectBean functionality + with extended interfaces.
+ SyndFeedImpl(WireFeed feed) + +
+          Creates a SyndFeedImpl and populates all its properties out of the + given RSS Channel or Atom Feed properties.
+ SyndFeedImpl(WireFeed feed, + boolean preserveWireFeed) + +
+          Creates a SyndFeedImpl and populates all its properties out of the + given RSS Channel or Atom Feed properties, while optionally preserving + the WireFeed for access via the orignalWireFeed() method.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ voidcopyFrom(CopyFrom obj) + +
+          Copies all the properties of the given bean into this one.
+ WireFeedcreateWireFeed() + +
+          Creates a real feed containing the information of the SyndFeedImpl.
+ WireFeedcreateWireFeed(String feedType) + +
+          Creates a real feed containing the information of the SyndFeedImpl.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetAuthor() + +
+          Returns the feed author.
+ ListgetAuthors() + +
+          Returns the feed authors.
+ ListgetCategories() + +
+          Returns the feed categories.
+ ListgetContributors() + +
+          Returns the feed author.
+ StringgetCopyright() + +
+          Returns the feed copyright.
+ StringgetDescription() + +
+          Returns the feed description.
+ SyndContentgetDescriptionEx() + +
+          Returns the feed description as a text construct.
+ StringgetEncoding() + +
+          Returns the charset encoding of a the feed.
+ ListgetEntries() + +
+          Returns the feed entries.
+ StringgetFeedType() + +
+          Returns the wire feed type the feed had/will-have when coverted from/to a WireFeed.
+ ObjectgetForeignMarkup() + +
+          Returns foreign markup found at channel level.
+ SyndImagegetImage() + +
+          Returns the feed image.
+ ClassgetInterface() + +
+          Returns the interface the copyFrom works on.
+ StringgetLanguage() + +
+          Returns the feed language.
+ StringgetLink() + +
+          Returns the feed link.
+ ListgetLinks() + +
+          Returns the links +
+ ModulegetModule(String uri) + +
+          Returns the module identified by a given URI.
+ ListgetModules() + +
+          Returns the feed modules.
+ DategetPublishedDate() + +
+          Returns the feed published date.
+ ListgetSupportedFeedTypes() + +
+          Returns the real feed types the SyndFeedImpl supports when converting from and to.
+ StringgetTitle() + +
+          Returns the feed title.
+ SyndContentgetTitleEx() + +
+          Returns the feed title as a text construct.
+ StringgetUri() + +
+          Returns the feed URI.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ booleanisPreservingWireFeed() + +
+           
+ WireFeedoriginalWireFeed() + +
+          Returns the WireFeed this SyndFeed was created from.
+ voidsetAuthor(String author) + +
+          Sets the feed author.
+ voidsetAuthors(List authors) + +
+          Sets the feed authors.
+ voidsetCategories(List categories) + +
+          Sets the feed categories.
+ voidsetContributors(List contributors) + +
+          Sets the feed author.
+ voidsetCopyright(String copyright) + +
+          Sets the feed copyright.
+ voidsetDescription(String description) + +
+          Sets the feed description.
+ voidsetDescriptionEx(SyndContent description) + +
+          Sets the feed description as a text construct.
+ voidsetEncoding(String encoding) + +
+          Sets the charset encoding of a the feed.
+ voidsetEntries(List entries) + +
+          Sets the feed entries.
+ voidsetFeedType(String feedType) + +
+          Sets the wire feed type the feed will-have when coverted to a WireFeed.
+ voidsetForeignMarkup(Object foreignMarkup) + +
+          Sets foreign markup found at channel level.
+ voidsetImage(SyndImage image) + +
+          Sets the feed image.
+ voidsetLanguage(String language) + +
+          Sets the feed language.
+ voidsetLink(String link) + +
+          Sets the feed link.
+ voidsetLinks(List links) + +
+          Set the links +
+ voidsetModules(List modules) + +
+          Sets the feed modules.
+ voidsetPublishedDate(Date publishedDate) + +
+          Sets the feed published date.
+ voidsetTitle(String title) + +
+          Sets the feed title.
+ voidsetTitleEx(SyndContent title) + +
+          Sets the feed title as a text construct.
+ voidsetUri(String uri) + +
+          Sets the feed URI.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CONVENIENCE_PROPERTIES

+
+public static final Set CONVENIENCE_PROPERTIES
+
+
Unmodifiable Set containing the convenience properties of this class. +

+ Convenience properties are mapped to Modules, for cloning the convenience properties + can be ignored as the will be copied as part of the module cloning. +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SyndFeedImpl

+
+protected SyndFeedImpl(Class beanClass,
+                       Set convenienceProperties)
+
+
For implementations extending SyndFeedImpl to be able to use the ObjectBean functionality + with extended interfaces. +

+

+

+
Parameters:
beanClass -
convenienceProperties - set containing the convenience properties of the SyndEntryImpl + (the are ignored during cloning, check CloneableBean for details).
+
+
+ +

+SyndFeedImpl

+
+public SyndFeedImpl()
+
+
Default constructor. All properties are set to null. +

+

+

+
+ +

+SyndFeedImpl

+
+public SyndFeedImpl(WireFeed feed)
+
+
Creates a SyndFeedImpl and populates all its properties out of the + given RSS Channel or Atom Feed properties. +

+

+

+
Parameters:
feed - the RSS Channel or the Atom Feed to populate the properties from.
+
+
+ +

+SyndFeedImpl

+
+public SyndFeedImpl(WireFeed feed,
+                    boolean preserveWireFeed)
+
+
Creates a SyndFeedImpl and populates all its properties out of the + given RSS Channel or Atom Feed properties, while optionally preserving + the WireFeed for access via the orignalWireFeed() method. +

+

+
Parameters:
feed -
preserveWireFeed -
+
+ + + + + + + + +
+Method Detail
+ +

+getSupportedFeedTypes

+
+public List getSupportedFeedTypes()
+
+
Returns the real feed types the SyndFeedImpl supports when converting from and to. +

+

+

+
Specified by:
getSupportedFeedTypes in interface SyndFeed
+
+
+ +
Returns:
the real feed type supported.
+
+
+
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Specified by:
clone in interface SyndFeed
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+createWireFeed

+
+public WireFeed createWireFeed()
+
+
Creates a real feed containing the information of the SyndFeedImpl. +

+ The feed type of the created WireFeed is taken from the SyndFeedImpl feedType property. +

+

+

+
Specified by:
createWireFeed in interface SyndFeed
+
+
+ +
Returns:
the real feed.
+
+
+
+ +

+createWireFeed

+
+public WireFeed createWireFeed(String feedType)
+
+
Creates a real feed containing the information of the SyndFeedImpl. +

+

+

+
Specified by:
createWireFeed in interface SyndFeed
+
+
+
Parameters:
feedType - the feed type for the WireFeed to be created. +
Returns:
the real feed.
+
+
+
+ +

+originalWireFeed

+
+public WireFeed originalWireFeed()
+
+
Returns the WireFeed this SyndFeed was created from. + Will return null if the original feed is not stored or if this SyndFeed was not created from a WireFeed. +
+ Note: The wire feed returned here will NOT contain any modifications done on this SyndFeed since it was created. + That is in contrast to the createWireFeed method, which will reflect the current state of the SyndFeed +

+

+
Specified by:
originalWireFeed in interface SyndFeed
+
+
+ +
Returns:
The WireFeed this was created from, or null
+
+
+
+ +

+getFeedType

+
+public String getFeedType()
+
+
Returns the wire feed type the feed had/will-have when coverted from/to a WireFeed. +

+

+

+
Specified by:
getFeedType in interface SyndFeed
+
+
+ +
Returns:
the feed type, null if none.
+
+
+
+ +

+setFeedType

+
+public void setFeedType(String feedType)
+
+
Sets the wire feed type the feed will-have when coverted to a WireFeed. +

+

+

+
Specified by:
setFeedType in interface SyndFeed
+
+
+
Parameters:
feedType - the feed type to set, null if none.
+
+
+
+ +

+getEncoding

+
+public String getEncoding()
+
+
Returns the charset encoding of a the feed. This is not set by Rome parsers. +

+

+

+
Specified by:
getEncoding in interface SyndFeed
+
+
+ +
Returns:
the charset encoding of the feed.
+
+
+
+ +

+setEncoding

+
+public void setEncoding(String encoding)
+
+
Sets the charset encoding of a the feed. This is not set by Rome parsers. +

+

+

+
Specified by:
setEncoding in interface SyndFeed
+
+
+
Parameters:
encoding - the charset encoding of the feed.
+
+
+
+ +

+getUri

+
+public String getUri()
+
+
Returns the feed URI. +

+ How the feed URI maps to a concrete feed type (RSS or Atom) depends on + the concrete feed type. This is explained in detail in Rome documentation, + Feed and entry URI mapping. +

+ The returned URI is a normalized URI as specified in RFC 2396bis. +

+ Note: The URI is the unique identifier, in the RSS 2.0/atom case this is + the GUID, for RSS 1.0 this is the URI attribute of the item. The Link + is the URL that the item is accessible under, the URI is the + permanent identifier which the aggregator should use to reference + this item. Often the URI will use some standardized identifier scheme + such as DOI's so that items can be identified even if they appear in + multiple feeds with different "links" (they might be on different + hosting platforms but be the same item). Also, though rare, there + could be multiple items with the same link but a different URI and + associated metadata which need to be treated as distinct entities. + In the RSS 1.0 case the URI must be a valid RDF URI reference. +

+

+

+
Specified by:
getUri in interface SyndFeed
+
+
+ +
Returns:
the feed URI, null if none.
+
+
+
+ +

+setUri

+
+public void setUri(String uri)
+
+
Sets the feed URI. +

+ How the feed URI maps to a concrete feed type (RSS or Atom) depends on + the concrete feed type. This is explained in detail in Rome documentation, + Feed and entry URI mapping. +

+ Note: The URI is the unique identifier, in the RSS 2.0/atom case this is + the GUID, for RSS 1.0 this is the URI attribute of the item. The Link + is the URL that the item is accessible under, the URI is the + permanent identifier which the aggregator should use to reference + this item. Often the URI will use some standardized identifier scheme + such as DOI's so that items can be identified even if they appear in + multiple feeds with different "links" (they might be on different + hosting platforms but be the same item). Also, though rare, there + could be multiple items with the same link but a different URI and + associated metadata which need to be treated as distinct entities. + In the RSS 1.0 case the URI must be a valid RDF URI reference. +

+

+

+
Specified by:
setUri in interface SyndFeed
+
+
+
Parameters:
uri - the feed URI to set, null if none.
+
+
+
+ +

+getTitle

+
+public String getTitle()
+
+
Returns the feed title. +

+

+

+
Specified by:
getTitle in interface SyndFeed
+
+
+ +
Returns:
the feed title, null if none.
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
Sets the feed title. +

+

+

+
Specified by:
setTitle in interface SyndFeed
+
+
+
Parameters:
title - the feed title to set, null if none.
+
+
+
+ +

+getTitleEx

+
+public SyndContent getTitleEx()
+
+
Returns the feed title as a text construct. +

+

+

+
Specified by:
getTitleEx in interface SyndFeed
+
+
+ +
Returns:
the feed title, null if none.
+
+
+
+ +

+setTitleEx

+
+public void setTitleEx(SyndContent title)
+
+
Sets the feed title as a text construct. +

+

+

+
Specified by:
setTitleEx in interface SyndFeed
+
+
+
Parameters:
title - the feed title to set, null if none.
+
+
+
+ +

+getLink

+
+public String getLink()
+
+
Returns the feed link. +

+ Note: The URI is the unique identifier, in the RSS 2.0/atom case this is + the GUID, for RSS 1.0 this is the URI attribute of the item. The Link + is the URL that the item is accessible under, the URI is the + permanent identifier which the aggregator should use to reference + this item. Often the URI will use some standardized identifier scheme + such as DOI's so that items can be identified even if they appear in + multiple feeds with different "links" (they might be on different + hosting platforms but be the same item). Also, though rare, there + could be multiple items with the same link but a different URI and + associated metadata which need to be treated as distinct entities. + In the RSS 1.0 case the URI must be a valid RDF URI reference. +

+

+

+
Specified by:
getLink in interface SyndFeed
+
+
+ +
Returns:
the feed link, null if none.
+
+
+
+ +

+setLink

+
+public void setLink(String link)
+
+
Sets the feed link. +

+ Note: The URI is the unique identifier, in the RSS 2.0/atom case this is + the GUID, for RSS 1.0 this is the URI attribute of the item. The Link + is the URL that the item is accessible under, the URI is the + permanent identifier which the aggregator should use to reference + this item. Often the URI will use some standardized identifier scheme + such as DOI's so that items can be identified even if they appear in + multiple feeds with different "links" (they might be on different + hosting platforms but be the same item). Also, though rare, there + could be multiple items with the same link but a different URI and + associated metadata which need to be treated as distinct entities. + In the RSS 1.0 case the URI must be a valid RDF URI reference. +

+

+

+
Specified by:
setLink in interface SyndFeed
+
+
+
Parameters:
link - the feed link to set, null if none.
+
+
+
+ +

+getDescription

+
+public String getDescription()
+
+
Returns the feed description. +

+

+

+
Specified by:
getDescription in interface SyndFeed
+
+
+ +
Returns:
the feed description, null if none.
+
+
+
+ +

+setDescription

+
+public void setDescription(String description)
+
+
Sets the feed description. +

+

+

+
Specified by:
setDescription in interface SyndFeed
+
+
+
Parameters:
description - the feed description to set, null if none.
+
+
+
+ +

+getDescriptionEx

+
+public SyndContent getDescriptionEx()
+
+
Returns the feed description as a text construct. +

+

+

+
Specified by:
getDescriptionEx in interface SyndFeed
+
+
+ +
Returns:
the feed description, null if none.
+
+
+
+ +

+setDescriptionEx

+
+public void setDescriptionEx(SyndContent description)
+
+
Sets the feed description as a text construct. +

+

+

+
Specified by:
setDescriptionEx in interface SyndFeed
+
+
+
Parameters:
description - the feed description to set, null if none.
+
+
+
+ +

+getPublishedDate

+
+public Date getPublishedDate()
+
+
Returns the feed published date. +

+ This method is a convenience method, it maps to the Dublin Core module date. +

+

+

+
Specified by:
getPublishedDate in interface SyndFeed
+
+
+ +
Returns:
the feed published date, null if none.
+
+
+
+ +

+setPublishedDate

+
+public void setPublishedDate(Date publishedDate)
+
+
Sets the feed published date. +

+ This method is a convenience method, it maps to the Dublin Core module date. +

+

+

+
Specified by:
setPublishedDate in interface SyndFeed
+
+
+
Parameters:
publishedDate - the feed published date to set, null if none.
+
+
+
+ +

+getCopyright

+
+public String getCopyright()
+
+
Returns the feed copyright. +

+ This method is a convenience method, it maps to the Dublin Core module rights. +

+

+

+
Specified by:
getCopyright in interface SyndFeed
+
+
+ +
Returns:
the feed copyright, null if none.
+
+
+
+ +

+setCopyright

+
+public void setCopyright(String copyright)
+
+
Sets the feed copyright. +

+ This method is a convenience method, it maps to the Dublin Core module rights. +

+

+

+
Specified by:
setCopyright in interface SyndFeed
+
+
+
Parameters:
copyright - the feed copyright to set, null if none.
+
+
+
+ +

+getImage

+
+public SyndImage getImage()
+
+
Returns the feed image. +

+

+

+
Specified by:
getImage in interface SyndFeed
+
+
+ +
Returns:
the feed image, null if none.
+
+
+
+ +

+setImage

+
+public void setImage(SyndImage image)
+
+
Sets the feed image. +

+

+

+
Specified by:
setImage in interface SyndFeed
+
+
+
Parameters:
image - the feed image to set, null if none.
+
+
+
+ +

+getCategories

+
+public List getCategories()
+
+
Returns the feed categories. +

+ This method is a convenience method, it maps to the Dublin Core module subjects. +

+

+

+
Specified by:
getCategories in interface SyndFeed
+
+
+ +
Returns:
a list of SyndCategoryImpl elements with the feed categories, + an empty list if none.
+
+
+
+ +

+setCategories

+
+public void setCategories(List categories)
+
+
Sets the feed categories. +

+ This method is a convenience method, it maps to the Dublin Core module subjects. +

+

+

+
Specified by:
setCategories in interface SyndFeed
+
+
+
Parameters:
categories - the list of SyndCategoryImpl elements with the feed categories to set, + an empty list or null if none.
+
+
+
+ +

+getEntries

+
+public List getEntries()
+
+
Returns the feed entries. +

+

+

+
Specified by:
getEntries in interface SyndFeed
+
+
+ +
Returns:
a list of SyndEntryImpl elements with the feed entries, + an empty list if none.
+
+
+
+ +

+setEntries

+
+public void setEntries(List entries)
+
+
Sets the feed entries. +

+

+

+
Specified by:
setEntries in interface SyndFeed
+
+
+
Parameters:
entries - the list of SyndEntryImpl elements with the feed entries to set, + an empty list or null if none.
+
+
+
+ +

+getLanguage

+
+public String getLanguage()
+
+
Returns the feed language. +

+ This method is a convenience method, it maps to the Dublin Core module language. +

+

+

+
Specified by:
getLanguage in interface SyndFeed
+
+
+ +
Returns:
the feed language, null if none.
+
+
+
+ +

+setLanguage

+
+public void setLanguage(String language)
+
+
Sets the feed language. +

+ This method is a convenience method, it maps to the Dublin Core module language. +

+

+

+
Specified by:
setLanguage in interface SyndFeed
+
+
+
Parameters:
language - the feed language to set, null if none.
+
+
+
+ +

+getModules

+
+public List getModules()
+
+
Returns the feed modules. +

+

+

+
Specified by:
getModules in interface Extendable
Specified by:
getModules in interface SyndFeed
+
+
+ +
Returns:
a list of ModuleImpl elements with the feed modules, + an empty list if none.
+
+
+
+ +

+setModules

+
+public void setModules(List modules)
+
+
Sets the feed modules. +

+

+

+
Specified by:
setModules in interface Extendable
Specified by:
setModules in interface SyndFeed
+
+
+
Parameters:
modules - the list of ModuleImpl elements with the feed modules to set, + an empty list or null if none.
+
+
+
+ +

+getModule

+
+public Module getModule(String uri)
+
+
Returns the module identified by a given URI. +

+

+

+
Specified by:
getModule in interface Extendable
Specified by:
getModule in interface SyndFeed
+
+
+
Parameters:
uri - the URI of the ModuleImpl. +
Returns:
The module with the given URI, null if none.
+
+
+
+ +

+getInterface

+
+public Class getInterface()
+
+
Description copied from interface: CopyFrom
+
Returns the interface the copyFrom works on. +

+ This is useful when dealing with properties that may have multiple implementations. + For example, Module. +

+

+

+
Specified by:
getInterface in interface CopyFrom
+
+
+ +
Returns:
the interface the copyFrom works on.
+
+
+
+ +

+copyFrom

+
+public void copyFrom(CopyFrom obj)
+
+
Description copied from interface: CopyFrom
+
Copies all the properties of the given bean into this one. +

+ Any existing properties in this bean are lost. +

+ This method is useful for moving from one implementation of a bean interface to another. + For example from the default SyndFeed bean implementation to a Hibernate ready implementation. +

+

+

+
Specified by:
copyFrom in interface CopyFrom
+
+
+
Parameters:
obj - the instance to copy properties from.
+
+
+
+ +

+getLinks

+
+public List getLinks()
+
+
Returns the links +

+

+

+
Specified by:
getLinks in interface SyndFeed
+
+
+ +
Returns:
Returns the links.
+
+
+
+ +

+setLinks

+
+public void setLinks(List links)
+
+
Set the links +

+

+

+
Specified by:
setLinks in interface SyndFeed
+
+
+
Parameters:
links - The links to set.
+
+
+
+ +

+getAuthors

+
+public List getAuthors()
+
+
Description copied from interface: SyndFeed
+
Returns the feed authors. +

+ For Atom feeds, this returns the authors as a list of SyndPerson objects, + for RSS feeds this method is a convenience method, it maps to the + Dublin Core module creator. +

+

+

+
Specified by:
getAuthors in interface SyndFeed
+
+
+ +
Returns:
the feed authors, null if none.
+
+
+
+ +

+setAuthors

+
+public void setAuthors(List authors)
+
+
Description copied from interface: SyndFeed
+
Sets the feed authors. +

+ For Atom feeds, this sets the authors as a list of SyndPerson + objects, for RSS feeds this method is a convenience method, it maps + to the Dublin Core module creator. +

+

+

+
Specified by:
setAuthors in interface SyndFeed
+
+
+
Parameters:
authors - the feed authors to set, null if none.
+
+
+
+ +

+getAuthor

+
+public String getAuthor()
+
+
Returns the feed author. +

+ This method is a convenience method, it maps to the Dublin Core module creator. +

+

+

+
Specified by:
getAuthor in interface SyndFeed
+
+
+ +
Returns:
the feed author, null if none.
+
+
+
+ +

+setAuthor

+
+public void setAuthor(String author)
+
+
Sets the feed author. +

+ This method is a convenience method, it maps to the Dublin Core module creator. +

+

+

+
Specified by:
setAuthor in interface SyndFeed
+
+
+
Parameters:
author - the feed author to set, null if none.
+
+
+
+ +

+getContributors

+
+public List getContributors()
+
+
Description copied from interface: SyndFeed
+
Returns the feed author. +

+ For Atom feeds, this returns the contributors as a list of + SyndPerson objects +

+

+

+
Specified by:
getContributors in interface SyndFeed
+
+
+ +
Returns:
the feed author, null if none.
+
+
+
+ +

+setContributors

+
+public void setContributors(List contributors)
+
+
Description copied from interface: SyndFeed
+
Sets the feed author. +

+ Returns contributors as a list of SyndPerson objects. +

+

+

+
Specified by:
setContributors in interface SyndFeed
+
+
+
Parameters:
contributors - the feed contributors to set, null if none.
+
+
+
+ +

+getForeignMarkup

+
+public Object getForeignMarkup()
+
+
Returns foreign markup found at channel level. +

+

+

+
Specified by:
getForeignMarkup in interface SyndFeed
+
+
+ +
Returns:
Opaque object to discourage use
+
+
+
+ +

+setForeignMarkup

+
+public void setForeignMarkup(Object foreignMarkup)
+
+
Sets foreign markup found at channel level. +

+

+

+
Specified by:
setForeignMarkup in interface SyndFeed
+
+
+
Parameters:
foreignMarkup - Opaque object to discourage use
+
+
+
+ +

+isPreservingWireFeed

+
+public boolean isPreservingWireFeed()
+
+
+
Specified by:
isPreservingWireFeed in interface SyndFeed
+
+
+ +
Returns:
true if this SyndFeed preserves the WireFeed it was created from
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndImage.html b/apidocs/com/sun/syndication/feed/synd/SyndImage.html new file mode 100644 index 0000000..7806c90 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndImage.html @@ -0,0 +1,445 @@ + + + + + + + +SyndImage (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Interface SyndImage

+
+
All Superinterfaces:
Cloneable, CopyFrom
+
+
+
All Known Implementing Classes:
SyndImageImpl
+
+
+
+
public interface SyndImage
extends Cloneable, CopyFrom
+ + +

+Bean interface for images of SyndFeedImpl feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep clone of the object.
+ StringgetDescription() + +
+          Returns the image description.
+ StringgetLink() + +
+          Returns the image link.
+ StringgetTitle() + +
+          Returns the image title.
+ StringgetUrl() + +
+          Returns the image URL.
+ voidsetDescription(String description) + +
+          Sets the image description.
+ voidsetLink(String link) + +
+          Sets the image link.
+ voidsetTitle(String title) + +
+          Sets the image title.
+ voidsetUrl(String url) + +
+          Sets the image URL.
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.CopyFrom
copyFrom, getInterface
+  +

+ + + + + + + + +
+Method Detail
+ +

+getTitle

+
+String getTitle()
+
+
Returns the image title. +

+

+

+
+
+
+ +
Returns:
the image title, null if none.
+
+
+
+ +

+setTitle

+
+void setTitle(String title)
+
+
Sets the image title. +

+

+

+
+
+
+
Parameters:
title - the image title to set, null if none.
+
+
+
+ +

+getUrl

+
+String getUrl()
+
+
Returns the image URL. +

+

+

+
+
+
+ +
Returns:
the image URL, null if none.
+
+
+
+ +

+setUrl

+
+void setUrl(String url)
+
+
Sets the image URL. +

+

+

+
+
+
+
Parameters:
url - the image URL to set, null if none.
+
+
+
+ +

+getLink

+
+String getLink()
+
+
Returns the image link. +

+

+

+
+
+
+ +
Returns:
the image link, null if none.
+
+
+
+ +

+setLink

+
+void setLink(String link)
+
+
Sets the image link. +

+

+

+
+
+
+
Parameters:
link - the image link to set, null if none.
+
+
+
+ +

+getDescription

+
+String getDescription()
+
+
Returns the image description. +

+

+

+
+
+
+ +
Returns:
the image description, null if none.
+
+
+
+ +

+setDescription

+
+void setDescription(String description)
+
+
Sets the image description. +

+

+

+
+
+
+
Parameters:
description - the image description to set, null if none.
+
+
+
+ +

+clone

+
+Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep clone of the object. +

+

+

+
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndImageImpl.html b/apidocs/com/sun/syndication/feed/synd/SyndImageImpl.html new file mode 100644 index 0000000..d1a3e09 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndImageImpl.html @@ -0,0 +1,623 @@ + + + + + + + +SyndImageImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Class SyndImageImpl

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.SyndImageImpl
+
+
+
All Implemented Interfaces:
CopyFrom, SyndImage, Serializable, Cloneable
+
+
+
+
public class SyndImageImpl
extends Object
implements Serializable, SyndImage
+ + +

+Bean for images of SyndFeedImpl feeds. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SyndImageImpl() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ voidcopyFrom(CopyFrom syndImage) + +
+          Copies all the properties of the given bean into this one.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetDescription() + +
+          Returns the image description.
+ ClassgetInterface() + +
+          Returns the interface the copyFrom works on.
+ StringgetLink() + +
+          Returns the image link.
+ StringgetTitle() + +
+          Returns the image title.
+ StringgetUrl() + +
+          Returns the image URL.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetDescription(String description) + +
+          Sets the image description.
+ voidsetLink(String link) + +
+          Sets the image link.
+ voidsetTitle(String title) + +
+          Sets the image title.
+ voidsetUrl(String url) + +
+          Sets the image URL.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyndImageImpl

+
+public SyndImageImpl()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Specified by:
clone in interface SyndImage
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getTitle

+
+public String getTitle()
+
+
Returns the image title. +

+

+

+
Specified by:
getTitle in interface SyndImage
+
+
+ +
Returns:
the image title, null if none.
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
Sets the image title. +

+

+

+
Specified by:
setTitle in interface SyndImage
+
+
+
Parameters:
title - the image title to set, null if none.
+
+
+
+ +

+getUrl

+
+public String getUrl()
+
+
Returns the image URL. +

+

+

+
Specified by:
getUrl in interface SyndImage
+
+
+ +
Returns:
the image URL, null if none.
+
+
+
+ +

+setUrl

+
+public void setUrl(String url)
+
+
Sets the image URL. +

+

+

+
Specified by:
setUrl in interface SyndImage
+
+
+
Parameters:
url - the image URL to set, null if none.
+
+
+
+ +

+getLink

+
+public String getLink()
+
+
Returns the image link. +

+

+

+
Specified by:
getLink in interface SyndImage
+
+
+ +
Returns:
the image link, null if none.
+
+
+
+ +

+setLink

+
+public void setLink(String link)
+
+
Sets the image link. +

+

+

+
Specified by:
setLink in interface SyndImage
+
+
+
Parameters:
link - the image link to set, null if none.
+
+
+
+ +

+getDescription

+
+public String getDescription()
+
+
Returns the image description. +

+

+

+
Specified by:
getDescription in interface SyndImage
+
+
+ +
Returns:
the image description, null if none.
+
+
+
+ +

+setDescription

+
+public void setDescription(String description)
+
+
Sets the image description. +

+

+

+
Specified by:
setDescription in interface SyndImage
+
+
+
Parameters:
description - the image description to set, null if none.
+
+
+
+ +

+getInterface

+
+public Class getInterface()
+
+
Description copied from interface: CopyFrom
+
Returns the interface the copyFrom works on. +

+ This is useful when dealing with properties that may have multiple implementations. + For example, Module. +

+

+

+
Specified by:
getInterface in interface CopyFrom
+
+
+ +
Returns:
the interface the copyFrom works on.
+
+
+
+ +

+copyFrom

+
+public void copyFrom(CopyFrom syndImage)
+
+
Description copied from interface: CopyFrom
+
Copies all the properties of the given bean into this one. +

+ Any existing properties in this bean are lost. +

+ This method is useful for moving from one implementation of a bean interface to another. + For example from the default SyndFeed bean implementation to a Hibernate ready implementation. +

+

+

+
Specified by:
copyFrom in interface CopyFrom
+
+
+
Parameters:
syndImage - the instance to copy properties from.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndLink.html b/apidocs/com/sun/syndication/feed/synd/SyndLink.html new file mode 100644 index 0000000..ba594fd --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndLink.html @@ -0,0 +1,579 @@ + + + + + + + +SyndLink (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Interface SyndLink

+
+
All Known Implementing Classes:
SyndLinkImpl
+
+
+
+
public interface SyndLink
+ + +

+Represents a link or enclosure associated with entry. +

+ +

+

+
Author:
+
Dave Johnson
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetHref() + +
+          Returns the link href.
+ StringgetHreflang() + +
+          Returns the hreflang +
+ longgetLength() + +
+          Returns the length +
+ StringgetRel() + +
+          Returns the link rel.
+ StringgetTitle() + +
+          Returns the link title.
+ StringgetType() + +
+          Returns the link type.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetHref(String href) + +
+          Sets the link href.
+ voidsetHreflang(String hreflang) + +
+          Set the hreflang +
+ voidsetLength(long length) + +
+          Set the length +
+ voidsetRel(String rel) + +
+          Sets the link rel.
+ voidsetTitle(String title) + +
+          Sets the link title.
+ voidsetType(String type) + +
+          Sets the link type.
+ StringtoString() + +
+          Returns the String representation for the object.
+  +

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getRel

+
+String getRel()
+
+
Returns the link rel. +

+

+

+ +
Returns:
the link rel, null if none.
+
+
+
+ +

+setRel

+
+void setRel(String rel)
+
+
Sets the link rel. +

+

+

+
Parameters:
rel - the link rel,, null if none.
+
+
+
+ +

+getType

+
+String getType()
+
+
Returns the link type. +

+

+

+ +
Returns:
the link type, null if none.
+
+
+
+ +

+setType

+
+void setType(String type)
+
+
Sets the link type. +

+

+

+
Parameters:
type - the link type, null if none.
+
+
+
+ +

+getHref

+
+String getHref()
+
+
Returns the link href. +

+

+

+ +
Returns:
the link href, null if none.
+
+
+
+ +

+setHref

+
+void setHref(String href)
+
+
Sets the link href. +

+

+

+
Parameters:
href - the link href, null if none.
+
+
+
+ +

+getTitle

+
+String getTitle()
+
+
Returns the link title. +

+

+

+ +
Returns:
the link title, null if none.
+
+
+
+ +

+setTitle

+
+void setTitle(String title)
+
+
Sets the link title. +

+

+

+
Parameters:
title - the link title, null if none.
+
+
+
+ +

+getHreflang

+
+String getHreflang()
+
+
Returns the hreflang +

+

+

+ +
Returns:
Returns the hreflang.
+
+
+
+ +

+setHreflang

+
+void setHreflang(String hreflang)
+
+
Set the hreflang +

+

+

+
Parameters:
hreflang - The hreflang to set.
+
+
+
+ +

+getLength

+
+long getLength()
+
+
Returns the length +

+

+

+ +
Returns:
Returns the length.
+
+
+
+ +

+setLength

+
+void setLength(long length)
+
+
Set the length +

+

+

+
Parameters:
length - The length to set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndLinkImpl.html b/apidocs/com/sun/syndication/feed/synd/SyndLinkImpl.html new file mode 100644 index 0000000..74c5c5d --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndLinkImpl.html @@ -0,0 +1,668 @@ + + + + + + + +SyndLinkImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Class SyndLinkImpl

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.SyndLinkImpl
+
+
+
All Implemented Interfaces:
SyndLink, Serializable, Cloneable
+
+
+
+
public class SyndLinkImpl
extends Object
implements Cloneable, Serializable, SyndLink
+ + +

+Represents a link or an enclosure. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur, Dave Johnson (updated for Atom 1.0)
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SyndLinkImpl() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetHref() + +
+          Returns the link href.
+ StringgetHreflang() + +
+          Returns the hreflang +
+ longgetLength() + +
+          Returns the length +
+ StringgetRel() + +
+          Returns the link rel.
+ StringgetTitle() + +
+          Returns the link title.
+ StringgetType() + +
+          Returns the link type.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetHref(String href) + +
+          Sets the link href.
+ voidsetHreflang(String hreflang) + +
+          Set the hreflang +
+ voidsetLength(long length) + +
+          Set the length +
+ voidsetRel(String rel) + +
+          Sets the link rel.
+ voidsetTitle(String title) + +
+          Sets the link title.
+ voidsetType(String type) + +
+          Sets the link type.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyndLinkImpl

+
+public SyndLinkImpl()
+
+
Default constructor. All properties are set to null. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Specified by:
clone in interface SyndLink
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Specified by:
equals in interface SyndLink
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Specified by:
hashCode in interface SyndLink
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Specified by:
toString in interface SyndLink
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getRel

+
+public String getRel()
+
+
Returns the link rel. +

+

+

+
Specified by:
getRel in interface SyndLink
+
+
+ +
Returns:
the link rel, null if none.
+
+
+
+ +

+setRel

+
+public void setRel(String rel)
+
+
Sets the link rel. +

+

+

+
Specified by:
setRel in interface SyndLink
+
+
+
Parameters:
rel - the link rel,, null if none.
+
+
+
+ +

+getType

+
+public String getType()
+
+
Returns the link type. +

+

+

+
Specified by:
getType in interface SyndLink
+
+
+ +
Returns:
the link type, null if none.
+
+
+
+ +

+setType

+
+public void setType(String type)
+
+
Sets the link type. +

+

+

+
Specified by:
setType in interface SyndLink
+
+
+
Parameters:
type - the link type, null if none.
+
+
+
+ +

+getHref

+
+public String getHref()
+
+
Returns the link href. +

+

+

+
Specified by:
getHref in interface SyndLink
+
+
+ +
Returns:
the link href, null if none.
+
+
+
+ +

+setHref

+
+public void setHref(String href)
+
+
Sets the link href. +

+

+

+
Specified by:
setHref in interface SyndLink
+
+
+
Parameters:
href - the link href, null if none.
+
+
+
+ +

+getTitle

+
+public String getTitle()
+
+
Returns the link title. +

+

+

+
Specified by:
getTitle in interface SyndLink
+
+
+ +
Returns:
the link title, null if none.
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
Sets the link title. +

+

+

+
Specified by:
setTitle in interface SyndLink
+
+
+
Parameters:
title - the link title, null if none.
+
+
+
+ +

+getHreflang

+
+public String getHreflang()
+
+
Returns the hreflang +

+

+

+
Specified by:
getHreflang in interface SyndLink
+
+
+ +
Returns:
Returns the hreflang.
+
+
+
+ +

+setHreflang

+
+public void setHreflang(String hreflang)
+
+
Set the hreflang +

+

+

+
Specified by:
setHreflang in interface SyndLink
+
+
+
Parameters:
hreflang - The hreflang to set.
+
+
+
+ +

+getLength

+
+public long getLength()
+
+
Returns the length +

+

+

+
Specified by:
getLength in interface SyndLink
+
+
+ +
Returns:
Returns the length.
+
+
+
+ +

+setLength

+
+public void setLength(long length)
+
+
Set the length +

+

+

+
Specified by:
setLength in interface SyndLink
+
+
+
Parameters:
length - The length to set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndPerson.html b/apidocs/com/sun/syndication/feed/synd/SyndPerson.html new file mode 100644 index 0000000..90b7093 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndPerson.html @@ -0,0 +1,385 @@ + + + + + + + +SyndPerson (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Interface SyndPerson

+
+
All Superinterfaces:
Cloneable, Extendable
+
+
+
All Known Implementing Classes:
SyndPersonImpl
+
+
+
+
public interface SyndPerson
extends Cloneable, Extendable
+ + +

+Bean interface for authors and contributors of SyndFeedImpl feeds and entries. +

+

+ +

+

+
Author:
+
Dave Johnson
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep clone of the object.
+ StringgetEmail() + +
+          Returns email of person.
+ StringgetName() + +
+          Returns name of person
+ StringgetUri() + +
+          Returns URI of person.
+ voidsetEmail(String email) + +
+          Sets email of person.
+ voidsetName(String name) + +
+          Sets name of person.
+ voidsetUri(String uri) + +
+          Sets URI of person.
+ + + + + + + +
Methods inherited from interface com.sun.syndication.feed.module.Extendable
getModule, getModules, setModules
+  +

+ + + + + + + + +
+Method Detail
+ +

+getName

+
+String getName()
+
+
Returns name of person +

+

+
+
+
+
+
+
+
+ +

+setName

+
+void setName(String name)
+
+
Sets name of person. +

+

+
+
+
+
+
+
+
+ +

+getUri

+
+String getUri()
+
+
Returns URI of person. +

+

+
+
+
+
+
+
+
+ +

+setUri

+
+void setUri(String uri)
+
+
Sets URI of person. +

+

+
+
+
+
+
+
+
+ +

+getEmail

+
+String getEmail()
+
+
Returns email of person. +

+

+
+
+
+
+
+
+
+ +

+setEmail

+
+void setEmail(String email)
+
+
Sets email of person. +

+

+
+
+
+
+
+
+
+ +

+clone

+
+Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep clone of the object. +

+

+

+
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/SyndPersonImpl.html b/apidocs/com/sun/syndication/feed/synd/SyndPersonImpl.html new file mode 100644 index 0000000..06a1d69 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/SyndPersonImpl.html @@ -0,0 +1,591 @@ + + + + + + + +SyndPersonImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd +
+Class SyndPersonImpl

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.SyndPersonImpl
+
+
+
All Implemented Interfaces:
Extendable, SyndPerson, Serializable, Cloneable
+
+
+
+
public class SyndPersonImpl
extends Object
implements Serializable, SyndPerson
+ + +

+Bean for authors and contributors of SyndFeedImpl feeds and entries. +

+

+ +

+

+
Author:
+
Dave Johnson
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SyndPersonImpl() + +
+          For implementations extending SyndContentImpl to be able to use the ObjectBean functionality + with extended interfaces.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          Creates a deep 'bean' clone of the object.
+ booleanequals(Object other) + +
+          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+ StringgetEmail() + +
+          Returns the person's e-mail address.
+ ModulegetModule(String uri) + +
+          Returns the module identified by a given URI.
+ ListgetModules() + +
+          Returns the person modules.
+ StringgetName() + +
+          Returns the person name.
+ StringgetUri() + +
+          Returns the person's URI.
+ inthashCode() + +
+          Returns a hashcode value for the object.
+ voidsetEmail(String email) + +
+          Sets the person's e-mail address.
+ voidsetModules(List modules) + +
+          Sets the person modules.
+ voidsetName(String name) + +
+          Sets the category name.
+ voidsetUri(String uri) + +
+          Sets the person's URI.
+ StringtoString() + +
+          Returns the String representation for the object.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyndPersonImpl

+
+public SyndPersonImpl()
+
+
For implementations extending SyndContentImpl to be able to use the ObjectBean functionality + with extended interfaces. +

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+             throws CloneNotSupportedException
+
+
Creates a deep 'bean' clone of the object. +

+

+

+
Specified by:
clone in interface SyndPerson
Overrides:
clone in class Object
+
+
+ +
Returns:
a clone of the object. +
Throws: +
CloneNotSupportedException - thrown if an element of the object cannot be cloned.
+
+
+
+ +

+equals

+
+public boolean equals(Object other)
+
+
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +

+

+

+
Overrides:
equals in class Object
+
+
+
Parameters:
other - he reference object with which to compare. +
Returns:
true if 'this' object is equal to the 'other' object.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode value for the object. +

+ It follows the contract defined by the Object hashCode() method. +

+

+

+
Overrides:
hashCode in class Object
+
+
+ +
Returns:
the hashcode of the bean object.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the String representation for the object. +

+

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
String representation for the object.
+
+
+
+ +

+getName

+
+public String getName()
+
+
Returns the person name. +

+

+

+
Specified by:
getName in interface SyndPerson
+
+
+ +
Returns:
the person name, null if none.
+
+
+
+ +

+setName

+
+public void setName(String name)
+
+
Sets the category name. +

+

+

+
Specified by:
setName in interface SyndPerson
+
+
+
Parameters:
name - the category name to set, null if none.
+
+
+
+ +

+getEmail

+
+public String getEmail()
+
+
Returns the person's e-mail address. +

+

+

+
Specified by:
getEmail in interface SyndPerson
+
+
+ +
Returns:
the person's e-mail address, null if none.
+
+
+
+ +

+setEmail

+
+public void setEmail(String email)
+
+
Sets the person's e-mail address. +

+

+

+
Specified by:
setEmail in interface SyndPerson
+
+
+
Parameters:
email - The person's e-mail address to set, null if none.
+
+
+
+ +

+getUri

+
+public String getUri()
+
+
Returns the person's URI. +

+

+

+
Specified by:
getUri in interface SyndPerson
+
+
+ +
Returns:
the person's URI, null if none.
+
+
+
+ +

+setUri

+
+public void setUri(String uri)
+
+
Sets the person's URI. +

+

+

+
Specified by:
setUri in interface SyndPerson
+
+
+
Parameters:
uri - the peron's URI to set, null if none.
+
+
+
+ +

+getModules

+
+public List getModules()
+
+
Returns the person modules. +

+

+

+
Specified by:
getModules in interface Extendable
+
+
+ +
Returns:
a list of ModuleImpl elements with the person modules, + an empty list if none.
+
+
+
+ +

+setModules

+
+public void setModules(List modules)
+
+
Sets the person modules. +

+

+

+
Specified by:
setModules in interface Extendable
+
+
+
Parameters:
modules - the list of ModuleImpl elements with the person modules to set, + an empty list or null if none.
+
+
+
+ +

+getModule

+
+public Module getModule(String uri)
+
+
Returns the module identified by a given URI. +

+

+

+
Specified by:
getModule in interface Extendable
+
+
+
Parameters:
uri - the URI of the ModuleImpl. +
Returns:
The module with the given URI, null if none.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/Converter.html b/apidocs/com/sun/syndication/feed/synd/class-use/Converter.html new file mode 100644 index 0000000..f15dea5 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/Converter.html @@ -0,0 +1,269 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.synd.Converter (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.synd.Converter

+
+ + + + + + + + + +
+Packages that use Converter
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + +
+Uses of Converter in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in com.sun.syndication.feed.synd.impl that implement Converter
+ classConverterForAtom03 + +
+           
+ classConverterForAtom10 + +
+           
+ classConverterForRSS090 + +
+           
+ classConverterForRSS091Netscape + +
+           
+ classConverterForRSS091Userland + +
+           
+ classConverterForRSS092 + +
+           
+ classConverterForRSS093 + +
+           
+ classConverterForRSS094 + +
+           
+ classConverterForRSS10 + +
+           
+ classConverterForRSS20 + +
+           
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return Converter
+ ConverterConverters.getConverter(String feedType) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndCategory.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndCategory.html new file mode 100644 index 0000000..79fe412 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndCategory.html @@ -0,0 +1,245 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.synd.SyndCategory (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.synd.SyndCategory

+
+ + + + + + + + + +
+Packages that use SyndCategory
com.sun.syndication.feed.synd  
+  +

+ + + + + +
+Uses of SyndCategory in com.sun.syndication.feed.synd
+  +

+ + + + + + + + + +
Classes in com.sun.syndication.feed.synd that implement SyndCategory
+ classSyndCategoryImpl + +
+          Bean for categories of SyndFeedImpl feeds and entries.
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return types with arguments of type SyndCategory
+ List<SyndCategory>SyndEntry.getCategories() + +
+          Returns the entry categories.
+ List<SyndCategory>SyndFeed.getCategories() + +
+          Returns the feed categories.
+ List<SyndCategory>SyndEntryImpl.getCategories() + +
+          Returns the entry categories.
+  +

+ + + + + + + + + + + + + + + + + +
Method parameters in com.sun.syndication.feed.synd with type arguments of type SyndCategory
+ voidSyndEntry.setCategories(List<SyndCategory> categories) + +
+          Sets the entry categories.
+ voidSyndFeed.setCategories(List<SyndCategory> categories) + +
+          Sets the feed categories.
+ voidSyndEntryImpl.setCategories(List<SyndCategory> categories) + +
+          Sets the entry categories.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndCategoryImpl.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndCategoryImpl.html new file mode 100644 index 0000000..3693c0f --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndCategoryImpl.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.SyndCategoryImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.SyndCategoryImpl

+
+No usage of com.sun.syndication.feed.synd.SyndCategoryImpl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndContent.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndContent.html new file mode 100644 index 0000000..ab43562 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndContent.html @@ -0,0 +1,442 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.synd.SyndContent (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.synd.SyndContent

+
+ + + + + + + + + + + + + +
+Packages that use SyndContent
com.sun.syndication.feed.synd  
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + +
+Uses of SyndContent in com.sun.syndication.feed.synd
+  +

+ + + + + + + + + +
Classes in com.sun.syndication.feed.synd that implement SyndContent
+ classSyndContentImpl + +
+          Bean for content of SyndFeedImpl entries.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return SyndContent
+ SyndContentSyndEntry.getDescription() + +
+          Returns the entry description.
+ SyndContentSyndEntryImpl.getDescription() + +
+          Returns the entry description.
+ SyndContentSyndFeed.getDescriptionEx() + +
+          Returns the feed description as a text construct.
+ SyndContentSyndFeedImpl.getDescriptionEx() + +
+          Returns the feed description as a text construct.
+ SyndContentSyndEntry.getTitleEx() + +
+          Returns the entry title as a text construct.
+ SyndContentSyndFeed.getTitleEx() + +
+          Returns the feed title.
+ SyndContentSyndEntryImpl.getTitleEx() + +
+          Returns the entry title as a text construct.
+ SyndContentSyndFeedImpl.getTitleEx() + +
+          Returns the feed title as a text construct.
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return types with arguments of type SyndContent
+ List<SyndContent>SyndEntry.getContents() + +
+          Returns the entry contents.
+ List<SyndContent>SyndEntryImpl.getContents() + +
+          Returns the entry contents.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd with parameters of type SyndContent
+ voidSyndEntry.setDescription(SyndContent description) + +
+          Sets the entry description.
+ voidSyndEntryImpl.setDescription(SyndContent description) + +
+          Sets the entry description.
+ voidSyndFeed.setDescriptionEx(SyndContent description) + +
+          Sets the feed description as a text construct.
+ voidSyndFeedImpl.setDescriptionEx(SyndContent description) + +
+          Sets the feed description as a text construct.
+ voidSyndEntry.setTitleEx(SyndContent title) + +
+          Sets the entry title as a text construct.
+ voidSyndFeed.setTitleEx(SyndContent title) + +
+          Sets the feed title.
+ voidSyndEntryImpl.setTitleEx(SyndContent title) + +
+          Sets the entry title as a text construct.
+ voidSyndFeedImpl.setTitleEx(SyndContent title) + +
+          Sets the feed title as a text construct.
+  +

+ + + + + + + + + + + + + +
Method parameters in com.sun.syndication.feed.synd with type arguments of type SyndContent
+ voidSyndEntry.setContents(List<SyndContent> contents) + +
+          Sets the entry contents.
+ voidSyndEntryImpl.setContents(List<SyndContent> contents) + +
+          Sets the entry contents.
+  +

+ + + + + +
+Uses of SyndContent in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return SyndContent
+protected  SyndContentConverterForAtom10.createSyndContent(Content content) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type SyndContent
+protected  ContentConverterForAtom10.createAtomContent(SyndContent sContent) + +
+           
+protected  ContentConverterForRSS10.createItemContent(SyndContent sContent) + +
+           
+protected  DescriptionConverterForRSS10.createItemDescription(SyndContent sContent) + +
+           
+protected  DescriptionConverterForRSS091Userland.createItemDescription(SyndContent sContent) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndContentImpl.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndContentImpl.html new file mode 100644 index 0000000..0295d9f --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndContentImpl.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.SyndContentImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.SyndContentImpl

+
+No usage of com.sun.syndication.feed.synd.SyndContentImpl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndEnclosure.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndEnclosure.html new file mode 100644 index 0000000..f30e111 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndEnclosure.html @@ -0,0 +1,293 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.synd.SyndEnclosure (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.synd.SyndEnclosure

+
+ + + + + + + + + + + + + +
+Packages that use SyndEnclosure
com.sun.syndication.feed.synd  
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + +
+Uses of SyndEnclosure in com.sun.syndication.feed.synd
+  +

+ + + + + + + + + +
Classes in com.sun.syndication.feed.synd that implement SyndEnclosure
+ classSyndEnclosureImpl + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return types with arguments of type SyndEnclosure
+ List<SyndEnclosure>SyndEntry.getEnclosures() + +
+          Returns the entry enclosures.
+ List<SyndEnclosure>SyndEntryImpl.getEnclosures() + +
+          Returns the entry enclosures.
+  +

+ + + + + + + + + + + + + +
Method parameters in com.sun.syndication.feed.synd with type arguments of type SyndEnclosure
+ voidSyndEntry.setEnclosures(List<SyndEnclosure> enclosures) + +
+          Sets the entry enclosures.
+ voidSyndEntryImpl.setEnclosures(List<SyndEnclosure> enclosures) + +
+          Sets the entry enclosures.
+  +

+ + + + + +
+Uses of SyndEnclosure in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return SyndEnclosure
+ SyndEnclosureConverterForAtom03.createSyndEnclosure(Entry entry, + Link link) + +
+           
+ SyndEnclosureConverterForAtom10.createSyndEnclosure(Feed feed, + Entry entry, + Link link) + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type SyndEnclosure
+ LinkConverterForAtom10.createAtomEnclosure(SyndEnclosure syndEnclosure) + +
+           
+ LinkConverterForAtom03.createAtomEnclosure(SyndEnclosure syndEnclosure) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndEnclosureImpl.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndEnclosureImpl.html new file mode 100644 index 0000000..873ffee --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndEnclosureImpl.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.SyndEnclosureImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.SyndEnclosureImpl

+
+No usage of com.sun.syndication.feed.synd.SyndEnclosureImpl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndEntry.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndEntry.html new file mode 100644 index 0000000..1532830 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndEntry.html @@ -0,0 +1,379 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.synd.SyndEntry (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.synd.SyndEntry

+
+ + + + + + + + + + + + + +
+Packages that use SyndEntry
com.sun.syndication.feed.synd  
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + +
+Uses of SyndEntry in com.sun.syndication.feed.synd
+  +

+ + + + + + + + + +
Classes in com.sun.syndication.feed.synd that implement SyndEntry
+ classSyndEntryImpl + +
+          Bean for entries of SyndFeedImpl feeds.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return types with arguments of type SyndEntry
+ List<SyndEntry>SyndFeed.getEntries() + +
+          Returns the feed entries.
+  +

+ + + + + + + + + +
Method parameters in com.sun.syndication.feed.synd with type arguments of type SyndEntry
+ voidSyndFeed.setEntries(List<SyndEntry> entries) + +
+          Sets the feed entries.
+  +

+ + + + + +
+Uses of SyndEntry in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return SyndEntry
+protected  SyndEntryConverterForAtom03.createSyndEntry(Entry entry, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForAtom10.createSyndEntry(Feed feed, + Entry entry, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForRSS094.createSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForRSS090.createSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForRSS092.createSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForRSS10.createSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForRSS091Userland.createSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+protected  SyndEntryConverterForRSS093.createSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type SyndEntry
+protected  EntryConverterForAtom10.createAtomEntry(SyndEntry sEntry) + +
+           
+protected  EntryConverterForAtom03.createAtomEntry(SyndEntry sEntry) + +
+           
+protected  ItemConverterForRSS094.createRSSItem(SyndEntry sEntry) + +
+           
+protected  ItemConverterForRSS090.createRSSItem(SyndEntry sEntry) + +
+           
+protected  ItemConverterForRSS092.createRSSItem(SyndEntry sEntry) + +
+           
+protected  ItemConverterForRSS10.createRSSItem(SyndEntry sEntry) + +
+           
+protected  ItemConverterForRSS091Userland.createRSSItem(SyndEntry sEntry) + +
+           
+protected  ItemConverterForRSS093.createRSSItem(SyndEntry sEntry) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndEntryImpl.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndEntryImpl.html new file mode 100644 index 0000000..db67491 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndEntryImpl.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.SyndEntryImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.SyndEntryImpl

+
+No usage of com.sun.syndication.feed.synd.SyndEntryImpl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndFeed.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndFeed.html new file mode 100644 index 0000000..6483647 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndFeed.html @@ -0,0 +1,522 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.synd.SyndFeed (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.synd.SyndFeed

+
+ + + + + + + + + + + + + + + + + +
+Packages that use SyndFeed
com.sun.syndication.feed.synd  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io  
+  +

+ + + + + +
+Uses of SyndFeed in com.sun.syndication.feed.synd
+  +

+ + + + + + + + + +
Classes in com.sun.syndication.feed.synd that implement SyndFeed
+ classSyndFeedImpl + +
+          Bean for all types of feeds.
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return SyndFeed
+ SyndFeedSyndEntry.getSource() + +
+          Returns the entry source.
+ SyndFeedSyndEntryImpl.getSource() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd with parameters of type SyndFeed
+ voidConverter.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+          Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.
+ WireFeedConverter.createRealFeed(SyndFeed syndFeed) + +
+          Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.
+ voidSyndEntry.setSource(SyndFeed source) + +
+          Sets the entry source feed (for use if different from containing feed) +
+ voidSyndEntryImpl.setSource(SyndFeed source) + +
+           
+  +

+ + + + + +
+Uses of SyndFeed in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type SyndFeed
+ voidConverterForRSS094.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+           
+ voidConverterForRSS090.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+           
+ voidConverterForRSS10.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+           
+ voidConverterForRSS091Userland.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+           
+ voidConverterForAtom10.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+           
+ voidConverterForAtom03.copyInto(WireFeed feed, + SyndFeed syndFeed) + +
+           
+protected  WireFeedConverterForRSS094.createRealFeed(String type, + SyndFeed syndFeed) + +
+           
+protected  WireFeedConverterForRSS090.createRealFeed(String type, + SyndFeed syndFeed) + +
+           
+protected  WireFeedConverterForRSS10.createRealFeed(String type, + SyndFeed syndFeed) + +
+           
+protected  WireFeedConverterForRSS091Userland.createRealFeed(String type, + SyndFeed syndFeed) + +
+           
+ WireFeedConverterForRSS090.createRealFeed(SyndFeed syndFeed) + +
+           
+ WireFeedConverterForAtom10.createRealFeed(SyndFeed syndFeed) + +
+           
+ WireFeedConverterForAtom03.createRealFeed(SyndFeed syndFeed) + +
+           
+  +

+ + + + + +
+Uses of SyndFeed in com.sun.syndication.io
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io that return SyndFeed
+ SyndFeedSyndFeedInput.build(Document document) + +
+          Builds SyndFeedImpl from an W3C DOM document.
+ SyndFeedSyndFeedInput.build(org.jdom.Document document) + +
+          Builds SyndFeedImpl from an JDOM document.
+ SyndFeedSyndFeedInput.build(File file) + +
+          Builds SyndFeedImpl from a file.
+ SyndFeedSyndFeedInput.build(InputSource is) + +
+          Builds SyndFeedImpl from an W3C SAX InputSource.
+ SyndFeedSyndFeedInput.build(Reader reader) + +
+          Builds SyndFeedImpl from an Reader.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io with parameters of type SyndFeed
+ voidSyndFeedOutput.output(SyndFeed feed, + File file) + +
+          Creates a File containing with the XML representation for the given SyndFeedImpl.
+ voidSyndFeedOutput.output(SyndFeed feed, + File file, + boolean prettyPrint) + +
+          Creates a File containing with the XML representation for the given SyndFeedImpl.
+ voidSyndFeedOutput.output(SyndFeed feed, + Writer writer) + +
+          Writes to an Writer the XML representation for the given SyndFeedImpl.
+ voidSyndFeedOutput.output(SyndFeed feed, + Writer writer, + boolean prettyPrint) + +
+          Writes to an Writer the XML representation for the given SyndFeedImpl.
+ org.jdom.DocumentSyndFeedOutput.outputJDom(SyndFeed feed) + +
+          Creates a JDOM document for the given SyndFeedImpl.
+ StringSyndFeedOutput.outputString(SyndFeed feed) + +
+          Creates a String with the XML representation for the given SyndFeedImpl.
+ StringSyndFeedOutput.outputString(SyndFeed feed, + boolean prettyPrint) + +
+          Creates a String with the XML representation for the given SyndFeedImpl.
+ DocumentSyndFeedOutput.outputW3CDom(SyndFeed feed) + +
+          Creates a W3C DOM document for the given SyndFeedImpl.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndFeedImpl.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndFeedImpl.html new file mode 100644 index 0000000..fc6644e --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndFeedImpl.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.SyndFeedImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.SyndFeedImpl

+
+No usage of com.sun.syndication.feed.synd.SyndFeedImpl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndImage.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndImage.html new file mode 100644 index 0000000..8ebdcc7 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndImage.html @@ -0,0 +1,290 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.synd.SyndImage (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.synd.SyndImage

+
+ + + + + + + + + + + + + +
+Packages that use SyndImage
com.sun.syndication.feed.synd  
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + +
+Uses of SyndImage in com.sun.syndication.feed.synd
+  +

+ + + + + + + + + +
Classes in com.sun.syndication.feed.synd that implement SyndImage
+ classSyndImageImpl + +
+          Bean for images of SyndFeedImpl feeds.
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return SyndImage
+ SyndImageSyndFeed.getImage() + +
+          Returns the feed image.
+ SyndImageSyndFeedImpl.getImage() + +
+          Returns the feed image.
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd with parameters of type SyndImage
+ voidSyndFeed.setImage(SyndImage image) + +
+          Sets the feed image.
+ voidSyndFeedImpl.setImage(SyndImage image) + +
+          Sets the feed image.
+  +

+ + + + + +
+Uses of SyndImage in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return SyndImage
+protected  SyndImageConverterForRSS090.createSyndImage(Image rssImage) + +
+           
+protected  SyndImageConverterForRSS091Userland.createSyndImage(Image rssImage) + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type SyndImage
+protected  ImageConverterForRSS090.createRSSImage(SyndImage sImage) + +
+           
+protected  ImageConverterForRSS091Userland.createRSSImage(SyndImage sImage) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndImageImpl.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndImageImpl.html new file mode 100644 index 0000000..2f1c6d7 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndImageImpl.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.SyndImageImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.SyndImageImpl

+
+No usage of com.sun.syndication.feed.synd.SyndImageImpl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndLink.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndLink.html new file mode 100644 index 0000000..3be58fb --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndLink.html @@ -0,0 +1,325 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.synd.SyndLink (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.synd.SyndLink

+
+ + + + + + + + + + + + + +
+Packages that use SyndLink
com.sun.syndication.feed.synd  
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + +
+Uses of SyndLink in com.sun.syndication.feed.synd
+  +

+ + + + + + + + + +
Classes in com.sun.syndication.feed.synd that implement SyndLink
+ classSyndLinkImpl + +
+          Represents a link or an enclosure.
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return SyndLink
+ SyndLinkSyndEntry.findRelatedLink(String relation) + +
+          Returns the first instance of a SyndLink with the specified relation, or null
+ SyndLinkSyndEntryImpl.findRelatedLink(String relation) + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return types with arguments of type SyndLink
+ List<SyndLink>SyndEntry.getLinks() + +
+          Returns the entry links +
+ List<SyndLink>SyndFeed.getLinks() + +
+          Returns the entry links +
+ List<SyndLink>SyndEntryImpl.getLinks() + +
+          Returns the links +
+  +

+ + + + + + + + + + + + + +
Method parameters in com.sun.syndication.feed.synd with type arguments of type SyndLink
+ voidSyndEntry.setLinks(List<SyndLink> links) + +
+          Sets the entry links.
+ voidSyndFeed.setLinks(List<SyndLink> links) + +
+          Sets the entry links.
+  +

+ + + + + +
+Uses of SyndLink in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl that return SyndLink
+ SyndLinkConverterForAtom10.createSyndLink(Link link) + +
+           
+ SyndLinkConverterForAtom03.createSyndLink(Link link) + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd.impl with parameters of type SyndLink
+ LinkConverterForAtom10.createAtomLink(SyndLink syndLink) + +
+           
+ LinkConverterForAtom03.createAtomLink(SyndLink syndLink) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndLinkImpl.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndLinkImpl.html new file mode 100644 index 0000000..b4b72c0 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndLinkImpl.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.SyndLinkImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.SyndLinkImpl

+
+No usage of com.sun.syndication.feed.synd.SyndLinkImpl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndPerson.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndPerson.html new file mode 100644 index 0000000..1a6c307 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndPerson.html @@ -0,0 +1,261 @@ + + + + + + + +Uses of Interface com.sun.syndication.feed.synd.SyndPerson (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.feed.synd.SyndPerson

+
+ + + + + + + + + +
+Packages that use SyndPerson
com.sun.syndication.feed.synd  
+  +

+ + + + + +
+Uses of SyndPerson in com.sun.syndication.feed.synd
+  +

+ + + + + + + + + +
Classes in com.sun.syndication.feed.synd that implement SyndPerson
+ classSyndPersonImpl + +
+          Bean for authors and contributors of SyndFeedImpl feeds and entries.
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.feed.synd that return types with arguments of type SyndPerson
+ List<SyndPerson>SyndEntry.getAuthors() + +
+          Returns the entry authors.
+ List<SyndPerson>SyndFeed.getAuthors() + +
+          Returns the feed authors.
+ List<SyndPerson>SyndEntry.getContributors() + +
+          Returns the feed author.
+ List<SyndPerson>SyndFeed.getContributors() + +
+          Returns the feed author.
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Method parameters in com.sun.syndication.feed.synd with type arguments of type SyndPerson
+ voidSyndEntry.setAuthors(List<SyndPerson> authors) + +
+          Sets the entry author.
+ voidSyndFeed.setAuthors(List<SyndPerson> authors) + +
+          Sets the feed authors.
+ voidSyndEntry.setContributors(List<SyndPerson> contributors) + +
+          Sets the feed contributors.
+ voidSyndFeed.setContributors(List<SyndPerson> contributors) + +
+          Sets the feed author.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/class-use/SyndPersonImpl.html b/apidocs/com/sun/syndication/feed/synd/class-use/SyndPersonImpl.html new file mode 100644 index 0000000..a00cf41 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/class-use/SyndPersonImpl.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.SyndPersonImpl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.SyndPersonImpl

+
+No usage of com.sun.syndication.feed.synd.SyndPersonImpl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/ConverterForAtom03.html b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForAtom03.html new file mode 100644 index 0000000..c78026c --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForAtom03.html @@ -0,0 +1,588 @@ + + + + + + + +ConverterForAtom03 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd.impl +
+Class ConverterForAtom03

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.impl.ConverterForAtom03
+
+
+
All Implemented Interfaces:
Converter
+
+
+
+
public class ConverterForAtom03
extends Object
implements Converter
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ ConverterForAtom03() + +
+           
+protected ConverterForAtom03(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcopyInto(WireFeed feed, + SyndFeed syndFeed) + +
+          Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.
+ LinkcreateAtomEnclosure(SyndEnclosure syndEnclosure) + +
+           
+protected  ListcreateAtomEntries(List syndEntries) + +
+           
+protected  EntrycreateAtomEntry(SyndEntry sEntry) + +
+           
+ LinkcreateAtomLink(SyndLink syndLink) + +
+           
+protected static ListcreateAtomPersons(List sPersons) + +
+           
+ WireFeedcreateRealFeed(SyndFeed syndFeed) + +
+          Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.
+ SyndEnclosurecreateSyndEnclosure(Entry entry, + Link link) + +
+           
+protected  ListcreateSyndEntries(List atomEntries, + boolean preserveWireItems) + +
+           
+protected  SyndEntrycreateSyndEntry(Entry entry, + boolean preserveWireItem) + +
+           
+ SyndLinkcreateSyndLink(Link link) + +
+           
+protected  ListcreateSyndLinks(List aLinks) + +
+           
+protected static ListcreateSyndPersons(List aPersons) + +
+           
+ StringgetType() + +
+          Returns the type (version) of the real feed this converter handles.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConverterForAtom03

+
+public ConverterForAtom03()
+
+
+
+ +

+ConverterForAtom03

+
+protected ConverterForAtom03(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getType

+
+public String getType()
+
+
Description copied from interface: Converter
+
Returns the type (version) of the real feed this converter handles. +

+

+

+
Specified by:
getType in interface Converter
+
+
+ +
Returns:
the real feed type.
See Also:
for details on the format of this string. +

+
+
+
+ +

+copyInto

+
+public void copyInto(WireFeed feed,
+                     SyndFeed syndFeed)
+
+
Description copied from interface: Converter
+
Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl. +

+ It assumes the given SyndFeedImpl has no properties set. +

+

+

+
Specified by:
copyInto in interface Converter
+
+
+
Parameters:
feed - real feed to copy/convert.
syndFeed - the SyndFeedImpl that will contain the copied/converted values of the real feed.
+
+
+
+ +

+createSyndLinks

+
+protected List createSyndLinks(List aLinks)
+
+
+
+
+
+
+
+
+
+ +

+createSyndLink

+
+public SyndLink createSyndLink(Link link)
+
+
+
+
+
+
+
+
+
+ +

+createSyndEntries

+
+protected List createSyndEntries(List atomEntries,
+                                 boolean preserveWireItems)
+
+
+
+
+
+
+
+
+
+ +

+createSyndEntry

+
+protected SyndEntry createSyndEntry(Entry entry,
+                                    boolean preserveWireItem)
+
+
+
+
+
+
+
+
+
+ +

+createSyndEnclosure

+
+public SyndEnclosure createSyndEnclosure(Entry entry,
+                                         Link link)
+
+
+
+
+
+
+
+
+
+ +

+createRealFeed

+
+public WireFeed createRealFeed(SyndFeed syndFeed)
+
+
Description copied from interface: Converter
+
Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl. +

+

+

+
Specified by:
createRealFeed in interface Converter
+
+
+
Parameters:
syndFeed - SyndFeedImpl to copy/convert value from. +
Returns:
a real feed with copied/converted values of the SyndFeedImpl.
+
+
+
+ +

+createAtomPersons

+
+protected static List createAtomPersons(List sPersons)
+
+
+
+
+
+
+
+
+
+ +

+createSyndPersons

+
+protected static List createSyndPersons(List aPersons)
+
+
+
+
+
+
+
+
+
+ +

+createAtomEntries

+
+protected List createAtomEntries(List syndEntries)
+
+
+
+
+
+
+
+
+
+ +

+createAtomEntry

+
+protected Entry createAtomEntry(SyndEntry sEntry)
+
+
+
+
+
+
+
+
+
+ +

+createAtomLink

+
+public Link createAtomLink(SyndLink syndLink)
+
+
+
+
+
+
+
+
+
+ +

+createAtomEnclosure

+
+public Link createAtomEnclosure(SyndEnclosure syndEnclosure)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/ConverterForAtom10.html b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForAtom10.html new file mode 100644 index 0000000..dc3e8c0 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForAtom10.html @@ -0,0 +1,616 @@ + + + + + + + +ConverterForAtom10 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd.impl +
+Class ConverterForAtom10

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.impl.ConverterForAtom10
+
+
+
All Implemented Interfaces:
Converter
+
+
+
+
public class ConverterForAtom10
extends Object
implements Converter
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ ConverterForAtom10() + +
+           
+protected ConverterForAtom10(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcopyInto(WireFeed feed, + SyndFeed syndFeed) + +
+          Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.
+protected  ContentcreateAtomContent(SyndContent sContent) + +
+           
+protected  ListcreateAtomContents(List syndContents) + +
+           
+ LinkcreateAtomEnclosure(SyndEnclosure syndEnclosure) + +
+           
+protected  ListcreateAtomEntries(List syndEntries) + +
+           
+protected  EntrycreateAtomEntry(SyndEntry sEntry) + +
+           
+ LinkcreateAtomLink(SyndLink syndLink) + +
+           
+ WireFeedcreateRealFeed(SyndFeed syndFeed) + +
+          Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.
+protected  SyndContentcreateSyndContent(Content content) + +
+           
+ SyndEnclosurecreateSyndEnclosure(Feed feed, + Entry entry, + Link link) + +
+           
+protected  ListcreateSyndEntries(Feed feed, + List atomEntries, + boolean preserveWireItems) + +
+           
+protected  SyndEntrycreateSyndEntry(Feed feed, + Entry entry, + boolean preserveWireItem) + +
+           
+ SyndLinkcreateSyndLink(Link link) + +
+           
+protected  ListcreateSyndLinks(List aLinks) + +
+           
+ StringgetType() + +
+          Returns the type (version) of the real feed this converter handles.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConverterForAtom10

+
+public ConverterForAtom10()
+
+
+
+ +

+ConverterForAtom10

+
+protected ConverterForAtom10(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getType

+
+public String getType()
+
+
Description copied from interface: Converter
+
Returns the type (version) of the real feed this converter handles. +

+

+

+
Specified by:
getType in interface Converter
+
+
+ +
Returns:
the real feed type.
See Also:
for details on the format of this string. +

+
+
+
+ +

+copyInto

+
+public void copyInto(WireFeed feed,
+                     SyndFeed syndFeed)
+
+
Description copied from interface: Converter
+
Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl. +

+ It assumes the given SyndFeedImpl has no properties set. +

+

+

+
Specified by:
copyInto in interface Converter
+
+
+
Parameters:
feed - real feed to copy/convert.
syndFeed - the SyndFeedImpl that will contain the copied/converted values of the real feed.
+
+
+
+ +

+createSyndLinks

+
+protected List createSyndLinks(List aLinks)
+
+
+
+
+
+
+
+
+
+ +

+createSyndEntries

+
+protected List createSyndEntries(Feed feed,
+                                 List atomEntries,
+                                 boolean preserveWireItems)
+
+
+
+
+
+
+
+
+
+ +

+createSyndEntry

+
+protected SyndEntry createSyndEntry(Feed feed,
+                                    Entry entry,
+                                    boolean preserveWireItem)
+
+
+
+
+
+
+
+
+
+ +

+createSyndEnclosure

+
+public SyndEnclosure createSyndEnclosure(Feed feed,
+                                         Entry entry,
+                                         Link link)
+
+
+
+
+
+
+
+
+
+ +

+createAtomEnclosure

+
+public Link createAtomEnclosure(SyndEnclosure syndEnclosure)
+
+
+
+
+
+
+
+
+
+ +

+createSyndLink

+
+public SyndLink createSyndLink(Link link)
+
+
+
+
+
+
+
+
+
+ +

+createAtomLink

+
+public Link createAtomLink(SyndLink syndLink)
+
+
+
+
+
+
+
+
+
+ +

+createRealFeed

+
+public WireFeed createRealFeed(SyndFeed syndFeed)
+
+
Description copied from interface: Converter
+
Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl. +

+

+

+
Specified by:
createRealFeed in interface Converter
+
+
+
Parameters:
syndFeed - SyndFeedImpl to copy/convert value from. +
Returns:
a real feed with copied/converted values of the SyndFeedImpl.
+
+
+
+ +

+createSyndContent

+
+protected SyndContent createSyndContent(Content content)
+
+
+
+
+
+
+
+
+
+ +

+createAtomEntries

+
+protected List createAtomEntries(List syndEntries)
+
+
+
+
+
+
+
+
+
+ +

+createAtomContent

+
+protected Content createAtomContent(SyndContent sContent)
+
+
+
+
+
+
+
+
+
+ +

+createAtomContents

+
+protected List createAtomContents(List syndContents)
+
+
+
+
+
+
+
+
+
+ +

+createAtomEntry

+
+protected Entry createAtomEntry(SyndEntry sEntry)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS090.html b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS090.html new file mode 100644 index 0000000..4cbd487 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS090.html @@ -0,0 +1,503 @@ + + + + + + + +ConverterForRSS090 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd.impl +
+Class ConverterForRSS090

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.impl.ConverterForRSS090
+
+
+
All Implemented Interfaces:
Converter
+
+
+
Direct Known Subclasses:
ConverterForRSS091Userland, ConverterForRSS10
+
+
+
+
public class ConverterForRSS090
extends Object
implements Converter
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ ConverterForRSS090() + +
+           
+protected ConverterForRSS090(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcopyInto(WireFeed feed, + SyndFeed syndFeed) + +
+          Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.
+protected  WireFeedcreateRealFeed(String type, + SyndFeed syndFeed) + +
+           
+ WireFeedcreateRealFeed(SyndFeed syndFeed) + +
+          Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.
+protected  ImagecreateRSSImage(SyndImage sImage) + +
+           
+protected  ItemcreateRSSItem(SyndEntry sEntry) + +
+           
+protected  ListcreateRSSItems(List sEntries) + +
+           
+protected  ListcreateSyndEntries(List rssItems, + boolean preserveWireItems) + +
+           
+protected  SyndEntrycreateSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+protected  SyndImagecreateSyndImage(Image rssImage) + +
+           
+ StringgetType() + +
+          Returns the type (version) of the real feed this converter handles.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConverterForRSS090

+
+public ConverterForRSS090()
+
+
+
+ +

+ConverterForRSS090

+
+protected ConverterForRSS090(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getType

+
+public String getType()
+
+
Description copied from interface: Converter
+
Returns the type (version) of the real feed this converter handles. +

+

+

+
Specified by:
getType in interface Converter
+
+
+ +
Returns:
the real feed type.
See Also:
for details on the format of this string. +

+
+
+
+ +

+copyInto

+
+public void copyInto(WireFeed feed,
+                     SyndFeed syndFeed)
+
+
Description copied from interface: Converter
+
Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl. +

+ It assumes the given SyndFeedImpl has no properties set. +

+

+

+
Specified by:
copyInto in interface Converter
+
+
+
Parameters:
feed - real feed to copy/convert.
syndFeed - the SyndFeedImpl that will contain the copied/converted values of the real feed.
+
+
+
+ +

+createSyndImage

+
+protected SyndImage createSyndImage(Image rssImage)
+
+
+
+
+
+
+
+
+
+ +

+createSyndEntries

+
+protected List createSyndEntries(List rssItems,
+                                 boolean preserveWireItems)
+
+
+
+
+
+
+
+
+
+ +

+createSyndEntry

+
+protected SyndEntry createSyndEntry(Item item,
+                                    boolean preserveWireItem)
+
+
+
+
+
+
+
+
+
+ +

+createRealFeed

+
+public WireFeed createRealFeed(SyndFeed syndFeed)
+
+
Description copied from interface: Converter
+
Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl. +

+

+

+
Specified by:
createRealFeed in interface Converter
+
+
+
Parameters:
syndFeed - SyndFeedImpl to copy/convert value from. +
Returns:
a real feed with copied/converted values of the SyndFeedImpl.
+
+
+
+ +

+createRealFeed

+
+protected WireFeed createRealFeed(String type,
+                                  SyndFeed syndFeed)
+
+
+
+
+
+
+
+
+
+ +

+createRSSImage

+
+protected Image createRSSImage(SyndImage sImage)
+
+
+
+
+
+
+
+
+
+ +

+createRSSItems

+
+protected List createRSSItems(List sEntries)
+
+
+
+
+
+
+
+
+
+ +

+createRSSItem

+
+protected Item createRSSItem(SyndEntry sEntry)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS091Netscape.html b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS091Netscape.html new file mode 100644 index 0000000..67cdb6b --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS091Netscape.html @@ -0,0 +1,266 @@ + + + + + + + +ConverterForRSS091Netscape (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd.impl +
+Class ConverterForRSS091Netscape

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.impl.ConverterForRSS090
+      extended by com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland
+          extended by com.sun.syndication.feed.synd.impl.ConverterForRSS091Netscape
+
+
+
All Implemented Interfaces:
Converter
+
+
+
+
public class ConverterForRSS091Netscape
extends ConverterForRSS091Userland
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ ConverterForRSS091Netscape() + +
+           
+protected ConverterForRSS091Netscape(String type) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland
copyInto, createItemDescription, createRealFeed, createRSSImage, createRSSItem, createSyndEntry, createSyndImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS090
createRealFeed, createRSSItems, createSyndEntries, getType
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConverterForRSS091Netscape

+
+public ConverterForRSS091Netscape()
+
+
+
+ +

+ConverterForRSS091Netscape

+
+protected ConverterForRSS091Netscape(String type)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS091Userland.html b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS091Userland.html new file mode 100644 index 0000000..cc22e81 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS091Userland.html @@ -0,0 +1,431 @@ + + + + + + + +ConverterForRSS091Userland (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd.impl +
+Class ConverterForRSS091Userland

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.impl.ConverterForRSS090
+      extended by com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland
+
+
+
All Implemented Interfaces:
Converter
+
+
+
Direct Known Subclasses:
ConverterForRSS091Netscape, ConverterForRSS092
+
+
+
+
public class ConverterForRSS091Userland
extends ConverterForRSS090
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ ConverterForRSS091Userland() + +
+           
+protected ConverterForRSS091Userland(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcopyInto(WireFeed feed, + SyndFeed syndFeed) + +
+          Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.
+protected  DescriptioncreateItemDescription(SyndContent sContent) + +
+           
+protected  WireFeedcreateRealFeed(String type, + SyndFeed syndFeed) + +
+           
+protected  ImagecreateRSSImage(SyndImage sImage) + +
+           
+protected  ItemcreateRSSItem(SyndEntry sEntry) + +
+           
+protected  SyndEntrycreateSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+protected  SyndImagecreateSyndImage(Image rssImage) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS090
createRealFeed, createRSSItems, createSyndEntries, getType
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConverterForRSS091Userland

+
+public ConverterForRSS091Userland()
+
+
+
+ +

+ConverterForRSS091Userland

+
+protected ConverterForRSS091Userland(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+copyInto

+
+public void copyInto(WireFeed feed,
+                     SyndFeed syndFeed)
+
+
Description copied from interface: Converter
+
Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl. +

+ It assumes the given SyndFeedImpl has no properties set. +

+

+

+
Specified by:
copyInto in interface Converter
Overrides:
copyInto in class ConverterForRSS090
+
+
+
Parameters:
feed - real feed to copy/convert.
syndFeed - the SyndFeedImpl that will contain the copied/converted values of the real feed.
+
+
+
+ +

+createItemDescription

+
+protected Description createItemDescription(SyndContent sContent)
+
+
+
+
+
+
+ +

+createRSSImage

+
+protected Image createRSSImage(SyndImage sImage)
+
+
+
Overrides:
createRSSImage in class ConverterForRSS090
+
+
+
+
+
+
+ +

+createRSSItem

+
+protected Item createRSSItem(SyndEntry sEntry)
+
+
+
Overrides:
createRSSItem in class ConverterForRSS090
+
+
+
+
+
+
+ +

+createRealFeed

+
+protected WireFeed createRealFeed(String type,
+                                  SyndFeed syndFeed)
+
+
+
Overrides:
createRealFeed in class ConverterForRSS090
+
+
+
+
+
+
+ +

+createSyndEntry

+
+protected SyndEntry createSyndEntry(Item item,
+                                    boolean preserveWireItem)
+
+
+
Overrides:
createSyndEntry in class ConverterForRSS090
+
+
+
+
+
+
+ +

+createSyndImage

+
+protected SyndImage createSyndImage(Image rssImage)
+
+
+
Overrides:
createSyndImage in class ConverterForRSS090
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS092.html b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS092.html new file mode 100644 index 0000000..2fca38b --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS092.html @@ -0,0 +1,400 @@ + + + + + + + +ConverterForRSS092 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd.impl +
+Class ConverterForRSS092

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.impl.ConverterForRSS090
+      extended by com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland
+          extended by com.sun.syndication.feed.synd.impl.ConverterForRSS092
+
+
+
All Implemented Interfaces:
Converter
+
+
+
Direct Known Subclasses:
ConverterForRSS093
+
+
+
+
public class ConverterForRSS092
extends ConverterForRSS091Userland
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ ConverterForRSS092() + +
+           
+protected ConverterForRSS092(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  ListcreateEnclosures(List sEnclosures) + +
+           
+protected  ListcreateRSSCategories(List sCats) + +
+           
+protected  ItemcreateRSSItem(SyndEntry sEntry) + +
+           
+protected  ListcreateSyndCategories(List rssCats) + +
+           
+protected  ListcreateSyndEnclosures(List enclosures) + +
+           
+protected  SyndEntrycreateSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland
copyInto, createItemDescription, createRealFeed, createRSSImage, createSyndImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS090
createRealFeed, createRSSItems, createSyndEntries, getType
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConverterForRSS092

+
+public ConverterForRSS092()
+
+
+
+ +

+ConverterForRSS092

+
+protected ConverterForRSS092(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createSyndEntry

+
+protected SyndEntry createSyndEntry(Item item,
+                                    boolean preserveWireItem)
+
+
+
Overrides:
createSyndEntry in class ConverterForRSS091Userland
+
+
+
+
+
+
+ +

+createSyndCategories

+
+protected List createSyndCategories(List rssCats)
+
+
+
+
+
+
+ +

+createSyndEnclosures

+
+protected List createSyndEnclosures(List enclosures)
+
+
+
+
+
+
+ +

+createRSSItem

+
+protected Item createRSSItem(SyndEntry sEntry)
+
+
+
Overrides:
createRSSItem in class ConverterForRSS091Userland
+
+
+
+
+
+
+ +

+createRSSCategories

+
+protected List createRSSCategories(List sCats)
+
+
+
+
+
+
+ +

+createEnclosures

+
+protected List createEnclosures(List sEnclosures)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS093.html b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS093.html new file mode 100644 index 0000000..027d688 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS093.html @@ -0,0 +1,334 @@ + + + + + + + +ConverterForRSS093 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd.impl +
+Class ConverterForRSS093

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.impl.ConverterForRSS090
+      extended by com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland
+          extended by com.sun.syndication.feed.synd.impl.ConverterForRSS092
+              extended by com.sun.syndication.feed.synd.impl.ConverterForRSS093
+
+
+
All Implemented Interfaces:
Converter
+
+
+
Direct Known Subclasses:
ConverterForRSS094
+
+
+
+
public class ConverterForRSS093
extends ConverterForRSS092
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ ConverterForRSS093() + +
+           
+protected ConverterForRSS093(String type) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  ItemcreateRSSItem(SyndEntry sEntry) + +
+           
+protected  SyndEntrycreateSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS092
createEnclosures, createRSSCategories, createSyndCategories, createSyndEnclosures
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland
copyInto, createItemDescription, createRealFeed, createRSSImage, createSyndImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS090
createRealFeed, createRSSItems, createSyndEntries, getType
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConverterForRSS093

+
+public ConverterForRSS093()
+
+
+
+ +

+ConverterForRSS093

+
+protected ConverterForRSS093(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createSyndEntry

+
+protected SyndEntry createSyndEntry(Item item,
+                                    boolean preserveWireItem)
+
+
+
Overrides:
createSyndEntry in class ConverterForRSS092
+
+
+
+
+
+
+ +

+createRSSItem

+
+protected Item createRSSItem(SyndEntry sEntry)
+
+
+
Overrides:
createRSSItem in class ConverterForRSS092
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS094.html b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS094.html new file mode 100644 index 0000000..f8312c9 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS094.html @@ -0,0 +1,389 @@ + + + + + + + +ConverterForRSS094 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd.impl +
+Class ConverterForRSS094

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.impl.ConverterForRSS090
+      extended by com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland
+          extended by com.sun.syndication.feed.synd.impl.ConverterForRSS092
+              extended by com.sun.syndication.feed.synd.impl.ConverterForRSS093
+                  extended by com.sun.syndication.feed.synd.impl.ConverterForRSS094
+
+
+
All Implemented Interfaces:
Converter
+
+
+
Direct Known Subclasses:
ConverterForRSS20
+
+
+
+
public class ConverterForRSS094
extends ConverterForRSS093
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ ConverterForRSS094() + +
+           
+protected ConverterForRSS094(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcopyInto(WireFeed feed, + SyndFeed syndFeed) + +
+          Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.
+protected  WireFeedcreateRealFeed(String type, + SyndFeed syndFeed) + +
+           
+protected  ItemcreateRSSItem(SyndEntry sEntry) + +
+           
+protected  SyndEntrycreateSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS092
createEnclosures, createRSSCategories, createSyndCategories, createSyndEnclosures
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland
createItemDescription, createRSSImage, createSyndImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS090
createRealFeed, createRSSItems, createSyndEntries, getType
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConverterForRSS094

+
+public ConverterForRSS094()
+
+
+
+ +

+ConverterForRSS094

+
+protected ConverterForRSS094(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+copyInto

+
+public void copyInto(WireFeed feed,
+                     SyndFeed syndFeed)
+
+
Description copied from interface: Converter
+
Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl. +

+ It assumes the given SyndFeedImpl has no properties set. +

+

+

+
Specified by:
copyInto in interface Converter
Overrides:
copyInto in class ConverterForRSS091Userland
+
+
+
Parameters:
feed - real feed to copy/convert.
syndFeed - the SyndFeedImpl that will contain the copied/converted values of the real feed.
+
+
+
+ +

+createSyndEntry

+
+protected SyndEntry createSyndEntry(Item item,
+                                    boolean preserveWireItem)
+
+
+
Overrides:
createSyndEntry in class ConverterForRSS093
+
+
+
+
+
+
+ +

+createRealFeed

+
+protected WireFeed createRealFeed(String type,
+                                  SyndFeed syndFeed)
+
+
+
Overrides:
createRealFeed in class ConverterForRSS091Userland
+
+
+
+
+
+
+ +

+createRSSItem

+
+protected Item createRSSItem(SyndEntry sEntry)
+
+
+
Overrides:
createRSSItem in class ConverterForRSS093
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS10.html b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS10.html new file mode 100644 index 0000000..666caae --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS10.html @@ -0,0 +1,403 @@ + + + + + + + +ConverterForRSS10 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd.impl +
+Class ConverterForRSS10

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.impl.ConverterForRSS090
+      extended by com.sun.syndication.feed.synd.impl.ConverterForRSS10
+
+
+
All Implemented Interfaces:
Converter
+
+
+
+
public class ConverterForRSS10
extends ConverterForRSS090
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ ConverterForRSS10() + +
+           
+protected ConverterForRSS10(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcopyInto(WireFeed feed, + SyndFeed syndFeed) + +
+          Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl.
+protected  ContentcreateItemContent(SyndContent sContent) + +
+           
+protected  DescriptioncreateItemDescription(SyndContent sContent) + +
+           
+protected  WireFeedcreateRealFeed(String type, + SyndFeed syndFeed) + +
+           
+protected  ItemcreateRSSItem(SyndEntry sEntry) + +
+           
+protected  SyndEntrycreateSyndEntry(Item item, + boolean preserveWireItem) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS090
createRealFeed, createRSSImage, createRSSItems, createSyndEntries, createSyndImage, getType
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConverterForRSS10

+
+public ConverterForRSS10()
+
+
+
+ +

+ConverterForRSS10

+
+protected ConverterForRSS10(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+copyInto

+
+public void copyInto(WireFeed feed,
+                     SyndFeed syndFeed)
+
+
Description copied from interface: Converter
+
Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl. +

+ It assumes the given SyndFeedImpl has no properties set. +

+

+

+
Specified by:
copyInto in interface Converter
Overrides:
copyInto in class ConverterForRSS090
+
+
+
Parameters:
feed - real feed to copy/convert.
syndFeed - the SyndFeedImpl that will contain the copied/converted values of the real feed.
+
+
+
+ +

+createSyndEntry

+
+protected SyndEntry createSyndEntry(Item item,
+                                    boolean preserveWireItem)
+
+
+
Overrides:
createSyndEntry in class ConverterForRSS090
+
+
+
+
+
+
+ +

+createRealFeed

+
+protected WireFeed createRealFeed(String type,
+                                  SyndFeed syndFeed)
+
+
+
Overrides:
createRealFeed in class ConverterForRSS090
+
+
+
+
+
+
+ +

+createRSSItem

+
+protected Item createRSSItem(SyndEntry sEntry)
+
+
+
Overrides:
createRSSItem in class ConverterForRSS090
+
+
+
+
+
+
+ +

+createItemDescription

+
+protected Description createItemDescription(SyndContent sContent)
+
+
+
+
+
+
+ +

+createItemContent

+
+protected Content createItemContent(SyndContent sContent)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS20.html b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS20.html new file mode 100644 index 0000000..d947607 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/ConverterForRSS20.html @@ -0,0 +1,287 @@ + + + + + + + +ConverterForRSS20 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd.impl +
+Class ConverterForRSS20

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.impl.ConverterForRSS090
+      extended by com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland
+          extended by com.sun.syndication.feed.synd.impl.ConverterForRSS092
+              extended by com.sun.syndication.feed.synd.impl.ConverterForRSS093
+                  extended by com.sun.syndication.feed.synd.impl.ConverterForRSS094
+                      extended by com.sun.syndication.feed.synd.impl.ConverterForRSS20
+
+
+
All Implemented Interfaces:
Converter
+
+
+
+
public class ConverterForRSS20
extends ConverterForRSS094
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ ConverterForRSS20() + +
+           
+protected ConverterForRSS20(String type) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS094
copyInto, createRealFeed, createRSSItem, createSyndEntry
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS092
createEnclosures, createRSSCategories, createSyndCategories, createSyndEnclosures
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland
createItemDescription, createRSSImage, createSyndImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.feed.synd.impl.ConverterForRSS090
createRealFeed, createRSSItems, createSyndEntries, getType
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConverterForRSS20

+
+public ConverterForRSS20()
+
+
+
+ +

+ConverterForRSS20

+
+protected ConverterForRSS20(String type)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/Converters.html b/apidocs/com/sun/syndication/feed/synd/impl/Converters.html new file mode 100644 index 0000000..f4ad605 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/Converters.html @@ -0,0 +1,350 @@ + + + + + + + +Converters (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd.impl +
+Class Converters

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.PluginManager
+      extended by com.sun.syndication.feed.synd.impl.Converters
+
+
+
+
public class Converters
extends PluginManager
+ + +

+Created by IntelliJ IDEA. + User: tucu + Date: May 21, 2004 + Time: 5:26:04 PM + To change this template use Options | File Templates. +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static StringCONVERTERS_KEY + +
+          Converter.classes= [className] ...
+  + + + + + + + + + + +
+Constructor Summary
Converters() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ConvertergetConverter(String feedType) + +
+           
+protected  StringgetKey(Object obj) + +
+           
+ ListgetSupportedFeedTypes() + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.PluginManager
getKeys, getPlugin, getPluginMap, getPlugins
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CONVERTERS_KEY

+
+public static final String CONVERTERS_KEY
+
+
Converter.classes= [className] ... +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Converters

+
+public Converters()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getConverter

+
+public Converter getConverter(String feedType)
+
+
+
+
+
+
+ +

+getKey

+
+protected String getKey(Object obj)
+
+
+
Specified by:
getKey in class PluginManager
+
+
+
+
+
+
+ +

+getSupportedFeedTypes

+
+public List getSupportedFeedTypes()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/URINormalizer.html b/apidocs/com/sun/syndication/feed/synd/impl/URINormalizer.html new file mode 100644 index 0000000..8c18009 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/URINormalizer.html @@ -0,0 +1,266 @@ + + + + + + + +URINormalizer (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.feed.synd.impl +
+Class URINormalizer

+
+java.lang.Object
+  extended by com.sun.syndication.feed.synd.impl.URINormalizer
+
+
+
+
public class URINormalizer
extends Object
+ + +

+Utility class for normalizing an URI as specified in RFC 2396bis. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
URINormalizer() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static Stringnormalize(String uri) + +
+          Normalizes an URI as specified in RFC 2396bis.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+URINormalizer

+
+public URINormalizer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+normalize

+
+public static String normalize(String uri)
+
+
Normalizes an URI as specified in RFC 2396bis. +

+

+

+
Parameters:
uri - to normalize. +
Returns:
the normalized value of the given URI, or null if the given URI was null.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForAtom03.html b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForAtom03.html new file mode 100644 index 0000000..9fc9fb0 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForAtom03.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.impl.ConverterForAtom03 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.impl.ConverterForAtom03

+
+No usage of com.sun.syndication.feed.synd.impl.ConverterForAtom03 +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForAtom10.html b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForAtom10.html new file mode 100644 index 0000000..5f1d2e0 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForAtom10.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.impl.ConverterForAtom10 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.impl.ConverterForAtom10

+
+No usage of com.sun.syndication.feed.synd.impl.ConverterForAtom10 +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS090.html b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS090.html new file mode 100644 index 0000000..f79c902 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS090.html @@ -0,0 +1,229 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.impl.ConverterForRSS090 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.impl.ConverterForRSS090

+
+ + + + + + + + + +
+Packages that use ConverterForRSS090
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + +
+Uses of ConverterForRSS090 in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of ConverterForRSS090 in com.sun.syndication.feed.synd.impl
+ classConverterForRSS091Netscape + +
+           
+ classConverterForRSS091Userland + +
+           
+ classConverterForRSS092 + +
+           
+ classConverterForRSS093 + +
+           
+ classConverterForRSS094 + +
+           
+ classConverterForRSS10 + +
+           
+ classConverterForRSS20 + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS091Netscape.html b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS091Netscape.html new file mode 100644 index 0000000..fba1ac2 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS091Netscape.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.impl.ConverterForRSS091Netscape (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.impl.ConverterForRSS091Netscape

+
+No usage of com.sun.syndication.feed.synd.impl.ConverterForRSS091Netscape +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS091Userland.html b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS091Userland.html new file mode 100644 index 0000000..9c66368 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS091Userland.html @@ -0,0 +1,213 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland

+
+ + + + + + + + + +
+Packages that use ConverterForRSS091Userland
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + +
+Uses of ConverterForRSS091Userland in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of ConverterForRSS091Userland in com.sun.syndication.feed.synd.impl
+ classConverterForRSS091Netscape + +
+           
+ classConverterForRSS092 + +
+           
+ classConverterForRSS093 + +
+           
+ classConverterForRSS094 + +
+           
+ classConverterForRSS20 + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS092.html b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS092.html new file mode 100644 index 0000000..d68f756 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS092.html @@ -0,0 +1,197 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.impl.ConverterForRSS092 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.impl.ConverterForRSS092

+
+ + + + + + + + + +
+Packages that use ConverterForRSS092
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + +
+Uses of ConverterForRSS092 in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + + + + + +
Subclasses of ConverterForRSS092 in com.sun.syndication.feed.synd.impl
+ classConverterForRSS093 + +
+           
+ classConverterForRSS094 + +
+           
+ classConverterForRSS20 + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS093.html b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS093.html new file mode 100644 index 0000000..543ba05 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS093.html @@ -0,0 +1,189 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.impl.ConverterForRSS093 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.impl.ConverterForRSS093

+
+ + + + + + + + + +
+Packages that use ConverterForRSS093
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + +
+Uses of ConverterForRSS093 in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + + + + + +
Subclasses of ConverterForRSS093 in com.sun.syndication.feed.synd.impl
+ classConverterForRSS094 + +
+           
+ classConverterForRSS20 + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS094.html b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS094.html new file mode 100644 index 0000000..4ba01de --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS094.html @@ -0,0 +1,181 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.impl.ConverterForRSS094 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.impl.ConverterForRSS094

+
+ + + + + + + + + +
+Packages that use ConverterForRSS094
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + +
+Uses of ConverterForRSS094 in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + +
Subclasses of ConverterForRSS094 in com.sun.syndication.feed.synd.impl
+ classConverterForRSS20 + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS10.html b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS10.html new file mode 100644 index 0000000..9bf9427 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS10.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.impl.ConverterForRSS10 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.impl.ConverterForRSS10

+
+No usage of com.sun.syndication.feed.synd.impl.ConverterForRSS10 +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS20.html b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS20.html new file mode 100644 index 0000000..0810111 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/class-use/ConverterForRSS20.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.impl.ConverterForRSS20 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.impl.ConverterForRSS20

+
+No usage of com.sun.syndication.feed.synd.impl.ConverterForRSS20 +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/class-use/Converters.html b/apidocs/com/sun/syndication/feed/synd/impl/class-use/Converters.html new file mode 100644 index 0000000..73c8d6b --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/class-use/Converters.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.impl.Converters (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.impl.Converters

+
+No usage of com.sun.syndication.feed.synd.impl.Converters +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/class-use/URINormalizer.html b/apidocs/com/sun/syndication/feed/synd/impl/class-use/URINormalizer.html new file mode 100644 index 0000000..8ea60e2 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/class-use/URINormalizer.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.feed.synd.impl.URINormalizer (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.feed.synd.impl.URINormalizer

+
+No usage of com.sun.syndication.feed.synd.impl.URINormalizer +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/package-frame.html b/apidocs/com/sun/syndication/feed/synd/impl/package-frame.html new file mode 100644 index 0000000..82d39b3 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/package-frame.html @@ -0,0 +1,55 @@ + + + + + + + +com.sun.syndication.feed.synd.impl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + +com.sun.syndication.feed.synd.impl + + + + +
+Classes  + +
+ConverterForAtom03 +
+ConverterForAtom10 +
+ConverterForRSS090 +
+ConverterForRSS091Netscape +
+ConverterForRSS091Userland +
+ConverterForRSS092 +
+ConverterForRSS093 +
+ConverterForRSS094 +
+ConverterForRSS10 +
+ConverterForRSS20 +
+Converters +
+URINormalizer
+ + + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/package-summary.html b/apidocs/com/sun/syndication/feed/synd/impl/package-summary.html new file mode 100644 index 0000000..712a239 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/package-summary.html @@ -0,0 +1,202 @@ + + + + + + + +com.sun.syndication.feed.synd.impl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.sun.syndication.feed.synd.impl +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ConverterForAtom03 
ConverterForAtom10 
ConverterForRSS090 
ConverterForRSS091Netscape 
ConverterForRSS091Userland 
ConverterForRSS092 
ConverterForRSS093 
ConverterForRSS094 
ConverterForRSS10 
ConverterForRSS20 
ConvertersCreated by IntelliJ IDEA.
URINormalizerUtility class for normalizing an URI as specified in RFC 2396bis.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/package-tree.html b/apidocs/com/sun/syndication/feed/synd/impl/package-tree.html new file mode 100644 index 0000000..624c38b --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/package-tree.html @@ -0,0 +1,169 @@ + + + + + + + +com.sun.syndication.feed.synd.impl Class Hierarchy (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.sun.syndication.feed.synd.impl +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/impl/package-use.html b/apidocs/com/sun/syndication/feed/synd/impl/package-use.html new file mode 100644 index 0000000..04c03f8 --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/impl/package-use.html @@ -0,0 +1,195 @@ + + + + + + + +Uses of Package com.sun.syndication.feed.synd.impl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.sun.syndication.feed.synd.impl

+
+ + + + + + + + + +
+Packages that use com.sun.syndication.feed.synd.impl
com.sun.syndication.feed.synd.impl  
+  +

+ + + + + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.feed.synd.impl used by com.sun.syndication.feed.synd.impl
ConverterForRSS090 + +
+           
ConverterForRSS091Userland + +
+           
ConverterForRSS092 + +
+           
ConverterForRSS093 + +
+           
ConverterForRSS094 + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/package-frame.html b/apidocs/com/sun/syndication/feed/synd/package-frame.html new file mode 100644 index 0000000..354cd6f --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/package-frame.html @@ -0,0 +1,74 @@ + + + + + + + +com.sun.syndication.feed.synd (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + +com.sun.syndication.feed.synd + + + + +
+Interfaces  + +
+Converter +
+SyndCategory +
+SyndContent +
+SyndEnclosure +
+SyndEntry +
+SyndFeed +
+SyndImage +
+SyndLink +
+SyndPerson
+ + + + + + +
+Classes  + +
+SyndCategoryImpl +
+SyndContentImpl +
+SyndEnclosureImpl +
+SyndEntryImpl +
+SyndFeedImpl +
+SyndImageImpl +
+SyndLinkImpl +
+SyndPersonImpl
+ + + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/package-summary.html b/apidocs/com/sun/syndication/feed/synd/package-summary.html new file mode 100644 index 0000000..2ca933d --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/package-summary.html @@ -0,0 +1,233 @@ + + + + + + + +com.sun.syndication.feed.synd (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.sun.syndication.feed.synd +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
ConverterInterface that defines the functionality to convert a SyndFeedImpl + to a real feed (RSS or Atom) and vice versa.
SyndCategoryBean interface for categories of SyndFeedImpl feeds and entries.
SyndContentBean interface for content of SyndFeedImpl entries.
SyndEnclosure 
SyndEntryBean interface for entries of SyndFeedImpl feeds.
SyndFeedBean interface for all types of feeds.
SyndImageBean interface for images of SyndFeedImpl feeds.
SyndLinkRepresents a link or enclosure associated with entry.
SyndPersonBean interface for authors and contributors of SyndFeedImpl feeds and entries.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
SyndCategoryImplBean for categories of SyndFeedImpl feeds and entries.
SyndContentImplBean for content of SyndFeedImpl entries.
SyndEnclosureImpl 
SyndEntryImplBean for entries of SyndFeedImpl feeds.
SyndFeedImplBean for all types of feeds.
SyndImageImplBean for images of SyndFeedImpl feeds.
SyndLinkImplRepresents a link or an enclosure.
SyndPersonImplBean for authors and contributors of SyndFeedImpl feeds and entries.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/package-tree.html b/apidocs/com/sun/syndication/feed/synd/package-tree.html new file mode 100644 index 0000000..00cf76c --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/package-tree.html @@ -0,0 +1,187 @@ + + + + + + + +com.sun.syndication.feed.synd Class Hierarchy (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.sun.syndication.feed.synd +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/feed/synd/package-use.html b/apidocs/com/sun/syndication/feed/synd/package-use.html new file mode 100644 index 0000000..3859dce --- /dev/null +++ b/apidocs/com/sun/syndication/feed/synd/package-use.html @@ -0,0 +1,288 @@ + + + + + + + +Uses of Package com.sun.syndication.feed.synd (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.sun.syndication.feed.synd

+
+ + + + + + + + + + + + + + + + + +
+Packages that use com.sun.syndication.feed.synd
com.sun.syndication.feed.synd  
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.feed.synd used by com.sun.syndication.feed.synd
SyndCategory + +
+          Bean interface for categories of SyndFeedImpl feeds and entries.
SyndContent + +
+          Bean interface for content of SyndFeedImpl entries.
SyndEnclosure + +
+           
SyndEntry + +
+          Bean interface for entries of SyndFeedImpl feeds.
SyndFeed + +
+          Bean interface for all types of feeds.
SyndImage + +
+          Bean interface for images of SyndFeedImpl feeds.
SyndLink + +
+          Represents a link or enclosure associated with entry.
SyndPerson + +
+          Bean interface for authors and contributors of SyndFeedImpl feeds and entries.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.feed.synd used by com.sun.syndication.feed.synd.impl
Converter + +
+          Interface that defines the functionality to convert a SyndFeedImpl + to a real feed (RSS or Atom) and vice versa.
SyndContent + +
+          Bean interface for content of SyndFeedImpl entries.
SyndEnclosure + +
+           
SyndEntry + +
+          Bean interface for entries of SyndFeedImpl feeds.
SyndFeed + +
+          Bean interface for all types of feeds.
SyndImage + +
+          Bean interface for images of SyndFeedImpl feeds.
SyndLink + +
+          Represents a link or enclosure associated with entry.
+  +

+ + + + + + + + +
+Classes in com.sun.syndication.feed.synd used by com.sun.syndication.io
SyndFeed + +
+          Bean interface for all types of feeds.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/DelegatingModuleGenerator.html b/apidocs/com/sun/syndication/io/DelegatingModuleGenerator.html new file mode 100644 index 0000000..bd053df --- /dev/null +++ b/apidocs/com/sun/syndication/io/DelegatingModuleGenerator.html @@ -0,0 +1,233 @@ + + + + + + + +DelegatingModuleGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Interface DelegatingModuleGenerator

+
+
All Superinterfaces:
ModuleGenerator
+
+
+
+
public interface DelegatingModuleGenerator
extends ModuleGenerator
+ + +

+Adds the ability to give a direct wire feed generator reference to plugin + modules that need to call back to their wire feed to complete + generation of their particular namespace. Examples of such parsers + include the SSE091Generator. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidsetFeedGenerator(WireFeedGenerator feedGenerator) + +
+          Provides a parent wirefeed reference to this ModuleParser, + or "plugin-in".
+ + + + + + + +
Methods inherited from interface com.sun.syndication.io.ModuleGenerator
generate, getNamespaces, getNamespaceUri
+  +

+ + + + + + + + +
+Method Detail
+ +

+setFeedGenerator

+
+void setFeedGenerator(WireFeedGenerator feedGenerator)
+
+
Provides a parent wirefeed reference to this ModuleParser, + or "plugin-in". +

+

+
+
+
+
Parameters:
feedGenerator - the parent wirefeed generator for this plugin.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/DelegatingModuleParser.html b/apidocs/com/sun/syndication/io/DelegatingModuleParser.html new file mode 100644 index 0000000..6676928 --- /dev/null +++ b/apidocs/com/sun/syndication/io/DelegatingModuleParser.html @@ -0,0 +1,233 @@ + + + + + + + +DelegatingModuleParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Interface DelegatingModuleParser

+
+
All Superinterfaces:
ModuleParser
+
+
+
+
public interface DelegatingModuleParser
extends ModuleParser
+ + +

+Adds the ability to give a direct wire feed reference to plugin + modules that need to call back to their wire feed to complete + parsing of their particular namespace. Examples of such parsers + include the SSE091Parser. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidsetFeedParser(WireFeedParser feedParser) + +
+          Provides a parent wirefeed reference to this ModuleParser, + or "plugin-in".
+ + + + + + + +
Methods inherited from interface com.sun.syndication.io.ModuleParser
getNamespaceUri, parse
+  +

+ + + + + + + + +
+Method Detail
+ +

+setFeedParser

+
+void setFeedParser(WireFeedParser feedParser)
+
+
Provides a parent wirefeed reference to this ModuleParser, + or "plugin-in". +

+

+
+
+
+
Parameters:
feedParser - the parent wirefeed parser for this plugin.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/FeedException.html b/apidocs/com/sun/syndication/io/FeedException.html new file mode 100644 index 0000000..55ec96f --- /dev/null +++ b/apidocs/com/sun/syndication/io/FeedException.html @@ -0,0 +1,278 @@ + + + + + + + +FeedException (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Class FeedException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by com.sun.syndication.io.FeedException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
Direct Known Subclasses:
ParsingFeedException
+
+
+
+
public class FeedException
extends Exception
+ + +

+Exception thrown by WireFeedInput, WireFeedOutput, WireFeedParser and WireFeedGenerator instances if they + can not parse or generate a feed. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
FeedException(String msg) + +
+          Creates a FeedException with a message.
FeedException(String msg, + Throwable rootCause) + +
+          Creates a FeedException with a message and a root cause exception.
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FeedException

+
+public FeedException(String msg)
+
+
Creates a FeedException with a message. +

+

+

+
Parameters:
msg - exception message.
+
+
+ +

+FeedException

+
+public FeedException(String msg,
+                     Throwable rootCause)
+
+
Creates a FeedException with a message and a root cause exception. +

+

+

+
Parameters:
msg - exception message.
rootCause - root cause exception.
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/ModuleGenerator.html b/apidocs/com/sun/syndication/io/ModuleGenerator.html new file mode 100644 index 0000000..fc4e5a5 --- /dev/null +++ b/apidocs/com/sun/syndication/io/ModuleGenerator.html @@ -0,0 +1,280 @@ + + + + + + + +ModuleGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Interface ModuleGenerator

+
+
All Known Subinterfaces:
DelegatingModuleGenerator
+
+
+
All Known Implementing Classes:
DCModuleGenerator, SyModuleGenerator
+
+
+
+
public interface ModuleGenerator
+ + +

+Injects module metadata into a XML node (JDOM element). +

+ ModuleGenerator instances must thread safe. +

+ TODO: explain how developers can plugin their own implementations. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgenerate(Module module, + org.jdom.Element element) + +
+          Generates and injects module metadata into an XML node (JDOM element).
+ SetgetNamespaces() + +
+          Returns a set with all the URIs (JDOM Namespace elements) this module generator uses.
+ StringgetNamespaceUri() + +
+          Returns the namespace URI this generator handles.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getNamespaceUri

+
+String getNamespaceUri()
+
+
Returns the namespace URI this generator handles. +

+

+

+ +
Returns:
the namespace URI.
+
+
+
+ +

+getNamespaces

+
+Set getNamespaces()
+
+
Returns a set with all the URIs (JDOM Namespace elements) this module generator uses. +

+ It is used by the the feed generators to add their namespace definition in + the root element of the generated document (forward-missing of Java 5.0 Generics). +

+

+

+ +
Returns:
a set with all the URIs (JDOM Namespace elements) this module generator uses.
+
+
+
+ +

+generate

+
+void generate(Module module,
+              org.jdom.Element element)
+
+
Generates and injects module metadata into an XML node (JDOM element). +

+

+

+
Parameters:
module - the module to inject into the XML node (JDOM element).
element - the XML node into which module meta-data will be injected.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/ModuleParser.html b/apidocs/com/sun/syndication/io/ModuleParser.html new file mode 100644 index 0000000..bd83823 --- /dev/null +++ b/apidocs/com/sun/syndication/io/ModuleParser.html @@ -0,0 +1,253 @@ + + + + + + + +ModuleParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Interface ModuleParser

+
+
All Known Subinterfaces:
DelegatingModuleParser
+
+
+
All Known Implementing Classes:
DCModuleParser, SyModuleParser
+
+
+
+
public interface ModuleParser
+ + +

+Parses module metadata from a XML node (JDOM element). +

+ ModuleParser instances must thread safe. +

+ TODO: explain how developers can plugin their own implementations. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetNamespaceUri() + +
+          Returns the namespace URI this parser handles.
+ Moduleparse(org.jdom.Element element) + +
+          Parses the XML node (JDOM element) extracting module information.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getNamespaceUri

+
+String getNamespaceUri()
+
+
Returns the namespace URI this parser handles. +

+

+

+ +
Returns:
the namespace URI.
+
+
+
+ +

+parse

+
+Module parse(org.jdom.Element element)
+
+
Parses the XML node (JDOM element) extracting module information. +

+

+

+
Parameters:
element - the XML node (JDOM element) to extract module information from. +
Returns:
a module instance, null if the element did not have module information.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/ParsingFeedException.html b/apidocs/com/sun/syndication/io/ParsingFeedException.html new file mode 100644 index 0000000..78565fb --- /dev/null +++ b/apidocs/com/sun/syndication/io/ParsingFeedException.html @@ -0,0 +1,338 @@ + + + + + + + +ParsingFeedException (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Class ParsingFeedException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by com.sun.syndication.io.FeedException
+              extended by com.sun.syndication.io.ParsingFeedException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class ParsingFeedException
extends FeedException
+ + +

+Exception thrown by WireFeedInput instance if it can not parse a feed. +

+

+ +

+

+
Author:
+
Elaine Chien
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ParsingFeedException(String msg) + +
+          Creates a FeedException with a message.
ParsingFeedException(String msg, + Throwable rootCause) + +
+          Creates a FeedException with a message and a root cause exception.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ intgetColumnNumber() + +
+          Returns the column number of the end of the text where the + parse error occurred.
+ intgetLineNumber() + +
+          Returns the line number of the end of the text where the + parse error occurred.
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParsingFeedException

+
+public ParsingFeedException(String msg)
+
+
Creates a FeedException with a message. +

+

+

+
Parameters:
msg - exception message.
+
+
+ +

+ParsingFeedException

+
+public ParsingFeedException(String msg,
+                            Throwable rootCause)
+
+
Creates a FeedException with a message and a root cause exception. +

+

+

+
Parameters:
msg - exception message.
rootCause - root cause exception.
+
+ + + + + + + + +
+Method Detail
+ +

+getLineNumber

+
+public int getLineNumber()
+
+
Returns the line number of the end of the text where the + parse error occurred. +

+ The first line in the document is line 1.

+

+

+ +
Returns:
an integer representing the line number, or -1 + if the information is not available.
+
+
+
+ +

+getColumnNumber

+
+public int getColumnNumber()
+
+
Returns the column number of the end of the text where the + parse error occurred. +

+ The first column in a line is position 1.

+

+

+ +
Returns:
an integer representing the column number, or -1 + if the information is not available.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/SAXBuilder.html b/apidocs/com/sun/syndication/io/SAXBuilder.html new file mode 100644 index 0000000..2ec190a --- /dev/null +++ b/apidocs/com/sun/syndication/io/SAXBuilder.html @@ -0,0 +1,269 @@ + + + + + + + +SAXBuilder (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Class SAXBuilder

+
+java.lang.Object
+  extended by org.jdom.input.SAXBuilder
+      extended by com.sun.syndication.io.SAXBuilder
+
+
+
+
public class SAXBuilder
extends org.jdom.input.SAXBuilder
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SAXBuilder(boolean _validate) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ XMLReadercreateParser() + +
+           
+ + + + + + + +
Methods inherited from class org.jdom.input.SAXBuilder
build, build, build, build, build, build, build, build, configureContentHandler, configureParser, createContentHandler, getDriverClass, getDTDHandler, getEntityResolver, getErrorHandler, getExpandEntities, getFactory, getIgnoringBoundaryWhitespace, getIgnoringElementContentWhitespace, getReuseParser, getValidation, getXMLFilter, setDTDHandler, setEntityResolver, setErrorHandler, setExpandEntities, setFactory, setFastReconfigure, setFeature, setIgnoringBoundaryWhitespace, setIgnoringElementContentWhitespace, setProperty, setReuseParser, setValidation, setXMLFilter
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SAXBuilder

+
+public SAXBuilder(boolean _validate)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createParser

+
+public XMLReader createParser()
+                       throws org.jdom.JDOMException
+
+
+
Overrides:
createParser in class org.jdom.input.SAXBuilder
+
+
+ +
Throws: +
org.jdom.JDOMException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/SyndFeedInput.html b/apidocs/com/sun/syndication/io/SyndFeedInput.html new file mode 100644 index 0000000..678b997 --- /dev/null +++ b/apidocs/com/sun/syndication/io/SyndFeedInput.html @@ -0,0 +1,512 @@ + + + + + + + +SyndFeedInput (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Class SyndFeedInput

+
+java.lang.Object
+  extended by com.sun.syndication.io.SyndFeedInput
+
+
+
+
public class SyndFeedInput
extends Object
+ + +

+Parses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom DOcument) + into an SyndFeedImpl. +

+ It delegates to a WireFeedInput to handle all feed types. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
SyndFeedInput() + +
+          Creates a SyndFeedInput instance with input validation turned off.
SyndFeedInput(boolean validate) + +
+          Creates a SyndFeedInput instance.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SyndFeedbuild(Document document) + +
+          Builds SyndFeedImpl from an W3C DOM document.
+ SyndFeedbuild(org.jdom.Document document) + +
+          Builds SyndFeedImpl from an JDOM document.
+ SyndFeedbuild(File file) + +
+          Builds SyndFeedImpl from a file.
+ SyndFeedbuild(InputSource is) + +
+          Builds SyndFeedImpl from an W3C SAX InputSource.
+ SyndFeedbuild(Reader reader) + +
+          Builds SyndFeedImpl from an Reader.
+ booleangetXmlHealerOn() + +
+          Indicates if the WiredFeedInput instance will XML heal (if necessary) the character stream.
+ booleanisPreserveWireFeed() + +
+           
+ voidsetPreserveWireFeed(boolean preserveWireFeed) + +
+           
+ voidsetXmlHealerOn(boolean heals) + +
+          Enables XML healing in the WiredFeedInput instance.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyndFeedInput

+
+public SyndFeedInput()
+
+
Creates a SyndFeedInput instance with input validation turned off. +

+

+

+
+ +

+SyndFeedInput

+
+public SyndFeedInput(boolean validate)
+
+
Creates a SyndFeedInput instance. +

+

+

+
Parameters:
validate - indicates if the input should be validated. NOT IMPLEMENTED YET (validation does not happen)
+
+ + + + + + + + +
+Method Detail
+ +

+setXmlHealerOn

+
+public void setXmlHealerOn(boolean heals)
+
+
Enables XML healing in the WiredFeedInput instance. +

+ Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog. +

+ Healing resolves HTML entities (from literal to code number) in the reader. +

+ The healing is done only with the build(File) and build(Reader) signatures. +

+ By default is TRUE. +

+

+

+
Parameters:
heals - TRUE enables stream healing, FALSE disables it.
+
+
+
+ +

+getXmlHealerOn

+
+public boolean getXmlHealerOn()
+
+
Indicates if the WiredFeedInput instance will XML heal (if necessary) the character stream. +

+ Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog. +

+ Healing resolves HTML entities (from literal to code number) in the reader. +

+ The healing is done only with the build(File) and build(Reader) signatures. +

+ By default is TRUE. +

+

+

+ +
Returns:
TRUE if healing is enabled, FALSE if not.
+
+
+
+ +

+build

+
+public SyndFeed build(File file)
+               throws FileNotFoundException,
+                      IOException,
+                      IllegalArgumentException,
+                      FeedException
+
+
Builds SyndFeedImpl from a file. +

+

+

+
Parameters:
file - file to read to create the SyndFeedImpl. +
Returns:
the SyndFeedImpl read from the file. +
Throws: +
FileNotFoundException - thrown if the file could not be found. +
IOException - thrown if there is problem reading the file. +
IllegalArgumentException - thrown if feed type could not be understood by any of the underlying parsers. +
FeedException - if the feed could not be parsed
+
+
+
+ +

+build

+
+public SyndFeed build(Reader reader)
+               throws IllegalArgumentException,
+                      FeedException
+
+
Builds SyndFeedImpl from an Reader. +

+

+

+
Parameters:
reader - Reader to read to create the SyndFeedImpl. +
Returns:
the SyndFeedImpl read from the Reader. +
Throws: +
IllegalArgumentException - thrown if feed type could not be understood by any of the underlying parsers. +
FeedException - if the feed could not be parsed
+
+
+
+ +

+build

+
+public SyndFeed build(InputSource is)
+               throws IllegalArgumentException,
+                      FeedException
+
+
Builds SyndFeedImpl from an W3C SAX InputSource. +

+

+

+
Parameters:
is - W3C SAX InputSource to read to create the SyndFeedImpl. +
Returns:
the SyndFeedImpl read from the W3C SAX InputSource. +
Throws: +
IllegalArgumentException - thrown if feed type could not be understood by any of the underlying parsers. +
FeedException - if the feed could not be parsed
+
+
+
+ +

+build

+
+public SyndFeed build(Document document)
+               throws IllegalArgumentException,
+                      FeedException
+
+
Builds SyndFeedImpl from an W3C DOM document. +

+

+

+
Parameters:
document - W3C DOM document to read to create the SyndFeedImpl. +
Returns:
the SyndFeedImpl read from the W3C DOM document. +
Throws: +
IllegalArgumentException - thrown if feed type could not be understood by any of the underlying parsers. +
FeedException - if the feed could not be parsed
+
+
+
+ +

+build

+
+public SyndFeed build(org.jdom.Document document)
+               throws IllegalArgumentException,
+                      FeedException
+
+
Builds SyndFeedImpl from an JDOM document. +

+

+

+
Parameters:
document - JDOM document to read to create the SyndFeedImpl. +
Returns:
the SyndFeedImpl read from the JDOM document. +
Throws: +
IllegalArgumentException - thrown if feed type could not be understood by any of the underlying parsers. +
FeedException - if the feed could not be parsed
+
+
+
+ +

+isPreserveWireFeed

+
+public boolean isPreserveWireFeed()
+
+
+ +
Returns:
true if the WireFeed is made available in the SyndFeed. False by default.
+
+
+
+ +

+setPreserveWireFeed

+
+public void setPreserveWireFeed(boolean preserveWireFeed)
+
+
+
Parameters:
preserveWireFeed - set to true to make the WireFeed is made available in the SyndFeed. False by default.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/SyndFeedOutput.html b/apidocs/com/sun/syndication/io/SyndFeedOutput.html new file mode 100644 index 0000000..0b5e5f9 --- /dev/null +++ b/apidocs/com/sun/syndication/io/SyndFeedOutput.html @@ -0,0 +1,511 @@ + + + + + + + +SyndFeedOutput (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Class SyndFeedOutput

+
+java.lang.Object
+  extended by com.sun.syndication.io.SyndFeedOutput
+
+
+
+
public class SyndFeedOutput
extends Object
+ + +

+Generates an XML document (String, File, OutputStream, Writer, W3C DOM document or JDOM document) + out of an SyndFeedImpl.. +

+ It delegates to a WireFeedOutput to generate all feed types. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SyndFeedOutput() + +
+          Creates a SyndFeedOutput instance.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidoutput(SyndFeed feed, + File file) + +
+          Creates a File containing with the XML representation for the given SyndFeedImpl.
+ voidoutput(SyndFeed feed, + File file, + boolean prettyPrint) + +
+          Creates a File containing with the XML representation for the given SyndFeedImpl.
+ voidoutput(SyndFeed feed, + Writer writer) + +
+          Writes to an Writer the XML representation for the given SyndFeedImpl.
+ voidoutput(SyndFeed feed, + Writer writer, + boolean prettyPrint) + +
+          Writes to an Writer the XML representation for the given SyndFeedImpl.
+ org.jdom.DocumentoutputJDom(SyndFeed feed) + +
+          Creates a JDOM document for the given SyndFeedImpl.
+ StringoutputString(SyndFeed feed) + +
+          Creates a String with the XML representation for the given SyndFeedImpl.
+ StringoutputString(SyndFeed feed, + boolean prettyPrint) + +
+          Creates a String with the XML representation for the given SyndFeedImpl.
+ DocumentoutputW3CDom(SyndFeed feed) + +
+          Creates a W3C DOM document for the given SyndFeedImpl.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyndFeedOutput

+
+public SyndFeedOutput()
+
+
Creates a SyndFeedOutput instance. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+outputString

+
+public String outputString(SyndFeed feed)
+                    throws FeedException
+
+
Creates a String with the XML representation for the given SyndFeedImpl. +

+ If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. It is the responsibility + of the developer to ensure that if the String is written to a character stream the stream charset is the same as + the feed encoding property. +

+

+

+
Parameters:
feed - Abstract feed to create XML representation from. The type of the SyndFeedImpl must match + the type given to the FeedOuptut constructor. +
Returns:
a String with the XML representation for the given SyndFeedImpl. +
Throws: +
FeedException - thrown if the XML representation for the feed could not be created.
+
+
+
+ +

+outputString

+
+public String outputString(SyndFeed feed,
+                           boolean prettyPrint)
+                    throws FeedException
+
+
Creates a String with the XML representation for the given SyndFeedImpl. +

+ If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. It is the responsibility + of the developer to ensure that if the String is written to a character stream the stream charset is the same as + the feed encoding property. +

+

+

+
Parameters:
feed - Abstract feed to create XML representation from. The type of the SyndFeedImpl must match + the type given to the FeedOuptut constructor.
prettyPrint - pretty-print XML (true) oder collapsed +
Returns:
a String with the XML representation for the given SyndFeedImpl. +
Throws: +
FeedException - thrown if the XML representation for the feed could not be created.
+
+
+
+ +

+output

+
+public void output(SyndFeed feed,
+                   File file)
+            throws IOException,
+                   FeedException
+
+
Creates a File containing with the XML representation for the given SyndFeedImpl. +

+ If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. The platform + default charset encoding is used to write the feed to the file. It is the responsibility + of the developer to ensure the feed encoding is set to the platform charset encoding. +

+

+

+
Parameters:
feed - Abstract feed to create XML representation from. The type of the SyndFeedImpl must match + the type given to the FeedOuptut constructor.
file - the file where to write the XML representation for the given SyndFeedImpl. +
Throws: +
IOException - thrown if there was some problem writing to the File. +
FeedException - thrown if the XML representation for the feed could not be created.
+
+
+
+ +

+output

+
+public void output(SyndFeed feed,
+                   File file,
+                   boolean prettyPrint)
+            throws IOException,
+                   FeedException
+
+
Creates a File containing with the XML representation for the given SyndFeedImpl. +

+ If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. The platform + default charset encoding is used to write the feed to the file. It is the responsibility + of the developer to ensure the feed encoding is set to the platform charset encoding. +

+

+

+
Parameters:
feed - Abstract feed to create XML representation from. The type of the SyndFeedImpl must match + the type given to the FeedOuptut constructor.
prettyPrint - pretty-print XML (true) oder collapsed
file - the file where to write the XML representation for the given SyndFeedImpl. +
Throws: +
IOException - thrown if there was some problem writing to the File. +
FeedException - thrown if the XML representation for the feed could not be created.
+
+
+
+ +

+output

+
+public void output(SyndFeed feed,
+                   Writer writer)
+            throws IOException,
+                   FeedException
+
+
Writes to an Writer the XML representation for the given SyndFeedImpl. +

+ If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. It is the responsibility + of the developer to ensure that if the String is written to a character stream the stream charset is the same as + the feed encoding property. +

+

+

+
Parameters:
feed - Abstract feed to create XML representation from. The type of the SyndFeedImpl must match + the type given to the FeedOuptut constructor.
writer - Writer to write the XML representation for the given SyndFeedImpl. +
Throws: +
IOException - thrown if there was some problem writing to the Writer. +
FeedException - thrown if the XML representation for the feed could not be created.
+
+
+
+ +

+output

+
+public void output(SyndFeed feed,
+                   Writer writer,
+                   boolean prettyPrint)
+            throws IOException,
+                   FeedException
+
+
Writes to an Writer the XML representation for the given SyndFeedImpl. +

+ If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. It is the responsibility + of the developer to ensure that if the String is written to a character stream the stream charset is the same as + the feed encoding property. +

+

+

+
Parameters:
feed - Abstract feed to create XML representation from. The type of the SyndFeedImpl must match + the type given to the FeedOuptut constructor.
prettyPrint - pretty-print XML (true) oder collapsed
writer - Writer to write the XML representation for the given SyndFeedImpl. +
Throws: +
IOException - thrown if there was some problem writing to the Writer. +
FeedException - thrown if the XML representation for the feed could not be created.
+
+
+
+ +

+outputW3CDom

+
+public Document outputW3CDom(SyndFeed feed)
+                      throws FeedException
+
+
Creates a W3C DOM document for the given SyndFeedImpl. +

+ This method does not use the feed encoding property. +

+

+

+
Parameters:
feed - Abstract feed to create W3C DOM document from. The type of the SyndFeedImpl must match + the type given to the FeedOuptut constructor. +
Returns:
the W3C DOM document for the given SyndFeedImpl. +
Throws: +
FeedException - thrown if the W3C DOM document for the feed could not be created.
+
+
+
+ +

+outputJDom

+
+public org.jdom.Document outputJDom(SyndFeed feed)
+                             throws FeedException
+
+
Creates a JDOM document for the given SyndFeedImpl. +

+ This method does not use the feed encoding property. +

+

+

+
Parameters:
feed - Abstract feed to create JDOM document from. The type of the SyndFeedImpl must match + the type given to the FeedOuptut constructor. +
Returns:
the JDOM document for the given SyndFeedImpl. +
Throws: +
FeedException - thrown if the JDOM document for the feed could not be created.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/WireFeedGenerator.html b/apidocs/com/sun/syndication/io/WireFeedGenerator.html new file mode 100644 index 0000000..73d28fa --- /dev/null +++ b/apidocs/com/sun/syndication/io/WireFeedGenerator.html @@ -0,0 +1,257 @@ + + + + + + + +WireFeedGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Interface WireFeedGenerator

+
+
All Known Implementing Classes:
Atom03Generator, Atom10Generator, BaseWireFeedGenerator, RSS090Generator, RSS091NetscapeGenerator, RSS091UserlandGenerator, RSS092Generator, RSS093Generator, RSS094Generator, RSS10Generator, RSS20Generator
+
+
+
+
public interface WireFeedGenerator
+ + +

+Generates an XML document (JDOM) out of a feed for a specific real feed type. +

+ WireFeedGenerator instances must thread safe. +

+ TODO: explain how developers can plugin their own implementations. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ org.jdom.Documentgenerate(WireFeed feed) + +
+          Creates an XML document (JDOM) for the given feed bean.
+ StringgetType() + +
+          Returns the type of feed the generator creates.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getType

+
+String getType()
+
+
Returns the type of feed the generator creates. +

+

+

+ +
Returns:
the type of feed the generator creates.
See Also:
for details on the format of this string. +

+
+
+
+ +

+generate

+
+org.jdom.Document generate(WireFeed feed)
+                           throws IllegalArgumentException,
+                                  FeedException
+
+
Creates an XML document (JDOM) for the given feed bean. +

+

+

+
Parameters:
feed - the feed bean to generate the XML document from. +
Returns:
the generated XML document (JDOM). +
Throws: +
IllegalArgumentException - thrown if the type of the given feed bean does not + match with the type of the WireFeedGenerator. +
FeedException - thrown if the XML Document could not be created.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/WireFeedInput.html b/apidocs/com/sun/syndication/io/WireFeedInput.html new file mode 100644 index 0000000..e21f484 --- /dev/null +++ b/apidocs/com/sun/syndication/io/WireFeedInput.html @@ -0,0 +1,532 @@ + + + + + + + +WireFeedInput (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Class WireFeedInput

+
+java.lang.Object
+  extended by com.sun.syndication.io.WireFeedInput
+
+
+
+
public class WireFeedInput
extends Object
+ + +

+Parses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom DOcument) + into an WireFeed (RSS/Atom). +

+ It accepts all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and + Atom 0.3 feeds. Parsers are plugable (they must implement the WireFeedParser interface). +

+ The WireFeedInput useds liberal parsers. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
WireFeedInput() + +
+          Creates a WireFeedInput instance with input validation turned off.
WireFeedInput(boolean validate) + +
+          Creates a WireFeedInput instance.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ WireFeedbuild(Document document) + +
+          Builds an WireFeed (RSS or Atom) from an W3C DOM document.
+ WireFeedbuild(org.jdom.Document document) + +
+          Builds an WireFeed (RSS or Atom) from an JDOM document.
+ WireFeedbuild(File file) + +
+          Builds an WireFeed (RSS or Atom) from a file.
+ WireFeedbuild(InputSource is) + +
+          Builds an WireFeed (RSS or Atom) from an W3C SAX InputSource.
+ WireFeedbuild(Reader reader) + +
+          Builds an WireFeed (RSS or Atom) from an Reader.
+protected  SAXBuildercreateSAXBuilder() + +
+          Creates and sets up a org.jdom.input.SAXBuilder for parsing.
+static ListgetSupportedFeedTypes() + +
+          Returns the list of supported input feed types.
+ booleangetXmlHealerOn() + +
+          Indicates if the WiredFeedInput instance will XML heal (if necessary) the character stream.
+ voidsetXmlHealerOn(boolean heals) + +
+          Enables XML healing in the WiredFeedInput instance.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WireFeedInput

+
+public WireFeedInput()
+
+
Creates a WireFeedInput instance with input validation turned off. +

+

+

+
+ +

+WireFeedInput

+
+public WireFeedInput(boolean validate)
+
+
Creates a WireFeedInput instance. +

+

+

+
Parameters:
validate - indicates if the input should be validated. NOT IMPLEMENTED YET (validation does not happen)
+
+ + + + + + + + +
+Method Detail
+ +

+getSupportedFeedTypes

+
+public static List getSupportedFeedTypes()
+
+
Returns the list of supported input feed types. +

+

+

+ +
Returns:
a list of String elements with the supported input feed types.
See Also:
for details on the format of these strings. +

+
+
+
+ +

+setXmlHealerOn

+
+public void setXmlHealerOn(boolean heals)
+
+
Enables XML healing in the WiredFeedInput instance. +

+ Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog. +

+ Healing resolves HTML entities (from literal to code number) in the reader. +

+ The healing is done only with the build(File) and build(Reader) signatures. +

+ By default is TRUE. +

+

+

+
Parameters:
heals - TRUE enables stream healing, FALSE disables it.
+
+
+
+ +

+getXmlHealerOn

+
+public boolean getXmlHealerOn()
+
+
Indicates if the WiredFeedInput instance will XML heal (if necessary) the character stream. +

+ Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog. +

+ Healing resolves HTML entities (from literal to code number) in the reader. +

+ The healing is done only with the build(File) and build(Reader) signatures. +

+ By default is TRUE. +

+

+

+ +
Returns:
TRUE if healing is enabled, FALSE if not.
+
+
+
+ +

+build

+
+public WireFeed build(File file)
+               throws FileNotFoundException,
+                      IOException,
+                      IllegalArgumentException,
+                      FeedException
+
+
Builds an WireFeed (RSS or Atom) from a file. +

+ NOTE: This method delages to the 'AsbtractFeed WireFeedInput#build(org.jdom.Document)'. +

+

+

+
Parameters:
file - file to read to create the WireFeed. +
Returns:
the WireFeed read from the file. +
Throws: +
FileNotFoundException - thrown if the file could not be found. +
IOException - thrown if there is problem reading the file. +
IllegalArgumentException - thrown if feed type could not be understood by any of the underlying parsers. +
FeedException - if the feed could not be parsed
+
+
+
+ +

+build

+
+public WireFeed build(Reader reader)
+               throws IllegalArgumentException,
+                      FeedException
+
+
Builds an WireFeed (RSS or Atom) from an Reader. +

+ NOTE: This method delages to the 'AsbtractFeed WireFeedInput#build(org.jdom.Document)'. +

+

+

+
Parameters:
reader - Reader to read to create the WireFeed. +
Returns:
the WireFeed read from the Reader. +
Throws: +
IllegalArgumentException - thrown if feed type could not be understood by any of the underlying parsers. +
FeedException - if the feed could not be parsed
+
+
+
+ +

+build

+
+public WireFeed build(InputSource is)
+               throws IllegalArgumentException,
+                      FeedException
+
+
Builds an WireFeed (RSS or Atom) from an W3C SAX InputSource. +

+ NOTE: This method delages to the 'AsbtractFeed WireFeedInput#build(org.jdom.Document)'. +

+

+

+
Parameters:
is - W3C SAX InputSource to read to create the WireFeed. +
Returns:
the WireFeed read from the W3C SAX InputSource. +
Throws: +
IllegalArgumentException - thrown if feed type could not be understood by any of the underlying parsers. +
FeedException - if the feed could not be parsed
+
+
+
+ +

+build

+
+public WireFeed build(Document document)
+               throws IllegalArgumentException,
+                      FeedException
+
+
Builds an WireFeed (RSS or Atom) from an W3C DOM document. +

+ NOTE: This method delages to the 'AsbtractFeed WireFeedInput#build(org.jdom.Document)'. +

+

+

+
Parameters:
document - W3C DOM document to read to create the WireFeed. +
Returns:
the WireFeed read from the W3C DOM document. +
Throws: +
IllegalArgumentException - thrown if feed type could not be understood by any of the underlying parsers. +
FeedException - if the feed could not be parsed
+
+
+
+ +

+build

+
+public WireFeed build(org.jdom.Document document)
+               throws IllegalArgumentException,
+                      FeedException
+
+
Builds an WireFeed (RSS or Atom) from an JDOM document. +

+ NOTE: All other build methods delegate to this method. +

+

+

+
Parameters:
document - JDOM document to read to create the WireFeed. +
Returns:
the WireFeed read from the JDOM document. +
Throws: +
IllegalArgumentException - thrown if feed type could not be understood by any of the underlying parsers. +
FeedException - if the feed could not be parsed
+
+
+
+ +

+createSAXBuilder

+
+protected SAXBuilder createSAXBuilder()
+
+
Creates and sets up a org.jdom.input.SAXBuilder for parsing. +

+

+ +
Returns:
a new org.jdom.input.SAXBuilder object
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/WireFeedOutput.html b/apidocs/com/sun/syndication/io/WireFeedOutput.html new file mode 100644 index 0000000..123c097 --- /dev/null +++ b/apidocs/com/sun/syndication/io/WireFeedOutput.html @@ -0,0 +1,566 @@ + + + + + + + +WireFeedOutput (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Class WireFeedOutput

+
+java.lang.Object
+  extended by com.sun.syndication.io.WireFeedOutput
+
+
+
+
public class WireFeedOutput
extends Object
+ + +

+Generates an XML document (String, File, OutputStream, Writer, W3C DOM document or JDOM document) + out of an WireFeed (RSS/Atom). +

+ It generates all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and + Atom 0.3 feeds. Generators are plugable (they must implement the ModuleParser interface). +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
WireFeedOutput() + +
+          Creates a FeedOuput instance.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static ListgetSupportedFeedTypes() + +
+          Returns the list of supported output feed types.
+ voidoutput(WireFeed feed, + File file) + +
+          Creates a File containing with the XML representation for the given WireFeed.
+ voidoutput(WireFeed feed, + File file, + boolean prettyPrint) + +
+          Creates a File containing with the XML representation for the given WireFeed.
+ voidoutput(WireFeed feed, + Writer writer) + +
+          Writes to an Writer the XML representation for the given WireFeed.
+ voidoutput(WireFeed feed, + Writer writer, + boolean prettyPrint) + +
+          Writes to an Writer the XML representation for the given WireFeed.
+ org.jdom.DocumentoutputJDom(WireFeed feed) + +
+          Creates a JDOM document for the given WireFeed.
+ StringoutputString(WireFeed feed) + +
+          Creates a String with the XML representation for the given WireFeed.
+ StringoutputString(WireFeed feed, + boolean prettyPrint) + +
+          Creates a String with the XML representation for the given WireFeed.
+ DocumentoutputW3CDom(WireFeed feed) + +
+          Creates a W3C DOM document for the given WireFeed.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WireFeedOutput

+
+public WireFeedOutput()
+
+
Creates a FeedOuput instance. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+getSupportedFeedTypes

+
+public static List getSupportedFeedTypes()
+
+
Returns the list of supported output feed types. +

+

+

+ +
Returns:
a list of String elements with the supported output feed types.
See Also:
for details on the format of these strings. +

+
+
+
+ +

+outputString

+
+public String outputString(WireFeed feed)
+                    throws IllegalArgumentException,
+                           FeedException
+
+
Creates a String with the XML representation for the given WireFeed. +

+ If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. It is the responsibility + of the developer to ensure that if the String is written to a character stream the stream charset is the same as + the feed encoding property. +

+ NOTE: This method delages to the 'Document WireFeedOutput#outputJDom(WireFeed)'. +

+

+

+
Parameters:
feed - Abstract feed to create XML representation from. The type of the WireFeed must match + the type given to the FeedOuptut constructor. +
Returns:
a String with the XML representation for the given WireFeed. +
Throws: +
IllegalArgumentException - thrown if the feed type of the WireFeedOutput and WireFeed don't match. +
FeedException - thrown if the XML representation for the feed could not be created.
+
+
+
+ +

+outputString

+
+public String outputString(WireFeed feed,
+                           boolean prettyPrint)
+                    throws IllegalArgumentException,
+                           FeedException
+
+
Creates a String with the XML representation for the given WireFeed. +

+ If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. It is the responsibility + of the developer to ensure that if the String is written to a character stream the stream charset is the same as + the feed encoding property. +

+ NOTE: This method delages to the 'Document WireFeedOutput#outputJDom(WireFeed)'. +

+

+

+
Parameters:
feed - Abstract feed to create XML representation from. The type of the WireFeed must match + the type given to the FeedOuptut constructor.
prettyPrint - pretty-print XML (true) oder collapsed +
Returns:
a String with the XML representation for the given WireFeed. +
Throws: +
IllegalArgumentException - thrown if the feed type of the WireFeedOutput and WireFeed don't match. +
FeedException - thrown if the XML representation for the feed could not be created.
+
+
+
+ +

+output

+
+public void output(WireFeed feed,
+                   File file)
+            throws IllegalArgumentException,
+                   IOException,
+                   FeedException
+
+
Creates a File containing with the XML representation for the given WireFeed. +

+ If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. The platform + default charset encoding is used to write the feed to the file. It is the responsibility + of the developer to ensure the feed encoding is set to the platform charset encoding. +

+ NOTE: This method delages to the 'Document WireFeedOutput#outputJDom(WireFeed)'. +

+

+

+
Parameters:
feed - Abstract feed to create XML representation from. The type of the WireFeed must match + the type given to the FeedOuptut constructor.
file - the file where to write the XML representation for the given WireFeed. +
Throws: +
IllegalArgumentException - thrown if the feed type of the WireFeedOutput and WireFeed don't match. +
IOException - thrown if there was some problem writing to the File. +
FeedException - thrown if the XML representation for the feed could not be created.
+
+
+
+ +

+output

+
+public void output(WireFeed feed,
+                   File file,
+                   boolean prettyPrint)
+            throws IllegalArgumentException,
+                   IOException,
+                   FeedException
+
+
Creates a File containing with the XML representation for the given WireFeed. +

+ If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. The platform + default charset encoding is used to write the feed to the file. It is the responsibility + of the developer to ensure the feed encoding is set to the platform charset encoding. +

+ NOTE: This method delages to the 'Document WireFeedOutput#outputJDom(WireFeed)'. +

+

+

+
Parameters:
feed - Abstract feed to create XML representation from. The type of the WireFeed must match + the type given to the FeedOuptut constructor.
file - the file where to write the XML representation for the given WireFeed.
prettyPrint - pretty-print XML (true) oder collapsed +
Throws: +
IllegalArgumentException - thrown if the feed type of the WireFeedOutput and WireFeed don't match. +
IOException - thrown if there was some problem writing to the File. +
FeedException - thrown if the XML representation for the feed could not be created.
+
+
+
+ +

+output

+
+public void output(WireFeed feed,
+                   Writer writer)
+            throws IllegalArgumentException,
+                   IOException,
+                   FeedException
+
+
Writes to an Writer the XML representation for the given WireFeed. +

+ If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. It is the responsibility + of the developer to ensure the Writer instance is using the same charset encoding. +

+ NOTE: This method delages to the 'Document WireFeedOutput#outputJDom(WireFeed)'. +

+

+

+
Parameters:
feed - Abstract feed to create XML representation from. The type of the WireFeed must match + the type given to the FeedOuptut constructor.
writer - Writer to write the XML representation for the given WireFeed. +
Throws: +
IllegalArgumentException - thrown if the feed type of the WireFeedOutput and WireFeed don't match. +
IOException - thrown if there was some problem writing to the Writer. +
FeedException - thrown if the XML representation for the feed could not be created.
+
+
+
+ +

+output

+
+public void output(WireFeed feed,
+                   Writer writer,
+                   boolean prettyPrint)
+            throws IllegalArgumentException,
+                   IOException,
+                   FeedException
+
+
Writes to an Writer the XML representation for the given WireFeed. +

+ If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. It is the responsibility + of the developer to ensure the Writer instance is using the same charset encoding. +

+ NOTE: This method delages to the 'Document WireFeedOutput#outputJDom(WireFeed)'. +

+

+

+
Parameters:
feed - Abstract feed to create XML representation from. The type of the WireFeed must match + the type given to the FeedOuptut constructor.
writer - Writer to write the XML representation for the given WireFeed.
prettyPrint - pretty-print XML (true) oder collapsed +
Throws: +
IllegalArgumentException - thrown if the feed type of the WireFeedOutput and WireFeed don't match. +
IOException - thrown if there was some problem writing to the Writer. +
FeedException - thrown if the XML representation for the feed could not be created.
+
+
+
+ +

+outputW3CDom

+
+public Document outputW3CDom(WireFeed feed)
+                      throws IllegalArgumentException,
+                             FeedException
+
+
Creates a W3C DOM document for the given WireFeed. +

+ This method does not use the feed encoding property. +

+ NOTE: This method delages to the 'Document WireFeedOutput#outputJDom(WireFeed)'. +

+

+

+
Parameters:
feed - Abstract feed to create W3C DOM document from. The type of the WireFeed must match + the type given to the FeedOuptut constructor. +
Returns:
the W3C DOM document for the given WireFeed. +
Throws: +
IllegalArgumentException - thrown if the feed type of the WireFeedOutput and WireFeed don't match. +
FeedException - thrown if the W3C DOM document for the feed could not be created.
+
+
+
+ +

+outputJDom

+
+public org.jdom.Document outputJDom(WireFeed feed)
+                             throws IllegalArgumentException,
+                                    FeedException
+
+
Creates a JDOM document for the given WireFeed. +

+ This method does not use the feed encoding property. +

+ NOTE: All other output methods delegate to this method. +

+

+

+
Parameters:
feed - Abstract feed to create JDOM document from. The type of the WireFeed must match + the type given to the FeedOuptut constructor. +
Returns:
the JDOM document for the given WireFeed. +
Throws: +
IllegalArgumentException - thrown if the feed type of the WireFeedOutput and WireFeed don't match. +
FeedException - thrown if the JDOM document for the feed could not be created.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/WireFeedParser.html b/apidocs/com/sun/syndication/io/WireFeedParser.html new file mode 100644 index 0000000..dcee727 --- /dev/null +++ b/apidocs/com/sun/syndication/io/WireFeedParser.html @@ -0,0 +1,283 @@ + + + + + + + +WireFeedParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Interface WireFeedParser

+
+
All Known Implementing Classes:
Atom03Parser, Atom10Parser, BaseWireFeedParser, RSS090Parser, RSS091NetscapeParser, RSS091UserlandParser, RSS092Parser, RSS093Parser, RSS094Parser, RSS10Parser, RSS20Parser, RSS20wNSParser
+
+
+
+
public interface WireFeedParser
+ + +

+Parses an XML document (JDOM) into a feed bean. +

+ WireFeedParser instances must thread safe. +

+ TODO: explain how developers can plugin their own implementations. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetType() + +
+          Returns the type of feed the parser handles.
+ booleanisMyType(org.jdom.Document document) + +
+          Inspects an XML Document (JDOM) to check if it can parse it.
+ WireFeedparse(org.jdom.Document document, + boolean validate) + +
+          Parses an XML document (JDOM Document) into a feed bean.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getType

+
+String getType()
+
+
Returns the type of feed the parser handles. +

+

+

+ +
Returns:
the type of feed the parser handles.
See Also:
for details on the format of this string. +

+
+
+
+ +

+isMyType

+
+boolean isMyType(org.jdom.Document document)
+
+
Inspects an XML Document (JDOM) to check if it can parse it. +

+ It checks if the given document if the type of feeds the parser understands. +

+

+

+
Parameters:
document - XML Document (JDOM) to check if it can be parsed by this parser. +
Returns:
true if the parser know how to parser this feed, false otherwise.
+
+
+
+ +

+parse

+
+WireFeed parse(org.jdom.Document document,
+               boolean validate)
+               throws IllegalArgumentException,
+                      FeedException
+
+
Parses an XML document (JDOM Document) into a feed bean. +

+

+

+
Parameters:
document - XML document (JDOM) to parse.
validate - indicates if the feed should be strictly validated (NOT YET IMPLEMENTED). +
Returns:
the resulting feed bean. +
Throws: +
IllegalArgumentException - thrown if the parser cannot handle the given feed type. +
FeedException - thrown if a feed bean cannot be created out of the XML document (JDOM).
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/XmlReader.html b/apidocs/com/sun/syndication/io/XmlReader.html new file mode 100644 index 0000000..9cb6666 --- /dev/null +++ b/apidocs/com/sun/syndication/io/XmlReader.html @@ -0,0 +1,737 @@ + + + + + + + +XmlReader (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Class XmlReader

+
+java.lang.Object
+  extended by java.io.Reader
+      extended by com.sun.syndication.io.XmlReader
+
+
+
All Implemented Interfaces:
Closeable, Readable
+
+
+
+
public class XmlReader
extends Reader
+ + +

+Character stream that handles (or at least attemtps to) all the necessary Voodo to figure out + the charset encoding of the XML document within the stream. +

+ IMPORTANT: This class is not related in any way to the org.xml.sax.XMLReader. This one IS a + character stream. +

+ All this has to be done without consuming characters from the stream, if not the XML parser + will not recognized the document as a valid XML. This is not 100% true, but it's close enough + (UTF-8 BOM is not handled by all parsers right now, XmlReader handles it and things work in all + parsers). +

+ The XmlReader class handles the charset encoding of XML documents in Files, raw streams and + HTTP streams by offering a wide set of constructors. +

+ By default the charset encoding detection is lenient, the constructor with the lenient flag + can be used for an script (following HTTP MIME and XML specifications). + All this is nicely explained by Mark Pilgrim in his blog, + + Determining the character encoding of a feed. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.io.Reader
lock
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
XmlReader(File file) + +
+          Creates a Reader for a File.
XmlReader(InputStream is) + +
+          Creates a Reader for a raw InputStream.
XmlReader(InputStream is, + boolean lenient) + +
+          Creates a Reader for a raw InputStream.
XmlReader(InputStream is, + boolean lenient, + String defaultEncoding) + +
+          Creates a Reader for a raw InputStream and uses the provided default encoding if none is determined.
XmlReader(InputStream is, + String httpContentType) + +
+          Creates a Reader using an InputStream and the associated content-type header.
XmlReader(InputStream is, + String httpContentType, + boolean lenient) + +
+          Creates a Reader using an InputStream and the associated content-type header.
XmlReader(InputStream is, + String httpContentType, + boolean lenient, + String defaultEncoding) + +
+          Creates a Reader using an InputStream and the associated content-type header.
XmlReader(URL url) + +
+          Creates a Reader using the InputStream of a URL.
XmlReader(URLConnection conn) + +
+          Creates a Reader using the InputStream of a URLConnection.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+          Closes the XmlReader stream.
+static StringgetDefaultEncoding() + +
+          Returns the default encoding to use if none is set in HTTP content-type, + XML prolog and the rules based on content-type are not adequate.
+ StringgetEncoding() + +
+          Returns the charset encoding of the XmlReader.
+ intread(char[] buf, + int offset, + int len) + +
+           
+static voidsetDefaultEncoding(String encoding) + +
+          Sets the default encoding to use if none is set in HTTP content-type, + XML prolog and the rules based on content-type are not adequate.
+ + + + + + + +
Methods inherited from class java.io.Reader
mark, markSupported, read, read, read, ready, reset, skip
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XmlReader

+
+public XmlReader(File file)
+          throws IOException
+
+
Creates a Reader for a File. +

+ It looks for the UTF-8 BOM first, if none sniffs the XML prolog charset, if this is also + missing defaults to UTF-8. +

+ It does a lenient charset encoding detection, check the constructor with the lenient parameter + for details. +

+

+

+
Parameters:
file - File to create a Reader from. +
Throws: +
IOException - thrown if there is a problem reading the file.
+
+
+ +

+XmlReader

+
+public XmlReader(InputStream is)
+          throws IOException
+
+
Creates a Reader for a raw InputStream. +

+ It follows the same logic used for files. +

+ It does a lenient charset encoding detection, check the constructor with the lenient parameter + for details. +

+

+

+
Parameters:
is - InputStream to create a Reader from. +
Throws: +
IOException - thrown if there is a problem reading the stream.
+
+
+ +

+XmlReader

+
+public XmlReader(InputStream is,
+                 boolean lenient,
+                 String defaultEncoding)
+          throws IOException,
+                 XmlReaderException
+
+
Creates a Reader for a raw InputStream and uses the provided default encoding if none is determined. +

+ It follows the same logic used for files. +

+ If lenient detection is indicated and the detection above fails as per specifications it then attempts + the following: +

+ If the content type was 'text/html' it replaces it with 'text/xml' and tries the detection again. +

+ Else if the XML prolog had a charset encoding that encoding is used. +

+ Else if the content type had a charset encoding that encoding is used. +

+ Else 'UTF-8' is used. +

+ If lenient detection is indicated an XmlReaderException is never thrown. +

+

+

+
Parameters:
is - InputStream to create a Reader from.
lenient - indicates if the charset encoding detection should be relaxed.
defaultEncoding - default encoding to use if one cannot be detected. +
Throws: +
IOException - thrown if there is a problem reading the stream. +
XmlReaderException - thrown if the charset encoding could not be determined according to the specs.
+
+
+ +

+XmlReader

+
+public XmlReader(InputStream is,
+                 boolean lenient)
+          throws IOException,
+                 XmlReaderException
+
+
Creates a Reader for a raw InputStream. +

+ It follows the same logic used for files. +

+ If lenient detection is indicated and the detection above fails as per specifications it then attempts + the following: +

+ If the content type was 'text/html' it replaces it with 'text/xml' and tries the detection again. +

+ Else if the XML prolog had a charset encoding that encoding is used. +

+ Else if the content type had a charset encoding that encoding is used. +

+ Else 'UTF-8' is used. +

+ If lenient detection is indicated an XmlReaderException is never thrown. +

+

+

+
Parameters:
is - InputStream to create a Reader from.
lenient - indicates if the charset encoding detection should be relaxed. +
Throws: +
IOException - thrown if there is a problem reading the stream. +
XmlReaderException - thrown if the charset encoding could not be determined according to the specs.
+
+
+ +

+XmlReader

+
+public XmlReader(URL url)
+          throws IOException
+
+
Creates a Reader using the InputStream of a URL. +

+ If the URL is not of type HTTP and there is not 'content-type' header in the fetched + data it uses the same logic used for Files. +

+ If the URL is a HTTP Url or there is a 'content-type' header in the fetched + data it uses the same logic used for an InputStream with content-type. +

+ It does a lenient charset encoding detection, check the constructor with the lenient parameter + for details. +

+

+

+
Parameters:
url - URL to create a Reader from. +
Throws: +
IOException - thrown if there is a problem reading the stream of the URL.
+
+
+ +

+XmlReader

+
+public XmlReader(URLConnection conn)
+          throws IOException
+
+
Creates a Reader using the InputStream of a URLConnection. +

+ If the URLConnection is not of type HttpURLConnection and there is not + 'content-type' header in the fetched data it uses the same logic used for files. +

+ If the URLConnection is a HTTP Url or there is a 'content-type' header in the fetched + data it uses the same logic used for an InputStream with content-type. +

+ It does a lenient charset encoding detection, check the constructor with the lenient parameter + for details. +

+

+

+
Parameters:
conn - URLConnection to create a Reader from. +
Throws: +
IOException - thrown if there is a problem reading the stream of the URLConnection.
+
+
+ +

+XmlReader

+
+public XmlReader(InputStream is,
+                 String httpContentType)
+          throws IOException
+
+
Creates a Reader using an InputStream and the associated content-type header. +

+ First it checks if the stream has BOM. If there is not BOM checks the content-type encoding. + If there is not content-type encoding checks the XML prolog encoding. If there is not XML + prolog encoding uses the default encoding mandated by the content-type MIME type. +

+ It does a lenient charset encoding detection, check the constructor with the lenient parameter + for details. +

+

+

+
Parameters:
is - InputStream to create the reader from.
httpContentType - content-type header to use for the resolution of the charset encoding. +
Throws: +
IOException - thrown if there is a problem reading the file.
+
+
+ +

+XmlReader

+
+public XmlReader(InputStream is,
+                 String httpContentType,
+                 boolean lenient,
+                 String defaultEncoding)
+          throws IOException,
+                 XmlReaderException
+
+
Creates a Reader using an InputStream and the associated content-type header. +

+ First it checks if the stream has BOM. If there is not BOM checks the content-type encoding. + If there is not content-type encoding checks the XML prolog encoding. If there is not XML + prolog encoding uses the default encoding mandated by the content-type MIME type. +

+ If lenient detection is indicated and the detection above fails as per specifications it then attempts + the following: +

+ If the content type was 'text/html' it replaces it with 'text/xml' and tries the detection again. +

+ Else if the XML prolog had a charset encoding that encoding is used. +

+ Else if the content type had a charset encoding that encoding is used. +

+ Else 'UTF-8' is used. +

+ If lenient detection is indicated and XmlReaderException is never thrown. +

+

+

+
Parameters:
is - InputStream to create the reader from.
httpContentType - content-type header to use for the resolution of the charset encoding.
lenient - indicates if the charset encoding detection should be relaxed.
defaultEncoding - default encoding to use if one cannot be detected. +
Throws: +
IOException - thrown if there is a problem reading the file. +
XmlReaderException - thrown if the charset encoding could not be determined according to the specs.
+
+
+ +

+XmlReader

+
+public XmlReader(InputStream is,
+                 String httpContentType,
+                 boolean lenient)
+          throws IOException,
+                 XmlReaderException
+
+
Creates a Reader using an InputStream and the associated content-type header. +

+ First it checks if the stream has BOM. If there is not BOM checks the content-type encoding. + If there is not content-type encoding checks the XML prolog encoding. If there is not XML + prolog encoding uses the default encoding mandated by the content-type MIME type. +

+ If lenient detection is indicated and the detection above fails as per specifications it then attempts + the following: +

+ If the content type was 'text/html' it replaces it with 'text/xml' and tries the detection again. +

+ Else if the XML prolog had a charset encoding that encoding is used. +

+ Else if the content type had a charset encoding that encoding is used. +

+ Else 'UTF-8' is used. +

+ If lenient detection is indicated and XmlReaderException is never thrown. +

+

+

+
Parameters:
is - InputStream to create the reader from.
httpContentType - content-type header to use for the resolution of the charset encoding.
lenient - indicates if the charset encoding detection should be relaxed. +
Throws: +
IOException - thrown if there is a problem reading the file. +
XmlReaderException - thrown if the charset encoding could not be determined according to the specs.
+
+ + + + + + + + +
+Method Detail
+ +

+setDefaultEncoding

+
+public static void setDefaultEncoding(String encoding)
+
+
Sets the default encoding to use if none is set in HTTP content-type, + XML prolog and the rules based on content-type are not adequate. +

+ If it is set to NULL the content-type based rules are used. +

+ By default it is NULL. +

+

+

+
Parameters:
encoding - charset encoding to default to.
+
+
+
+ +

+getDefaultEncoding

+
+public static String getDefaultEncoding()
+
+
Returns the default encoding to use if none is set in HTTP content-type, + XML prolog and the rules based on content-type are not adequate. +

+ If it is NULL the content-type based rules are used. +

+

+

+ +
Returns:
the default encoding to use.
+
+
+
+ +

+getEncoding

+
+public String getEncoding()
+
+
Returns the charset encoding of the XmlReader. +

+

+

+ +
Returns:
charset encoding.
+
+
+
+ +

+read

+
+public int read(char[] buf,
+                int offset,
+                int len)
+         throws IOException
+
+
+
Specified by:
read in class Reader
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+close

+
+public void close()
+           throws IOException
+
+
Closes the XmlReader stream. +

+

+

+
Specified by:
close in interface Closeable
Specified by:
close in class Reader
+
+
+ +
Throws: +
IOException - thrown if there was a problem closing the stream.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/XmlReaderException.html b/apidocs/com/sun/syndication/io/XmlReaderException.html new file mode 100644 index 0000000..ee64d8b --- /dev/null +++ b/apidocs/com/sun/syndication/io/XmlReaderException.html @@ -0,0 +1,453 @@ + + + + + + + +XmlReaderException (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io +
+Class XmlReaderException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.io.IOException
+              extended by com.sun.syndication.io.XmlReaderException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class XmlReaderException
extends IOException
+ + +

+The XmlReaderException is thrown by the XmlReader constructors if the charset encoding + can not be determined according to the XML 1.0 specification and RFC 3023. +

+ The exception returns the unconsumed InputStream to allow the application to do an + alternate processing with the stream. Note that the original InputStream given to the + XmlReader cannot be used as that one has been already read. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
XmlReaderException(String msg, + String bomEnc, + String xmlGuessEnc, + String xmlEnc, + InputStream is) + +
+          Creates an exception instance if the charset encoding could not be determined.
XmlReaderException(String msg, + String ctMime, + String ctEnc, + String bomEnc, + String xmlGuessEnc, + String xmlEnc, + InputStream is) + +
+          Creates an exception instance if the charset encoding could not be determined.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetBomEncoding() + +
+          Returns the BOM encoding found in the InputStream.
+ StringgetContentTypeEncoding() + +
+          Returns the encoding in the content-type used to attempt determining the encoding.
+ StringgetContentTypeMime() + +
+          Returns the MIME type in the content-type used to attempt determining the encoding.
+ InputStreamgetInputStream() + +
+          Returns the unconsumed InputStream to allow the application to do an alternate + encoding detection on the InputStream.
+ StringgetXmlEncoding() + +
+          Returns the encoding found in the XML prolog of the InputStream.
+ StringgetXmlGuessEncoding() + +
+          Returns the encoding guess based on the first bytes of the InputStream.
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XmlReaderException

+
+public XmlReaderException(String msg,
+                          String bomEnc,
+                          String xmlGuessEnc,
+                          String xmlEnc,
+                          InputStream is)
+
+
Creates an exception instance if the charset encoding could not be determined. +

+ Instances of this exception are thrown by the XmlReader. +

+

+

+
Parameters:
msg - message describing the reason for the exception.
bomEnc - BOM encoding.
xmlGuessEnc - XML guess encoding.
xmlEnc - XML prolog encoding.
is - the unconsumed InputStream.
+
+
+ +

+XmlReaderException

+
+public XmlReaderException(String msg,
+                          String ctMime,
+                          String ctEnc,
+                          String bomEnc,
+                          String xmlGuessEnc,
+                          String xmlEnc,
+                          InputStream is)
+
+
Creates an exception instance if the charset encoding could not be determined. +

+ Instances of this exception are thrown by the XmlReader. +

+

+

+
Parameters:
msg - message describing the reason for the exception.
ctMime - MIME type in the content-type.
ctEnc - encoding in the content-type.
bomEnc - BOM encoding.
xmlGuessEnc - XML guess encoding.
xmlEnc - XML prolog encoding.
is - the unconsumed InputStream.
+
+ + + + + + + + +
+Method Detail
+ +

+getBomEncoding

+
+public String getBomEncoding()
+
+
Returns the BOM encoding found in the InputStream. +

+

+

+ +
Returns:
the BOM encoding, null if none.
+
+
+
+ +

+getXmlGuessEncoding

+
+public String getXmlGuessEncoding()
+
+
Returns the encoding guess based on the first bytes of the InputStream. +

+

+

+ +
Returns:
the encoding guess, null if it couldn't be guessed.
+
+
+
+ +

+getXmlEncoding

+
+public String getXmlEncoding()
+
+
Returns the encoding found in the XML prolog of the InputStream. +

+

+

+ +
Returns:
the encoding of the XML prolog, null if none.
+
+
+
+ +

+getContentTypeMime

+
+public String getContentTypeMime()
+
+
Returns the MIME type in the content-type used to attempt determining the encoding. +

+

+

+ +
Returns:
the MIME type in the content-type, null if there was not content-type or the encoding detection + did not involve HTTP.
+
+
+
+ +

+getContentTypeEncoding

+
+public String getContentTypeEncoding()
+
+
Returns the encoding in the content-type used to attempt determining the encoding. +

+

+

+ +
Returns:
the encoding in the content-type, null if there was not content-type, no encoding in it + or the encoding detection did not involve HTTP.
+
+
+
+ +

+getInputStream

+
+public InputStream getInputStream()
+
+
Returns the unconsumed InputStream to allow the application to do an alternate + encoding detection on the InputStream. +

+

+

+ +
Returns:
the unconsumed InputStream.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/DelegatingModuleGenerator.html b/apidocs/com/sun/syndication/io/class-use/DelegatingModuleGenerator.html new file mode 100644 index 0000000..1275105 --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/DelegatingModuleGenerator.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Interface com.sun.syndication.io.DelegatingModuleGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.io.DelegatingModuleGenerator

+
+No usage of com.sun.syndication.io.DelegatingModuleGenerator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/DelegatingModuleParser.html b/apidocs/com/sun/syndication/io/class-use/DelegatingModuleParser.html new file mode 100644 index 0000000..5b0507c --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/DelegatingModuleParser.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Interface com.sun.syndication.io.DelegatingModuleParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.io.DelegatingModuleParser

+
+No usage of com.sun.syndication.io.DelegatingModuleParser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/FeedException.html b/apidocs/com/sun/syndication/io/class-use/FeedException.html new file mode 100644 index 0000000..ae0989d --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/FeedException.html @@ -0,0 +1,971 @@ + + + + + + + +Uses of Class com.sun.syndication.io.FeedException (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.FeedException

+
+ + + + + + + + + + + + + +
+Packages that use FeedException
com.sun.syndication.io  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of FeedException in com.sun.syndication.io
+  +

+ + + + + + + + + +
Subclasses of FeedException in com.sun.syndication.io
+ classParsingFeedException + +
+          Exception thrown by WireFeedInput instance if it can not parse a feed.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io that throw FeedException
+ SyndFeedSyndFeedInput.build(Document document) + +
+          Builds SyndFeedImpl from an W3C DOM document.
+ SyndFeedSyndFeedInput.build(org.jdom.Document document) + +
+          Builds SyndFeedImpl from an JDOM document.
+ WireFeedWireFeedInput.build(Document document) + +
+          Builds an WireFeed (RSS or Atom) from an W3C DOM document.
+ WireFeedWireFeedInput.build(org.jdom.Document document) + +
+          Builds an WireFeed (RSS or Atom) from an JDOM document.
+ SyndFeedSyndFeedInput.build(File file) + +
+          Builds SyndFeedImpl from a file.
+ WireFeedWireFeedInput.build(File file) + +
+          Builds an WireFeed (RSS or Atom) from a file.
+ SyndFeedSyndFeedInput.build(InputSource is) + +
+          Builds SyndFeedImpl from an W3C SAX InputSource.
+ WireFeedWireFeedInput.build(InputSource is) + +
+          Builds an WireFeed (RSS or Atom) from an W3C SAX InputSource.
+ SyndFeedSyndFeedInput.build(Reader reader) + +
+          Builds SyndFeedImpl from an Reader.
+ WireFeedWireFeedInput.build(Reader reader) + +
+          Builds an WireFeed (RSS or Atom) from an Reader.
+ org.jdom.DocumentWireFeedGenerator.generate(WireFeed feed) + +
+          Creates an XML document (JDOM) for the given feed bean.
+ voidSyndFeedOutput.output(SyndFeed feed, + File file) + +
+          Creates a File containing with the XML representation for the given SyndFeedImpl.
+ voidSyndFeedOutput.output(SyndFeed feed, + File file, + boolean prettyPrint) + +
+          Creates a File containing with the XML representation for the given SyndFeedImpl.
+ voidSyndFeedOutput.output(SyndFeed feed, + Writer writer) + +
+          Writes to an Writer the XML representation for the given SyndFeedImpl.
+ voidSyndFeedOutput.output(SyndFeed feed, + Writer writer, + boolean prettyPrint) + +
+          Writes to an Writer the XML representation for the given SyndFeedImpl.
+ voidWireFeedOutput.output(WireFeed feed, + File file) + +
+          Creates a File containing with the XML representation for the given WireFeed.
+ voidWireFeedOutput.output(WireFeed feed, + File file, + boolean prettyPrint) + +
+          Creates a File containing with the XML representation for the given WireFeed.
+ voidWireFeedOutput.output(WireFeed feed, + Writer writer) + +
+          Writes to an Writer the XML representation for the given WireFeed.
+ voidWireFeedOutput.output(WireFeed feed, + Writer writer, + boolean prettyPrint) + +
+          Writes to an Writer the XML representation for the given WireFeed.
+ org.jdom.DocumentSyndFeedOutput.outputJDom(SyndFeed feed) + +
+          Creates a JDOM document for the given SyndFeedImpl.
+ org.jdom.DocumentWireFeedOutput.outputJDom(WireFeed feed) + +
+          Creates a JDOM document for the given WireFeed.
+ StringSyndFeedOutput.outputString(SyndFeed feed) + +
+          Creates a String with the XML representation for the given SyndFeedImpl.
+ StringSyndFeedOutput.outputString(SyndFeed feed, + boolean prettyPrint) + +
+          Creates a String with the XML representation for the given SyndFeedImpl.
+ StringWireFeedOutput.outputString(WireFeed feed) + +
+          Creates a String with the XML representation for the given WireFeed.
+ StringWireFeedOutput.outputString(WireFeed feed, + boolean prettyPrint) + +
+          Creates a String with the XML representation for the given WireFeed.
+ DocumentSyndFeedOutput.outputW3CDom(SyndFeed feed) + +
+          Creates a W3C DOM document for the given SyndFeedImpl.
+ DocumentWireFeedOutput.outputW3CDom(WireFeed feed) + +
+          Creates a W3C DOM document for the given WireFeed.
+ WireFeedWireFeedParser.parse(org.jdom.Document document, + boolean validate) + +
+          Parses an XML document (JDOM Document) into a feed bean.
+  +

+ + + + + +
+Uses of FeedException in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.sun.syndication.io.impl that throw FeedException
+protected  voidRSS090Generator.addChannel(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidRSS091UserlandGenerator.addChannel(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidAtom10Generator.addEntries(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidAtom03Generator.addEntries(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidAtom10Generator.addEntry(Entry entry, + org.jdom.Element parent) + +
+           
+protected  voidAtom03Generator.addEntry(Entry entry, + org.jdom.Element parent) + +
+           
+protected  voidAtom10Generator.addFeed(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidAtom03Generator.addFeed(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidRSS090Generator.addImage(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidRSS090Generator.addItem(Item item, + org.jdom.Element parent, + int index) + +
+           
+protected  voidRSS090Generator.addItems(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidRSS090Generator.addTextInput(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidRSS10Generator.checkChannelConstraints(org.jdom.Element eChannel) + +
+           
+protected  voidRSS090Generator.checkChannelConstraints(org.jdom.Element eChannel) + +
+           
+protected  voidRSS092Generator.checkChannelConstraints(org.jdom.Element eChannel) + +
+           
+protected  voidRSS091UserlandGenerator.checkChannelConstraints(org.jdom.Element eChannel) + +
+           
+protected  voidAtom10Generator.checkEntriesConstraints(org.jdom.Element parent) + +
+           
+protected  voidAtom03Generator.checkEntriesConstraints(org.jdom.Element parent) + +
+           
+protected  voidAtom10Generator.checkEntryConstraints(org.jdom.Element eEntry) + +
+           
+protected  voidAtom03Generator.checkEntryConstraints(org.jdom.Element eEntry) + +
+           
+protected  voidAtom10Generator.checkFeedHeaderConstraints(org.jdom.Element eFeed) + +
+           
+protected  voidAtom03Generator.checkFeedHeaderConstraints(org.jdom.Element eFeed) + +
+           
+protected  voidRSS10Generator.checkImageConstraints(org.jdom.Element eImage) + +
+           
+protected  voidRSS090Generator.checkImageConstraints(org.jdom.Element eImage) + +
+           
+protected  voidRSS092Generator.checkImageConstraints(org.jdom.Element eImage) + +
+           
+protected  voidRSS091UserlandGenerator.checkImageConstraints(org.jdom.Element eImage) + +
+           
+protected  voidRSS10Generator.checkItemConstraints(org.jdom.Element eItem) + +
+           
+protected  voidRSS090Generator.checkItemConstraints(org.jdom.Element eItem) + +
+           
+protected  voidRSS092Generator.checkItemConstraints(org.jdom.Element eItem) + +
+           
+protected  voidRSS091UserlandGenerator.checkItemConstraints(org.jdom.Element eItem) + +
+           
+protected  voidRSS10Generator.checkItemsConstraints(org.jdom.Element parent) + +
+           
+protected  voidRSS090Generator.checkItemsConstraints(org.jdom.Element parent) + +
+           
+protected  voidRSS092Generator.checkItemsConstraints(org.jdom.Element parent) + +
+           
+protected  voidRSS090Generator.checkLength(org.jdom.Element parent, + String childName, + int minLen, + int maxLen) + +
+           
+protected  voidRSS090Generator.checkNotNullAndLength(org.jdom.Element parent, + String childName, + int minLen, + int maxLen) + +
+           
+protected  voidRSS10Generator.checkTextInputConstraints(org.jdom.Element eTextInput) + +
+           
+protected  voidRSS090Generator.checkTextInputConstraints(org.jdom.Element eTextInput) + +
+           
+protected  voidRSS092Generator.checkTextInputConstraints(org.jdom.Element eTextInput) + +
+           
+protected  voidRSS091UserlandGenerator.checkTextInputConstraints(org.jdom.Element eTextInput) + +
+           
+protected  voidAtom10Generator.fillContentElement(org.jdom.Element contentElement, + Content content) + +
+           
+protected  voidAtom03Generator.fillContentElement(org.jdom.Element contentElement, + Content content) + +
+           
+ org.jdom.DocumentRSS090Generator.generate(WireFeed feed) + +
+           
+ org.jdom.DocumentAtom10Generator.generate(WireFeed wFeed) + +
+           
+ org.jdom.DocumentAtom03Generator.generate(WireFeed wFeed) + +
+           
+ WireFeedAtom10Parser.parse(org.jdom.Document document, + boolean validate) + +
+           
+ WireFeedAtom03Parser.parse(org.jdom.Document document, + boolean validate) + +
+           
+ WireFeedRSS090Parser.parse(org.jdom.Document document, + boolean validate) + +
+           
+static EntryAtom10Parser.parseEntry(Reader rd, + String baseURI) + +
+          Parse entry from reader.
+protected  WireFeedAtom10Parser.parseFeed(org.jdom.Element eFeed) + +
+           
+protected  voidAtom10Generator.populateEntry(Entry entry, + org.jdom.Element eEntry) + +
+           
+protected  voidAtom03Generator.populateEntry(Entry entry, + org.jdom.Element eEntry) + +
+           
+protected  voidRSS090Generator.populateFeed(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidRSS091UserlandGenerator.populateFeed(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidAtom10Generator.populateFeed(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidAtom03Generator.populateFeed(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidAtom10Generator.populateFeedHeader(Feed feed, + org.jdom.Element eFeed) + +
+           
+protected  voidAtom03Generator.populateFeedHeader(Feed feed, + org.jdom.Element eFeed) + +
+           
+static voidAtom10Generator.serializeEntry(Entry entry, + Writer writer) + +
+          Utility method to serialize an entry to writer.
+protected  voidAtom10Parser.validateFeed(org.jdom.Document document) + +
+           
+protected  voidAtom03Parser.validateFeed(org.jdom.Document document) + +
+           
+protected  voidRSS090Parser.validateFeed(org.jdom.Document document) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/ModuleGenerator.html b/apidocs/com/sun/syndication/io/class-use/ModuleGenerator.html new file mode 100644 index 0000000..d6a0322 --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/ModuleGenerator.html @@ -0,0 +1,237 @@ + + + + + + + +Uses of Interface com.sun.syndication.io.ModuleGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.io.ModuleGenerator

+
+ + + + + + + + + + + + + +
+Packages that use ModuleGenerator
com.sun.syndication.io  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of ModuleGenerator in com.sun.syndication.io
+  +

+ + + + + + + + + +
Subinterfaces of ModuleGenerator in com.sun.syndication.io
+ interfaceDelegatingModuleGenerator + +
+          Adds the ability to give a direct wire feed generator reference to plugin + modules that need to call back to their wire feed to complete + generation of their particular namespace.
+  +

+ + + + + +
+Uses of ModuleGenerator in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + +
Classes in com.sun.syndication.io.impl that implement ModuleGenerator
+ classDCModuleGenerator + +
+          Feed Generator for DublinCore Module.
+ classSyModuleGenerator + +
+          Feed Generator for SY ModuleImpl +

+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl that return ModuleGenerator
+ ModuleGeneratorModuleGenerators.getGenerator(String uri) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/ModuleParser.html b/apidocs/com/sun/syndication/io/class-use/ModuleParser.html new file mode 100644 index 0000000..860aeb9 --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/ModuleParser.html @@ -0,0 +1,220 @@ + + + + + + + +Uses of Interface com.sun.syndication.io.ModuleParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.io.ModuleParser

+
+ + + + + + + + + + + + + +
+Packages that use ModuleParser
com.sun.syndication.io  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of ModuleParser in com.sun.syndication.io
+  +

+ + + + + + + + + +
Subinterfaces of ModuleParser in com.sun.syndication.io
+ interfaceDelegatingModuleParser + +
+          Adds the ability to give a direct wire feed reference to plugin + modules that need to call back to their wire feed to complete + parsing of their particular namespace.
+  +

+ + + + + +
+Uses of ModuleParser in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + +
Classes in com.sun.syndication.io.impl that implement ModuleParser
+ classDCModuleParser + +
+          Parser for the Dublin Core module.
+ classSyModuleParser + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/ParsingFeedException.html b/apidocs/com/sun/syndication/io/class-use/ParsingFeedException.html new file mode 100644 index 0000000..84625e2 --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/ParsingFeedException.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.ParsingFeedException (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.ParsingFeedException

+
+No usage of com.sun.syndication.io.ParsingFeedException +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/SAXBuilder.html b/apidocs/com/sun/syndication/io/class-use/SAXBuilder.html new file mode 100644 index 0000000..24d9082 --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/SAXBuilder.html @@ -0,0 +1,181 @@ + + + + + + + +Uses of Class com.sun.syndication.io.SAXBuilder (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.SAXBuilder

+
+ + + + + + + + + +
+Packages that use SAXBuilder
com.sun.syndication.io  
+  +

+ + + + + +
+Uses of SAXBuilder in com.sun.syndication.io
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io that return SAXBuilder
+protected  SAXBuilderWireFeedInput.createSAXBuilder() + +
+          Creates and sets up a org.jdom.input.SAXBuilder for parsing.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/SyndFeedInput.html b/apidocs/com/sun/syndication/io/class-use/SyndFeedInput.html new file mode 100644 index 0000000..2f14801 --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/SyndFeedInput.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.SyndFeedInput (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.SyndFeedInput

+
+No usage of com.sun.syndication.io.SyndFeedInput +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/SyndFeedOutput.html b/apidocs/com/sun/syndication/io/class-use/SyndFeedOutput.html new file mode 100644 index 0000000..79cf3c8 --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/SyndFeedOutput.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.SyndFeedOutput (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.SyndFeedOutput

+
+No usage of com.sun.syndication.io.SyndFeedOutput +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/WireFeedGenerator.html b/apidocs/com/sun/syndication/io/class-use/WireFeedGenerator.html new file mode 100644 index 0000000..73b3eea --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/WireFeedGenerator.html @@ -0,0 +1,333 @@ + + + + + + + +Uses of Interface com.sun.syndication.io.WireFeedGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.io.WireFeedGenerator

+
+ + + + + + + + + + + + + +
+Packages that use WireFeedGenerator
com.sun.syndication.io  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of WireFeedGenerator in com.sun.syndication.io
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io with parameters of type WireFeedGenerator
+ voidDelegatingModuleGenerator.setFeedGenerator(WireFeedGenerator feedGenerator) + +
+          Provides a parent wirefeed reference to this ModuleParser, + or "plugin-in".
+  +

+ + + + + +
+Uses of WireFeedGenerator in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in com.sun.syndication.io.impl that implement WireFeedGenerator
+ classAtom03Generator + +
+          Feed Generator for Atom +

+ classAtom10Generator + +
+          Feed Generator for Atom +

+ classBaseWireFeedGenerator + +
+           
+ classRSS090Generator + +
+          Feed Generator for RSS 0.90 +

+ classRSS091NetscapeGenerator + +
+          Feed Generator for RSS 0.91 +

+ classRSS091UserlandGenerator + +
+          Feed Generator for RSS 0.91 +

+ classRSS092Generator + +
+          Feed Generator for RSS 0.92 +

+ classRSS093Generator + +
+          Feed Generator for RSS 0.93 +

+ classRSS094Generator + +
+          Feed Generator for RSS 0.94 +

+ classRSS10Generator + +
+          Feed Generator for RSS 1.0 +

+ classRSS20Generator + +
+          Feed Generator for RSS 2.0 +

+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl that return WireFeedGenerator
+ WireFeedGeneratorFeedGenerators.getGenerator(String feedType) + +
+           
+  +

+ + + + + + + + +
Constructors in com.sun.syndication.io.impl with parameters of type WireFeedGenerator
PluginManager(String propertyKey, + WireFeedParser parentParser, + WireFeedGenerator parentGenerator) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/WireFeedInput.html b/apidocs/com/sun/syndication/io/class-use/WireFeedInput.html new file mode 100644 index 0000000..5a07c08 --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/WireFeedInput.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.WireFeedInput (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.WireFeedInput

+
+No usage of com.sun.syndication.io.WireFeedInput +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/WireFeedOutput.html b/apidocs/com/sun/syndication/io/class-use/WireFeedOutput.html new file mode 100644 index 0000000..3067382 --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/WireFeedOutput.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.WireFeedOutput (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.WireFeedOutput

+
+No usage of com.sun.syndication.io.WireFeedOutput +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/WireFeedParser.html b/apidocs/com/sun/syndication/io/class-use/WireFeedParser.html new file mode 100644 index 0000000..7391d33 --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/WireFeedParser.html @@ -0,0 +1,341 @@ + + + + + + + +Uses of Interface com.sun.syndication.io.WireFeedParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.sun.syndication.io.WireFeedParser

+
+ + + + + + + + + + + + + +
+Packages that use WireFeedParser
com.sun.syndication.io  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of WireFeedParser in com.sun.syndication.io
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io with parameters of type WireFeedParser
+ voidDelegatingModuleParser.setFeedParser(WireFeedParser feedParser) + +
+          Provides a parent wirefeed reference to this ModuleParser, + or "plugin-in".
+  +

+ + + + + +
+Uses of WireFeedParser in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in com.sun.syndication.io.impl that implement WireFeedParser
+ classAtom03Parser + +
+           
+ classAtom10Parser + +
+          Parser for Atom 1.0
+ classBaseWireFeedParser + +
+           
+ classRSS090Parser + +
+           
+ classRSS091NetscapeParser + +
+           
+ classRSS091UserlandParser + +
+           
+ classRSS092Parser + +
+           
+ classRSS093Parser + +
+           
+ classRSS094Parser + +
+           
+ classRSS10Parser + +
+           
+ classRSS20Parser + +
+           
+ classRSS20wNSParser + +
+          To address issue with certain feeds (brought up by Charles Miller): + + "During the debacle that was the rollout of RSS2.0, this namespace was tried, + and even appeared in Dave Winer's Scripting News feed for a while.
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl that return WireFeedParser
+ WireFeedParserFeedParsers.getParserFor(org.jdom.Document document) + +
+          Finds the real parser type for the given document feed.
+  +

+ + + + + + + + + + + +
Constructors in com.sun.syndication.io.impl with parameters of type WireFeedParser
ModuleParsers(String propertyKey, + WireFeedParser parentParser) + +
+           
PluginManager(String propertyKey, + WireFeedParser parentParser, + WireFeedGenerator parentGenerator) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/XmlReader.html b/apidocs/com/sun/syndication/io/class-use/XmlReader.html new file mode 100644 index 0000000..4d387e9 --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/XmlReader.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.XmlReader (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.XmlReader

+
+No usage of com.sun.syndication.io.XmlReader +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/class-use/XmlReaderException.html b/apidocs/com/sun/syndication/io/class-use/XmlReaderException.html new file mode 100644 index 0000000..d0eec88 --- /dev/null +++ b/apidocs/com/sun/syndication/io/class-use/XmlReaderException.html @@ -0,0 +1,205 @@ + + + + + + + +Uses of Class com.sun.syndication.io.XmlReaderException (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.XmlReaderException

+
+ + + + + + + + + +
+Packages that use XmlReaderException
com.sun.syndication.io  
+  +

+ + + + + +
+Uses of XmlReaderException in com.sun.syndication.io
+  +

+ + + + + + + + + + + + + + + + + +
Constructors in com.sun.syndication.io that throw XmlReaderException
XmlReader(InputStream is, + boolean lenient) + +
+          Creates a Reader for a raw InputStream.
XmlReader(InputStream is, + boolean lenient, + String defaultEncoding) + +
+          Creates a Reader for a raw InputStream and uses the provided default encoding if none is determined.
XmlReader(InputStream is, + String httpContentType, + boolean lenient) + +
+          Creates a Reader using an InputStream and the associated content-type header.
XmlReader(InputStream is, + String httpContentType, + boolean lenient, + String defaultEncoding) + +
+          Creates a Reader using an InputStream and the associated content-type header.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/Atom03Generator.html b/apidocs/com/sun/syndication/io/impl/Atom03Generator.html new file mode 100644 index 0000000..5a18243 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/Atom03Generator.html @@ -0,0 +1,712 @@ + + + + + + + +Atom03Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class Atom03Generator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedGenerator
+      extended by com.sun.syndication.io.impl.Atom03Generator
+
+
+
All Implemented Interfaces:
WireFeedGenerator
+
+
+
+
public class Atom03Generator
extends BaseWireFeedGenerator
+ + +

+Feed Generator for Atom +

+

+ +

+

+
Author:
+
Elaine Chien
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ Atom03Generator() + +
+           
+protected Atom03Generator(String type, + String version) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidaddEntries(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidaddEntry(Entry entry, + org.jdom.Element parent) + +
+           
+protected  voidaddFeed(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidcheckEntriesConstraints(org.jdom.Element parent) + +
+           
+protected  voidcheckEntryConstraints(org.jdom.Element eEntry) + +
+           
+protected  voidcheckFeedHeaderConstraints(org.jdom.Element eFeed) + +
+           
+protected  org.jdom.DocumentcreateDocument(org.jdom.Element root) + +
+           
+protected  org.jdom.ElementcreateRootElement(Feed feed) + +
+           
+protected  voidfillContentElement(org.jdom.Element contentElement, + Content content) + +
+           
+protected  voidfillPersonElement(org.jdom.Element element, + Person person) + +
+           
+ org.jdom.Documentgenerate(WireFeed wFeed) + +
+          Creates an XML document (JDOM) for the given feed bean.
+protected  org.jdom.ElementgenerateGeneratorElement(Generator generator) + +
+           
+protected  org.jdom.ElementgenerateLinkElement(Link link) + +
+           
+protected  org.jdom.ElementgenerateSimpleElement(String name, + String value) + +
+           
+protected  org.jdom.ElementgenerateTagLineElement(Content tagline) + +
+           
+protected  org.jdom.NamespacegetFeedNamespace() + +
+           
+protected  StringgetVersion() + +
+           
+protected  voidpopulateEntry(Entry entry, + org.jdom.Element eEntry) + +
+           
+protected  voidpopulateFeed(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidpopulateFeedHeader(Feed feed, + org.jdom.Element eFeed) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Atom03Generator

+
+public Atom03Generator()
+
+
+
+ +

+Atom03Generator

+
+protected Atom03Generator(String type,
+                          String version)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+protected String getVersion()
+
+
+
+
+
+
+ +

+getFeedNamespace

+
+protected org.jdom.Namespace getFeedNamespace()
+
+
+
+
+
+
+ +

+generate

+
+public org.jdom.Document generate(WireFeed wFeed)
+                           throws FeedException
+
+
Description copied from interface: WireFeedGenerator
+
Creates an XML document (JDOM) for the given feed bean. +

+

+

+
Parameters:
wFeed - the feed bean to generate the XML document from. +
Returns:
the generated XML document (JDOM). +
Throws: +
FeedException - thrown if the XML Document could not be created.
+
+
+
+ +

+createDocument

+
+protected org.jdom.Document createDocument(org.jdom.Element root)
+
+
+
+
+
+
+ +

+createRootElement

+
+protected org.jdom.Element createRootElement(Feed feed)
+
+
+
+
+
+
+ +

+populateFeed

+
+protected void populateFeed(Feed feed,
+                            org.jdom.Element parent)
+                     throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+addFeed

+
+protected void addFeed(Feed feed,
+                       org.jdom.Element parent)
+                throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+addEntries

+
+protected void addEntries(Feed feed,
+                          org.jdom.Element parent)
+                   throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+addEntry

+
+protected void addEntry(Entry entry,
+                        org.jdom.Element parent)
+                 throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+populateFeedHeader

+
+protected void populateFeedHeader(Feed feed,
+                                  org.jdom.Element eFeed)
+                           throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+populateEntry

+
+protected void populateEntry(Entry entry,
+                             org.jdom.Element eEntry)
+                      throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkFeedHeaderConstraints

+
+protected void checkFeedHeaderConstraints(org.jdom.Element eFeed)
+                                   throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkEntriesConstraints

+
+protected void checkEntriesConstraints(org.jdom.Element parent)
+                                throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkEntryConstraints

+
+protected void checkEntryConstraints(org.jdom.Element eEntry)
+                              throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+generateLinkElement

+
+protected org.jdom.Element generateLinkElement(Link link)
+
+
+
+
+
+
+ +

+fillPersonElement

+
+protected void fillPersonElement(org.jdom.Element element,
+                                 Person person)
+
+
+
+
+
+
+ +

+generateTagLineElement

+
+protected org.jdom.Element generateTagLineElement(Content tagline)
+
+
+
+
+
+
+ +

+fillContentElement

+
+protected void fillContentElement(org.jdom.Element contentElement,
+                                  Content content)
+                           throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+generateGeneratorElement

+
+protected org.jdom.Element generateGeneratorElement(Generator generator)
+
+
+
+
+
+
+ +

+generateSimpleElement

+
+protected org.jdom.Element generateSimpleElement(String name,
+                                                 String value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/Atom03Parser.html b/apidocs/com/sun/syndication/io/impl/Atom03Parser.html new file mode 100644 index 0000000..152e941 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/Atom03Parser.html @@ -0,0 +1,384 @@ + + + + + + + +Atom03Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class Atom03Parser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedParser
+      extended by com.sun.syndication.io.impl.Atom03Parser
+
+
+
All Implemented Interfaces:
WireFeedParser
+
+
+
+
public class Atom03Parser
extends BaseWireFeedParser
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ Atom03Parser() + +
+           
+protected Atom03Parser(String type, + org.jdom.Namespace ns) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  org.jdom.NamespacegetAtomNamespace() + +
+           
+ booleanisMyType(org.jdom.Document document) + +
+          Inspects an XML Document (JDOM) to check if it can parse it.
+ WireFeedparse(org.jdom.Document document, + boolean validate) + +
+          Parses an XML document (JDOM Document) into a feed bean.
+protected  WireFeedparseFeed(org.jdom.Element eFeed) + +
+           
+protected  voidvalidateFeed(org.jdom.Document document) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Atom03Parser

+
+public Atom03Parser()
+
+
+
+ +

+Atom03Parser

+
+protected Atom03Parser(String type,
+                       org.jdom.Namespace ns)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAtomNamespace

+
+protected org.jdom.Namespace getAtomNamespace()
+
+
+
+
+
+
+ +

+isMyType

+
+public boolean isMyType(org.jdom.Document document)
+
+
Description copied from interface: WireFeedParser
+
Inspects an XML Document (JDOM) to check if it can parse it. +

+ It checks if the given document if the type of feeds the parser understands. +

+

+

+
Parameters:
document - XML Document (JDOM) to check if it can be parsed by this parser. +
Returns:
true if the parser know how to parser this feed, false otherwise.
+
+
+
+ +

+parse

+
+public WireFeed parse(org.jdom.Document document,
+                      boolean validate)
+               throws IllegalArgumentException,
+                      FeedException
+
+
Description copied from interface: WireFeedParser
+
Parses an XML document (JDOM Document) into a feed bean. +

+

+

+
Parameters:
document - XML document (JDOM) to parse.
validate - indicates if the feed should be strictly validated (NOT YET IMPLEMENTED). +
Returns:
the resulting feed bean. +
Throws: +
IllegalArgumentException - thrown if the parser cannot handle the given feed type. +
FeedException - thrown if a feed bean cannot be created out of the XML document (JDOM).
+
+
+
+ +

+validateFeed

+
+protected void validateFeed(org.jdom.Document document)
+                     throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+parseFeed

+
+protected WireFeed parseFeed(org.jdom.Element eFeed)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/Atom10Generator.html b/apidocs/com/sun/syndication/io/impl/Atom10Generator.html new file mode 100644 index 0000000..3aa381c --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/Atom10Generator.html @@ -0,0 +1,761 @@ + + + + + + + +Atom10Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class Atom10Generator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedGenerator
+      extended by com.sun.syndication.io.impl.Atom10Generator
+
+
+
All Implemented Interfaces:
WireFeedGenerator
+
+
+
+
public class Atom10Generator
extends BaseWireFeedGenerator
+ + +

+Feed Generator for Atom +

+

+ +

+

+
Author:
+
Elaine Chien, Dave Johnson (updated for Atom 1.0)
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ Atom10Generator() + +
+           
+protected Atom10Generator(String type, + String version) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidaddEntries(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidaddEntry(Entry entry, + org.jdom.Element parent) + +
+           
+protected  voidaddFeed(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidcheckEntriesConstraints(org.jdom.Element parent) + +
+           
+protected  voidcheckEntryConstraints(org.jdom.Element eEntry) + +
+           
+protected  voidcheckFeedHeaderConstraints(org.jdom.Element eFeed) + +
+           
+protected  org.jdom.DocumentcreateDocument(org.jdom.Element root) + +
+           
+protected  org.jdom.ElementcreateRootElement(Feed feed) + +
+           
+protected  voidfillContentElement(org.jdom.Element contentElement, + Content content) + +
+           
+protected  voidfillPersonElement(org.jdom.Element element, + Person person) + +
+           
+ org.jdom.Documentgenerate(WireFeed wFeed) + +
+          Creates an XML document (JDOM) for the given feed bean.
+protected  org.jdom.ElementgenerateCategoryElement(Category cat) + +
+           
+protected  org.jdom.ElementgenerateGeneratorElement(Generator generator) + +
+           
+protected  org.jdom.ElementgenerateLinkElement(Link link) + +
+           
+protected  org.jdom.ElementgenerateSimpleElement(String name, + String value) + +
+           
+protected  org.jdom.ElementgenerateTagLineElement(Content tagline) + +
+           
+protected  org.jdom.NamespacegetFeedNamespace() + +
+           
+protected  StringgetVersion() + +
+           
+protected  voidpopulateEntry(Entry entry, + org.jdom.Element eEntry) + +
+           
+protected  voidpopulateFeed(Feed feed, + org.jdom.Element parent) + +
+           
+protected  voidpopulateFeedHeader(Feed feed, + org.jdom.Element eFeed) + +
+           
+static voidserializeEntry(Entry entry, + Writer writer) + +
+          Utility method to serialize an entry to writer.
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Atom10Generator

+
+public Atom10Generator()
+
+
+
+ +

+Atom10Generator

+
+protected Atom10Generator(String type,
+                          String version)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+protected String getVersion()
+
+
+
+
+
+
+ +

+getFeedNamespace

+
+protected org.jdom.Namespace getFeedNamespace()
+
+
+
+
+
+
+ +

+generate

+
+public org.jdom.Document generate(WireFeed wFeed)
+                           throws FeedException
+
+
Description copied from interface: WireFeedGenerator
+
Creates an XML document (JDOM) for the given feed bean. +

+

+

+
Parameters:
wFeed - the feed bean to generate the XML document from. +
Returns:
the generated XML document (JDOM). +
Throws: +
FeedException - thrown if the XML Document could not be created.
+
+
+
+ +

+createDocument

+
+protected org.jdom.Document createDocument(org.jdom.Element root)
+
+
+
+
+
+
+ +

+createRootElement

+
+protected org.jdom.Element createRootElement(Feed feed)
+
+
+
+
+
+
+ +

+populateFeed

+
+protected void populateFeed(Feed feed,
+                            org.jdom.Element parent)
+                     throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+addFeed

+
+protected void addFeed(Feed feed,
+                       org.jdom.Element parent)
+                throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+addEntries

+
+protected void addEntries(Feed feed,
+                          org.jdom.Element parent)
+                   throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+addEntry

+
+protected void addEntry(Entry entry,
+                        org.jdom.Element parent)
+                 throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+populateFeedHeader

+
+protected void populateFeedHeader(Feed feed,
+                                  org.jdom.Element eFeed)
+                           throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+populateEntry

+
+protected void populateEntry(Entry entry,
+                             org.jdom.Element eEntry)
+                      throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkFeedHeaderConstraints

+
+protected void checkFeedHeaderConstraints(org.jdom.Element eFeed)
+                                   throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkEntriesConstraints

+
+protected void checkEntriesConstraints(org.jdom.Element parent)
+                                throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkEntryConstraints

+
+protected void checkEntryConstraints(org.jdom.Element eEntry)
+                              throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+generateCategoryElement

+
+protected org.jdom.Element generateCategoryElement(Category cat)
+
+
+
+
+
+
+ +

+generateLinkElement

+
+protected org.jdom.Element generateLinkElement(Link link)
+
+
+
+
+
+
+ +

+fillPersonElement

+
+protected void fillPersonElement(org.jdom.Element element,
+                                 Person person)
+
+
+
+
+
+
+ +

+generateTagLineElement

+
+protected org.jdom.Element generateTagLineElement(Content tagline)
+
+
+
+
+
+
+ +

+fillContentElement

+
+protected void fillContentElement(org.jdom.Element contentElement,
+                                  Content content)
+                           throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+generateGeneratorElement

+
+protected org.jdom.Element generateGeneratorElement(Generator generator)
+
+
+
+
+
+
+ +

+generateSimpleElement

+
+protected org.jdom.Element generateSimpleElement(String name,
+                                                 String value)
+
+
+
+
+
+
+ +

+serializeEntry

+
+public static void serializeEntry(Entry entry,
+                                  Writer writer)
+                           throws IllegalArgumentException,
+                                  FeedException,
+                                  IOException
+
+
Utility method to serialize an entry to writer. +

+

+ +
Throws: +
IllegalArgumentException +
FeedException +
IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/Atom10Parser.html b/apidocs/com/sun/syndication/io/impl/Atom10Parser.html new file mode 100644 index 0000000..c8d2b2a --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/Atom10Parser.html @@ -0,0 +1,575 @@ + + + + + + + +Atom10Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class Atom10Parser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedParser
+      extended by com.sun.syndication.io.impl.Atom10Parser
+
+
+
All Implemented Interfaces:
WireFeedParser
+
+
+
+
public class Atom10Parser
extends BaseWireFeedParser
+ + +

+Parser for Atom 1.0 +

+ +

+

+
Author:
+
Dave Johnson
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ Atom10Parser() + +
+           
+protected Atom10Parser(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  org.jdom.NamespacegetAtomNamespace() + +
+           
+static booleangetResolveURIs() + +
+           
+static booleanisAbsoluteURI(String uri) + +
+           
+ booleanisMyType(org.jdom.Document document) + +
+          Inspects an XML Document (JDOM) to check if it can parse it.
+static booleanisRelativeURI(String uri) + +
+          Returns true if URI is relative.
+ WireFeedparse(org.jdom.Document document, + boolean validate) + +
+          Parses an XML document (JDOM Document) into a feed bean.
+protected  ListparseEntries(Feed feed, + String baseURI, + List eEntries) + +
+           
+protected  EntryparseEntry(Feed feed, + org.jdom.Element eEntry, + String baseURI) + +
+           
+static EntryparseEntry(Reader rd, + String baseURI) + +
+          Parse entry from reader.
+protected  WireFeedparseFeed(org.jdom.Element eFeed) + +
+           
+static StringresolveURI(String baseURI, + org.jdom.Parent parent, + String url) + +
+          Resolve URI via base URL and parent element.
+static voidsetResolveURIs(boolean resolveURIs) + +
+           
+protected  voidvalidateFeed(org.jdom.Document document) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Atom10Parser

+
+public Atom10Parser()
+
+
+
+ +

+Atom10Parser

+
+protected Atom10Parser(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setResolveURIs

+
+public static void setResolveURIs(boolean resolveURIs)
+
+
+
+
+
+
+ +

+getResolveURIs

+
+public static boolean getResolveURIs()
+
+
+
+
+
+
+ +

+getAtomNamespace

+
+protected org.jdom.Namespace getAtomNamespace()
+
+
+
+
+
+
+ +

+isMyType

+
+public boolean isMyType(org.jdom.Document document)
+
+
Description copied from interface: WireFeedParser
+
Inspects an XML Document (JDOM) to check if it can parse it. +

+ It checks if the given document if the type of feeds the parser understands. +

+

+

+
Parameters:
document - XML Document (JDOM) to check if it can be parsed by this parser. +
Returns:
true if the parser know how to parser this feed, false otherwise.
+
+
+
+ +

+parse

+
+public WireFeed parse(org.jdom.Document document,
+                      boolean validate)
+               throws IllegalArgumentException,
+                      FeedException
+
+
Description copied from interface: WireFeedParser
+
Parses an XML document (JDOM Document) into a feed bean. +

+

+

+
Parameters:
document - XML document (JDOM) to parse.
validate - indicates if the feed should be strictly validated (NOT YET IMPLEMENTED). +
Returns:
the resulting feed bean. +
Throws: +
IllegalArgumentException - thrown if the parser cannot handle the given feed type. +
FeedException - thrown if a feed bean cannot be created out of the XML document (JDOM).
+
+
+
+ +

+validateFeed

+
+protected void validateFeed(org.jdom.Document document)
+                     throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+parseFeed

+
+protected WireFeed parseFeed(org.jdom.Element eFeed)
+                      throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+parseEntries

+
+protected List parseEntries(Feed feed,
+                            String baseURI,
+                            List eEntries)
+
+
+
+
+
+
+ +

+parseEntry

+
+protected Entry parseEntry(Feed feed,
+                           org.jdom.Element eEntry,
+                           String baseURI)
+
+
+
+
+
+
+ +

+isAbsoluteURI

+
+public static boolean isAbsoluteURI(String uri)
+
+
+
+
+
+
+ +

+isRelativeURI

+
+public static boolean isRelativeURI(String uri)
+
+
Returns true if URI is relative. +

+

+
+
+
+
+ +

+resolveURI

+
+public static String resolveURI(String baseURI,
+                                org.jdom.Parent parent,
+                                String url)
+
+
Resolve URI via base URL and parent element. + Resolve URI based considering xml:base and baseURI. +

+

+
Parameters:
baseURI - Base URI used to fetch the XML document
parent - Parent element from which to consider xml:base
url - URL to be resolved
+
+
+
+ +

+parseEntry

+
+public static Entry parseEntry(Reader rd,
+                               String baseURI)
+                        throws org.jdom.JDOMException,
+                               IOException,
+                               IllegalArgumentException,
+                               FeedException
+
+
Parse entry from reader. +

+

+ +
Throws: +
org.jdom.JDOMException +
IOException +
IllegalArgumentException +
FeedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/Base64.html b/apidocs/com/sun/syndication/io/impl/Base64.html new file mode 100644 index 0000000..f486ba0 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/Base64.html @@ -0,0 +1,362 @@ + + + + + + + +Base64 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class Base64

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.Base64
+
+
+
+
public class Base64
extends Object
+ + +

+Encodes/decodes byte arrays and Strings into/from a base 64 String. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Base64() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static byte[]decode(byte[] eData) + +
+          Dencodes a com.sun.syndication.io.impl.Base64 byte array.
+static Stringdecode(String s) + +
+          Decodes a base 64 String into a String.
+static byte[]encode(byte[] dData) + +
+          Encodes a byte array into a base 64 byte array.
+static Stringencode(String s) + +
+          Encodes a String into a base 64 String.
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Base64

+
+public Base64()
+
+
+ + + + + + + + +
+Method Detail
+ +

+encode

+
+public static String encode(String s)
+
+
Encodes a String into a base 64 String. The resulting encoding is chunked at 76 bytes. +

+

+

+
Parameters:
s - String to encode. +
Returns:
encoded string.
+
+
+
+ +

+decode

+
+public static String decode(String s)
+                     throws IllegalArgumentException
+
+
Decodes a base 64 String into a String. +

+

+

+
Parameters:
s - String to decode. +
Returns:
encoded string. +
Throws: +
IllegalArgumentException - thrown if the given byte array was not valid com.sun.syndication.io.impl.Base64 encoding.
+
+
+
+ +

+encode

+
+public static byte[] encode(byte[] dData)
+
+
Encodes a byte array into a base 64 byte array. +

+

+

+
Parameters:
dData - byte array to encode. +
Returns:
encoded byte array.
+
+
+
+ +

+decode

+
+public static byte[] decode(byte[] eData)
+
+
Dencodes a com.sun.syndication.io.impl.Base64 byte array. +

+

+

+
Parameters:
eData - byte array to decode. +
Returns:
decoded byte array. +
Throws: +
IllegalArgumentException - thrown if the given byte array was not valid com.sun.syndication.io.impl.Base64 encoding.
+
+
+
+ +

+main

+
+public static void main(String[] args)
+                 throws Exception
+
+
+ +
Throws: +
Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/BaseWireFeedGenerator.html b/apidocs/com/sun/syndication/io/impl/BaseWireFeedGenerator.html new file mode 100644 index 0000000..9e86ace --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/BaseWireFeedGenerator.html @@ -0,0 +1,432 @@ + + + + + + + +BaseWireFeedGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class BaseWireFeedGenerator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedGenerator
+
+
+
All Implemented Interfaces:
WireFeedGenerator
+
+
+
Direct Known Subclasses:
Atom03Generator, Atom10Generator, RSS090Generator
+
+
+
+
public abstract class BaseWireFeedGenerator
extends Object
implements WireFeedGenerator
+ + +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + +
+Constructor Summary
+protected BaseWireFeedGenerator(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidgenerateFeedModules(List modules, + org.jdom.Element feed) + +
+           
+protected  voidgenerateForeignMarkup(org.jdom.Element e, + List foreignMarkup) + +
+           
+ voidgenerateItemModules(List modules, + org.jdom.Element item) + +
+           
+protected  voidgenerateModuleNamespaceDefs(org.jdom.Element root) + +
+           
+ voidgeneratePersonModules(List modules, + org.jdom.Element person) + +
+           
+ StringgetType() + +
+          Returns the type of feed the generator creates.
+protected static voidpurgeUnusedNamespaceDeclarations(org.jdom.Element root) + +
+          Purging unused declarations is less optimal, performance-wise, than never adding them in the first place.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface com.sun.syndication.io.WireFeedGenerator
generate
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BaseWireFeedGenerator

+
+protected BaseWireFeedGenerator(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getType

+
+public String getType()
+
+
Description copied from interface: WireFeedGenerator
+
Returns the type of feed the generator creates. +

+

+

+
Specified by:
getType in interface WireFeedGenerator
+
+
+ +
Returns:
the type of feed the generator creates.
See Also:
for details on the format of this string. +

+
+
+
+ +

+generateModuleNamespaceDefs

+
+protected void generateModuleNamespaceDefs(org.jdom.Element root)
+
+
+
+
+
+
+
+
+
+ +

+generateFeedModules

+
+protected void generateFeedModules(List modules,
+                                   org.jdom.Element feed)
+
+
+
+
+
+
+
+
+
+ +

+generateItemModules

+
+public void generateItemModules(List modules,
+                                org.jdom.Element item)
+
+
+
+
+
+
+
+
+
+ +

+generatePersonModules

+
+public void generatePersonModules(List modules,
+                                  org.jdom.Element person)
+
+
+
+
+
+
+
+
+
+ +

+generateForeignMarkup

+
+protected void generateForeignMarkup(org.jdom.Element e,
+                                     List foreignMarkup)
+
+
+
+
+
+
+
+
+
+ +

+purgeUnusedNamespaceDeclarations

+
+protected static void purgeUnusedNamespaceDeclarations(org.jdom.Element root)
+
+
Purging unused declarations is less optimal, performance-wise, than never adding them in the first place. So, we + should still ask the ROME guys to fix their code (not adding dozens of unnecessary module declarations). Having + said that: purging them here, before XML generation, is more efficient than parsing and re-molding the XML after + ROME generates it. +

+ Note that the calling app could still add declarations/modules to the Feed tree after this. Which is fine. But + those modules are then responsible for crawling to the root of the tree, at generate() time, to make sure their + namespace declarations are present. +

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/BaseWireFeedParser.html b/apidocs/com/sun/syndication/io/impl/BaseWireFeedParser.html new file mode 100644 index 0000000..740ef70 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/BaseWireFeedParser.html @@ -0,0 +1,424 @@ + + + + + + + +BaseWireFeedParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class BaseWireFeedParser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedParser
+
+
+
All Implemented Interfaces:
WireFeedParser
+
+
+
Direct Known Subclasses:
Atom03Parser, Atom10Parser, RSS090Parser
+
+
+
+
public abstract class BaseWireFeedParser
extends Object
implements WireFeedParser
+ + +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + +
+Constructor Summary
+protected BaseWireFeedParser(String type, + org.jdom.Namespace namespace) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  ListextractForeignMarkup(org.jdom.Element e, + Extendable ext, + org.jdom.Namespace basens) + +
+           
+protected  org.jdom.AttributegetAttribute(org.jdom.Element e, + String attributeName) + +
+           
+protected  StringgetAttributeValue(org.jdom.Element e, + String attributeName) + +
+           
+ StringgetType() + +
+          Returns the type of feed the parser handles.
+protected  ListparseFeedModules(org.jdom.Element feedElement) + +
+           
+protected  ListparseItemModules(org.jdom.Element itemElement) + +
+           
+protected  ListparsePersonModules(org.jdom.Element itemElement) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface com.sun.syndication.io.WireFeedParser
isMyType, parse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BaseWireFeedParser

+
+protected BaseWireFeedParser(String type,
+                             org.jdom.Namespace namespace)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getType

+
+public String getType()
+
+
Returns the type of feed the parser handles. +

+

+

+
Specified by:
getType in interface WireFeedParser
+
+
+ +
Returns:
the type of feed the parser handles.
See Also:
for details on the format of this string. +

+
+
+
+ +

+parseFeedModules

+
+protected List parseFeedModules(org.jdom.Element feedElement)
+
+
+
+
+
+
+
+
+
+ +

+parseItemModules

+
+protected List parseItemModules(org.jdom.Element itemElement)
+
+
+
+
+
+
+
+
+
+ +

+parsePersonModules

+
+protected List parsePersonModules(org.jdom.Element itemElement)
+
+
+
+
+
+
+
+
+
+ +

+extractForeignMarkup

+
+protected List extractForeignMarkup(org.jdom.Element e,
+                                    Extendable ext,
+                                    org.jdom.Namespace basens)
+
+
+
+
+
+
+
+
+
+ +

+getAttribute

+
+protected org.jdom.Attribute getAttribute(org.jdom.Element e,
+                                          String attributeName)
+
+
+
+
+
+
+
+
+
+ +

+getAttributeValue

+
+protected String getAttributeValue(org.jdom.Element e,
+                                   String attributeName)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/DCModuleGenerator.html b/apidocs/com/sun/syndication/io/impl/DCModuleGenerator.html new file mode 100644 index 0000000..1c84663 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/DCModuleGenerator.html @@ -0,0 +1,414 @@ + + + + + + + +DCModuleGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class DCModuleGenerator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.DCModuleGenerator
+
+
+
All Implemented Interfaces:
ModuleGenerator
+
+
+
+
public class DCModuleGenerator
extends Object
implements ModuleGenerator
+ + +

+Feed Generator for DublinCore Module. +

+

+ +

+

+
Author:
+
Elaine Chien
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DCModuleGenerator() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgenerate(Module module, + org.jdom.Element element) + +
+          Populate an element tree with elements for a module.
+protected  org.jdom.ElementgenerateSimpleElement(String name, + String value) + +
+          Utility method to generate a single element containing a string.
+protected  ListgenerateSimpleElementList(String name, + List value) + +
+          Utility method to generate a list of simple elements.
+protected  org.jdom.ElementgenerateSubjectElement(DCSubject subject) + +
+          Utility method to generate an element for a subject.
+ SetgetNamespaces() + +
+          Returns a set with all the URIs (JDOM Namespace elements) this module + generator uses.
+ StringgetNamespaceUri() + +
+          Returns the namespace URI this generator handles.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DCModuleGenerator

+
+public DCModuleGenerator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getNamespaceUri

+
+public final String getNamespaceUri()
+
+
Description copied from interface: ModuleGenerator
+
Returns the namespace URI this generator handles. +

+

+

+
Specified by:
getNamespaceUri in interface ModuleGenerator
+
+
+ +
Returns:
the namespace URI.
+
+
+
+ +

+getNamespaces

+
+public final Set getNamespaces()
+
+
Returns a set with all the URIs (JDOM Namespace elements) this module + generator uses. +

+ It is used by the the feed generators to add their namespace definition + in the root element of the generated document (forward-missing of + Java 5.0 Generics). +

+

+

+
Specified by:
getNamespaces in interface ModuleGenerator
+
+
+ +
Returns:
a set with all the URIs this module generator uses.
+
+
+
+ +

+generate

+
+public final void generate(Module module,
+                           org.jdom.Element element)
+
+
Populate an element tree with elements for a module. +

+

+

+
Specified by:
generate in interface ModuleGenerator
+
+
+
Parameters:
module - the module to populate from.
element - the root element to attach child elements to.
+
+
+
+ +

+generateSubjectElement

+
+protected final org.jdom.Element generateSubjectElement(DCSubject subject)
+
+
Utility method to generate an element for a subject. +

+

+

+
+
+
+
Parameters:
subject - the subject to generate an element for. +
Returns:
the element for the subject.
+
+
+
+ +

+generateSimpleElement

+
+protected final org.jdom.Element generateSimpleElement(String name,
+                                                       String value)
+
+
Utility method to generate a single element containing a string. +

+

+

+
+
+
+
Parameters:
name - the name of the elment to generate.
value - the value of the text in the element. +
Returns:
the element generated.
+
+
+
+ +

+generateSimpleElementList

+
+protected final List generateSimpleElementList(String name,
+                                               List value)
+
+
Utility method to generate a list of simple elements. +

+

+

+
+
+
+
Parameters:
name - the name of the element list to generate.
value - the list of values for the elements. +
Returns:
a list of Elements created.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/DCModuleParser.html b/apidocs/com/sun/syndication/io/impl/DCModuleParser.html new file mode 100644 index 0000000..49d2f21 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/DCModuleParser.html @@ -0,0 +1,398 @@ + + + + + + + +DCModuleParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class DCModuleParser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.DCModuleParser
+
+
+
All Implemented Interfaces:
ModuleParser
+
+
+
+
public class DCModuleParser
extends Object
implements ModuleParser
+ + +

+Parser for the Dublin Core module. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DCModuleParser() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetNamespaceUri() + +
+          Returns the namespace URI this parser handles.
+protected  StringgetTaxonomy(org.jdom.Element desc) + +
+          Utility method to parse a taxonomy from an element.
+ Moduleparse(org.jdom.Element dcRoot) + +
+          Parse an element tree and return the module found in it.
+protected  ListparseElementList(List eList) + +
+          Utility method to parse a list of strings out of a list of elements.
+protected  ListparseElementListDate(List eList) + +
+          Utility method to parse a list of dates out of a list of elements.
+protected  ListparseSubjects(List eList) + +
+          Utility method to parse a list of subjects out of a list of elements.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DCModuleParser

+
+public DCModuleParser()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getNamespaceUri

+
+public final String getNamespaceUri()
+
+
Description copied from interface: ModuleParser
+
Returns the namespace URI this parser handles. +

+

+

+
Specified by:
getNamespaceUri in interface ModuleParser
+
+
+ +
Returns:
the namespace URI.
+
+
+
+ +

+parse

+
+public Module parse(org.jdom.Element dcRoot)
+
+
Parse an element tree and return the module found in it. +

+

+

+
Specified by:
parse in interface ModuleParser
+
+
+
Parameters:
dcRoot - the root element containing the module elements. +
Returns:
the module parsed from the element tree, null if none.
+
+
+
+ +

+getTaxonomy

+
+protected final String getTaxonomy(org.jdom.Element desc)
+
+
Utility method to parse a taxonomy from an element. +

+

+

+
+
+
+
Parameters:
desc - the taxonomy description element. +
Returns:
the string contained in the resource of the element.
+
+
+
+ +

+parseSubjects

+
+protected final List parseSubjects(List eList)
+
+
Utility method to parse a list of subjects out of a list of elements. +

+

+

+
+
+
+
Parameters:
eList - the element list to parse. +
Returns:
a list of subjects parsed from the elements.
+
+
+
+ +

+parseElementList

+
+protected final List parseElementList(List eList)
+
+
Utility method to parse a list of strings out of a list of elements. +

+

+

+
+
+
+
Parameters:
eList - the list of elements to parse. +
Returns:
the list of strings
+
+
+
+ +

+parseElementListDate

+
+protected final List parseElementListDate(List eList)
+
+
Utility method to parse a list of dates out of a list of elements. +

+

+

+
+
+
+
Parameters:
eList - the list of elements to parse. +
Returns:
the list of dates.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/DateParser.html b/apidocs/com/sun/syndication/io/impl/DateParser.html new file mode 100644 index 0000000..4772973 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/DateParser.html @@ -0,0 +1,366 @@ + + + + + + + +DateParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class DateParser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.DateParser
+
+
+
+
public class DateParser
extends Object
+ + +

+A helper class that parses Dates out of Strings with date time in RFC822 and W3CDateTime + formats plus the variants Atom (0.3) and RSS (0.9, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) + specificators added to those formats. +

+ It uses the JDK java.text.SimpleDateFormat class attemtping the parse using a mask for + each one of the possible formats. +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StringformatRFC822(Date date) + +
+          create a RFC822 representation of a date.
+static StringformatW3CDateTime(Date date) + +
+          create a W3C Date Time representation of a date.
+static DateparseDate(String sDate) + +
+          Parses a Date out of a String with a date in W3C date-time format or + in a RFC822 format.
+static DateparseRFC822(String sDate) + +
+          Parses a Date out of a String with a date in RFC822 format.
+static DateparseW3CDateTime(String sDate) + +
+          Parses a Date out of a String with a date in W3C date-time format.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+parseRFC822

+
+public static Date parseRFC822(String sDate)
+
+
Parses a Date out of a String with a date in RFC822 format. +

+ It parsers the following formats: +

+

+ Refer to the java.text.SimpleDateFormat javadocs for details on the format of each element. +

+

+

+
Parameters:
sDate - string to parse for a date. +
Returns:
the Date represented by the given RFC822 string. + It returns null if it was not possible to parse the given string into a Date.
+
+
+
+ +

+parseW3CDateTime

+
+public static Date parseW3CDateTime(String sDate)
+
+
Parses a Date out of a String with a date in W3C date-time format. +

+ It parsers the following formats: +

+

+ Refer to the java.text.SimpleDateFormat javadocs for details on the format of each element. +

+

+

+
Parameters:
sDate - string to parse for a date. +
Returns:
the Date represented by the given W3C date-time string. + It returns null if it was not possible to parse the given string into a Date.
+
+
+
+ +

+parseDate

+
+public static Date parseDate(String sDate)
+
+
Parses a Date out of a String with a date in W3C date-time format or + in a RFC822 format. +

+

+

+
Parameters:
sDate - string to parse for a date. +
Returns:
the Date represented by the given W3C date-time string. + It returns null if it was not possible to parse the given string into a Date.
+
+
+
+ +

+formatRFC822

+
+public static String formatRFC822(Date date)
+
+
create a RFC822 representation of a date. +

+ Refer to the java.text.SimpleDateFormat javadocs for details on the format of each element. +

+

+

+
Parameters:
date - Date to parse +
Returns:
the RFC822 represented by the given Date + It returns null if it was not possible to parse the date.
+
+
+
+ +

+formatW3CDateTime

+
+public static String formatW3CDateTime(Date date)
+
+
create a W3C Date Time representation of a date. +

+ Refer to the java.text.SimpleDateFormat javadocs for details on the format of each element. +

+

+

+
Parameters:
date - Date to parse +
Returns:
the W3C Date Time represented by the given Date + It returns null if it was not possible to parse the date.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/FeedGenerators.html b/apidocs/com/sun/syndication/io/impl/FeedGenerators.html new file mode 100644 index 0000000..858ef59 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/FeedGenerators.html @@ -0,0 +1,359 @@ + + + + + + + +FeedGenerators (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class FeedGenerators

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.PluginManager
+      extended by com.sun.syndication.io.impl.FeedGenerators
+
+
+
+
public class FeedGenerators
extends PluginManager
+ + +

+Generates an XML document (JDOM Document) out of a Feed. +

+ It can generate all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and + Atom 0.3 feed. +

+ WireFeedGenerator instances are thread safe. +

+ Generators for a specific type must extend this class and register in the generator list. + (Right now registration is hardcoded in the WireFeedGenerator constructor). +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringFEED_GENERATORS_KEY + +
+          WireFeedGenerator.classes= [className] ...
+  + + + + + + + + + + +
+Constructor Summary
FeedGenerators() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ WireFeedGeneratorgetGenerator(String feedType) + +
+           
+protected  StringgetKey(Object obj) + +
+           
+ ListgetSupportedFeedTypes() + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.PluginManager
getKeys, getPlugin, getPluginMap, getPlugins
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+FEED_GENERATORS_KEY

+
+public static final String FEED_GENERATORS_KEY
+
+
WireFeedGenerator.classes= [className] ... +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+FeedGenerators

+
+public FeedGenerators()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getGenerator

+
+public WireFeedGenerator getGenerator(String feedType)
+
+
+
+
+
+
+ +

+getKey

+
+protected String getKey(Object obj)
+
+
+
Specified by:
getKey in class PluginManager
+
+
+
+
+
+
+ +

+getSupportedFeedTypes

+
+public List getSupportedFeedTypes()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/FeedParsers.html b/apidocs/com/sun/syndication/io/impl/FeedParsers.html new file mode 100644 index 0000000..86ccc7d --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/FeedParsers.html @@ -0,0 +1,368 @@ + + + + + + + +FeedParsers (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class FeedParsers

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.PluginManager
+      extended by com.sun.syndication.io.impl.FeedParsers
+
+
+
+
public class FeedParsers
extends PluginManager
+ + +

+Parses an XML document (JDOM Document) into a Feed. +

+ It accepts all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and + Atom 0.3 feeds. +

+ The WireFeedParser is a liberal parser. +

+ WireFeedParser instances are thread safe. +

+ Parsers for a specific type must extend this class and register in the parser list. + (Right now registration is hardcoded in the WireFeedParser constructor). +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringFEED_PARSERS_KEY + +
+          WireFeedParser.classes= [className] ...
+  + + + + + + + + + + +
+Constructor Summary
FeedParsers() + +
+          Creates a parser instance.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringgetKey(Object obj) + +
+           
+ WireFeedParsergetParserFor(org.jdom.Document document) + +
+          Finds the real parser type for the given document feed.
+ ListgetSupportedFeedTypes() + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.PluginManager
getKeys, getPlugin, getPluginMap, getPlugins
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+FEED_PARSERS_KEY

+
+public static final String FEED_PARSERS_KEY
+
+
WireFeedParser.classes= [className] ... +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+FeedParsers

+
+public FeedParsers()
+
+
Creates a parser instance. +

+

+

+ + + + + + + + +
+Method Detail
+ +

+getSupportedFeedTypes

+
+public List getSupportedFeedTypes()
+
+
+
+
+
+
+ +

+getParserFor

+
+public WireFeedParser getParserFor(org.jdom.Document document)
+
+
Finds the real parser type for the given document feed. +

+

+

+
Parameters:
document - document feed to find the parser for. +
Returns:
the parser for the given document or null if there is no parser for that document.
+
+
+
+ +

+getKey

+
+protected String getKey(Object obj)
+
+
+
Specified by:
getKey in class PluginManager
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/ModuleGenerators.html b/apidocs/com/sun/syndication/io/impl/ModuleGenerators.html new file mode 100644 index 0000000..6bcdaab --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/ModuleGenerators.html @@ -0,0 +1,346 @@ + + + + + + + +ModuleGenerators (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class ModuleGenerators

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.PluginManager
+      extended by com.sun.syndication.io.impl.ModuleGenerators
+
+
+
+
public class ModuleGenerators
extends PluginManager
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ModuleGenerators(String propertyKey, + BaseWireFeedGenerator parentGenerator) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgenerateModules(List modules, + org.jdom.Element element) + +
+           
+ SetgetAllNamespaces() + +
+           
+ ModuleGeneratorgetGenerator(String uri) + +
+           
+protected  StringgetKey(Object obj) + +
+           
+ ListgetModuleNamespaces() + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.PluginManager
getKeys, getPlugin, getPluginMap, getPlugins
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ModuleGenerators

+
+public ModuleGenerators(String propertyKey,
+                        BaseWireFeedGenerator parentGenerator)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getGenerator

+
+public ModuleGenerator getGenerator(String uri)
+
+
+
+
+
+
+ +

+getKey

+
+protected String getKey(Object obj)
+
+
+
Specified by:
getKey in class PluginManager
+
+
+
+
+
+
+ +

+getModuleNamespaces

+
+public List getModuleNamespaces()
+
+
+
+
+
+
+ +

+generateModules

+
+public void generateModules(List modules,
+                            org.jdom.Element element)
+
+
+
+
+
+
+ +

+getAllNamespaces

+
+public Set getAllNamespaces()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/ModuleParsers.html b/apidocs/com/sun/syndication/io/impl/ModuleParsers.html new file mode 100644 index 0000000..c9801d7 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/ModuleParsers.html @@ -0,0 +1,306 @@ + + + + + + + +ModuleParsers (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class ModuleParsers

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.PluginManager
+      extended by com.sun.syndication.io.impl.ModuleParsers
+
+
+
+
public class ModuleParsers
extends PluginManager
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ModuleParsers(String propertyKey, + WireFeedParser parentParser) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetKey(Object obj) + +
+           
+ ListgetModuleNamespaces() + +
+           
+ ListparseModules(org.jdom.Element root) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.PluginManager
getKeys, getPlugin, getPluginMap, getPlugins
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ModuleParsers

+
+public ModuleParsers(String propertyKey,
+                     WireFeedParser parentParser)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getKey

+
+public String getKey(Object obj)
+
+
+
Specified by:
getKey in class PluginManager
+
+
+
+
+
+
+ +

+getModuleNamespaces

+
+public List getModuleNamespaces()
+
+
+
+
+
+
+ +

+parseModules

+
+public List parseModules(org.jdom.Element root)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/NumberParser.html b/apidocs/com/sun/syndication/io/impl/NumberParser.html new file mode 100644 index 0000000..1c2292a --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/NumberParser.html @@ -0,0 +1,331 @@ + + + + + + + +NumberParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class NumberParser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.NumberParser
+
+
+
+
public class NumberParser
extends Object
+ + +

+A helper class that parses Numbers out of Strings in a lenient manner. + +

+ No method will throw any sort of Exception when parsing a string. + All methods accept any Java String or null as legal input, if the + input is non null, whitespace will be trimmed first, and then parsing + will be attempted. +

+

+ :TODO: Add Integer, Float, and Double methods as needed. +

+

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static FloatparseFloat(String str) + +
+          Parse a Float from a String without exceptions.
+static floatparseFloat(String str, + float def) + +
+          Parse a float from a String, with a default value
+static IntegerparseInt(String str) + +
+          Parse an Integer from a String.
+static LongparseLong(String str) + +
+          Parses a Long out of a string.
+static longparseLong(String str, + long def) + +
+          Parses a long out of a string.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+parseLong

+
+public static Long parseLong(String str)
+
+
Parses a Long out of a string. +

+

+
Parameters:
str - string to parse for a Long. +
Returns:
the Long represented by the given string, + It returns null if it was not possible to parse the the string.
+
+
+
+ +

+parseInt

+
+public static Integer parseInt(String str)
+
+
Parse an Integer from a String. If the String is not an integer null is returned + and no exception is thrown. +

+

+
Parameters:
str - the String to parse +
Returns:
The Integer represented by the String, or null if it could not be parsed.
+
+
+
+ +

+parseFloat

+
+public static Float parseFloat(String str)
+
+
Parse a Float from a String without exceptions. If the String is not a Float then null is returned +

+

+
Parameters:
str - the String to parse +
Returns:
The Float represented by the String, or null if it could not be parsed.
+
+
+
+ +

+parseFloat

+
+public static float parseFloat(String str,
+                               float def)
+
+
Parse a float from a String, with a default value +

+

+
Parameters:
str -
def - the value to return if the String cannot be parsed +
Returns:
+
+
+
+ +

+parseLong

+
+public static long parseLong(String str,
+                             long def)
+
+
Parses a long out of a string. +

+

+
Parameters:
str - string to parse for a long.
def - default value to return if it is not possible to parse the the string. +
Returns:
the long represented by the given string, or the default.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/PluginManager.html b/apidocs/com/sun/syndication/io/impl/PluginManager.html new file mode 100644 index 0000000..649604f --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/PluginManager.html @@ -0,0 +1,368 @@ + + + + + + + +PluginManager (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class PluginManager

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.PluginManager
+
+
+
Direct Known Subclasses:
Converters, FeedGenerators, FeedParsers, ModuleGenerators, ModuleParsers
+
+
+
+
public abstract class PluginManager
extends Object
+ + +

+

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+protected PluginManager(String propertyKey) + +
+          Creates a PluginManager +
+protected PluginManager(String propertyKey, + WireFeedParser parentParser, + WireFeedGenerator parentGenerator) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected abstract  StringgetKey(Object obj) + +
+           
+protected  ListgetKeys() + +
+           
+protected  ObjectgetPlugin(String key) + +
+           
+protected  MapgetPluginMap() + +
+           
+protected  ListgetPlugins() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PluginManager

+
+protected PluginManager(String propertyKey)
+
+
Creates a PluginManager +

+

+

+
Parameters:
propertyKey - property key defining the plugins classes
+
+
+ +

+PluginManager

+
+protected PluginManager(String propertyKey,
+                        WireFeedParser parentParser,
+                        WireFeedGenerator parentGenerator)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getKey

+
+protected abstract String getKey(Object obj)
+
+
+
+
+
+
+ +

+getKeys

+
+protected List getKeys()
+
+
+
+
+
+
+ +

+getPlugins

+
+protected List getPlugins()
+
+
+
+
+
+
+ +

+getPluginMap

+
+protected Map getPluginMap()
+
+
+
+
+
+
+ +

+getPlugin

+
+protected Object getPlugin(String key)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/PropertiesLoader.html b/apidocs/com/sun/syndication/io/impl/PropertiesLoader.html new file mode 100644 index 0000000..b6c3e91 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/PropertiesLoader.html @@ -0,0 +1,292 @@ + + + + + + + +PropertiesLoader (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class PropertiesLoader

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.PropertiesLoader
+
+
+
+
public class PropertiesLoader
extends Object
+ + +

+Properties loader that aggregates a master properties file and several extra properties files, + all from the current classpath. +

+ The master properties file has to be in a distinct location than the extra properties files. + First the master properties file is loaded, then all the extra properties files in their order + of appearance in the classpath. +

+ Current use cases (plugin manager for parsers/converters/generators for feeds and modules + and date formats) assume properties are list of tokens, that why the only method to get + property values is the getTokenizedProperty(). +

+

+ +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static PropertiesLoadergetPropertiesLoader() + +
+          Returns the PropertiesLoader singleton used by ROME to load plugin components.
+ String[]getProperty(String key) + +
+          Returns an array of values stored under a property key in all properties files.
+ String[]getTokenizedProperty(String key, + String separator) + +
+          Returns an array of tokenized values stored under a property key in all properties files.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getPropertiesLoader

+
+public static PropertiesLoader getPropertiesLoader()
+
+
Returns the PropertiesLoader singleton used by ROME to load plugin components. +

+

+ +
Returns:
PropertiesLoader singleton.
+
+
+
+ +

+getTokenizedProperty

+
+public String[] getTokenizedProperty(String key,
+                                     String separator)
+
+
Returns an array of tokenized values stored under a property key in all properties files. + If the master file has this property its tokens will be the first ones in the array. +

+

+

+
Parameters:
key - property key to retrieve values
separator - String with all separator characters to tokenize from the values in all + properties files. +
Returns:
all the tokens for the given property key from all the properties files.
+
+
+
+ +

+getProperty

+
+public String[] getProperty(String key)
+
+
Returns an array of values stored under a property key in all properties files. + If the master file has this property it will be the first ones in the array. +

+

+

+
Parameters:
key - property key to retrieve values +
Returns:
all the values for the given property key from all the properties files.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS090Generator.html b/apidocs/com/sun/syndication/io/impl/RSS090Generator.html new file mode 100644 index 0000000..28d57a4 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS090Generator.html @@ -0,0 +1,841 @@ + + + + + + + +RSS090Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS090Generator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedGenerator
+      extended by com.sun.syndication.io.impl.RSS090Generator
+
+
+
All Implemented Interfaces:
WireFeedGenerator
+
+
+
Direct Known Subclasses:
RSS091UserlandGenerator, RSS10Generator
+
+
+
+
public class RSS090Generator
extends BaseWireFeedGenerator
+ + +

+Feed Generator for RSS 0.90 +

+

+ +

+

+
Author:
+
Elaine Chien
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS090Generator() + +
+           
+protected RSS090Generator(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidaddChannel(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidaddImage(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidaddItem(Item item, + org.jdom.Element parent, + int index) + +
+           
+protected  voidaddItems(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidaddTextInput(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidcheckChannelConstraints(org.jdom.Element eChannel) + +
+           
+protected  voidcheckImageConstraints(org.jdom.Element eImage) + +
+           
+protected  voidcheckItemConstraints(org.jdom.Element eItem) + +
+           
+protected  voidcheckItemsConstraints(org.jdom.Element parent) + +
+           
+protected  voidcheckLength(org.jdom.Element parent, + String childName, + int minLen, + int maxLen) + +
+           
+protected  voidcheckNotNullAndLength(org.jdom.Element parent, + String childName, + int minLen, + int maxLen) + +
+           
+protected  voidcheckTextInputConstraints(org.jdom.Element eTextInput) + +
+           
+protected  org.jdom.DocumentcreateDocument(org.jdom.Element root) + +
+           
+protected  org.jdom.ElementcreateRootElement(Channel channel) + +
+           
+ org.jdom.Documentgenerate(WireFeed feed) + +
+          Creates an XML document (JDOM) for the given feed bean.
+protected  org.jdom.ElementgenerateSimpleElement(String name, + String value) + +
+           
+protected  org.jdom.NamespacegetContentNamespace() + +
+           
+protected  org.jdom.NamespacegetFeedNamespace() + +
+           
+protected  org.jdom.NamespacegetRDFNamespace() + +
+           
+protected  StringgetTextInputLabel() + +
+           
+protected  voidpopulateChannel(Channel channel, + org.jdom.Element eChannel) + +
+          Populates the given channel with parsed data from the ROME element that holds the + channel data.
+protected  voidpopulateFeed(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidpopulateImage(Image image, + org.jdom.Element eImage) + +
+           
+protected  voidpopulateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+protected  voidpopulateTextInput(TextInput textInput, + org.jdom.Element eTextInput) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS090Generator

+
+public RSS090Generator()
+
+
+
+ +

+RSS090Generator

+
+protected RSS090Generator(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+generate

+
+public org.jdom.Document generate(WireFeed feed)
+                           throws FeedException
+
+
Description copied from interface: WireFeedGenerator
+
Creates an XML document (JDOM) for the given feed bean. +

+

+

+
Parameters:
feed - the feed bean to generate the XML document from. +
Returns:
the generated XML document (JDOM). +
Throws: +
FeedException - thrown if the XML Document could not be created.
+
+
+
+ +

+getFeedNamespace

+
+protected org.jdom.Namespace getFeedNamespace()
+
+
+
+
+
+
+ +

+getRDFNamespace

+
+protected org.jdom.Namespace getRDFNamespace()
+
+
+
+
+
+
+ +

+getContentNamespace

+
+protected org.jdom.Namespace getContentNamespace()
+
+
+
+
+
+
+ +

+createDocument

+
+protected org.jdom.Document createDocument(org.jdom.Element root)
+
+
+
+
+
+
+ +

+createRootElement

+
+protected org.jdom.Element createRootElement(Channel channel)
+
+
+
+
+
+
+ +

+populateFeed

+
+protected void populateFeed(Channel channel,
+                            org.jdom.Element parent)
+                     throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+addChannel

+
+protected void addChannel(Channel channel,
+                          org.jdom.Element parent)
+                   throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+populateChannel

+
+protected void populateChannel(Channel channel,
+                               org.jdom.Element eChannel)
+
+
Populates the given channel with parsed data from the ROME element that holds the + channel data. +

+

+
Parameters:
channel - the channel into which parsed data will be added.
eChannel - the XML element that holds the data for the channel.
+
+
+
+ +

+checkNotNullAndLength

+
+protected void checkNotNullAndLength(org.jdom.Element parent,
+                                     String childName,
+                                     int minLen,
+                                     int maxLen)
+                              throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkLength

+
+protected void checkLength(org.jdom.Element parent,
+                           String childName,
+                           int minLen,
+                           int maxLen)
+                    throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+addImage

+
+protected void addImage(Channel channel,
+                        org.jdom.Element parent)
+                 throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+populateImage

+
+protected void populateImage(Image image,
+                             org.jdom.Element eImage)
+
+
+
+
+
+
+ +

+getTextInputLabel

+
+protected String getTextInputLabel()
+
+
+
+
+
+
+ +

+addTextInput

+
+protected void addTextInput(Channel channel,
+                            org.jdom.Element parent)
+                     throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+populateTextInput

+
+protected void populateTextInput(TextInput textInput,
+                                 org.jdom.Element eTextInput)
+
+
+
+
+
+
+ +

+addItems

+
+protected void addItems(Channel channel,
+                        org.jdom.Element parent)
+                 throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+addItem

+
+protected void addItem(Item item,
+                       org.jdom.Element parent,
+                       int index)
+                throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+populateItem

+
+protected void populateItem(Item item,
+                            org.jdom.Element eItem,
+                            int index)
+
+
+
+
+
+
+ +

+generateSimpleElement

+
+protected org.jdom.Element generateSimpleElement(String name,
+                                                 String value)
+
+
+
+
+
+
+ +

+checkChannelConstraints

+
+protected void checkChannelConstraints(org.jdom.Element eChannel)
+                                throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkImageConstraints

+
+protected void checkImageConstraints(org.jdom.Element eImage)
+                              throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkTextInputConstraints

+
+protected void checkTextInputConstraints(org.jdom.Element eTextInput)
+                                  throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkItemsConstraints

+
+protected void checkItemsConstraints(org.jdom.Element parent)
+                              throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkItemConstraints

+
+protected void checkItemConstraints(org.jdom.Element eItem)
+                             throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS090Parser.html b/apidocs/com/sun/syndication/io/impl/RSS090Parser.html new file mode 100644 index 0000000..7b9db42 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS090Parser.html @@ -0,0 +1,624 @@ + + + + + + + +RSS090Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS090Parser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedParser
+      extended by com.sun.syndication.io.impl.RSS090Parser
+
+
+
All Implemented Interfaces:
WireFeedParser
+
+
+
Direct Known Subclasses:
RSS091UserlandParser, RSS10Parser
+
+
+
+
public class RSS090Parser
extends BaseWireFeedParser
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS090Parser() + +
+           
+protected RSS090Parser(String type, + org.jdom.Namespace ns) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  org.jdom.NamespacegetContentNamespace() + +
+          Returns the namespace used by Content Module elements in document.
+protected  org.jdom.ElementgetImage(org.jdom.Element rssRoot) + +
+          This method exists because RSS0.90 and RSS1.0 have the 'image' element under the root elemment.
+protected  ListgetItems(org.jdom.Element rssRoot) + +
+          This method exists because RSS0.90 and RSS1.0 have the 'item' elements under the root elemment.
+protected  org.jdom.NamespacegetRDFNamespace() + +
+          Returns the namespace used by RDF elements in document of the RSS version the parser supports.
+protected  org.jdom.NamespacegetRSSNamespace() + +
+          Returns the namespace used by RSS elements in document of the RSS version the parser supports.
+protected  org.jdom.ElementgetTextInput(org.jdom.Element rssRoot) + +
+          This method exists because RSS0.90 and RSS1.0 have the 'textinput' element under the root elemment.
+ booleanisMyType(org.jdom.Document document) + +
+          Inspects an XML Document (JDOM) to check if it can parse it.
+ WireFeedparse(org.jdom.Document document, + boolean validate) + +
+          Parses an XML document (JDOM Document) into a feed bean.
+protected  WireFeedparseChannel(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document into a Channel bean.
+protected  ImageparseImage(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document looking for image information.
+protected  ItemparseItem(org.jdom.Element rssRoot, + org.jdom.Element eItem) + +
+          Parses an item element of an RSS document looking for item information.
+protected  ListparseItems(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document looking for all items information.
+protected  TextInputparseTextInput(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document looking for text-input information.
+protected  voidvalidateFeed(org.jdom.Document document) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS090Parser

+
+public RSS090Parser()
+
+
+
+ +

+RSS090Parser

+
+protected RSS090Parser(String type,
+                       org.jdom.Namespace ns)
+
+
+ + + + + + + + +
+Method Detail
+ +

+isMyType

+
+public boolean isMyType(org.jdom.Document document)
+
+
Description copied from interface: WireFeedParser
+
Inspects an XML Document (JDOM) to check if it can parse it. +

+ It checks if the given document if the type of feeds the parser understands. +

+

+

+
Parameters:
document - XML Document (JDOM) to check if it can be parsed by this parser. +
Returns:
true if the parser know how to parser this feed, false otherwise.
+
+
+
+ +

+parse

+
+public WireFeed parse(org.jdom.Document document,
+                      boolean validate)
+               throws IllegalArgumentException,
+                      FeedException
+
+
Description copied from interface: WireFeedParser
+
Parses an XML document (JDOM Document) into a feed bean. +

+

+

+
Parameters:
document - XML document (JDOM) to parse.
validate - indicates if the feed should be strictly validated (NOT YET IMPLEMENTED). +
Returns:
the resulting feed bean. +
Throws: +
IllegalArgumentException - thrown if the parser cannot handle the given feed type. +
FeedException - thrown if a feed bean cannot be created out of the XML document (JDOM).
+
+
+
+ +

+validateFeed

+
+protected void validateFeed(org.jdom.Document document)
+                     throws FeedException
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+getRSSNamespace

+
+protected org.jdom.Namespace getRSSNamespace()
+
+
Returns the namespace used by RSS elements in document of the RSS version the parser supports. +

+ This implementation returns the EMTPY namespace. +

+

+

+ +
Returns:
returns the EMPTY namespace.
+
+
+
+ +

+getRDFNamespace

+
+protected org.jdom.Namespace getRDFNamespace()
+
+
Returns the namespace used by RDF elements in document of the RSS version the parser supports. +

+ This implementation returns the EMTPY namespace. +

+

+

+ +
Returns:
returns the EMPTY namespace.
+
+
+
+ +

+getContentNamespace

+
+protected org.jdom.Namespace getContentNamespace()
+
+
Returns the namespace used by Content Module elements in document. +

+ This implementation returns the EMTPY namespace. +

+

+

+ +
Returns:
returns the EMPTY namespace.
+
+
+
+ +

+parseChannel

+
+protected WireFeed parseChannel(org.jdom.Element rssRoot)
+
+
Parses the root element of an RSS document into a Channel bean. +

+ It reads title, link and description and delegates to parseImage, parseItems + and parseTextInput. This delegation always passes the root element of the RSS + document as different RSS version may have this information in different parts + of the XML tree (no assumptions made thanks to the specs variaty) +

+

+

+
Parameters:
rssRoot - the root element of the RSS document to parse. +
Returns:
the parsed Channel bean.
+
+
+
+ +

+getItems

+
+protected List getItems(org.jdom.Element rssRoot)
+
+
This method exists because RSS0.90 and RSS1.0 have the 'item' elements under the root elemment. + And RSS0.91, RSS0.02, RSS0.93, RSS0.94 and RSS2.0 have the item elements under the 'channel' element. +

+

+

+
+
+
+
+ +

+getImage

+
+protected org.jdom.Element getImage(org.jdom.Element rssRoot)
+
+
This method exists because RSS0.90 and RSS1.0 have the 'image' element under the root elemment. + And RSS0.91, RSS0.02, RSS0.93, RSS0.94 and RSS2.0 have it under the 'channel' element. +

+

+

+
+
+
+
+ +

+getTextInput

+
+protected org.jdom.Element getTextInput(org.jdom.Element rssRoot)
+
+
This method exists because RSS0.90 and RSS1.0 have the 'textinput' element under the root elemment. + And RSS0.91, RSS0.02, RSS0.93, RSS0.94 and RSS2.0 have it under the 'channel' element. +

+

+

+
+
+
+
+ +

+parseImage

+
+protected Image parseImage(org.jdom.Element rssRoot)
+
+
Parses the root element of an RSS document looking for image information. +

+ It reads title and url out of the 'image' element. +

+

+

+
Parameters:
rssRoot - the root element of the RSS document to parse for image information. +
Returns:
the parsed image bean.
+
+
+
+ +

+parseItems

+
+protected List parseItems(org.jdom.Element rssRoot)
+
+
Parses the root element of an RSS document looking for all items information. +

+ It iterates through the item elements list, obtained from the getItems() method, and invoke parseItem() + for each item element. The resulting RSSItem of each item element is stored in a list. +

+

+

+
Parameters:
rssRoot - the root element of the RSS document to parse for all items information. +
Returns:
a list with all the parsed RSSItem beans.
+
+
+
+ +

+parseItem

+
+protected Item parseItem(org.jdom.Element rssRoot,
+                         org.jdom.Element eItem)
+
+
Parses an item element of an RSS document looking for item information. +

+ It reads title and link out of the 'item' element. +

+

+

+
Parameters:
rssRoot - the root element of the RSS document in case it's needed for context.
eItem - the item element to parse. +
Returns:
the parsed RSSItem bean.
+
+
+
+ +

+parseTextInput

+
+protected TextInput parseTextInput(org.jdom.Element rssRoot)
+
+
Parses the root element of an RSS document looking for text-input information. +

+ It reads title, description, name and link out of the 'textinput' or 'textInput' element. +

+

+

+
Parameters:
rssRoot - the root element of the RSS document to parse for text-input information. +
Returns:
the parsed RSSTextInput bean.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS091NetscapeGenerator.html b/apidocs/com/sun/syndication/io/impl/RSS091NetscapeGenerator.html new file mode 100644 index 0000000..ddcdfbd --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS091NetscapeGenerator.html @@ -0,0 +1,364 @@ + + + + + + + +RSS091NetscapeGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS091NetscapeGenerator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedGenerator
+      extended by com.sun.syndication.io.impl.RSS090Generator
+          extended by com.sun.syndication.io.impl.RSS091UserlandGenerator
+              extended by com.sun.syndication.io.impl.RSS091NetscapeGenerator
+
+
+
All Implemented Interfaces:
WireFeedGenerator
+
+
+
+
public class RSS091NetscapeGenerator
extends RSS091UserlandGenerator
+ + +

+Feed Generator for RSS 0.91 +

+

+ +

+

+
Author:
+
Elaine Chien
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS091NetscapeGenerator() + +
+           
+protected RSS091NetscapeGenerator(String type, + String version) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  org.jdom.DocumentcreateDocument(org.jdom.Element root) + +
+           
+protected  StringgetTextInputLabel() + +
+           
+protected  booleanisHourFormat24() + +
+          To be overriden by RSS 0.91 Netscape and RSS 0.94
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS091UserlandGenerator
addChannel, checkChannelConstraints, checkImageConstraints, checkItemConstraints, checkTextInputConstraints, createRootElement, generateSkipDaysElement, generateSkipHoursElement, getFeedNamespace, getVersion, populateChannel, populateFeed, populateImage, populateItem
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Generator
addImage, addItem, addItems, addTextInput, checkItemsConstraints, checkLength, checkNotNullAndLength, generate, generateSimpleElement, getContentNamespace, getRDFNamespace, populateTextInput
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS091NetscapeGenerator

+
+public RSS091NetscapeGenerator()
+
+
+
+ +

+RSS091NetscapeGenerator

+
+protected RSS091NetscapeGenerator(String type,
+                                  String version)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createDocument

+
+protected org.jdom.Document createDocument(org.jdom.Element root)
+
+
+
Overrides:
createDocument in class RSS091UserlandGenerator
+
+
+
+
+
+
+ +

+getTextInputLabel

+
+protected String getTextInputLabel()
+
+
+
Overrides:
getTextInputLabel in class RSS090Generator
+
+
+
+
+
+
+ +

+isHourFormat24

+
+protected boolean isHourFormat24()
+
+
To be overriden by RSS 0.91 Netscape and RSS 0.94 +

+

+
Overrides:
isHourFormat24 in class RSS091UserlandGenerator
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS091NetscapeParser.html b/apidocs/com/sun/syndication/io/impl/RSS091NetscapeParser.html new file mode 100644 index 0000000..67e1e34 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS091NetscapeParser.html @@ -0,0 +1,364 @@ + + + + + + + +RSS091NetscapeParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS091NetscapeParser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedParser
+      extended by com.sun.syndication.io.impl.RSS090Parser
+          extended by com.sun.syndication.io.impl.RSS091UserlandParser
+              extended by com.sun.syndication.io.impl.RSS091NetscapeParser
+
+
+
All Implemented Interfaces:
WireFeedParser
+
+
+
+
public class RSS091NetscapeParser
extends RSS091UserlandParser
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS091NetscapeParser() + +
+           
+protected RSS091NetscapeParser(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringgetTextInputLabel() + +
+          To be overriden by RSS 0.91 Netscape parser
+protected  booleanisHourFormat24(org.jdom.Element rssRoot) + +
+          To be overriden by RSS 0.91 Netscape and RSS 0.94
+ booleanisMyType(org.jdom.Document document) + +
+          Inspects an XML Document (JDOM) to check if it can parse it.
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS091UserlandParser
getImage, getItems, getRSSNamespace, getRSSVersion, getTextInput, parseChannel, parseImage, parseItem, parseItemDescription
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Parser
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS091NetscapeParser

+
+public RSS091NetscapeParser()
+
+
+
+ +

+RSS091NetscapeParser

+
+protected RSS091NetscapeParser(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+isMyType

+
+public boolean isMyType(org.jdom.Document document)
+
+
Description copied from interface: WireFeedParser
+
Inspects an XML Document (JDOM) to check if it can parse it. +

+ It checks if the given document if the type of feeds the parser understands. +

+

+

+
Specified by:
isMyType in interface WireFeedParser
Overrides:
isMyType in class RSS091UserlandParser
+
+
+
Parameters:
document - XML Document (JDOM) to check if it can be parsed by this parser. +
Returns:
true if the parser know how to parser this feed, false otherwise.
+
+
+
+ +

+isHourFormat24

+
+protected boolean isHourFormat24(org.jdom.Element rssRoot)
+
+
Description copied from class: RSS091UserlandParser
+
To be overriden by RSS 0.91 Netscape and RSS 0.94 +

+

+
Overrides:
isHourFormat24 in class RSS091UserlandParser
+
+
+
+
+
+
+ +

+getTextInputLabel

+
+protected String getTextInputLabel()
+
+
Description copied from class: RSS091UserlandParser
+
To be overriden by RSS 0.91 Netscape parser +

+

+
Overrides:
getTextInputLabel in class RSS091UserlandParser
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS091UserlandGenerator.html b/apidocs/com/sun/syndication/io/impl/RSS091UserlandGenerator.html new file mode 100644 index 0000000..313ed9d --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS091UserlandGenerator.html @@ -0,0 +1,666 @@ + + + + + + + +RSS091UserlandGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS091UserlandGenerator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedGenerator
+      extended by com.sun.syndication.io.impl.RSS090Generator
+          extended by com.sun.syndication.io.impl.RSS091UserlandGenerator
+
+
+
All Implemented Interfaces:
WireFeedGenerator
+
+
+
Direct Known Subclasses:
RSS091NetscapeGenerator, RSS092Generator
+
+
+
+
public class RSS091UserlandGenerator
extends RSS090Generator
+ + +

+Feed Generator for RSS 0.91 +

+

+ +

+

+
Author:
+
Elaine Chien
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS091UserlandGenerator() + +
+           
+protected RSS091UserlandGenerator(String type, + String version) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidaddChannel(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidcheckChannelConstraints(org.jdom.Element eChannel) + +
+           
+protected  voidcheckImageConstraints(org.jdom.Element eImage) + +
+           
+protected  voidcheckItemConstraints(org.jdom.Element eItem) + +
+           
+protected  voidcheckTextInputConstraints(org.jdom.Element eTextInput) + +
+           
+protected  org.jdom.DocumentcreateDocument(org.jdom.Element root) + +
+           
+protected  org.jdom.ElementcreateRootElement(Channel channel) + +
+           
+protected  org.jdom.ElementgenerateSkipDaysElement(List days) + +
+           
+protected  org.jdom.ElementgenerateSkipHoursElement(List hours) + +
+           
+protected  org.jdom.NamespacegetFeedNamespace() + +
+           
+protected  StringgetVersion() + +
+           
+protected  booleanisHourFormat24() + +
+          To be overriden by RSS 0.91 Netscape and RSS 0.94
+protected  voidpopulateChannel(Channel channel, + org.jdom.Element eChannel) + +
+          Populates the given channel with parsed data from the ROME element that holds the + channel data.
+protected  voidpopulateFeed(Channel channel, + org.jdom.Element parent) + +
+           
+protected  voidpopulateImage(Image image, + org.jdom.Element eImage) + +
+           
+protected  voidpopulateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Generator
addImage, addItem, addItems, addTextInput, checkItemsConstraints, checkLength, checkNotNullAndLength, generate, generateSimpleElement, getContentNamespace, getRDFNamespace, getTextInputLabel, populateTextInput
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS091UserlandGenerator

+
+public RSS091UserlandGenerator()
+
+
+
+ +

+RSS091UserlandGenerator

+
+protected RSS091UserlandGenerator(String type,
+                                  String version)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getFeedNamespace

+
+protected org.jdom.Namespace getFeedNamespace()
+
+
+
Overrides:
getFeedNamespace in class RSS090Generator
+
+
+
+
+
+
+ +

+isHourFormat24

+
+protected boolean isHourFormat24()
+
+
To be overriden by RSS 0.91 Netscape and RSS 0.94 +

+

+
+
+
+
+ +

+getVersion

+
+protected String getVersion()
+
+
+
+
+
+
+ +

+addChannel

+
+protected void addChannel(Channel channel,
+                          org.jdom.Element parent)
+                   throws FeedException
+
+
+
Overrides:
addChannel in class RSS090Generator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkChannelConstraints

+
+protected void checkChannelConstraints(org.jdom.Element eChannel)
+                                throws FeedException
+
+
+
Overrides:
checkChannelConstraints in class RSS090Generator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkImageConstraints

+
+protected void checkImageConstraints(org.jdom.Element eImage)
+                              throws FeedException
+
+
+
Overrides:
checkImageConstraints in class RSS090Generator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkItemConstraints

+
+protected void checkItemConstraints(org.jdom.Element eItem)
+                             throws FeedException
+
+
+
Overrides:
checkItemConstraints in class RSS090Generator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkTextInputConstraints

+
+protected void checkTextInputConstraints(org.jdom.Element eTextInput)
+                                  throws FeedException
+
+
+
Overrides:
checkTextInputConstraints in class RSS090Generator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+createDocument

+
+protected org.jdom.Document createDocument(org.jdom.Element root)
+
+
+
Overrides:
createDocument in class RSS090Generator
+
+
+
+
+
+
+ +

+createRootElement

+
+protected org.jdom.Element createRootElement(Channel channel)
+
+
+
Overrides:
createRootElement in class RSS090Generator
+
+
+
+
+
+
+ +

+generateSkipDaysElement

+
+protected org.jdom.Element generateSkipDaysElement(List days)
+
+
+
+
+
+
+ +

+generateSkipHoursElement

+
+protected org.jdom.Element generateSkipHoursElement(List hours)
+
+
+
+
+
+
+ +

+populateChannel

+
+protected void populateChannel(Channel channel,
+                               org.jdom.Element eChannel)
+
+
Description copied from class: RSS090Generator
+
Populates the given channel with parsed data from the ROME element that holds the + channel data. +

+

+
Overrides:
populateChannel in class RSS090Generator
+
+
+
Parameters:
channel - the channel into which parsed data will be added.
eChannel - the XML element that holds the data for the channel.
+
+
+
+ +

+populateFeed

+
+protected void populateFeed(Channel channel,
+                            org.jdom.Element parent)
+                     throws FeedException
+
+
+
Overrides:
populateFeed in class RSS090Generator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+populateImage

+
+protected void populateImage(Image image,
+                             org.jdom.Element eImage)
+
+
+
Overrides:
populateImage in class RSS090Generator
+
+
+
+
+
+
+ +

+populateItem

+
+protected void populateItem(Item item,
+                            org.jdom.Element eItem,
+                            int index)
+
+
+
Overrides:
populateItem in class RSS090Generator
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS091UserlandParser.html b/apidocs/com/sun/syndication/io/impl/RSS091UserlandParser.html new file mode 100644 index 0000000..190d6cd --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS091UserlandParser.html @@ -0,0 +1,578 @@ + + + + + + + +RSS091UserlandParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS091UserlandParser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedParser
+      extended by com.sun.syndication.io.impl.RSS090Parser
+          extended by com.sun.syndication.io.impl.RSS091UserlandParser
+
+
+
All Implemented Interfaces:
WireFeedParser
+
+
+
Direct Known Subclasses:
RSS091NetscapeParser, RSS092Parser
+
+
+
+
public class RSS091UserlandParser
extends RSS090Parser
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS091UserlandParser() + +
+           
+protected RSS091UserlandParser(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  org.jdom.ElementgetImage(org.jdom.Element rssRoot) + +
+          It looks for the 'image' elements under the 'channel' elemment.
+protected  ListgetItems(org.jdom.Element rssRoot) + +
+          It looks for the 'item' elements under the 'channel' elemment.
+protected  org.jdom.NamespacegetRSSNamespace() + +
+          Returns the namespace used by RSS elements in document of the RSS version the parser supports.
+protected  StringgetRSSVersion() + +
+           
+protected  org.jdom.ElementgetTextInput(org.jdom.Element rssRoot) + +
+          It looks for the 'textinput' elements under the 'channel' elemment.
+protected  StringgetTextInputLabel() + +
+          To be overriden by RSS 0.91 Netscape parser
+protected  booleanisHourFormat24(org.jdom.Element rssRoot) + +
+          To be overriden by RSS 0.91 Netscape and RSS 0.94
+ booleanisMyType(org.jdom.Document document) + +
+          Inspects an XML Document (JDOM) to check if it can parse it.
+protected  WireFeedparseChannel(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document into a Channel bean.
+protected  ImageparseImage(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document looking for image information.
+protected  ItemparseItem(org.jdom.Element rssRoot, + org.jdom.Element eItem) + +
+          Parses an item element of an RSS document looking for item information.
+protected  DescriptionparseItemDescription(org.jdom.Element rssRoot, + org.jdom.Element eDesc) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Parser
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS091UserlandParser

+
+public RSS091UserlandParser()
+
+
+
+ +

+RSS091UserlandParser

+
+protected RSS091UserlandParser(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+isMyType

+
+public boolean isMyType(org.jdom.Document document)
+
+
Description copied from interface: WireFeedParser
+
Inspects an XML Document (JDOM) to check if it can parse it. +

+ It checks if the given document if the type of feeds the parser understands. +

+

+

+
Specified by:
isMyType in interface WireFeedParser
Overrides:
isMyType in class RSS090Parser
+
+
+
Parameters:
document - XML Document (JDOM) to check if it can be parsed by this parser. +
Returns:
true if the parser know how to parser this feed, false otherwise.
+
+
+
+ +

+getRSSVersion

+
+protected String getRSSVersion()
+
+
+
+
+
+
+ +

+getRSSNamespace

+
+protected org.jdom.Namespace getRSSNamespace()
+
+
Description copied from class: RSS090Parser
+
Returns the namespace used by RSS elements in document of the RSS version the parser supports. +

+ This implementation returns the EMTPY namespace. +

+

+

+
Overrides:
getRSSNamespace in class RSS090Parser
+
+
+ +
Returns:
returns the EMPTY namespace.
+
+
+
+ +

+isHourFormat24

+
+protected boolean isHourFormat24(org.jdom.Element rssRoot)
+
+
To be overriden by RSS 0.91 Netscape and RSS 0.94 +

+

+
+
+
+
+ +

+parseChannel

+
+protected WireFeed parseChannel(org.jdom.Element rssRoot)
+
+
Parses the root element of an RSS document into a Channel bean. +

+ It first invokes super.parseChannel and then parses and injects the following + properties if present: language, pubDate, rating and copyright. +

+

+

+
Overrides:
parseChannel in class RSS090Parser
+
+
+
Parameters:
rssRoot - the root element of the RSS document to parse. +
Returns:
the parsed Channel bean.
+
+
+
+ +

+parseImage

+
+protected Image parseImage(org.jdom.Element rssRoot)
+
+
Parses the root element of an RSS document looking for image information. +

+ It first invokes super.parseImage and then parses and injects the following + properties if present: url, link, width, height and description. +

+

+

+
Overrides:
parseImage in class RSS090Parser
+
+
+
Parameters:
rssRoot - the root element of the RSS document to parse for image information. +
Returns:
the parsed RSSImage bean.
+
+
+
+ +

+getItems

+
+protected List getItems(org.jdom.Element rssRoot)
+
+
It looks for the 'item' elements under the 'channel' elemment. +

+

+
Overrides:
getItems in class RSS090Parser
+
+
+
+
+
+
+ +

+getImage

+
+protected org.jdom.Element getImage(org.jdom.Element rssRoot)
+
+
It looks for the 'image' elements under the 'channel' elemment. +

+

+
Overrides:
getImage in class RSS090Parser
+
+
+
+
+
+
+ +

+getTextInputLabel

+
+protected String getTextInputLabel()
+
+
To be overriden by RSS 0.91 Netscape parser +

+

+
+
+
+
+ +

+getTextInput

+
+protected org.jdom.Element getTextInput(org.jdom.Element rssRoot)
+
+
It looks for the 'textinput' elements under the 'channel' elemment. +

+

+
Overrides:
getTextInput in class RSS090Parser
+
+
+
+
+
+
+ +

+parseItem

+
+protected Item parseItem(org.jdom.Element rssRoot,
+                         org.jdom.Element eItem)
+
+
Parses an item element of an RSS document looking for item information. +

+ It first invokes super.parseItem and then parses and injects the description property if present. +

+

+

+
Overrides:
parseItem in class RSS090Parser
+
+
+
Parameters:
rssRoot - the root element of the RSS document in case it's needed for context.
eItem - the item element to parse. +
Returns:
the parsed RSSItem bean.
+
+
+
+ +

+parseItemDescription

+
+protected Description parseItemDescription(org.jdom.Element rssRoot,
+                                           org.jdom.Element eDesc)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS092Generator.html b/apidocs/com/sun/syndication/io/impl/RSS092Generator.html new file mode 100644 index 0000000..d9dd781 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS092Generator.html @@ -0,0 +1,574 @@ + + + + + + + +RSS092Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS092Generator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedGenerator
+      extended by com.sun.syndication.io.impl.RSS090Generator
+          extended by com.sun.syndication.io.impl.RSS091UserlandGenerator
+              extended by com.sun.syndication.io.impl.RSS092Generator
+
+
+
All Implemented Interfaces:
WireFeedGenerator
+
+
+
Direct Known Subclasses:
RSS093Generator
+
+
+
+
public class RSS092Generator
extends RSS091UserlandGenerator
+ + +

+Feed Generator for RSS 0.92 +

+

+ +

+

+
Author:
+
Elaine Chien
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS092Generator() + +
+           
+protected RSS092Generator(String type, + String version) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidcheckChannelConstraints(org.jdom.Element eChannel) + +
+           
+protected  voidcheckImageConstraints(org.jdom.Element eImage) + +
+           
+protected  voidcheckItemConstraints(org.jdom.Element eItem) + +
+           
+protected  voidcheckItemsConstraints(org.jdom.Element parent) + +
+           
+protected  voidcheckTextInputConstraints(org.jdom.Element eTextInput) + +
+           
+protected  org.jdom.ElementgenerateCategoryElement(Category category) + +
+           
+protected  org.jdom.ElementgenerateCloud(Cloud cloud) + +
+           
+protected  org.jdom.ElementgenerateEnclosure(Enclosure enclosure) + +
+           
+protected  org.jdom.ElementgenerateSourceElement(Source source) + +
+           
+protected  intgetNumberOfEnclosures(List enclosures) + +
+           
+protected  voidpopulateChannel(Channel channel, + org.jdom.Element eChannel) + +
+          Populates the given channel with parsed data from the ROME element that holds the + channel data.
+protected  voidpopulateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS091UserlandGenerator
addChannel, createDocument, createRootElement, generateSkipDaysElement, generateSkipHoursElement, getFeedNamespace, getVersion, isHourFormat24, populateFeed, populateImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Generator
addImage, addItem, addItems, addTextInput, checkLength, checkNotNullAndLength, generate, generateSimpleElement, getContentNamespace, getRDFNamespace, getTextInputLabel, populateTextInput
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS092Generator

+
+public RSS092Generator()
+
+
+
+ +

+RSS092Generator

+
+protected RSS092Generator(String type,
+                          String version)
+
+
+ + + + + + + + +
+Method Detail
+ +

+populateChannel

+
+protected void populateChannel(Channel channel,
+                               org.jdom.Element eChannel)
+
+
Description copied from class: RSS090Generator
+
Populates the given channel with parsed data from the ROME element that holds the + channel data. +

+

+
Overrides:
populateChannel in class RSS091UserlandGenerator
+
+
+
Parameters:
channel - the channel into which parsed data will be added.
eChannel - the XML element that holds the data for the channel.
+
+
+
+ +

+generateCloud

+
+protected org.jdom.Element generateCloud(Cloud cloud)
+
+
+
+
+
+
+ +

+getNumberOfEnclosures

+
+protected int getNumberOfEnclosures(List enclosures)
+
+
+
+
+
+
+ +

+populateItem

+
+protected void populateItem(Item item,
+                            org.jdom.Element eItem,
+                            int index)
+
+
+
Overrides:
populateItem in class RSS091UserlandGenerator
+
+
+
+
+
+
+ +

+generateSourceElement

+
+protected org.jdom.Element generateSourceElement(Source source)
+
+
+
+
+
+
+ +

+generateEnclosure

+
+protected org.jdom.Element generateEnclosure(Enclosure enclosure)
+
+
+
+
+
+
+ +

+generateCategoryElement

+
+protected org.jdom.Element generateCategoryElement(Category category)
+
+
+
+
+
+
+ +

+checkChannelConstraints

+
+protected void checkChannelConstraints(org.jdom.Element eChannel)
+                                throws FeedException
+
+
+
Overrides:
checkChannelConstraints in class RSS091UserlandGenerator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkImageConstraints

+
+protected void checkImageConstraints(org.jdom.Element eImage)
+                              throws FeedException
+
+
+
Overrides:
checkImageConstraints in class RSS091UserlandGenerator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkTextInputConstraints

+
+protected void checkTextInputConstraints(org.jdom.Element eTextInput)
+                                  throws FeedException
+
+
+
Overrides:
checkTextInputConstraints in class RSS091UserlandGenerator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkItemsConstraints

+
+protected void checkItemsConstraints(org.jdom.Element parent)
+                              throws FeedException
+
+
+
Overrides:
checkItemsConstraints in class RSS090Generator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkItemConstraints

+
+protected void checkItemConstraints(org.jdom.Element eItem)
+                             throws FeedException
+
+
+
Overrides:
checkItemConstraints in class RSS091UserlandGenerator
+
+
+ +
Throws: +
FeedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS092Parser.html b/apidocs/com/sun/syndication/io/impl/RSS092Parser.html new file mode 100644 index 0000000..1cef895 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS092Parser.html @@ -0,0 +1,414 @@ + + + + + + + +RSS092Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS092Parser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedParser
+      extended by com.sun.syndication.io.impl.RSS090Parser
+          extended by com.sun.syndication.io.impl.RSS091UserlandParser
+              extended by com.sun.syndication.io.impl.RSS092Parser
+
+
+
All Implemented Interfaces:
WireFeedParser
+
+
+
Direct Known Subclasses:
RSS093Parser
+
+
+
+
public class RSS092Parser
extends RSS091UserlandParser
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS092Parser() + +
+           
+protected RSS092Parser(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringgetRSSVersion() + +
+           
+protected  ListparseCategories(List eCats) + +
+           
+protected  WireFeedparseChannel(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document into a Channel bean.
+protected  ItemparseItem(org.jdom.Element rssRoot, + org.jdom.Element eItem) + +
+          Parses an item element of an RSS document looking for item information.
+protected  DescriptionparseItemDescription(org.jdom.Element rssRoot, + org.jdom.Element eDesc) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS091UserlandParser
getImage, getItems, getRSSNamespace, getTextInput, getTextInputLabel, isHourFormat24, isMyType, parseImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Parser
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS092Parser

+
+public RSS092Parser()
+
+
+
+ +

+RSS092Parser

+
+protected RSS092Parser(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getRSSVersion

+
+protected String getRSSVersion()
+
+
+
Overrides:
getRSSVersion in class RSS091UserlandParser
+
+
+
+
+
+
+ +

+parseChannel

+
+protected WireFeed parseChannel(org.jdom.Element rssRoot)
+
+
Description copied from class: RSS091UserlandParser
+
Parses the root element of an RSS document into a Channel bean. +

+ It first invokes super.parseChannel and then parses and injects the following + properties if present: language, pubDate, rating and copyright. +

+

+

+
Overrides:
parseChannel in class RSS091UserlandParser
+
+
+
Parameters:
rssRoot - the root element of the RSS document to parse. +
Returns:
the parsed Channel bean.
+
+
+
+ +

+parseItem

+
+protected Item parseItem(org.jdom.Element rssRoot,
+                         org.jdom.Element eItem)
+
+
Description copied from class: RSS091UserlandParser
+
Parses an item element of an RSS document looking for item information. +

+ It first invokes super.parseItem and then parses and injects the description property if present. +

+

+

+
Overrides:
parseItem in class RSS091UserlandParser
+
+
+
Parameters:
rssRoot - the root element of the RSS document in case it's needed for context.
eItem - the item element to parse. +
Returns:
the parsed RSSItem bean.
+
+
+
+ +

+parseCategories

+
+protected List parseCategories(List eCats)
+
+
+
+
+
+
+ +

+parseItemDescription

+
+protected Description parseItemDescription(org.jdom.Element rssRoot,
+                                           org.jdom.Element eDesc)
+
+
+
Overrides:
parseItemDescription in class RSS091UserlandParser
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS093Generator.html b/apidocs/com/sun/syndication/io/impl/RSS093Generator.html new file mode 100644 index 0000000..52ae550 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS093Generator.html @@ -0,0 +1,357 @@ + + + + + + + +RSS093Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS093Generator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedGenerator
+      extended by com.sun.syndication.io.impl.RSS090Generator
+          extended by com.sun.syndication.io.impl.RSS091UserlandGenerator
+              extended by com.sun.syndication.io.impl.RSS092Generator
+                  extended by com.sun.syndication.io.impl.RSS093Generator
+
+
+
All Implemented Interfaces:
WireFeedGenerator
+
+
+
Direct Known Subclasses:
RSS094Generator
+
+
+
+
public class RSS093Generator
extends RSS092Generator
+ + +

+Feed Generator for RSS 0.93 +

+

+ +

+

+
Author:
+
Elaine Chien
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS093Generator() + +
+           
+protected RSS093Generator(String feedType, + String version) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  intgetNumberOfEnclosures(List enclosures) + +
+           
+protected  voidpopulateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS092Generator
checkChannelConstraints, checkImageConstraints, checkItemConstraints, checkItemsConstraints, checkTextInputConstraints, generateCategoryElement, generateCloud, generateEnclosure, generateSourceElement, populateChannel
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS091UserlandGenerator
addChannel, createDocument, createRootElement, generateSkipDaysElement, generateSkipHoursElement, getFeedNamespace, getVersion, isHourFormat24, populateFeed, populateImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Generator
addImage, addItem, addItems, addTextInput, checkLength, checkNotNullAndLength, generate, generateSimpleElement, getContentNamespace, getRDFNamespace, getTextInputLabel, populateTextInput
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS093Generator

+
+public RSS093Generator()
+
+
+
+ +

+RSS093Generator

+
+protected RSS093Generator(String feedType,
+                          String version)
+
+
+ + + + + + + + +
+Method Detail
+ +

+populateItem

+
+protected void populateItem(Item item,
+                            org.jdom.Element eItem,
+                            int index)
+
+
+
Overrides:
populateItem in class RSS092Generator
+
+
+
+
+
+
+ +

+getNumberOfEnclosures

+
+protected int getNumberOfEnclosures(List enclosures)
+
+
+
Overrides:
getNumberOfEnclosures in class RSS092Generator
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS093Parser.html b/apidocs/com/sun/syndication/io/impl/RSS093Parser.html new file mode 100644 index 0000000..2ab9eb4 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS093Parser.html @@ -0,0 +1,351 @@ + + + + + + + +RSS093Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS093Parser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedParser
+      extended by com.sun.syndication.io.impl.RSS090Parser
+          extended by com.sun.syndication.io.impl.RSS091UserlandParser
+              extended by com.sun.syndication.io.impl.RSS092Parser
+                  extended by com.sun.syndication.io.impl.RSS093Parser
+
+
+
All Implemented Interfaces:
WireFeedParser
+
+
+
Direct Known Subclasses:
RSS094Parser
+
+
+
+
public class RSS093Parser
extends RSS092Parser
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS093Parser() + +
+           
+protected RSS093Parser(String type) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringgetRSSVersion() + +
+           
+protected  ItemparseItem(org.jdom.Element rssRoot, + org.jdom.Element eItem) + +
+          Parses an item element of an RSS document looking for item information.
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS092Parser
parseCategories, parseChannel, parseItemDescription
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS091UserlandParser
getImage, getItems, getRSSNamespace, getTextInput, getTextInputLabel, isHourFormat24, isMyType, parseImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Parser
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS093Parser

+
+public RSS093Parser()
+
+
+
+ +

+RSS093Parser

+
+protected RSS093Parser(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getRSSVersion

+
+protected String getRSSVersion()
+
+
+
Overrides:
getRSSVersion in class RSS092Parser
+
+
+
+
+
+
+ +

+parseItem

+
+protected Item parseItem(org.jdom.Element rssRoot,
+                         org.jdom.Element eItem)
+
+
Description copied from class: RSS091UserlandParser
+
Parses an item element of an RSS document looking for item information. +

+ It first invokes super.parseItem and then parses and injects the description property if present. +

+

+

+
Overrides:
parseItem in class RSS092Parser
+
+
+
Parameters:
rssRoot - the root element of the RSS document in case it's needed for context.
eItem - the item element to parse. +
Returns:
the parsed RSSItem bean.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS094Generator.html b/apidocs/com/sun/syndication/io/impl/RSS094Generator.html new file mode 100644 index 0000000..603b957 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS094Generator.html @@ -0,0 +1,345 @@ + + + + + + + +RSS094Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS094Generator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedGenerator
+      extended by com.sun.syndication.io.impl.RSS090Generator
+          extended by com.sun.syndication.io.impl.RSS091UserlandGenerator
+              extended by com.sun.syndication.io.impl.RSS092Generator
+                  extended by com.sun.syndication.io.impl.RSS093Generator
+                      extended by com.sun.syndication.io.impl.RSS094Generator
+
+
+
All Implemented Interfaces:
WireFeedGenerator
+
+
+
Direct Known Subclasses:
RSS20Generator
+
+
+
+
public class RSS094Generator
extends RSS093Generator
+ + +

+Feed Generator for RSS 0.94 +

+

+ +

+

+
Author:
+
Elaine Chien
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS094Generator() + +
+           
+protected RSS094Generator(String feedType, + String version) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+protected  voidpopulateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS093Generator
getNumberOfEnclosures
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS092Generator
checkChannelConstraints, checkImageConstraints, checkItemConstraints, checkItemsConstraints, checkTextInputConstraints, generateCategoryElement, generateCloud, generateEnclosure, generateSourceElement, populateChannel
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS091UserlandGenerator
addChannel, createDocument, createRootElement, generateSkipDaysElement, generateSkipHoursElement, getFeedNamespace, getVersion, isHourFormat24, populateFeed, populateImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Generator
addImage, addItem, addItems, addTextInput, checkLength, checkNotNullAndLength, generate, generateSimpleElement, getContentNamespace, getRDFNamespace, getTextInputLabel, populateTextInput
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS094Generator

+
+public RSS094Generator()
+
+
+
+ +

+RSS094Generator

+
+protected RSS094Generator(String feedType,
+                          String version)
+
+
+ + + + + + + + +
+Method Detail
+ +

+populateItem

+
+protected void populateItem(Item item,
+                            org.jdom.Element eItem,
+                            int index)
+
+
+
Overrides:
populateItem in class RSS093Generator
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS094Parser.html b/apidocs/com/sun/syndication/io/impl/RSS094Parser.html new file mode 100644 index 0000000..cb099dd --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS094Parser.html @@ -0,0 +1,406 @@ + + + + + + + +RSS094Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS094Parser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedParser
+      extended by com.sun.syndication.io.impl.RSS090Parser
+          extended by com.sun.syndication.io.impl.RSS091UserlandParser
+              extended by com.sun.syndication.io.impl.RSS092Parser
+                  extended by com.sun.syndication.io.impl.RSS093Parser
+                      extended by com.sun.syndication.io.impl.RSS094Parser
+
+
+
All Implemented Interfaces:
WireFeedParser
+
+
+
Direct Known Subclasses:
RSS20Parser
+
+
+
+
public class RSS094Parser
extends RSS093Parser
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS094Parser() + +
+           
+protected RSS094Parser(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringgetRSSVersion() + +
+           
+protected  WireFeedparseChannel(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document into a Channel bean.
+ ItemparseItem(org.jdom.Element rssRoot, + org.jdom.Element eItem) + +
+          Parses an item element of an RSS document looking for item information.
+protected  DescriptionparseItemDescription(org.jdom.Element rssRoot, + org.jdom.Element eDesc) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS092Parser
parseCategories
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS091UserlandParser
getImage, getItems, getRSSNamespace, getTextInput, getTextInputLabel, isHourFormat24, isMyType, parseImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Parser
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS094Parser

+
+public RSS094Parser()
+
+
+
+ +

+RSS094Parser

+
+protected RSS094Parser(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getRSSVersion

+
+protected String getRSSVersion()
+
+
+
Overrides:
getRSSVersion in class RSS093Parser
+
+
+
+
+
+
+ +

+parseChannel

+
+protected WireFeed parseChannel(org.jdom.Element rssRoot)
+
+
Description copied from class: RSS091UserlandParser
+
Parses the root element of an RSS document into a Channel bean. +

+ It first invokes super.parseChannel and then parses and injects the following + properties if present: language, pubDate, rating and copyright. +

+

+

+
Overrides:
parseChannel in class RSS092Parser
+
+
+
Parameters:
rssRoot - the root element of the RSS document to parse. +
Returns:
the parsed Channel bean.
+
+
+
+ +

+parseItem

+
+public Item parseItem(org.jdom.Element rssRoot,
+                      org.jdom.Element eItem)
+
+
Description copied from class: RSS091UserlandParser
+
Parses an item element of an RSS document looking for item information. +

+ It first invokes super.parseItem and then parses and injects the description property if present. +

+

+

+
Overrides:
parseItem in class RSS093Parser
+
+
+
Parameters:
rssRoot - the root element of the RSS document in case it's needed for context.
eItem - the item element to parse. +
Returns:
the parsed RSSItem bean.
+
+
+
+ +

+parseItemDescription

+
+protected Description parseItemDescription(org.jdom.Element rssRoot,
+                                           org.jdom.Element eDesc)
+
+
+
Overrides:
parseItemDescription in class RSS092Parser
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS10Generator.html b/apidocs/com/sun/syndication/io/impl/RSS10Generator.html new file mode 100644 index 0000000..401d45a --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS10Generator.html @@ -0,0 +1,486 @@ + + + + + + + +RSS10Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS10Generator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedGenerator
+      extended by com.sun.syndication.io.impl.RSS090Generator
+          extended by com.sun.syndication.io.impl.RSS10Generator
+
+
+
All Implemented Interfaces:
WireFeedGenerator
+
+
+
+
public class RSS10Generator
extends RSS090Generator
+ + +

+Feed Generator for RSS 1.0 +

+

+ +

+

+
Author:
+
Elaine Chien
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS10Generator() + +
+           
+protected RSS10Generator(String feedType) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidcheckChannelConstraints(org.jdom.Element eChannel) + +
+           
+protected  voidcheckImageConstraints(org.jdom.Element eImage) + +
+           
+protected  voidcheckItemConstraints(org.jdom.Element eItem) + +
+           
+protected  voidcheckItemsConstraints(org.jdom.Element parent) + +
+           
+protected  voidcheckTextInputConstraints(org.jdom.Element eTextInput) + +
+           
+protected  org.jdom.NamespacegetFeedNamespace() + +
+           
+protected  voidpopulateChannel(Channel channel, + org.jdom.Element eChannel) + +
+          Populates the given channel with parsed data from the ROME element that holds the + channel data.
+protected  voidpopulateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Generator
addChannel, addImage, addItem, addItems, addTextInput, checkLength, checkNotNullAndLength, createDocument, createRootElement, generate, generateSimpleElement, getContentNamespace, getRDFNamespace, getTextInputLabel, populateFeed, populateImage, populateTextInput
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS10Generator

+
+public RSS10Generator()
+
+
+
+ +

+RSS10Generator

+
+protected RSS10Generator(String feedType)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getFeedNamespace

+
+protected org.jdom.Namespace getFeedNamespace()
+
+
+
Overrides:
getFeedNamespace in class RSS090Generator
+
+
+
+
+
+
+ +

+populateChannel

+
+protected void populateChannel(Channel channel,
+                               org.jdom.Element eChannel)
+
+
Description copied from class: RSS090Generator
+
Populates the given channel with parsed data from the ROME element that holds the + channel data. +

+

+
Overrides:
populateChannel in class RSS090Generator
+
+
+
Parameters:
channel - the channel into which parsed data will be added.
eChannel - the XML element that holds the data for the channel.
+
+
+
+ +

+populateItem

+
+protected void populateItem(Item item,
+                            org.jdom.Element eItem,
+                            int index)
+
+
+
Overrides:
populateItem in class RSS090Generator
+
+
+
+
+
+
+ +

+checkChannelConstraints

+
+protected void checkChannelConstraints(org.jdom.Element eChannel)
+                                throws FeedException
+
+
+
Overrides:
checkChannelConstraints in class RSS090Generator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkImageConstraints

+
+protected void checkImageConstraints(org.jdom.Element eImage)
+                              throws FeedException
+
+
+
Overrides:
checkImageConstraints in class RSS090Generator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkTextInputConstraints

+
+protected void checkTextInputConstraints(org.jdom.Element eTextInput)
+                                  throws FeedException
+
+
+
Overrides:
checkTextInputConstraints in class RSS090Generator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkItemsConstraints

+
+protected void checkItemsConstraints(org.jdom.Element parent)
+                              throws FeedException
+
+
+
Overrides:
checkItemsConstraints in class RSS090Generator
+
+
+ +
Throws: +
FeedException
+
+
+
+ +

+checkItemConstraints

+
+protected void checkItemConstraints(org.jdom.Element eItem)
+                             throws FeedException
+
+
+
Overrides:
checkItemConstraints in class RSS090Generator
+
+
+ +
Throws: +
FeedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS10Parser.html b/apidocs/com/sun/syndication/io/impl/RSS10Parser.html new file mode 100644 index 0000000..e8a6bdf --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS10Parser.html @@ -0,0 +1,415 @@ + + + + + + + +RSS10Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS10Parser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedParser
+      extended by com.sun.syndication.io.impl.RSS090Parser
+          extended by com.sun.syndication.io.impl.RSS10Parser
+
+
+
All Implemented Interfaces:
WireFeedParser
+
+
+
+
public class RSS10Parser
extends RSS090Parser
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS10Parser() + +
+           
+protected RSS10Parser(String type, + org.jdom.Namespace ns) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  org.jdom.NamespacegetRSSNamespace() + +
+          Returns the namespace used by RSS elements in document of the RSS 1.0 +
+ booleanisMyType(org.jdom.Document document) + +
+          Indicates if a JDom document is an RSS instance that can be parsed with the parser.
+protected  WireFeedparseChannel(org.jdom.Element rssRoot) + +
+          Parses the root element of an RSS document into a Channel bean.
+protected  ItemparseItem(org.jdom.Element rssRoot, + org.jdom.Element eItem) + +
+          Parses an item element of an RSS document looking for item information.
+protected  DescriptionparseItemDescription(org.jdom.Element rssRoot, + org.jdom.Element eDesc) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Parser
getContentNamespace, getImage, getItems, getRDFNamespace, getTextInput, parse, parseImage, parseItems, parseTextInput, validateFeed
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS10Parser

+
+public RSS10Parser()
+
+
+
+ +

+RSS10Parser

+
+protected RSS10Parser(String type,
+                      org.jdom.Namespace ns)
+
+
+ + + + + + + + +
+Method Detail
+ +

+isMyType

+
+public boolean isMyType(org.jdom.Document document)
+
+
Indicates if a JDom document is an RSS instance that can be parsed with the parser. +

+ It checks for RDF ("http://www.w3.org/1999/02/22-rdf-syntax-ns#") and + RSS ("http://purl.org/rss/1.0/") namespaces being defined in the root element. +

+

+
Specified by:
isMyType in interface WireFeedParser
Overrides:
isMyType in class RSS090Parser
+
+
+
Parameters:
document - document to check if it can be parsed with this parser implementation. +
Returns:
true if the document is RSS1., false otherwise.
+
+
+
+ +

+getRSSNamespace

+
+protected org.jdom.Namespace getRSSNamespace()
+
+
Returns the namespace used by RSS elements in document of the RSS 1.0 +

+

+

+
Overrides:
getRSSNamespace in class RSS090Parser
+
+
+ +
Returns:
returns "http://purl.org/rss/1.0/".
+
+
+
+ +

+parseItem

+
+protected Item parseItem(org.jdom.Element rssRoot,
+                         org.jdom.Element eItem)
+
+
Parses an item element of an RSS document looking for item information. +

+ It first invokes super.parseItem and then parses and injects the description property if present. +

+

+

+
Overrides:
parseItem in class RSS090Parser
+
+
+
Parameters:
rssRoot - the root element of the RSS document in case it's needed for context.
eItem - the item element to parse. +
Returns:
the parsed RSSItem bean.
+
+
+
+ +

+parseChannel

+
+protected WireFeed parseChannel(org.jdom.Element rssRoot)
+
+
Description copied from class: RSS090Parser
+
Parses the root element of an RSS document into a Channel bean. +

+ It reads title, link and description and delegates to parseImage, parseItems + and parseTextInput. This delegation always passes the root element of the RSS + document as different RSS version may have this information in different parts + of the XML tree (no assumptions made thanks to the specs variaty) +

+

+

+
Overrides:
parseChannel in class RSS090Parser
+
+
+
Parameters:
rssRoot - the root element of the RSS document to parse. +
Returns:
the parsed Channel bean.
+
+
+
+ +

+parseItemDescription

+
+protected Description parseItemDescription(org.jdom.Element rssRoot,
+                                           org.jdom.Element eDesc)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS20Generator.html b/apidocs/com/sun/syndication/io/impl/RSS20Generator.html new file mode 100644 index 0000000..a1cce28 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS20Generator.html @@ -0,0 +1,372 @@ + + + + + + + +RSS20Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS20Generator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedGenerator
+      extended by com.sun.syndication.io.impl.RSS090Generator
+          extended by com.sun.syndication.io.impl.RSS091UserlandGenerator
+              extended by com.sun.syndication.io.impl.RSS092Generator
+                  extended by com.sun.syndication.io.impl.RSS093Generator
+                      extended by com.sun.syndication.io.impl.RSS094Generator
+                          extended by com.sun.syndication.io.impl.RSS20Generator
+
+
+
All Implemented Interfaces:
WireFeedGenerator
+
+
+
+
public class RSS20Generator
extends RSS094Generator
+ + +

+Feed Generator for RSS 2.0 +

+

+ +

+

+
Author:
+
Elaine Chien
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS20Generator() + +
+           
+protected RSS20Generator(String feedType, + String version) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidpopulateChannel(Channel channel, + org.jdom.Element eChannel) + +
+          Populates the given channel with parsed data from the ROME element that holds the + channel data.
+ voidpopulateItem(Item item, + org.jdom.Element eItem, + int index) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS093Generator
getNumberOfEnclosures
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS092Generator
checkChannelConstraints, checkImageConstraints, checkItemConstraints, checkItemsConstraints, checkTextInputConstraints, generateCategoryElement, generateCloud, generateEnclosure, generateSourceElement
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS091UserlandGenerator
addChannel, createDocument, createRootElement, generateSkipDaysElement, generateSkipHoursElement, getFeedNamespace, getVersion, isHourFormat24, populateFeed, populateImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Generator
addImage, addItem, addItems, addTextInput, checkLength, checkNotNullAndLength, generate, generateSimpleElement, getContentNamespace, getRDFNamespace, getTextInputLabel, populateTextInput
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedGenerator
generateFeedModules, generateForeignMarkup, generateItemModules, generateModuleNamespaceDefs, generatePersonModules, getType, purgeUnusedNamespaceDeclarations
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS20Generator

+
+public RSS20Generator()
+
+
+
+ +

+RSS20Generator

+
+protected RSS20Generator(String feedType,
+                         String version)
+
+
+ + + + + + + + +
+Method Detail
+ +

+populateChannel

+
+protected void populateChannel(Channel channel,
+                               org.jdom.Element eChannel)
+
+
Description copied from class: RSS090Generator
+
Populates the given channel with parsed data from the ROME element that holds the + channel data. +

+

+
Overrides:
populateChannel in class RSS092Generator
+
+
+
Parameters:
channel - the channel into which parsed data will be added.
eChannel - the XML element that holds the data for the channel.
+
+
+
+ +

+populateItem

+
+public void populateItem(Item item,
+                         org.jdom.Element eItem,
+                         int index)
+
+
+
Overrides:
populateItem in class RSS094Generator
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS20Parser.html b/apidocs/com/sun/syndication/io/impl/RSS20Parser.html new file mode 100644 index 0000000..8d041fc --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS20Parser.html @@ -0,0 +1,409 @@ + + + + + + + +RSS20Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS20Parser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedParser
+      extended by com.sun.syndication.io.impl.RSS090Parser
+          extended by com.sun.syndication.io.impl.RSS091UserlandParser
+              extended by com.sun.syndication.io.impl.RSS092Parser
+                  extended by com.sun.syndication.io.impl.RSS093Parser
+                      extended by com.sun.syndication.io.impl.RSS094Parser
+                          extended by com.sun.syndication.io.impl.RSS20Parser
+
+
+
All Implemented Interfaces:
WireFeedParser
+
+
+
Direct Known Subclasses:
RSS20wNSParser
+
+
+
+
public class RSS20Parser
extends RSS094Parser
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS20Parser() + +
+           
+protected RSS20Parser(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringgetRSSVersion() + +
+           
+protected  booleanisHourFormat24(org.jdom.Element rssRoot) + +
+          To be overriden by RSS 0.91 Netscape and RSS 0.94
+ booleanisMyType(org.jdom.Document document) + +
+          Inspects an XML Document (JDOM) to check if it can parse it.
+protected  DescriptionparseItemDescription(org.jdom.Element rssRoot, + org.jdom.Element eDesc) + +
+           
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS094Parser
parseChannel, parseItem
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS092Parser
parseCategories
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS091UserlandParser
getImage, getItems, getRSSNamespace, getTextInput, getTextInputLabel, parseImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Parser
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS20Parser

+
+public RSS20Parser()
+
+
+
+ +

+RSS20Parser

+
+protected RSS20Parser(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getRSSVersion

+
+protected String getRSSVersion()
+
+
+
Overrides:
getRSSVersion in class RSS094Parser
+
+
+
+
+
+
+ +

+isHourFormat24

+
+protected boolean isHourFormat24(org.jdom.Element rssRoot)
+
+
Description copied from class: RSS091UserlandParser
+
To be overriden by RSS 0.91 Netscape and RSS 0.94 +

+

+
Overrides:
isHourFormat24 in class RSS091UserlandParser
+
+
+
+
+
+
+ +

+parseItemDescription

+
+protected Description parseItemDescription(org.jdom.Element rssRoot,
+                                           org.jdom.Element eDesc)
+
+
+
Overrides:
parseItemDescription in class RSS094Parser
+
+
+
+
+
+
+ +

+isMyType

+
+public boolean isMyType(org.jdom.Document document)
+
+
Description copied from interface: WireFeedParser
+
Inspects an XML Document (JDOM) to check if it can parse it. +

+ It checks if the given document if the type of feeds the parser understands. +

+

+

+
Specified by:
isMyType in interface WireFeedParser
Overrides:
isMyType in class RSS091UserlandParser
+
+
+
Parameters:
document - XML Document (JDOM) to check if it can be parsed by this parser. +
Returns:
true if the parser know how to parser this feed, false otherwise.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/RSS20wNSParser.html b/apidocs/com/sun/syndication/io/impl/RSS20wNSParser.html new file mode 100644 index 0000000..536e107 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/RSS20wNSParser.html @@ -0,0 +1,413 @@ + + + + + + + +RSS20wNSParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class RSS20wNSParser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.BaseWireFeedParser
+      extended by com.sun.syndication.io.impl.RSS090Parser
+          extended by com.sun.syndication.io.impl.RSS091UserlandParser
+              extended by com.sun.syndication.io.impl.RSS092Parser
+                  extended by com.sun.syndication.io.impl.RSS093Parser
+                      extended by com.sun.syndication.io.impl.RSS094Parser
+                          extended by com.sun.syndication.io.impl.RSS20Parser
+                              extended by com.sun.syndication.io.impl.RSS20wNSParser
+
+
+
All Implemented Interfaces:
WireFeedParser
+
+
+
+
public class RSS20wNSParser
extends RSS20Parser
+ + +

+To address issue with certain feeds (brought up by Charles Miller): + + "During the debacle that was the rollout of RSS2.0, this namespace was tried, + and even appeared in Dave Winer's Scripting News feed for a while. It was + then withdrawn, but the wonderful thing about standards is the moment you + roll one out, even if it's marked as unfinished and subject to change, + someone will end up stuck with it forever." + + Note that there is not counter part on the generator, we only generate the final RSS2 +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ RSS20wNSParser() + +
+           
+protected RSS20wNSParser(String type) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  org.jdom.NamespacegetRSSNamespace() + +
+          Returns the namespace used by RSS elements in document of the RSS version the parser supports.
+ booleanisMyType(org.jdom.Document document) + +
+          Inspects an XML Document (JDOM) to check if it can parse it.
+protected  WireFeedparseChannel(org.jdom.Element rssRoot) + +
+          After we parse the feed we put "rss_2.0" in it (so converters and generators work) + this parser is a phantom.
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS20Parser
getRSSVersion, isHourFormat24, parseItemDescription
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS094Parser
parseItem
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS092Parser
parseCategories
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS091UserlandParser
getImage, getItems, getTextInput, getTextInputLabel, parseImage
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.RSS090Parser
getContentNamespace, getRDFNamespace, parse, parseItems, parseTextInput, validateFeed
+ + + + + + + +
Methods inherited from class com.sun.syndication.io.impl.BaseWireFeedParser
extractForeignMarkup, getAttribute, getAttributeValue, getType, parseFeedModules, parseItemModules, parsePersonModules
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RSS20wNSParser

+
+public RSS20wNSParser()
+
+
+
+ +

+RSS20wNSParser

+
+protected RSS20wNSParser(String type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+isMyType

+
+public boolean isMyType(org.jdom.Document document)
+
+
Description copied from interface: WireFeedParser
+
Inspects an XML Document (JDOM) to check if it can parse it. +

+ It checks if the given document if the type of feeds the parser understands. +

+

+

+
Specified by:
isMyType in interface WireFeedParser
Overrides:
isMyType in class RSS20Parser
+
+
+
Parameters:
document - XML Document (JDOM) to check if it can be parsed by this parser. +
Returns:
true if the parser know how to parser this feed, false otherwise.
+
+
+
+ +

+getRSSNamespace

+
+protected org.jdom.Namespace getRSSNamespace()
+
+
Description copied from class: RSS090Parser
+
Returns the namespace used by RSS elements in document of the RSS version the parser supports. +

+ This implementation returns the EMTPY namespace. +

+

+

+
Overrides:
getRSSNamespace in class RSS091UserlandParser
+
+
+ +
Returns:
returns the EMPTY namespace.
+
+
+
+ +

+parseChannel

+
+protected WireFeed parseChannel(org.jdom.Element rssRoot)
+
+
After we parse the feed we put "rss_2.0" in it (so converters and generators work) + this parser is a phantom. +

+

+
Overrides:
parseChannel in class RSS094Parser
+
+
+
Parameters:
rssRoot - the root element of the RSS document to parse. +
Returns:
the parsed Channel bean.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/SyModuleGenerator.html b/apidocs/com/sun/syndication/io/impl/SyModuleGenerator.html new file mode 100644 index 0000000..e6e54b2 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/SyModuleGenerator.html @@ -0,0 +1,330 @@ + + + + + + + +SyModuleGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class SyModuleGenerator

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.SyModuleGenerator
+
+
+
All Implemented Interfaces:
ModuleGenerator
+
+
+
+
public class SyModuleGenerator
extends Object
implements ModuleGenerator
+ + +

+Feed Generator for SY ModuleImpl +

+

+ +

+

+
Author:
+
Elaine Chien
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SyModuleGenerator() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidgenerate(Module module, + org.jdom.Element element) + +
+          Generates and injects module metadata into an XML node (JDOM element).
+ SetgetNamespaces() + +
+          Returns a set with all the URIs (JDOM Namespace elements) this module generator uses.
+ StringgetNamespaceUri() + +
+          Returns the namespace URI this generator handles.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyModuleGenerator

+
+public SyModuleGenerator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getNamespaceUri

+
+public String getNamespaceUri()
+
+
Description copied from interface: ModuleGenerator
+
Returns the namespace URI this generator handles. +

+

+

+
Specified by:
getNamespaceUri in interface ModuleGenerator
+
+
+ +
Returns:
the namespace URI.
+
+
+
+ +

+getNamespaces

+
+public Set getNamespaces()
+
+
Returns a set with all the URIs (JDOM Namespace elements) this module generator uses. +

+ It is used by the the feed generators to add their namespace definition in + the root element of the generated document (forward-missing of Java 5.0 Generics). +

+

+

+
Specified by:
getNamespaces in interface ModuleGenerator
+
+
+ +
Returns:
a set with all the URIs (JDOM Namespace elements) this module generator uses.
+
+
+
+ +

+generate

+
+public void generate(Module module,
+                     org.jdom.Element element)
+
+
Description copied from interface: ModuleGenerator
+
Generates and injects module metadata into an XML node (JDOM element). +

+

+

+
Specified by:
generate in interface ModuleGenerator
+
+
+
Parameters:
module - the module to inject into the XML node (JDOM element).
element - the XML node into which module meta-data will be injected.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/SyModuleParser.html b/apidocs/com/sun/syndication/io/impl/SyModuleParser.html new file mode 100644 index 0000000..08ea161 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/SyModuleParser.html @@ -0,0 +1,291 @@ + + + + + + + +SyModuleParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class SyModuleParser

+
+java.lang.Object
+  extended by com.sun.syndication.io.impl.SyModuleParser
+
+
+
All Implemented Interfaces:
ModuleParser
+
+
+
+
public class SyModuleParser
extends Object
implements ModuleParser
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SyModuleParser() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetNamespaceUri() + +
+          Returns the namespace URI this parser handles.
+ Moduleparse(org.jdom.Element syndRoot) + +
+          Parses the XML node (JDOM element) extracting module information.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyModuleParser

+
+public SyModuleParser()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getNamespaceUri

+
+public String getNamespaceUri()
+
+
Description copied from interface: ModuleParser
+
Returns the namespace URI this parser handles. +

+

+

+
Specified by:
getNamespaceUri in interface ModuleParser
+
+
+ +
Returns:
the namespace URI.
+
+
+
+ +

+parse

+
+public Module parse(org.jdom.Element syndRoot)
+
+
Description copied from interface: ModuleParser
+
Parses the XML node (JDOM element) extracting module information. +

+

+

+
Specified by:
parse in interface ModuleParser
+
+
+
Parameters:
syndRoot - the XML node (JDOM element) to extract module information from. +
Returns:
a module instance, null if the element did not have module information.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/XmlFixerReader.html b/apidocs/com/sun/syndication/io/impl/XmlFixerReader.html new file mode 100644 index 0000000..91d07d9 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/XmlFixerReader.html @@ -0,0 +1,516 @@ + + + + + + + +XmlFixerReader (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.sun.syndication.io.impl +
+Class XmlFixerReader

+
+java.lang.Object
+  extended by java.io.Reader
+      extended by com.sun.syndication.io.impl.XmlFixerReader
+
+
+
All Implemented Interfaces:
Closeable, Readable
+
+
+
+
public class XmlFixerReader
extends Reader
+ + +

+

+
Author:
+
Alejandro Abdelnur
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+protected  Readerin + +
+           
+ + + + + + + +
Fields inherited from class java.io.Reader
lock
+  + + + + + + + + + + +
+Constructor Summary
XmlFixerReader(Reader in) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+           
+ voidmark(int readAheadLimit) + +
+           
+ booleanmarkSupported() + +
+           
+ StringprocessHtmlEntities(String s) + +
+           
+ intread() + +
+           
+ intread(char[] buffer, + int offset, + int len) + +
+           
+ booleanready() + +
+           
+ voidreset() + +
+           
+ longskip(long n) + +
+           
+ + + + + + + +
Methods inherited from class java.io.Reader
read, read
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+in

+
+protected Reader in
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+XmlFixerReader

+
+public XmlFixerReader(Reader in)
+
+
+ + + + + + + + +
+Method Detail
+ +

+read

+
+public int read()
+         throws IOException
+
+
+
Overrides:
read in class Reader
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+read

+
+public int read(char[] buffer,
+                int offset,
+                int len)
+         throws IOException
+
+
+
Specified by:
read in class Reader
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+skip

+
+public long skip(long n)
+          throws IOException
+
+
+
Overrides:
skip in class Reader
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+ready

+
+public boolean ready()
+              throws IOException
+
+
+
Overrides:
ready in class Reader
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+markSupported

+
+public boolean markSupported()
+
+
+
Overrides:
markSupported in class Reader
+
+
+
+
+
+
+ +

+mark

+
+public void mark(int readAheadLimit)
+          throws IOException
+
+
+
Overrides:
mark in class Reader
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+reset

+
+public void reset()
+           throws IOException
+
+
+
Overrides:
reset in class Reader
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+close

+
+public void close()
+           throws IOException
+
+
+
Specified by:
close in interface Closeable
Specified by:
close in class Reader
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+processHtmlEntities

+
+public String processHtmlEntities(String s)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/Atom03Generator.html b/apidocs/com/sun/syndication/io/impl/class-use/Atom03Generator.html new file mode 100644 index 0000000..61b07b4 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/Atom03Generator.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.Atom03Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.Atom03Generator

+
+No usage of com.sun.syndication.io.impl.Atom03Generator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/Atom03Parser.html b/apidocs/com/sun/syndication/io/impl/class-use/Atom03Parser.html new file mode 100644 index 0000000..dbe1fc5 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/Atom03Parser.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.Atom03Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.Atom03Parser

+
+No usage of com.sun.syndication.io.impl.Atom03Parser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/Atom10Generator.html b/apidocs/com/sun/syndication/io/impl/class-use/Atom10Generator.html new file mode 100644 index 0000000..f4ff293 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/Atom10Generator.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.Atom10Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.Atom10Generator

+
+No usage of com.sun.syndication.io.impl.Atom10Generator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/Atom10Parser.html b/apidocs/com/sun/syndication/io/impl/class-use/Atom10Parser.html new file mode 100644 index 0000000..be2958f --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/Atom10Parser.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.Atom10Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.Atom10Parser

+
+No usage of com.sun.syndication.io.impl.Atom10Parser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/Base64.html b/apidocs/com/sun/syndication/io/impl/class-use/Base64.html new file mode 100644 index 0000000..480bcce --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/Base64.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.Base64 (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.Base64

+
+No usage of com.sun.syndication.io.impl.Base64 +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/BaseWireFeedGenerator.html b/apidocs/com/sun/syndication/io/impl/class-use/BaseWireFeedGenerator.html new file mode 100644 index 0000000..9a214dc --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/BaseWireFeedGenerator.html @@ -0,0 +1,278 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.BaseWireFeedGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.BaseWireFeedGenerator

+
+ + + + + + + + + +
+Packages that use BaseWireFeedGenerator
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of BaseWireFeedGenerator in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of BaseWireFeedGenerator in com.sun.syndication.io.impl
+ classAtom03Generator + +
+          Feed Generator for Atom +

+ classAtom10Generator + +
+          Feed Generator for Atom +

+ classRSS090Generator + +
+          Feed Generator for RSS 0.90 +

+ classRSS091NetscapeGenerator + +
+          Feed Generator for RSS 0.91 +

+ classRSS091UserlandGenerator + +
+          Feed Generator for RSS 0.91 +

+ classRSS092Generator + +
+          Feed Generator for RSS 0.92 +

+ classRSS093Generator + +
+          Feed Generator for RSS 0.93 +

+ classRSS094Generator + +
+          Feed Generator for RSS 0.94 +

+ classRSS10Generator + +
+          Feed Generator for RSS 1.0 +

+ classRSS20Generator + +
+          Feed Generator for RSS 2.0 +

+  +

+ + + + + + + + +
Constructors in com.sun.syndication.io.impl with parameters of type BaseWireFeedGenerator
ModuleGenerators(String propertyKey, + BaseWireFeedGenerator parentGenerator) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/BaseWireFeedParser.html b/apidocs/com/sun/syndication/io/impl/class-use/BaseWireFeedParser.html new file mode 100644 index 0000000..a691bdc --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/BaseWireFeedParser.html @@ -0,0 +1,264 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.BaseWireFeedParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.BaseWireFeedParser

+
+ + + + + + + + + +
+Packages that use BaseWireFeedParser
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of BaseWireFeedParser in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of BaseWireFeedParser in com.sun.syndication.io.impl
+ classAtom03Parser + +
+           
+ classAtom10Parser + +
+          Parser for Atom 1.0
+ classRSS090Parser + +
+           
+ classRSS091NetscapeParser + +
+           
+ classRSS091UserlandParser + +
+           
+ classRSS092Parser + +
+           
+ classRSS093Parser + +
+           
+ classRSS094Parser + +
+           
+ classRSS10Parser + +
+           
+ classRSS20Parser + +
+           
+ classRSS20wNSParser + +
+          To address issue with certain feeds (brought up by Charles Miller): + + "During the debacle that was the rollout of RSS2.0, this namespace was tried, + and even appeared in Dave Winer's Scripting News feed for a while.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/DCModuleGenerator.html b/apidocs/com/sun/syndication/io/impl/class-use/DCModuleGenerator.html new file mode 100644 index 0000000..15eeb10 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/DCModuleGenerator.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.DCModuleGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.DCModuleGenerator

+
+No usage of com.sun.syndication.io.impl.DCModuleGenerator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/DCModuleParser.html b/apidocs/com/sun/syndication/io/impl/class-use/DCModuleParser.html new file mode 100644 index 0000000..c5fd931 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/DCModuleParser.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.DCModuleParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.DCModuleParser

+
+No usage of com.sun.syndication.io.impl.DCModuleParser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/DateParser.html b/apidocs/com/sun/syndication/io/impl/class-use/DateParser.html new file mode 100644 index 0000000..a56db2f --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/DateParser.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.DateParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.DateParser

+
+No usage of com.sun.syndication.io.impl.DateParser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/FeedGenerators.html b/apidocs/com/sun/syndication/io/impl/class-use/FeedGenerators.html new file mode 100644 index 0000000..84b772c --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/FeedGenerators.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.FeedGenerators (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.FeedGenerators

+
+No usage of com.sun.syndication.io.impl.FeedGenerators +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/FeedParsers.html b/apidocs/com/sun/syndication/io/impl/class-use/FeedParsers.html new file mode 100644 index 0000000..f54af69 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/FeedParsers.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.FeedParsers (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.FeedParsers

+
+No usage of com.sun.syndication.io.impl.FeedParsers +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/ModuleGenerators.html b/apidocs/com/sun/syndication/io/impl/class-use/ModuleGenerators.html new file mode 100644 index 0000000..e6cbe5e --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/ModuleGenerators.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.ModuleGenerators (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.ModuleGenerators

+
+No usage of com.sun.syndication.io.impl.ModuleGenerators +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/ModuleParsers.html b/apidocs/com/sun/syndication/io/impl/class-use/ModuleParsers.html new file mode 100644 index 0000000..30537f4 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/ModuleParsers.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.ModuleParsers (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.ModuleParsers

+
+No usage of com.sun.syndication.io.impl.ModuleParsers +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/NumberParser.html b/apidocs/com/sun/syndication/io/impl/class-use/NumberParser.html new file mode 100644 index 0000000..10e233d --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/NumberParser.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.NumberParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.NumberParser

+
+No usage of com.sun.syndication.io.impl.NumberParser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/PluginManager.html b/apidocs/com/sun/syndication/io/impl/class-use/PluginManager.html new file mode 100644 index 0000000..d8a508e --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/PluginManager.html @@ -0,0 +1,234 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.PluginManager (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.PluginManager

+
+ + + + + + + + + + + + + +
+Packages that use PluginManager
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of PluginManager in com.sun.syndication.feed.synd.impl
+  +

+ + + + + + + + + +
Subclasses of PluginManager in com.sun.syndication.feed.synd.impl
+ classConverters + +
+          Created by IntelliJ IDEA.
+  +

+ + + + + +
+Uses of PluginManager in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Subclasses of PluginManager in com.sun.syndication.io.impl
+ classFeedGenerators + +
+          Generates an XML document (JDOM Document) out of a Feed.
+ classFeedParsers + +
+          Parses an XML document (JDOM Document) into a Feed.
+ classModuleGenerators + +
+           
+ classModuleParsers + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/PropertiesLoader.html b/apidocs/com/sun/syndication/io/impl/class-use/PropertiesLoader.html new file mode 100644 index 0000000..094f943 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/PropertiesLoader.html @@ -0,0 +1,181 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.PropertiesLoader (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.PropertiesLoader

+
+ + + + + + + + + +
+Packages that use PropertiesLoader
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of PropertiesLoader in com.sun.syndication.io.impl
+  +

+ + + + + + + + + +
Methods in com.sun.syndication.io.impl that return PropertiesLoader
+static PropertiesLoaderPropertiesLoader.getPropertiesLoader() + +
+          Returns the PropertiesLoader singleton used by ROME to load plugin components.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS090Generator.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS090Generator.html new file mode 100644 index 0000000..06fcaaf --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS090Generator.html @@ -0,0 +1,236 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS090Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS090Generator

+
+ + + + + + + + + +
+Packages that use RSS090Generator
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of RSS090Generator in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of RSS090Generator in com.sun.syndication.io.impl
+ classRSS091NetscapeGenerator + +
+          Feed Generator for RSS 0.91 +

+ classRSS091UserlandGenerator + +
+          Feed Generator for RSS 0.91 +

+ classRSS092Generator + +
+          Feed Generator for RSS 0.92 +

+ classRSS093Generator + +
+          Feed Generator for RSS 0.93 +

+ classRSS094Generator + +
+          Feed Generator for RSS 0.94 +

+ classRSS10Generator + +
+          Feed Generator for RSS 1.0 +

+ classRSS20Generator + +
+          Feed Generator for RSS 2.0 +

+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS090Parser.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS090Parser.html new file mode 100644 index 0000000..d67d42c --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS090Parser.html @@ -0,0 +1,240 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS090Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS090Parser

+
+ + + + + + + + + +
+Packages that use RSS090Parser
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of RSS090Parser in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of RSS090Parser in com.sun.syndication.io.impl
+ classRSS091NetscapeParser + +
+           
+ classRSS091UserlandParser + +
+           
+ classRSS092Parser + +
+           
+ classRSS093Parser + +
+           
+ classRSS094Parser + +
+           
+ classRSS10Parser + +
+           
+ classRSS20Parser + +
+           
+ classRSS20wNSParser + +
+          To address issue with certain feeds (brought up by Charles Miller): + + "During the debacle that was the rollout of RSS2.0, this namespace was tried, + and even appeared in Dave Winer's Scripting News feed for a while.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS091NetscapeGenerator.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS091NetscapeGenerator.html new file mode 100644 index 0000000..f5eb44e --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS091NetscapeGenerator.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS091NetscapeGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS091NetscapeGenerator

+
+No usage of com.sun.syndication.io.impl.RSS091NetscapeGenerator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS091NetscapeParser.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS091NetscapeParser.html new file mode 100644 index 0000000..211f9ac --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS091NetscapeParser.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS091NetscapeParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS091NetscapeParser

+
+No usage of com.sun.syndication.io.impl.RSS091NetscapeParser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS091UserlandGenerator.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS091UserlandGenerator.html new file mode 100644 index 0000000..79bb785 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS091UserlandGenerator.html @@ -0,0 +1,218 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS091UserlandGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS091UserlandGenerator

+
+ + + + + + + + + +
+Packages that use RSS091UserlandGenerator
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of RSS091UserlandGenerator in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of RSS091UserlandGenerator in com.sun.syndication.io.impl
+ classRSS091NetscapeGenerator + +
+          Feed Generator for RSS 0.91 +

+ classRSS092Generator + +
+          Feed Generator for RSS 0.92 +

+ classRSS093Generator + +
+          Feed Generator for RSS 0.93 +

+ classRSS094Generator + +
+          Feed Generator for RSS 0.94 +

+ classRSS20Generator + +
+          Feed Generator for RSS 2.0 +

+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS091UserlandParser.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS091UserlandParser.html new file mode 100644 index 0000000..69f3f61 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS091UserlandParser.html @@ -0,0 +1,224 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS091UserlandParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS091UserlandParser

+
+ + + + + + + + + +
+Packages that use RSS091UserlandParser
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of RSS091UserlandParser in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of RSS091UserlandParser in com.sun.syndication.io.impl
+ classRSS091NetscapeParser + +
+           
+ classRSS092Parser + +
+           
+ classRSS093Parser + +
+           
+ classRSS094Parser + +
+           
+ classRSS20Parser + +
+           
+ classRSS20wNSParser + +
+          To address issue with certain feeds (brought up by Charles Miller): + + "During the debacle that was the rollout of RSS2.0, this namespace was tried, + and even appeared in Dave Winer's Scripting News feed for a while.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS092Generator.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS092Generator.html new file mode 100644 index 0000000..22d6273 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS092Generator.html @@ -0,0 +1,200 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS092Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS092Generator

+
+ + + + + + + + + +
+Packages that use RSS092Generator
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of RSS092Generator in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + +
Subclasses of RSS092Generator in com.sun.syndication.io.impl
+ classRSS093Generator + +
+          Feed Generator for RSS 0.93 +

+ classRSS094Generator + +
+          Feed Generator for RSS 0.94 +

+ classRSS20Generator + +
+          Feed Generator for RSS 2.0 +

+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS092Parser.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS092Parser.html new file mode 100644 index 0000000..ac7c317 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS092Parser.html @@ -0,0 +1,208 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS092Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS092Parser

+
+ + + + + + + + + +
+Packages that use RSS092Parser
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of RSS092Parser in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Subclasses of RSS092Parser in com.sun.syndication.io.impl
+ classRSS093Parser + +
+           
+ classRSS094Parser + +
+           
+ classRSS20Parser + +
+           
+ classRSS20wNSParser + +
+          To address issue with certain feeds (brought up by Charles Miller): + + "During the debacle that was the rollout of RSS2.0, this namespace was tried, + and even appeared in Dave Winer's Scripting News feed for a while.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS093Generator.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS093Generator.html new file mode 100644 index 0000000..c1e8ad1 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS093Generator.html @@ -0,0 +1,191 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS093Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS093Generator

+
+ + + + + + + + + +
+Packages that use RSS093Generator
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of RSS093Generator in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + +
Subclasses of RSS093Generator in com.sun.syndication.io.impl
+ classRSS094Generator + +
+          Feed Generator for RSS 0.94 +

+ classRSS20Generator + +
+          Feed Generator for RSS 2.0 +

+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS093Parser.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS093Parser.html new file mode 100644 index 0000000..6aecc21 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS093Parser.html @@ -0,0 +1,200 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS093Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS093Parser

+
+ + + + + + + + + +
+Packages that use RSS093Parser
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of RSS093Parser in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + + + + + +
Subclasses of RSS093Parser in com.sun.syndication.io.impl
+ classRSS094Parser + +
+           
+ classRSS20Parser + +
+           
+ classRSS20wNSParser + +
+          To address issue with certain feeds (brought up by Charles Miller): + + "During the debacle that was the rollout of RSS2.0, this namespace was tried, + and even appeared in Dave Winer's Scripting News feed for a while.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS094Generator.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS094Generator.html new file mode 100644 index 0000000..7ddb872 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS094Generator.html @@ -0,0 +1,182 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS094Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS094Generator

+
+ + + + + + + + + +
+Packages that use RSS094Generator
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of RSS094Generator in com.sun.syndication.io.impl
+  +

+ + + + + + + + + +
Subclasses of RSS094Generator in com.sun.syndication.io.impl
+ classRSS20Generator + +
+          Feed Generator for RSS 2.0 +

+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS094Parser.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS094Parser.html new file mode 100644 index 0000000..dc80580 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS094Parser.html @@ -0,0 +1,192 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS094Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS094Parser

+
+ + + + + + + + + +
+Packages that use RSS094Parser
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of RSS094Parser in com.sun.syndication.io.impl
+  +

+ + + + + + + + + + + + + +
Subclasses of RSS094Parser in com.sun.syndication.io.impl
+ classRSS20Parser + +
+           
+ classRSS20wNSParser + +
+          To address issue with certain feeds (brought up by Charles Miller): + + "During the debacle that was the rollout of RSS2.0, this namespace was tried, + and even appeared in Dave Winer's Scripting News feed for a while.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS10Generator.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS10Generator.html new file mode 100644 index 0000000..9be89a5 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS10Generator.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS10Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS10Generator

+
+No usage of com.sun.syndication.io.impl.RSS10Generator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS10Parser.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS10Parser.html new file mode 100644 index 0000000..1574fcb --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS10Parser.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS10Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS10Parser

+
+No usage of com.sun.syndication.io.impl.RSS10Parser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS20Generator.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS20Generator.html new file mode 100644 index 0000000..80bc697 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS20Generator.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS20Generator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS20Generator

+
+No usage of com.sun.syndication.io.impl.RSS20Generator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS20Parser.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS20Parser.html new file mode 100644 index 0000000..ab26f90 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS20Parser.html @@ -0,0 +1,184 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS20Parser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS20Parser

+
+ + + + + + + + + +
+Packages that use RSS20Parser
com.sun.syndication.io.impl  
+  +

+ + + + + +
+Uses of RSS20Parser in com.sun.syndication.io.impl
+  +

+ + + + + + + + + +
Subclasses of RSS20Parser in com.sun.syndication.io.impl
+ classRSS20wNSParser + +
+          To address issue with certain feeds (brought up by Charles Miller): + + "During the debacle that was the rollout of RSS2.0, this namespace was tried, + and even appeared in Dave Winer's Scripting News feed for a while.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/RSS20wNSParser.html b/apidocs/com/sun/syndication/io/impl/class-use/RSS20wNSParser.html new file mode 100644 index 0000000..5567f1f --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/RSS20wNSParser.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.RSS20wNSParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.RSS20wNSParser

+
+No usage of com.sun.syndication.io.impl.RSS20wNSParser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/SyModuleGenerator.html b/apidocs/com/sun/syndication/io/impl/class-use/SyModuleGenerator.html new file mode 100644 index 0000000..2052372 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/SyModuleGenerator.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.SyModuleGenerator (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.SyModuleGenerator

+
+No usage of com.sun.syndication.io.impl.SyModuleGenerator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/SyModuleParser.html b/apidocs/com/sun/syndication/io/impl/class-use/SyModuleParser.html new file mode 100644 index 0000000..757e5af --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/SyModuleParser.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.SyModuleParser (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.SyModuleParser

+
+No usage of com.sun.syndication.io.impl.SyModuleParser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/class-use/XmlFixerReader.html b/apidocs/com/sun/syndication/io/impl/class-use/XmlFixerReader.html new file mode 100644 index 0000000..06f817e --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/class-use/XmlFixerReader.html @@ -0,0 +1,145 @@ + + + + + + + +Uses of Class com.sun.syndication.io.impl.XmlFixerReader (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.sun.syndication.io.impl.XmlFixerReader

+
+No usage of com.sun.syndication.io.impl.XmlFixerReader +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/package-frame.html b/apidocs/com/sun/syndication/io/impl/package-frame.html new file mode 100644 index 0000000..f24e8be --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/package-frame.html @@ -0,0 +1,105 @@ + + + + + + + +com.sun.syndication.io.impl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + +com.sun.syndication.io.impl + + + + +
+Classes  + +
+Atom03Generator +
+Atom03Parser +
+Atom10Generator +
+Atom10Parser +
+Base64 +
+BaseWireFeedGenerator +
+BaseWireFeedParser +
+DateParser +
+DCModuleGenerator +
+DCModuleParser +
+FeedGenerators +
+FeedParsers +
+ModuleGenerators +
+ModuleParsers +
+NumberParser +
+PluginManager +
+PropertiesLoader +
+RSS090Generator +
+RSS090Parser +
+RSS091NetscapeGenerator +
+RSS091NetscapeParser +
+RSS091UserlandGenerator +
+RSS091UserlandParser +
+RSS092Generator +
+RSS092Parser +
+RSS093Generator +
+RSS093Parser +
+RSS094Generator +
+RSS094Parser +
+RSS10Generator +
+RSS10Parser +
+RSS20Generator +
+RSS20Parser +
+RSS20wNSParser +
+SyModuleGenerator +
+SyModuleParser +
+XmlFixerReader
+ + + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/package-summary.html b/apidocs/com/sun/syndication/io/impl/package-summary.html new file mode 100644 index 0000000..47fc6b1 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/package-summary.html @@ -0,0 +1,319 @@ + + + + + + + +com.sun.syndication.io.impl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.sun.syndication.io.impl +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
Atom03GeneratorFeed Generator for Atom +

Atom03Parser 
Atom10GeneratorFeed Generator for Atom +

Atom10ParserParser for Atom 1.0
Base64Encodes/decodes byte arrays and Strings into/from a base 64 String.
BaseWireFeedGenerator 
BaseWireFeedParser 
DateParserA helper class that parses Dates out of Strings with date time in RFC822 and W3CDateTime + formats plus the variants Atom (0.3) and RSS (0.9, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) + specificators added to those formats.
DCModuleGeneratorFeed Generator for DublinCore Module.
DCModuleParserParser for the Dublin Core module.
FeedGeneratorsGenerates an XML document (JDOM Document) out of a Feed.
FeedParsersParses an XML document (JDOM Document) into a Feed.
ModuleGenerators 
ModuleParsers 
NumberParserA helper class that parses Numbers out of Strings in a lenient manner.
PluginManager
PropertiesLoaderProperties loader that aggregates a master properties file and several extra properties files, + all from the current classpath.
RSS090GeneratorFeed Generator for RSS 0.90 +

RSS090Parser 
RSS091NetscapeGeneratorFeed Generator for RSS 0.91 +

RSS091NetscapeParser 
RSS091UserlandGeneratorFeed Generator for RSS 0.91 +

RSS091UserlandParser 
RSS092GeneratorFeed Generator for RSS 0.92 +

RSS092Parser 
RSS093GeneratorFeed Generator for RSS 0.93 +

RSS093Parser 
RSS094GeneratorFeed Generator for RSS 0.94 +

RSS094Parser 
RSS10GeneratorFeed Generator for RSS 1.0 +

RSS10Parser 
RSS20GeneratorFeed Generator for RSS 2.0 +

RSS20Parser 
RSS20wNSParserTo address issue with certain feeds (brought up by Charles Miller): + + "During the debacle that was the rollout of RSS2.0, this namespace was tried, + and even appeared in Dave Winer's Scripting News feed for a while.
SyModuleGeneratorFeed Generator for SY ModuleImpl +

SyModuleParser 
XmlFixerReader 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/package-tree.html b/apidocs/com/sun/syndication/io/impl/package-tree.html new file mode 100644 index 0000000..4299536 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/package-tree.html @@ -0,0 +1,191 @@ + + + + + + + +com.sun.syndication.io.impl Class Hierarchy (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.sun.syndication.io.impl +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/impl/package-use.html b/apidocs/com/sun/syndication/io/impl/package-use.html new file mode 100644 index 0000000..48ae2e5 --- /dev/null +++ b/apidocs/com/sun/syndication/io/impl/package-use.html @@ -0,0 +1,280 @@ + + + + + + + +Uses of Package com.sun.syndication.io.impl (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.sun.syndication.io.impl

+
+ + + + + + + + + + + + + +
+Packages that use com.sun.syndication.io.impl
com.sun.syndication.feed.synd.impl  
com.sun.syndication.io.impl  
+  +

+ + + + + + + + +
+Classes in com.sun.syndication.io.impl used by com.sun.syndication.feed.synd.impl
PluginManager + +
+          
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.io.impl used by com.sun.syndication.io.impl
BaseWireFeedGenerator + +
+           
BaseWireFeedParser + +
+           
PluginManager + +
+          
PropertiesLoader + +
+          Properties loader that aggregates a master properties file and several extra properties files, + all from the current classpath.
RSS090Generator + +
+          Feed Generator for RSS 0.90 +

RSS090Parser + +
+           
RSS091UserlandGenerator + +
+          Feed Generator for RSS 0.91 +

RSS091UserlandParser + +
+           
RSS092Generator + +
+          Feed Generator for RSS 0.92 +

RSS092Parser + +
+           
RSS093Generator + +
+          Feed Generator for RSS 0.93 +

RSS093Parser + +
+           
RSS094Generator + +
+          Feed Generator for RSS 0.94 +

RSS094Parser + +
+           
RSS20Parser + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/package-frame.html b/apidocs/com/sun/syndication/io/package-frame.html new file mode 100644 index 0000000..c73ccf3 --- /dev/null +++ b/apidocs/com/sun/syndication/io/package-frame.html @@ -0,0 +1,79 @@ + + + + + + + +com.sun.syndication.io (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + +com.sun.syndication.io + + + + +
+Interfaces  + +
+DelegatingModuleGenerator +
+DelegatingModuleParser +
+ModuleGenerator +
+ModuleParser +
+WireFeedGenerator +
+WireFeedParser
+ + + + + + +
+Classes  + +
+SAXBuilder +
+SyndFeedInput +
+SyndFeedOutput +
+WireFeedInput +
+WireFeedOutput +
+XmlReader
+ + + + + + +
+Exceptions  + +
+FeedException +
+ParsingFeedException +
+XmlReaderException
+ + + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/package-summary.html b/apidocs/com/sun/syndication/io/package-summary.html new file mode 100644 index 0000000..7219fd2 --- /dev/null +++ b/apidocs/com/sun/syndication/io/package-summary.html @@ -0,0 +1,245 @@ + + + + + + + +com.sun.syndication.io (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.sun.syndication.io +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
DelegatingModuleGeneratorAdds the ability to give a direct wire feed generator reference to plugin + modules that need to call back to their wire feed to complete + generation of their particular namespace.
DelegatingModuleParserAdds the ability to give a direct wire feed reference to plugin + modules that need to call back to their wire feed to complete + parsing of their particular namespace.
ModuleGeneratorInjects module metadata into a XML node (JDOM element).
ModuleParserParses module metadata from a XML node (JDOM element).
WireFeedGeneratorGenerates an XML document (JDOM) out of a feed for a specific real feed type.
WireFeedParserParses an XML document (JDOM) into a feed bean.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
SAXBuilder 
SyndFeedInputParses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom DOcument) + into an SyndFeedImpl.
SyndFeedOutputGenerates an XML document (String, File, OutputStream, Writer, W3C DOM document or JDOM document) + out of an SyndFeedImpl..
WireFeedInputParses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom DOcument) + into an WireFeed (RSS/Atom).
WireFeedOutputGenerates an XML document (String, File, OutputStream, Writer, W3C DOM document or JDOM document) + out of an WireFeed (RSS/Atom).
XmlReaderCharacter stream that handles (or at least attemtps to) all the necessary Voodo to figure out + the charset encoding of the XML document within the stream.
+  + +

+ + + + + + + + + + + + + + + + + +
+Exception Summary
FeedExceptionException thrown by WireFeedInput, WireFeedOutput, WireFeedParser and WireFeedGenerator instances if they + can not parse or generate a feed.
ParsingFeedExceptionException thrown by WireFeedInput instance if it can not parse a feed.
XmlReaderExceptionThe XmlReaderException is thrown by the XmlReader constructors if the charset encoding + can not be determined according to the XML 1.0 specification and RFC 3023.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/package-tree.html b/apidocs/com/sun/syndication/io/package-tree.html new file mode 100644 index 0000000..6fd2814 --- /dev/null +++ b/apidocs/com/sun/syndication/io/package-tree.html @@ -0,0 +1,177 @@ + + + + + + + +com.sun.syndication.io Class Hierarchy (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.sun.syndication.io +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/com/sun/syndication/io/package-use.html b/apidocs/com/sun/syndication/io/package-use.html new file mode 100644 index 0000000..b1a8829 --- /dev/null +++ b/apidocs/com/sun/syndication/io/package-use.html @@ -0,0 +1,253 @@ + + + + + + + +Uses of Package com.sun.syndication.io (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.sun.syndication.io

+
+ + + + + + + + + + + + + +
+Packages that use com.sun.syndication.io
com.sun.syndication.io  
com.sun.syndication.io.impl  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.io used by com.sun.syndication.io
FeedException + +
+          Exception thrown by WireFeedInput, WireFeedOutput, WireFeedParser and WireFeedGenerator instances if they + can not parse or generate a feed.
ModuleGenerator + +
+          Injects module metadata into a XML node (JDOM element).
ModuleParser + +
+          Parses module metadata from a XML node (JDOM element).
SAXBuilder + +
+           
WireFeedGenerator + +
+          Generates an XML document (JDOM) out of a feed for a specific real feed type.
WireFeedParser + +
+          Parses an XML document (JDOM) into a feed bean.
XmlReaderException + +
+          The XmlReaderException is thrown by the XmlReader constructors if the charset encoding + can not be determined according to the XML 1.0 specification and RFC 3023.
+  +

+ + + + + + + + + + + + + + + + + + + + +
+Classes in com.sun.syndication.io used by com.sun.syndication.io.impl
FeedException + +
+          Exception thrown by WireFeedInput, WireFeedOutput, WireFeedParser and WireFeedGenerator instances if they + can not parse or generate a feed.
ModuleGenerator + +
+          Injects module metadata into a XML node (JDOM element).
ModuleParser + +
+          Parses module metadata from a XML node (JDOM element).
WireFeedGenerator + +
+          Generates an XML document (JDOM) out of a feed for a specific real feed type.
WireFeedParser + +
+          Parses an XML document (JDOM) into a feed bean.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/constant-values.html b/apidocs/constant-values.html new file mode 100644 index 0000000..4029042 --- /dev/null +++ b/apidocs/constant-values.html @@ -0,0 +1,403 @@ + + + + + + + +Constant Field Values (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + + + + + + +
+com.sun.*
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.sun.syndication.feed.atom.Content
+public static final StringBASE64"base64"
+public static final StringESCAPED"escaped"
+public static final StringHTML"html"
+public static final StringTEXT"text"
+public static final StringXHTML"xhtml"
+public static final StringXML"xml"
+ +

+ +

+ + + + + + + + + + + + +
com.sun.syndication.feed.module.DCModule
+public static final StringURI"http://purl.org/dc/elements/1.1/"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.sun.syndication.feed.module.SyModule
+public static final StringDAILY"daily"
+public static final StringHOURLY"hourly"
+public static final StringMONTHLY"monthly"
+public static final StringURI"http://purl.org/rss/1.0/modules/syndication/"
+public static final StringWEEKLY"weekly"
+public static final StringYEARLY"yearly"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.sun.syndication.feed.rss.Channel
+public static final StringFRIDAY"friday"
+public static final StringMONDAY"monday"
+public static final StringSATURDAY"saturday"
+public static final StringSUNDAY"sunday"
+public static final StringTHURSDAY"thursday"
+public static final StringTUESDAY"tuesday"
+public static final StringWEDNESDAY"wednesday"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
com.sun.syndication.feed.rss.Content
+public static final StringHTML"html"
+public static final StringTEXT"text"
+ +

+ +

+ + + + + + + + + + + + +
com.sun.syndication.feed.synd.impl.Converters
+public static final StringCONVERTERS_KEY"Converter.classes"
+ +

+ +

+ + + + + + + + + + + + +
com.sun.syndication.io.impl.FeedGenerators
+public static final StringFEED_GENERATORS_KEY"WireFeedGenerator.classes"
+ +

+ +

+ + + + + + + + + + + + +
com.sun.syndication.io.impl.FeedParsers
+public static final StringFEED_PARSERS_KEY"WireFeedParser.classes"
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/deprecated-list.html b/apidocs/deprecated-list.html new file mode 100644 index 0000000..627a61d --- /dev/null +++ b/apidocs/deprecated-list.html @@ -0,0 +1,147 @@ + + + + + + + +Deprecated List (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/help-doc.html b/apidocs/help-doc.html new file mode 100644 index 0000000..6a2fbcc --- /dev/null +++ b/apidocs/help-doc.html @@ -0,0 +1,224 @@ + + + + + + + +API Help (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Overview

+
+ +

+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

+

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

+
+

+Use

+
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. +
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/index-all.html b/apidocs/index-all.html new file mode 100644 index 0000000..3e80260 --- /dev/null +++ b/apidocs/index-all.html @@ -0,0 +1,4565 @@ + + + + + + + +Index (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N O P R S T U V W X Y
+

+A

+
+
addChannel(Channel, Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
addChannel(Channel, Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
addEntries(Feed, Element) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
addEntries(Feed, Element) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
addEntry(Entry, Element) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
addEntry(Entry, Element) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
addFeed(Feed, Element) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
addFeed(Feed, Element) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
addImage(Channel, Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
addItem(Item, Element, int) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
addItems(Channel, Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
addTextInput(Channel, Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
Atom03Generator - Class in com.sun.syndication.io.impl
Feed Generator for Atom +

Atom03Generator() - +Constructor for class com.sun.syndication.io.impl.Atom03Generator +
  +
Atom03Generator(String, String) - +Constructor for class com.sun.syndication.io.impl.Atom03Generator +
  +
Atom03Parser - Class in com.sun.syndication.io.impl
 
Atom03Parser() - +Constructor for class com.sun.syndication.io.impl.Atom03Parser +
  +
Atom03Parser(String, Namespace) - +Constructor for class com.sun.syndication.io.impl.Atom03Parser +
  +
Atom10Generator - Class in com.sun.syndication.io.impl
Feed Generator for Atom +

Atom10Generator() - +Constructor for class com.sun.syndication.io.impl.Atom10Generator +
  +
Atom10Generator(String, String) - +Constructor for class com.sun.syndication.io.impl.Atom10Generator +
  +
Atom10Parser - Class in com.sun.syndication.io.impl
Parser for Atom 1.0
Atom10Parser() - +Constructor for class com.sun.syndication.io.impl.Atom10Parser +
  +
Atom10Parser(String) - +Constructor for class com.sun.syndication.io.impl.Atom10Parser +
  +
+
+

+B

+
+
BASE64 - +Static variable in class com.sun.syndication.feed.atom.Content +
Atom 0.3 only +
Base64 - Class in com.sun.syndication.io.impl
Encodes/decodes byte arrays and Strings into/from a base 64 String.
Base64() - +Constructor for class com.sun.syndication.io.impl.Base64 +
  +
BaseWireFeedGenerator - Class in com.sun.syndication.io.impl
 
BaseWireFeedGenerator(String) - +Constructor for class com.sun.syndication.io.impl.BaseWireFeedGenerator +
  +
BaseWireFeedParser - Class in com.sun.syndication.io.impl
 
BaseWireFeedParser(String, Namespace) - +Constructor for class com.sun.syndication.io.impl.BaseWireFeedParser +
  +
beanClone() - +Method in class com.sun.syndication.feed.impl.CloneableBean +
Makes a deep bean clone of the object passed in the constructor. +
beanEquals(Object) - +Method in class com.sun.syndication.feed.impl.EqualsBean +
Indicates whether some other object is "equal to" the object passed in the constructor, + as defined by the Object equals() method. +
beanHashCode() - +Method in class com.sun.syndication.feed.impl.EqualsBean +
Returns the hashcode for the object passed in the constructor. +
BeanIntrospector - Class in com.sun.syndication.feed.impl
Obtains all property descriptors from a bean (interface or implementation).
BeanIntrospector() - +Constructor for class com.sun.syndication.feed.impl.BeanIntrospector +
  +
build(File) - +Method in class com.sun.syndication.io.SyndFeedInput +
Builds SyndFeedImpl from a file. +
build(Reader) - +Method in class com.sun.syndication.io.SyndFeedInput +
Builds SyndFeedImpl from an Reader. +
build(InputSource) - +Method in class com.sun.syndication.io.SyndFeedInput +
Builds SyndFeedImpl from an W3C SAX InputSource. +
build(Document) - +Method in class com.sun.syndication.io.SyndFeedInput +
Builds SyndFeedImpl from an W3C DOM document. +
build(Document) - +Method in class com.sun.syndication.io.SyndFeedInput +
Builds SyndFeedImpl from an JDOM document. +
build(File) - +Method in class com.sun.syndication.io.WireFeedInput +
Builds an WireFeed (RSS or Atom) from a file. +
build(Reader) - +Method in class com.sun.syndication.io.WireFeedInput +
Builds an WireFeed (RSS or Atom) from an Reader. +
build(InputSource) - +Method in class com.sun.syndication.io.WireFeedInput +
Builds an WireFeed (RSS or Atom) from an W3C SAX InputSource. +
build(Document) - +Method in class com.sun.syndication.io.WireFeedInput +
Builds an WireFeed (RSS or Atom) from an W3C DOM document. +
build(Document) - +Method in class com.sun.syndication.io.WireFeedInput +
Builds an WireFeed (RSS or Atom) from an JDOM document. +
+
+

+C

+
+
Category - Class in com.sun.syndication.feed.atom
Bean for category elements of Atom feeds.
Category() - +Constructor for class com.sun.syndication.feed.atom.Category +
Default constructor. +
Category - Class in com.sun.syndication.feed.rss
Bean for categories of RSS feeds.
Category() - +Constructor for class com.sun.syndication.feed.rss.Category +
Default constructor. +
Channel - Class in com.sun.syndication.feed.rss
Bean for RSS feeds.
Channel() - +Constructor for class com.sun.syndication.feed.rss.Channel +
Default constructor, for bean cloning purposes only. +
Channel(String) - +Constructor for class com.sun.syndication.feed.rss.Channel +
Channel Constructor. +
checkChannelConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
checkChannelConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
checkChannelConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS092Generator +
  +
checkChannelConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS10Generator +
  +
checkEntriesConstraints(Element) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
checkEntriesConstraints(Element) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
checkEntryConstraints(Element) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
checkEntryConstraints(Element) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
checkFeedHeaderConstraints(Element) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
checkFeedHeaderConstraints(Element) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
checkImageConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
checkImageConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
checkImageConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS092Generator +
  +
checkImageConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS10Generator +
  +
checkItemConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
checkItemConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
checkItemConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS092Generator +
  +
checkItemConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS10Generator +
  +
checkItemsConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
checkItemsConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS092Generator +
  +
checkItemsConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS10Generator +
  +
checkLength(Element, String, int, int) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
checkNotNullAndLength(Element, String, int, int) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
checkTextInputConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
checkTextInputConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
checkTextInputConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS092Generator +
  +
checkTextInputConstraints(Element) - +Method in class com.sun.syndication.io.impl.RSS10Generator +
  +
clone() - +Method in class com.sun.syndication.feed.atom.Category +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.atom.Content +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.atom.Entry +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.atom.Generator +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.atom.Link +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.atom.Person +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.impl.CloneableBean +
Makes a deep bean clone of the object. +
clone() - +Method in class com.sun.syndication.feed.impl.ObjectBean +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Creates a deep 'bean' clone of the object. +
clone() - +Method in interface com.sun.syndication.feed.module.DCSubject +
Creates a deep clone of the object. +
clone() - +Method in class com.sun.syndication.feed.module.DCSubjectImpl +
Creates a deep 'bean' clone of the object. +
clone() - +Method in interface com.sun.syndication.feed.module.Module +
Creates a deep clone of the object. +
clone() - +Method in class com.sun.syndication.feed.module.ModuleImpl +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.rss.Category +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.rss.Cloud +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.rss.Content +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.rss.Description +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.rss.Enclosure +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.rss.Guid +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.rss.Image +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.rss.Item +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.rss.Source +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.rss.TextInput +
Creates a deep 'bean' clone of the object. +
clone() - +Method in interface com.sun.syndication.feed.synd.SyndCategory +
Creates a deep clone of the object. +
clone() - +Method in class com.sun.syndication.feed.synd.SyndCategoryImpl +
Creates a deep 'bean' clone of the object. +
clone() - +Method in interface com.sun.syndication.feed.synd.SyndContent +
Creates a deep clone of the object. +
clone() - +Method in class com.sun.syndication.feed.synd.SyndContentImpl +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.synd.SyndEnclosureImpl +
Creates a deep 'bean' clone of the object. +
clone() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Creates a deep clone of the object. +
clone() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Creates a deep 'bean' clone of the object. +
clone() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Creates a deep clone of the object. +
clone() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Creates a deep 'bean' clone of the object. +
clone() - +Method in interface com.sun.syndication.feed.synd.SyndImage +
Creates a deep clone of the object. +
clone() - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
Creates a deep 'bean' clone of the object. +
clone() - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Creates a deep 'bean' clone of the object. +
clone() - +Method in interface com.sun.syndication.feed.synd.SyndPerson +
Creates a deep clone of the object. +
clone() - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Creates a deep 'bean' clone of the object. +
clone() - +Method in class com.sun.syndication.feed.WireFeed +
Creates a deep 'bean' clone of the object. +
CloneableBean - Class in com.sun.syndication.feed.impl
Provides deep Bean clonning support.
CloneableBean() - +Constructor for class com.sun.syndication.feed.impl.CloneableBean +
Default constructor. +
CloneableBean(Object) - +Constructor for class com.sun.syndication.feed.impl.CloneableBean +
Creates a CloneableBean to be used in a delegation pattern. +
CloneableBean(Object, Set) - +Constructor for class com.sun.syndication.feed.impl.CloneableBean +
Creates a CloneableBean to be used in a delegation pattern. +
cloneModules(List<Module>) - +Static method in class com.sun.syndication.feed.module.impl.ModuleUtils +
  +
close() - +Method in class com.sun.syndication.io.impl.XmlFixerReader +
  +
close() - +Method in class com.sun.syndication.io.XmlReader +
Closes the XmlReader stream. +
Cloud - Class in com.sun.syndication.feed.rss
Bean for clouds of RSS feeds.
Cloud() - +Constructor for class com.sun.syndication.feed.rss.Cloud +
Default constructor. +
com.sun.syndication.feed - package com.sun.syndication.feed
 
com.sun.syndication.feed.atom - package com.sun.syndication.feed.atom
 
com.sun.syndication.feed.impl - package com.sun.syndication.feed.impl
 
com.sun.syndication.feed.module - package com.sun.syndication.feed.module
 
com.sun.syndication.feed.module.impl - package com.sun.syndication.feed.module.impl
 
com.sun.syndication.feed.rss - package com.sun.syndication.feed.rss
 
com.sun.syndication.feed.synd - package com.sun.syndication.feed.synd
 
com.sun.syndication.feed.synd.impl - package com.sun.syndication.feed.synd.impl
 
com.sun.syndication.io - package com.sun.syndication.io
 
com.sun.syndication.io.impl - package com.sun.syndication.io.impl
 
Content - Class in com.sun.syndication.feed.atom
Bean for content elements of Atom feeds.
Content() - +Constructor for class com.sun.syndication.feed.atom.Content +
Default constructor. +
Content - Class in com.sun.syndication.feed.rss
Bean for item descriptions of RSS feeds.
Content() - +Constructor for class com.sun.syndication.feed.rss.Content +
Default constructor. +
CONVENIENCE_PROPERTIES - +Static variable in class com.sun.syndication.feed.module.DCModuleImpl +
Unmodifiable Set containing the convenience properties of this class. +
CONVENIENCE_PROPERTIES - +Static variable in class com.sun.syndication.feed.synd.SyndEntryImpl +
Unmodifiable Set containing the convenience properties of this class. +
CONVENIENCE_PROPERTIES - +Static variable in class com.sun.syndication.feed.synd.SyndFeedImpl +
Unmodifiable Set containing the convenience properties of this class. +
Converter - Interface in com.sun.syndication.feed.synd
Interface that defines the functionality to convert a SyndFeedImpl + to a real feed (RSS or Atom) and vice versa.
ConverterForAtom03 - Class in com.sun.syndication.feed.synd.impl
 
ConverterForAtom03() - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
ConverterForAtom03(String) - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
ConverterForAtom10 - Class in com.sun.syndication.feed.synd.impl
 
ConverterForAtom10() - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
ConverterForAtom10(String) - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
ConverterForRSS090 - Class in com.sun.syndication.feed.synd.impl
 
ConverterForRSS090() - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS090 +
  +
ConverterForRSS090(String) - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS090 +
  +
ConverterForRSS091Netscape - Class in com.sun.syndication.feed.synd.impl
 
ConverterForRSS091Netscape() - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS091Netscape +
  +
ConverterForRSS091Netscape(String) - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS091Netscape +
  +
ConverterForRSS091Userland - Class in com.sun.syndication.feed.synd.impl
 
ConverterForRSS091Userland() - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland +
  +
ConverterForRSS091Userland(String) - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland +
  +
ConverterForRSS092 - Class in com.sun.syndication.feed.synd.impl
 
ConverterForRSS092() - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS092 +
  +
ConverterForRSS092(String) - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS092 +
  +
ConverterForRSS093 - Class in com.sun.syndication.feed.synd.impl
 
ConverterForRSS093() - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS093 +
  +
ConverterForRSS093(String) - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS093 +
  +
ConverterForRSS094 - Class in com.sun.syndication.feed.synd.impl
 
ConverterForRSS094() - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS094 +
  +
ConverterForRSS094(String) - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS094 +
  +
ConverterForRSS10 - Class in com.sun.syndication.feed.synd.impl
 
ConverterForRSS10() - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS10 +
  +
ConverterForRSS10(String) - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS10 +
  +
ConverterForRSS20 - Class in com.sun.syndication.feed.synd.impl
 
ConverterForRSS20() - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS20 +
  +
ConverterForRSS20(String) - +Constructor for class com.sun.syndication.feed.synd.impl.ConverterForRSS20 +
  +
Converters - Class in com.sun.syndication.feed.synd.impl
Created by IntelliJ IDEA.
Converters() - +Constructor for class com.sun.syndication.feed.synd.impl.Converters +
  +
CONVERTERS_KEY - +Static variable in class com.sun.syndication.feed.synd.impl.Converters +
Converter.classes= [className] ... +
copy(Object, Object) - +Method in class com.sun.syndication.feed.impl.CopyFromHelper +
  +
CopyFrom<T> - Interface in com.sun.syndication.feed
 
copyFrom(CopyFrom) - +Method in interface com.sun.syndication.feed.CopyFrom +
Copies all the properties of the given bean into this one. +
copyFrom(CopyFrom) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
  +
copyFrom(CopyFrom) - +Method in class com.sun.syndication.feed.module.DCSubjectImpl +
  +
copyFrom(CopyFrom) - +Method in class com.sun.syndication.feed.module.SyModuleImpl +
  +
copyFrom(CopyFrom) - +Method in class com.sun.syndication.feed.synd.SyndContentImpl +
  +
copyFrom(CopyFrom) - +Method in class com.sun.syndication.feed.synd.SyndEnclosureImpl +
  +
copyFrom(CopyFrom) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
  +
copyFrom(CopyFrom) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
  +
copyFrom(CopyFrom) - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
  +
CopyFromHelper - Class in com.sun.syndication.feed.impl
 
CopyFromHelper(Class, Map, Map) - +Constructor for class com.sun.syndication.feed.impl.CopyFromHelper +
  +
copyInto(WireFeed, SyndFeed) - +Method in interface com.sun.syndication.feed.synd.Converter +
Makes a deep copy/conversion of the values of a real feed into a SyndFeedImpl. +
copyInto(WireFeed, SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
copyInto(WireFeed, SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
copyInto(WireFeed, SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS090 +
  +
copyInto(WireFeed, SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland +
  +
copyInto(WireFeed, SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS094 +
  +
copyInto(WireFeed, SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS10 +
  +
createAtomContent(SyndContent) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createAtomContents(List) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createAtomEnclosure(SyndEnclosure) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
createAtomEnclosure(SyndEnclosure) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createAtomEntries(List) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
createAtomEntries(List) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createAtomEntry(SyndEntry) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
createAtomEntry(SyndEntry) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createAtomLink(SyndLink) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
createAtomLink(SyndLink) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createAtomPersons(List) - +Static method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
createDocument(Element) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
createDocument(Element) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
createDocument(Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
createDocument(Element) - +Method in class com.sun.syndication.io.impl.RSS091NetscapeGenerator +
  +
createDocument(Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
createEnclosures(List) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS092 +
  +
createItemContent(SyndContent) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS10 +
  +
createItemDescription(SyndContent) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland +
  +
createItemDescription(SyndContent) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS10 +
  +
createParser() - +Method in class com.sun.syndication.io.SAXBuilder +
  +
createRealFeed(SyndFeed) - +Method in interface com.sun.syndication.feed.synd.Converter +
Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl. +
createRealFeed(SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
createRealFeed(SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createRealFeed(SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS090 +
  +
createRealFeed(String, SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS090 +
  +
createRealFeed(String, SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland +
  +
createRealFeed(String, SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS094 +
  +
createRealFeed(String, SyndFeed) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS10 +
  +
createRootElement(Feed) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
createRootElement(Feed) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
createRootElement(Channel) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
createRootElement(Channel) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
createRSSCategories(List) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS092 +
  +
createRSSImage(SyndImage) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS090 +
  +
createRSSImage(SyndImage) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland +
  +
createRSSItem(SyndEntry) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS090 +
  +
createRSSItem(SyndEntry) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland +
  +
createRSSItem(SyndEntry) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS092 +
  +
createRSSItem(SyndEntry) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS093 +
  +
createRSSItem(SyndEntry) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS094 +
  +
createRSSItem(SyndEntry) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS10 +
  +
createRSSItems(List) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS090 +
  +
createSAXBuilder() - +Method in class com.sun.syndication.io.WireFeedInput +
Creates and sets up a org.jdom.input.SAXBuilder for parsing. +
createSyndCategories(List) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS092 +
  +
createSyndContent(Content) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createSyndEnclosure(Entry, Link) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
createSyndEnclosure(Feed, Entry, Link) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createSyndEnclosures(List) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS092 +
  +
createSyndEntries(List, boolean) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
createSyndEntries(Feed, List, boolean) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createSyndEntries(List, boolean) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS090 +
  +
createSyndEntry(Entry, boolean) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
createSyndEntry(Feed, Entry, boolean) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createSyndEntry(Item, boolean) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS090 +
  +
createSyndEntry(Item, boolean) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland +
  +
createSyndEntry(Item, boolean) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS092 +
  +
createSyndEntry(Item, boolean) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS093 +
  +
createSyndEntry(Item, boolean) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS094 +
  +
createSyndEntry(Item, boolean) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS10 +
  +
createSyndImage(Image) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS090 +
  +
createSyndImage(Image) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS091Userland +
  +
createSyndLink(Link) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
createSyndLink(Link) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createSyndLinks(List) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
createSyndLinks(List) - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
createSyndPersons(List) - +Static method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
createWireFeed() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Creates a real feed containing the information of the SyndFeedImpl. +
createWireFeed(String) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Creates a real feed containing the information of the SyndFeedImpl. +
createWireFeed() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Creates a real feed containing the information of the SyndFeedImpl. +
createWireFeed(String) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Creates a real feed containing the information of the SyndFeedImpl. +
+
+

+D

+
+
DAILY - +Static variable in interface com.sun.syndication.feed.module.SyModule +
  +
DateParser - Class in com.sun.syndication.io.impl
A helper class that parses Dates out of Strings with date time in RFC822 and W3CDateTime + formats plus the variants Atom (0.3) and RSS (0.9, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) + specificators added to those formats.
DCModule - Interface in com.sun.syndication.feed.module
Dublin Core Module.
DCModuleGenerator - Class in com.sun.syndication.io.impl
Feed Generator for DublinCore Module.
DCModuleGenerator() - +Constructor for class com.sun.syndication.io.impl.DCModuleGenerator +
  +
DCModuleImpl - Class in com.sun.syndication.feed.module
Dublin Core ModuleImpl, default implementation.
DCModuleImpl() - +Constructor for class com.sun.syndication.feed.module.DCModuleImpl +
Default constructor. +
DCModuleParser - Class in com.sun.syndication.io.impl
Parser for the Dublin Core module.
DCModuleParser() - +Constructor for class com.sun.syndication.io.impl.DCModuleParser +
  +
DCSubject - Interface in com.sun.syndication.feed.module
Subject of the Dublin Core ModuleImpl.
DCSubjectImpl - Class in com.sun.syndication.feed.module
Subject of the Dublin Core ModuleImpl, default implementation.
DCSubjectImpl() - +Constructor for class com.sun.syndication.feed.module.DCSubjectImpl +
Default constructor. +
decode(String) - +Static method in class com.sun.syndication.io.impl.Base64 +
Decodes a base 64 String into a String. +
decode(byte[]) - +Static method in class com.sun.syndication.io.impl.Base64 +
Dencodes a com.sun.syndication.io.impl.Base64 byte array. +
DelegatingModuleGenerator - Interface in com.sun.syndication.io
Adds the ability to give a direct wire feed generator reference to plugin + modules that need to call back to their wire feed to complete + generation of their particular namespace.
DelegatingModuleParser - Interface in com.sun.syndication.io
Adds the ability to give a direct wire feed reference to plugin + modules that need to call back to their wire feed to complete + parsing of their particular namespace.
Description - Class in com.sun.syndication.feed.rss
Bean for item descriptions of RSS feeds.
Description() - +Constructor for class com.sun.syndication.feed.rss.Description +
Default constructor. +
+
+

+E

+
+
Enclosure - Class in com.sun.syndication.feed.rss
Bean for item enclosures of RSS feeds.
Enclosure() - +Constructor for class com.sun.syndication.feed.rss.Enclosure +
Default constructor. +
encode(String) - +Static method in class com.sun.syndication.io.impl.Base64 +
Encodes a String into a base 64 String. +
encode(byte[]) - +Static method in class com.sun.syndication.io.impl.Base64 +
Encodes a byte array into a base 64 byte array. +
Entry - Class in com.sun.syndication.feed.atom
Bean for entry elements of Atom feeds.
Entry() - +Constructor for class com.sun.syndication.feed.atom.Entry +
Default constructor. +
equals(Object) - +Method in class com.sun.syndication.feed.atom.Category +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.atom.Content +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.atom.Entry +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.atom.Generator +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.atom.Link +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.atom.Person +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.impl.EqualsBean +
Indicates whether some other object is "equal to" this object as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.impl.ObjectBean +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.module.DCSubjectImpl +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.module.ModuleImpl +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.rss.Category +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.rss.Cloud +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.rss.Content +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.rss.Description +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.rss.Enclosure +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.rss.Guid +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.rss.Image +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.rss.Item +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.rss.Source +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.rss.TextInput +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.synd.SyndCategoryImpl +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.synd.SyndContentImpl +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.synd.SyndEnclosureImpl +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
equals(Object) - +Method in class com.sun.syndication.feed.WireFeed +
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. +
EqualsBean - Class in com.sun.syndication.feed.impl
Provides deep Bean equals() and hashCode() functionality for Java Beans.
EqualsBean(Class) - +Constructor for class com.sun.syndication.feed.impl.EqualsBean +
Default constructor. +
EqualsBean(Class, Object) - +Constructor for class com.sun.syndication.feed.impl.EqualsBean +
Creates a EqualsBean to be used in a delegation pattern. +
ESCAPED - +Static variable in class com.sun.syndication.feed.atom.Content +
Atom 0.3 only +
Extendable - Interface in com.sun.syndication.feed.module
Objects that can have modules are Extendable.
extractForeignMarkup(Element, Extendable, Namespace) - +Method in class com.sun.syndication.io.impl.BaseWireFeedParser +
  +
+
+

+F

+
+
Feed - Class in com.sun.syndication.feed.atom
Bean for Atom feeds.
Feed() - +Constructor for class com.sun.syndication.feed.atom.Feed +
Default constructor, for bean cloning purposes only. +
Feed(String) - +Constructor for class com.sun.syndication.feed.atom.Feed +
Feed Constructor. +
FEED_GENERATORS_KEY - +Static variable in class com.sun.syndication.io.impl.FeedGenerators +
WireFeedGenerator.classes= [className] ... +
FEED_PARSERS_KEY - +Static variable in class com.sun.syndication.io.impl.FeedParsers +
WireFeedParser.classes= [className] ... +
FeedException - Exception in com.sun.syndication.io
Exception thrown by WireFeedInput, WireFeedOutput, WireFeedParser and WireFeedGenerator instances if they + can not parse or generate a feed.
FeedException(String) - +Constructor for exception com.sun.syndication.io.FeedException +
Creates a FeedException with a message. +
FeedException(String, Throwable) - +Constructor for exception com.sun.syndication.io.FeedException +
Creates a FeedException with a message and a root cause exception. +
FeedGenerators - Class in com.sun.syndication.io.impl
Generates an XML document (JDOM Document) out of a Feed.
FeedGenerators() - +Constructor for class com.sun.syndication.io.impl.FeedGenerators +
  +
FeedParsers - Class in com.sun.syndication.io.impl
Parses an XML document (JDOM Document) into a Feed.
FeedParsers() - +Constructor for class com.sun.syndication.io.impl.FeedParsers +
Creates a parser instance. +
fillContentElement(Element, Content) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
fillContentElement(Element, Content) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
fillPersonElement(Element, Person) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
fillPersonElement(Element, Person) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
findRelatedLink(String) - +Method in class com.sun.syndication.feed.atom.Entry +
  +
findRelatedLink(String) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the first instance of a SyndLink with the specified relation, or null +
findRelatedLink(String) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
  +
formatRFC822(Date) - +Static method in class com.sun.syndication.io.impl.DateParser +
create a RFC822 representation of a date. +
formatW3CDateTime(Date) - +Static method in class com.sun.syndication.io.impl.DateParser +
create a W3C Date Time representation of a date. +
FRIDAY - +Static variable in class com.sun.syndication.feed.rss.Channel +
  +
+
+

+G

+
+
generate(WireFeed) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
generate(WireFeed) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
generate(Module, Element) - +Method in class com.sun.syndication.io.impl.DCModuleGenerator +
Populate an element tree with elements for a module. +
generate(WireFeed) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
generate(Module, Element) - +Method in class com.sun.syndication.io.impl.SyModuleGenerator +
  +
generate(Module, Element) - +Method in interface com.sun.syndication.io.ModuleGenerator +
Generates and injects module metadata into an XML node (JDOM element). +
generate(WireFeed) - +Method in interface com.sun.syndication.io.WireFeedGenerator +
Creates an XML document (JDOM) for the given feed bean. +
generateCategoryElement(Category) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
generateCategoryElement(Category) - +Method in class com.sun.syndication.io.impl.RSS092Generator +
  +
generateCloud(Cloud) - +Method in class com.sun.syndication.io.impl.RSS092Generator +
  +
generateEnclosure(Enclosure) - +Method in class com.sun.syndication.io.impl.RSS092Generator +
  +
generateFeedModules(List, Element) - +Method in class com.sun.syndication.io.impl.BaseWireFeedGenerator +
  +
generateForeignMarkup(Element, List) - +Method in class com.sun.syndication.io.impl.BaseWireFeedGenerator +
  +
generateGeneratorElement(Generator) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
generateGeneratorElement(Generator) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
generateItemModules(List, Element) - +Method in class com.sun.syndication.io.impl.BaseWireFeedGenerator +
  +
generateLinkElement(Link) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
generateLinkElement(Link) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
generateModuleNamespaceDefs(Element) - +Method in class com.sun.syndication.io.impl.BaseWireFeedGenerator +
  +
generateModules(List, Element) - +Method in class com.sun.syndication.io.impl.ModuleGenerators +
  +
generatePersonModules(List, Element) - +Method in class com.sun.syndication.io.impl.BaseWireFeedGenerator +
  +
generateSimpleElement(String, String) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
generateSimpleElement(String, String) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
generateSimpleElement(String, String) - +Method in class com.sun.syndication.io.impl.DCModuleGenerator +
Utility method to generate a single element containing a string. +
generateSimpleElement(String, String) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
generateSimpleElementList(String, List) - +Method in class com.sun.syndication.io.impl.DCModuleGenerator +
Utility method to generate a list of simple elements. +
generateSkipDaysElement(List) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
generateSkipHoursElement(List) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
generateSourceElement(Source) - +Method in class com.sun.syndication.io.impl.RSS092Generator +
  +
generateSubjectElement(DCSubject) - +Method in class com.sun.syndication.io.impl.DCModuleGenerator +
Utility method to generate an element for a subject. +
generateTagLineElement(Content) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
generateTagLineElement(Content) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
Generator - Class in com.sun.syndication.feed.atom
Bean for the generator element of Atom feeds.
Generator() - +Constructor for class com.sun.syndication.feed.atom.Generator +
Default constructor. +
getAllNamespaces() - +Method in class com.sun.syndication.io.impl.ModuleGenerators +
  +
getAlternateLinks() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry alternate links. +
getAlternateLinks() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed alternate links. +
getAtomNamespace() - +Method in class com.sun.syndication.io.impl.Atom03Parser +
  +
getAtomNamespace() - +Method in class com.sun.syndication.io.impl.Atom10Parser +
  +
getAttribute(Element, String) - +Method in class com.sun.syndication.io.impl.BaseWireFeedParser +
  +
getAttributeValue(Element, String) - +Method in class com.sun.syndication.io.impl.BaseWireFeedParser +
  +
getAuthor() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item author. +
getAuthor() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the name of the first entry author in the collection of authors. +
getAuthor() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the entry author. +
getAuthor() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the name of the first feed author in the collection of authors. +
getAuthor() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed author. +
getAuthors() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry author. +
getAuthors() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed author. +
getAuthors() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry authors. +
getAuthors() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
  +
getAuthors() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed authors. +
getAuthors() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
  +
getBomEncoding() - +Method in exception com.sun.syndication.io.XmlReaderException +
Returns the BOM encoding found in the InputStream. +
getCategories() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the categories + +
getCategories() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the categories + +
getCategories() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel categories. +
getCategories() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item categories. +
getCategories() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry categories. +
getCategories() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the entry categories. +
getCategories() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed categories. +
getCategories() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed categories. +
getCloud() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel cloud. +
getColumnNumber() - +Method in exception com.sun.syndication.io.ParsingFeedException +
Returns the column number of the end of the text where the + parse error occurred. +
getComments() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item comments. +
getContent() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item content. +
getContentNamespace() - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
getContentNamespace() - +Method in class com.sun.syndication.io.impl.RSS090Parser +
Returns the namespace used by Content Module elements in document. +
getContents() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry contents. +
getContents() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry contents. +
getContents() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the entry contents. +
getContentTypeEncoding() - +Method in exception com.sun.syndication.io.XmlReaderException +
Returns the encoding in the content-type used to attempt determining the encoding. +
getContentTypeMime() - +Method in exception com.sun.syndication.io.XmlReaderException +
Returns the MIME type in the content-type used to attempt determining the encoding. +
getContributor() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module contributor. +
getContributor() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module contributor. +
getContributors() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry contributors. +
getContributors() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed contributors. +
getContributors() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module contributor. +
getContributors() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module contributor. +
getContributors() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the feed author. +
getContributors() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
  +
getContributors() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed author. +
getContributors() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
  +
getConverter(String) - +Method in class com.sun.syndication.feed.synd.impl.Converters +
  +
getCopyright() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed copyright (Atom 0.3, maps to Feed.getRights()). +
getCopyright() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel copyright. +
getCopyright() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed copyright. +
getCopyright() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed copyright. +
getCoverage() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module coverage. +
getCoverage() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module coverage. +
getCoverages() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module coverage. +
getCoverages() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module coverage. +
getCreated() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry created date (Atom 0.3 only) + +
getCreator() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module creator. +
getCreator() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module title. +
getCreators() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module creator. +
getCreators() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module creator. +
getDate() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module date. +
getDate() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module date. +
getDates() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module date. +
getDates() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module date. +
getDefaultEncoding() - +Static method in class com.sun.syndication.io.XmlReader +
Returns the default encoding to use if none is set in HTTP content-type, + XML prolog and the rules based on content-type are not adequate. +
getDescription() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module description. +
getDescription() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module description. +
getDescription() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel description. +
getDescription() - +Method in class com.sun.syndication.feed.rss.Image +
Returns the image description. +
getDescription() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item description. +
getDescription() - +Method in class com.sun.syndication.feed.rss.TextInput +
Returns the text input description. +
getDescription() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry description. +
getDescription() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the entry description. +
getDescription() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed description. +
getDescription() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed description. +
getDescription() - +Method in interface com.sun.syndication.feed.synd.SyndImage +
Returns the image description. +
getDescription() - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
Returns the image description. +
getDescriptionEx() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed description as a text construct. +
getDescriptionEx() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed description as a text construct. +
getDescriptions() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module description. +
getDescriptions() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module description. +
getDocs() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel docs. +
getDomain() - +Method in class com.sun.syndication.feed.rss.Category +
Returns the category domain. +
getDomain() - +Method in class com.sun.syndication.feed.rss.Cloud +
Returns the cloud domain. +
getEmail() - +Method in class com.sun.syndication.feed.atom.Person +
Returns the person email. +
getEmail() - +Method in interface com.sun.syndication.feed.synd.SyndPerson +
Returns email of person. +
getEmail() - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Returns the person's e-mail address. +
getEnclosures() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item enclosures. +
getEnclosures() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry enclosures. +
getEnclosures() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the entry enclosures. +
getEncoding() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the charset encoding of a the feed. +
getEncoding() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the charset encoding of a the feed. +
getEncoding() - +Method in class com.sun.syndication.feed.WireFeed +
Returns the charset encoding of a the feed. +
getEncoding() - +Method in class com.sun.syndication.io.XmlReader +
Returns the charset encoding of the XmlReader. +
getEntries() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed entries. +
getEntries() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed entries. +
getEntries() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed entries. +
getExpirationDate() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item expiration date. +
getFeedNamespace() - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
getFeedNamespace() - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
getFeedNamespace() - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
getFeedNamespace() - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
getFeedNamespace() - +Method in class com.sun.syndication.io.impl.RSS10Generator +
  +
getFeedType() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the wire feed type the feed had/will-have when converted from/to a WireFeed. +
getFeedType() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the wire feed type the feed had/will-have when coverted from/to a WireFeed. +
getFeedType() - +Method in class com.sun.syndication.feed.WireFeed +
Returns the type of the feed. +
getForeignMarkup() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns foreign markup found at entry level. +
getForeignMarkup() - +Method in class com.sun.syndication.feed.rss.Item +
Returns foreign markup found at item level. +
getForeignMarkup() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns foreign markup found at channel level. +
getForeignMarkup() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns foreign markup found at channel level. +
getForeignMarkup() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns foreign markup found at channel level. +
getForeignMarkup() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns foreign markup found at channel level. +
getForeignMarkup() - +Method in class com.sun.syndication.feed.WireFeed +
Returns foreign markup found at channel level. +
getFormat() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module format. +
getFormat() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module format. +
getFormats() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module format. +
getFormats() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module format. +
getGenerator() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed generator. +
getGenerator() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel generator. +
getGenerator(String) - +Method in class com.sun.syndication.io.impl.FeedGenerators +
  +
getGenerator(String) - +Method in class com.sun.syndication.io.impl.ModuleGenerators +
  +
getGuid() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item GUID. +
getHeight() - +Method in class com.sun.syndication.feed.rss.Image +
Returns the image height. +
getHref() - +Method in class com.sun.syndication.feed.atom.Link +
Returns the link href. +
getHref() - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Returns the link href. +
getHref() - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Returns the link href. +
getHreflang() - +Method in class com.sun.syndication.feed.atom.Link +
Returns the hreflang + +
getHreflang() - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Returns the hreflang + +
getHreflang() - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Returns the hreflang + +
getHrefResolved() - +Method in class com.sun.syndication.feed.atom.Link +
  +
getIcon() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the icon + +
getId() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry ID. +
getId() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed ID. +
getIdentifier() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module identifier. +
getIdentifier() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module identifier. +
getIdentifiers() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module identifier. +
getIdentifiers() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module identifier. +
getImage() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel image. +
getImage() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed image. +
getImage() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed image. +
getImage(Element) - +Method in class com.sun.syndication.io.impl.RSS090Parser +
This method exists because RSS0.90 and RSS1.0 have the 'image' element under the root elemment. +
getImage(Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandParser +
It looks for the 'image' elements under the 'channel' elemment. +
getInfo() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed info (Atom 0.3 only) + +
getInputStream() - +Method in exception com.sun.syndication.io.XmlReaderException +
Returns the unconsumed InputStream to allow the application to do an alternate + encoding detection on the InputStream. +
getInterface() - +Method in interface com.sun.syndication.feed.CopyFrom +
Returns the interface the copyFrom works on. +
getInterface() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
  +
getInterface() - +Method in class com.sun.syndication.feed.module.DCSubjectImpl +
  +
getInterface() - +Method in class com.sun.syndication.feed.module.SyModuleImpl +
  +
getInterface() - +Method in class com.sun.syndication.feed.synd.SyndContentImpl +
  +
getInterface() - +Method in class com.sun.syndication.feed.synd.SyndEnclosureImpl +
  +
getInterface() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
  +
getInterface() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
  +
getInterface() - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
  +
getIssued() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry issued date (Atom 0.3, maps to Entry.getPublished()). +
getItems() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel items. +
getItems(Element) - +Method in class com.sun.syndication.io.impl.RSS090Parser +
This method exists because RSS0.90 and RSS1.0 have the 'item' elements under the root elemment. +
getItems(Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandParser +
It looks for the 'item' elements under the 'channel' elemment. +
getKey(Object) - +Method in class com.sun.syndication.feed.synd.impl.Converters +
  +
getKey(Object) - +Method in class com.sun.syndication.io.impl.FeedGenerators +
  +
getKey(Object) - +Method in class com.sun.syndication.io.impl.FeedParsers +
  +
getKey(Object) - +Method in class com.sun.syndication.io.impl.ModuleGenerators +
  +
getKey(Object) - +Method in class com.sun.syndication.io.impl.ModuleParsers +
  +
getKey(Object) - +Method in class com.sun.syndication.io.impl.PluginManager +
  +
getKeys() - +Method in class com.sun.syndication.io.impl.PluginManager +
  +
getLabel() - +Method in class com.sun.syndication.feed.atom.Category +
Get label for category. +
getLanguage() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed language (Atom 0.3 only) + +
getLanguage() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module language. +
getLanguage() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module language. +
getLanguage() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel language. +
getLanguage() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed language. +
getLanguage() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed language. +
getLanguages() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module language. +
getLanguages() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module language. +
getLastBuildDate() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel last build date. +
getLength() - +Method in class com.sun.syndication.feed.atom.Link +
Returns the length + +
getLength() - +Method in class com.sun.syndication.feed.rss.Enclosure +
Returns the enclosure length. +
getLength() - +Method in interface com.sun.syndication.feed.synd.SyndEnclosure +
Returns the enclosure length. +
getLength() - +Method in class com.sun.syndication.feed.synd.SyndEnclosureImpl +
Returns the enclosure length. +
getLength() - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Returns the length + +
getLength() - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Returns the length + +
getLineNumber() - +Method in exception com.sun.syndication.io.ParsingFeedException +
Returns the line number of the end of the text where the + parse error occurred. +
getLink() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel link. +
getLink() - +Method in class com.sun.syndication.feed.rss.Image +
Returns the image link. +
getLink() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item link. +
getLink() - +Method in class com.sun.syndication.feed.rss.TextInput +
Returns the text input link. +
getLink() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry link. +
getLink() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the entry link. +
getLink() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed link. +
getLink() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed link. +
getLink() - +Method in interface com.sun.syndication.feed.synd.SyndImage +
Returns the image link. +
getLink() - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
Returns the image link. +
getLinks() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry links + +
getLinks() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the links + +
getLinks() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the entry links + +
getLinks() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the links + +
getLogo() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the logo + +
getManagingEditor() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel managing editor. +
getMode() - +Method in class com.sun.syndication.feed.atom.Content +
Returns the content mode (Atom 0.3 only). +
getMode() - +Method in interface com.sun.syndication.feed.synd.SyndContent +
Gets the content mode (needed for Atom 0.3 support). +
getMode() - +Method in class com.sun.syndication.feed.synd.SyndContentImpl +
Returns the content mode. +
getModified() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry modified date (Atom 0.3, maps to Entry.getUpdated()). +
getModified() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed modified date (Atom 0.3, maps to Feed.getUpdated()). +
getModule(String) - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the module identified by a given URI. +
getModule(String) - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the module identified by a given URI. +
getModule(String) - +Method in class com.sun.syndication.feed.atom.Person +
Returns the module identified by a given URI. +
getModule(String) - +Method in interface com.sun.syndication.feed.module.Extendable +
Returns the module identified by a given URI. +
getModule(List<Module>, String) - +Static method in class com.sun.syndication.feed.module.impl.ModuleUtils +
  +
getModule(String) - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the module identified by a given URI. +
getModule(String) - +Method in class com.sun.syndication.feed.rss.Item +
Returns the module identified by a given URI. +
getModule(String) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the module identified by a given URI. +
getModule(String) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the module identified by a given URI. +
getModule(String) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the module identified by a given URI. +
getModule(String) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the module identified by a given URI. +
getModule(String) - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Returns the module identified by a given URI. +
getModule(String) - +Method in class com.sun.syndication.feed.WireFeed +
Returns the module identified by a given URI. +
getModuleNamespaces() - +Method in class com.sun.syndication.io.impl.ModuleGenerators +
  +
getModuleNamespaces() - +Method in class com.sun.syndication.io.impl.ModuleParsers +
  +
getModules() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry modules. +
getModules() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed modules. +
getModules() - +Method in class com.sun.syndication.feed.atom.Person +
Returns the entry modules. +
getModules() - +Method in interface com.sun.syndication.feed.module.Extendable +
Returns the entry modules. +
getModules() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel modules. +
getModules() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item modules. +
getModules() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry modules. +
getModules() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the entry modules. +
getModules() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed modules. +
getModules() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed modules. +
getModules() - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Returns the person modules. +
getModules() - +Method in class com.sun.syndication.feed.WireFeed +
Returns the channel modules. +
getName() - +Method in class com.sun.syndication.feed.atom.Person +
Returns the person name. +
getName() - +Method in class com.sun.syndication.feed.rss.TextInput +
Returns the text input name. +
getName() - +Method in interface com.sun.syndication.feed.synd.SyndCategory +
Returns the category name. +
getName() - +Method in class com.sun.syndication.feed.synd.SyndCategoryImpl +
Returns the category name. +
getName() - +Method in interface com.sun.syndication.feed.synd.SyndPerson +
Returns name of person +
getName() - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Returns the person name. +
getNamespaces() - +Method in class com.sun.syndication.io.impl.DCModuleGenerator +
Returns a set with all the URIs (JDOM Namespace elements) this module + generator uses. +
getNamespaces() - +Method in class com.sun.syndication.io.impl.SyModuleGenerator +
Returns a set with all the URIs (JDOM Namespace elements) this module generator uses. +
getNamespaces() - +Method in interface com.sun.syndication.io.ModuleGenerator +
Returns a set with all the URIs (JDOM Namespace elements) this module generator uses. +
getNamespaceUri() - +Method in class com.sun.syndication.io.impl.DCModuleGenerator +
  +
getNamespaceUri() - +Method in class com.sun.syndication.io.impl.DCModuleParser +
  +
getNamespaceUri() - +Method in class com.sun.syndication.io.impl.SyModuleGenerator +
  +
getNamespaceUri() - +Method in class com.sun.syndication.io.impl.SyModuleParser +
  +
getNamespaceUri() - +Method in interface com.sun.syndication.io.ModuleGenerator +
Returns the namespace URI this generator handles. +
getNamespaceUri() - +Method in interface com.sun.syndication.io.ModuleParser +
Returns the namespace URI this parser handles. +
getNumberOfEnclosures(List) - +Method in class com.sun.syndication.io.impl.RSS092Generator +
  +
getNumberOfEnclosures(List) - +Method in class com.sun.syndication.io.impl.RSS093Generator +
  +
getOtherLinks() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry non-alternate links. +
getOtherLinks() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed other links (non-alternate ones). +
getParserFor(Document) - +Method in class com.sun.syndication.io.impl.FeedParsers +
Finds the real parser type for the given document feed. +
getPath() - +Method in class com.sun.syndication.feed.rss.Cloud +
Returns the cloud path. +
getPlugin(String) - +Method in class com.sun.syndication.io.impl.PluginManager +
  +
getPluginMap() - +Method in class com.sun.syndication.io.impl.PluginManager +
  +
getPlugins() - +Method in class com.sun.syndication.io.impl.PluginManager +
  +
getPort() - +Method in class com.sun.syndication.feed.rss.Cloud +
Returns the cloud port. +
getPropertiesLoader() - +Static method in class com.sun.syndication.io.impl.PropertiesLoader +
Returns the PropertiesLoader singleton used by ROME to load plugin components. +
getProperty(String) - +Method in class com.sun.syndication.io.impl.PropertiesLoader +
Returns an array of values stored under a property key in all properties files. +
getPropertyDescriptors(Class) - +Static method in class com.sun.syndication.feed.impl.BeanIntrospector +
  +
getProtocol() - +Method in class com.sun.syndication.feed.rss.Cloud +
Returns the cloud protocol. +
getPubDate() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel publishing date. +
getPubDate() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item publishing date. +
getPublished() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the published + +
getPublishedDate() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry published date. +
getPublishedDate() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the entry published date. +
getPublishedDate() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed published date. +
getPublishedDate() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed published date. +
getPublisher() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module publisher. +
getPublisher() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module title. +
getPublishers() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module publisher. +
getPublishers() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module publisher. +
getRating() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel rating. +
getRDFNamespace() - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
getRDFNamespace() - +Method in class com.sun.syndication.io.impl.RSS090Parser +
Returns the namespace used by RDF elements in document of the RSS version the parser supports. +
getRegisterProcedure() - +Method in class com.sun.syndication.feed.rss.Cloud +
Returns the cloud register procedure. +
getRel() - +Method in class com.sun.syndication.feed.atom.Link +
Returns the link rel. +
getRel() - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Returns the link rel. +
getRel() - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Returns the link rel. +
getRelation() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module relation. +
getRelation() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module relation. +
getRelations() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module relation. +
getRelations() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module relation. +
getResolveURIs() - +Static method in class com.sun.syndication.io.impl.Atom10Parser +
  +
getRights() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the rights + +
getRights() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the rights + +
getRights() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module right. +
getRights() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module rights. +
getRightsList() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module rights. +
getRightsList() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module rights. +
getRSSNamespace() - +Method in class com.sun.syndication.io.impl.RSS090Parser +
Returns the namespace used by RSS elements in document of the RSS version the parser supports. +
getRSSNamespace() - +Method in class com.sun.syndication.io.impl.RSS091UserlandParser +
  +
getRSSNamespace() - +Method in class com.sun.syndication.io.impl.RSS10Parser +
Returns the namespace used by RSS elements in document of the RSS 1.0 + +
getRSSNamespace() - +Method in class com.sun.syndication.io.impl.RSS20wNSParser +
  +
getRSSVersion() - +Method in class com.sun.syndication.io.impl.RSS091UserlandParser +
  +
getRSSVersion() - +Method in class com.sun.syndication.io.impl.RSS092Parser +
  +
getRSSVersion() - +Method in class com.sun.syndication.io.impl.RSS093Parser +
  +
getRSSVersion() - +Method in class com.sun.syndication.io.impl.RSS094Parser +
  +
getRSSVersion() - +Method in class com.sun.syndication.io.impl.RSS20Parser +
  +
getScheme() - +Method in class com.sun.syndication.feed.atom.Category +
Get Scheme URI for category. +
getSchemeResolved() - +Method in class com.sun.syndication.feed.atom.Category +
  +
getSkipDays() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel skip days. +
getSkipHours() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel skip hours. +
getSource() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the source + +
getSource() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module subject. +
getSource() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module source. +
getSource() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item source. +
getSource() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry source. +
getSource() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
  +
getSources() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module source. +
getSources() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module source. +
getSrc() - +Method in class com.sun.syndication.feed.atom.Content +
Returns the src + +
getSubject() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module subject. +
getSubject() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module subject. +
getSubjects() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module subjects. +
getSubjects() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module subjects. +
getSubtitle() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the subtitle + +
getSummary() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry summary. +
getSupportedFeedTypes() - +Method in class com.sun.syndication.feed.synd.impl.Converters +
  +
getSupportedFeedTypes() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the real feed types the SyndFeedImpl supports when converting from and to. +
getSupportedFeedTypes() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the real feed types the SyndFeedImpl supports when converting from and to. +
getSupportedFeedTypes() - +Method in class com.sun.syndication.io.impl.FeedGenerators +
  +
getSupportedFeedTypes() - +Method in class com.sun.syndication.io.impl.FeedParsers +
  +
getSupportedFeedTypes() - +Static method in class com.sun.syndication.io.WireFeedInput +
Returns the list of supported input feed types. +
getSupportedFeedTypes() - +Static method in class com.sun.syndication.io.WireFeedOutput +
Returns the list of supported output feed types. +
getTagline() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed tag line (Atom 0.3, maps to Feed.getSubtitle()). +
getTaxonomy(Element) - +Method in class com.sun.syndication.io.impl.DCModuleParser +
Utility method to parse a taxonomy from an element. +
getTaxonomyUri() - +Method in interface com.sun.syndication.feed.module.DCSubject +
Returns the DublinCore subject taxonomy URI. +
getTaxonomyUri() - +Method in class com.sun.syndication.feed.module.DCSubjectImpl +
Returns the DublinCore subject taxonomy URI. +
getTaxonomyUri() - +Method in interface com.sun.syndication.feed.synd.SyndCategory +
Returns the category taxonomy URI. +
getTaxonomyUri() - +Method in class com.sun.syndication.feed.synd.SyndCategoryImpl +
Returns the category taxonomy URI. +
getTerm() - +Method in class com.sun.syndication.feed.atom.Category +
Return term for category. +
getTextInput() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel text input. +
getTextInput(Element) - +Method in class com.sun.syndication.io.impl.RSS090Parser +
This method exists because RSS0.90 and RSS1.0 have the 'textinput' element under the root elemment. +
getTextInput(Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandParser +
It looks for the 'textinput' elements under the 'channel' elemment. +
getTextInputLabel() - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
getTextInputLabel() - +Method in class com.sun.syndication.io.impl.RSS091NetscapeGenerator +
  +
getTextInputLabel() - +Method in class com.sun.syndication.io.impl.RSS091NetscapeParser +
  +
getTextInputLabel() - +Method in class com.sun.syndication.io.impl.RSS091UserlandParser +
To be overriden by RSS 0.91 Netscape parser +
getTitle() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry title. +
getTitle() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed title. +
getTitle() - +Method in class com.sun.syndication.feed.atom.Link +
Returns the link title. +
getTitle() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module title. +
getTitle() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module title. +
getTitle() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel title. +
getTitle() - +Method in class com.sun.syndication.feed.rss.Image +
Returns the image title. +
getTitle() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item title. +
getTitle() - +Method in class com.sun.syndication.feed.rss.TextInput +
Returns the text input title. +
getTitle() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry title. +
getTitle() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the entry title. +
getTitle() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed title. +
getTitle() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed title. +
getTitle() - +Method in interface com.sun.syndication.feed.synd.SyndImage +
Returns the image title. +
getTitle() - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
Returns the image title. +
getTitle() - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Returns the link title. +
getTitle() - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Returns the link title. +
getTitleEx() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the entry title as a text construct. +
getTitleEx() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the feed title. +
getTitleEx() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry title as a text construct. +
getTitleEx() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the entry title as a text construct. +
getTitleEx() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed title. +
getTitleEx() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed title as a text construct. +
getTitles() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module titles. +
getTitles() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module titles. +
getTokenizedProperty(String, String) - +Method in class com.sun.syndication.io.impl.PropertiesLoader +
Returns an array of tokenized values stored under a property key in all properties files. +
getTtl() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel time to live. +
getType() - +Method in class com.sun.syndication.feed.atom.Content +
Returns the content type. +
getType() - +Method in class com.sun.syndication.feed.atom.Link +
Returns the link type. +
getType() - +Method in interface com.sun.syndication.feed.module.DCModule +
Gets the DublinCore module type. +
getType() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Gets the DublinCore module type. +
getType() - +Method in class com.sun.syndication.feed.rss.Content +
Returns the description type. +
getType() - +Method in class com.sun.syndication.feed.rss.Description +
Returns the description type. +
getType() - +Method in class com.sun.syndication.feed.rss.Enclosure +
Returns the enclosure type. +
getType() - +Method in interface com.sun.syndication.feed.synd.Converter +
Returns the type (version) of the real feed this converter handles. +
getType() - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom03 +
  +
getType() - +Method in class com.sun.syndication.feed.synd.impl.ConverterForAtom10 +
  +
getType() - +Method in class com.sun.syndication.feed.synd.impl.ConverterForRSS090 +
  +
getType() - +Method in interface com.sun.syndication.feed.synd.SyndContent +
Returns the content type. +
getType() - +Method in class com.sun.syndication.feed.synd.SyndContentImpl +
Returns the content type. +
getType() - +Method in interface com.sun.syndication.feed.synd.SyndEnclosure +
Returns the enclosure type. +
getType() - +Method in class com.sun.syndication.feed.synd.SyndEnclosureImpl +
Returns the enclosure type. +
getType() - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Returns the link type. +
getType() - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Returns the link type. +
getType() - +Method in class com.sun.syndication.io.impl.BaseWireFeedGenerator +
  +
getType() - +Method in class com.sun.syndication.io.impl.BaseWireFeedParser +
Returns the type of feed the parser handles. +
getType() - +Method in interface com.sun.syndication.io.WireFeedGenerator +
Returns the type of feed the generator creates. +
getType() - +Method in interface com.sun.syndication.io.WireFeedParser +
Returns the type of feed the parser handles. +
getTypes() - +Method in interface com.sun.syndication.feed.module.DCModule +
Returns the DublinCore module type. +
getTypes() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the DublinCore module type. +
getUpdateBase() - +Method in interface com.sun.syndication.feed.module.SyModule +
Returns the Syndication module update base date. +
getUpdateBase() - +Method in class com.sun.syndication.feed.module.SyModuleImpl +
Returns the Syndication module update base date. +
getUpdated() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the updated + +
getUpdated() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the updated + +
getUpdatedDate() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry updated date. +
getUpdatedDate() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the updatedDate + +
getUpdateFrequency() - +Method in interface com.sun.syndication.feed.module.SyModule +
Returns the Syndication module update frequency. +
getUpdateFrequency() - +Method in class com.sun.syndication.feed.module.SyModuleImpl +
Returns the Syndication module update frequency. +
getUpdatePeriod() - +Method in interface com.sun.syndication.feed.module.SyModule +
Returns the Syndication module update period. +
getUpdatePeriod() - +Method in class com.sun.syndication.feed.module.SyModuleImpl +
Returns the Syndication module update period. +
getUri() - +Method in class com.sun.syndication.feed.atom.Person +
Returns the uri + +
getUri() - +Method in interface com.sun.syndication.feed.module.Module +
Returns the URI of the module. +
getUri() - +Method in class com.sun.syndication.feed.module.ModuleImpl +
Returns the URI of the module. +
getUri() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel uri. +
getUri() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the item uri. +
getUri() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Returns the entry URI. +
getUri() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the entry URI. +
getUri() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the feed URI. +
getUri() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the feed URI. +
getUri() - +Method in interface com.sun.syndication.feed.synd.SyndPerson +
Returns URI of person. +
getUri() - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Returns the person's URI. +
getUriResolved(String) - +Method in class com.sun.syndication.feed.atom.Person +
  +
getUrl() - +Method in class com.sun.syndication.feed.atom.Generator +
Returns the generator URL. +
getUrl() - +Method in class com.sun.syndication.feed.atom.Person +
Returns the person URL (same as Person.getUri()) + +
getUrl() - +Method in class com.sun.syndication.feed.rss.Enclosure +
Returns the enclosure URL. +
getUrl() - +Method in class com.sun.syndication.feed.rss.Image +
Returns the image URL. +
getUrl() - +Method in class com.sun.syndication.feed.rss.Source +
Returns the source URL. +
getUrl() - +Method in interface com.sun.syndication.feed.synd.SyndEnclosure +
Returns the enclosure URL. +
getUrl() - +Method in class com.sun.syndication.feed.synd.SyndEnclosureImpl +
Returns the enclosure URL. +
getUrl() - +Method in interface com.sun.syndication.feed.synd.SyndImage +
Returns the image URL. +
getUrl() - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
Returns the image URL. +
getValue() - +Method in class com.sun.syndication.feed.atom.Content +
Returns the content value. +
getValue() - +Method in class com.sun.syndication.feed.atom.Generator +
Returns the generator value. +
getValue() - +Method in interface com.sun.syndication.feed.module.DCSubject +
Returns the DublinCore subject value. +
getValue() - +Method in class com.sun.syndication.feed.module.DCSubjectImpl +
Returns the DublinCore subject value. +
getValue() - +Method in class com.sun.syndication.feed.rss.Category +
Returns the category value. +
getValue() - +Method in class com.sun.syndication.feed.rss.Content +
Returns the description value. +
getValue() - +Method in class com.sun.syndication.feed.rss.Description +
Returns the description value. +
getValue() - +Method in class com.sun.syndication.feed.rss.Guid +
Returns the guid value. +
getValue() - +Method in class com.sun.syndication.feed.rss.Source +
Returns the source value. +
getValue() - +Method in interface com.sun.syndication.feed.synd.SyndContent +
Returns the content value. +
getValue() - +Method in class com.sun.syndication.feed.synd.SyndContentImpl +
Returns the content value. +
getVersion() - +Method in class com.sun.syndication.feed.atom.Generator +
Returns the generator version. +
getVersion() - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
getVersion() - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
getVersion() - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
getWebMaster() - +Method in class com.sun.syndication.feed.rss.Channel +
Returns the channel web master. +
getWidth() - +Method in class com.sun.syndication.feed.rss.Image +
Returns the image width. +
getWireEntry() - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Return the original item this SyndEntry is generated from. +
getWireEntry() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
  +
getXmlBase() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the xmlBase + +
getXmlBase() - +Method in class com.sun.syndication.feed.atom.Feed +
Returns the xmlBase + +
getXmlEncoding() - +Method in exception com.sun.syndication.io.XmlReaderException +
Returns the encoding found in the XML prolog of the InputStream. +
getXmlGuessEncoding() - +Method in exception com.sun.syndication.io.XmlReaderException +
Returns the encoding guess based on the first bytes of the InputStream. +
getXmlHealerOn() - +Method in class com.sun.syndication.io.SyndFeedInput +
Indicates if the WiredFeedInput instance will XML heal (if necessary) the character stream. +
getXmlHealerOn() - +Method in class com.sun.syndication.io.WireFeedInput +
Indicates if the WiredFeedInput instance will XML heal (if necessary) the character stream. +
Guid - Class in com.sun.syndication.feed.rss
Bean for item GUIDs of RSS feeds.
Guid() - +Constructor for class com.sun.syndication.feed.rss.Guid +
Default constructor. +
+
+

+H

+
+
hashCode() - +Method in class com.sun.syndication.feed.atom.Category +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.atom.Content +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.atom.Generator +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.atom.Link +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.atom.Person +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.impl.EqualsBean +
Returns the hashcode for this object. +
hashCode() - +Method in class com.sun.syndication.feed.impl.ObjectBean +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.module.DCSubjectImpl +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.module.ModuleImpl +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.rss.Category +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.rss.Cloud +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.rss.Content +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.rss.Description +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.rss.Enclosure +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.rss.Guid +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.rss.Image +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.rss.Item +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.rss.Source +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.rss.TextInput +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.synd.SyndCategoryImpl +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.synd.SyndContentImpl +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.synd.SyndEnclosureImpl +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
Returns a hashcode value for the object. +
hashCode() - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Returns a hashcode value for the object. +
hashCode() - +Method in class com.sun.syndication.feed.WireFeed +
Returns a hashcode value for the object. +
HOURLY - +Static variable in interface com.sun.syndication.feed.module.SyModule +
  +
HTML - +Static variable in class com.sun.syndication.feed.atom.Content +
  +
HTML - +Static variable in class com.sun.syndication.feed.rss.Content +
  +
+
+

+I

+
+
Image - Class in com.sun.syndication.feed.rss
Bean for images of RSS feeds.
Image() - +Constructor for class com.sun.syndication.feed.rss.Image +
Default constructor. +
in - +Variable in class com.sun.syndication.io.impl.XmlFixerReader +
  +
isAbsoluteURI(String) - +Static method in class com.sun.syndication.io.impl.Atom10Parser +
  +
isHourFormat24() - +Method in class com.sun.syndication.io.impl.RSS091NetscapeGenerator +
To be overriden by RSS 0.91 Netscape and RSS 0.94 +
isHourFormat24(Element) - +Method in class com.sun.syndication.io.impl.RSS091NetscapeParser +
  +
isHourFormat24() - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
To be overriden by RSS 0.91 Netscape and RSS 0.94 +
isHourFormat24(Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandParser +
To be overriden by RSS 0.91 Netscape and RSS 0.94 +
isHourFormat24(Element) - +Method in class com.sun.syndication.io.impl.RSS20Parser +
  +
isMediaEntry() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns true if entry is a media entry, i.e. has rel="edit-media". +
isMyType(Document) - +Method in class com.sun.syndication.io.impl.Atom03Parser +
  +
isMyType(Document) - +Method in class com.sun.syndication.io.impl.Atom10Parser +
  +
isMyType(Document) - +Method in class com.sun.syndication.io.impl.RSS090Parser +
  +
isMyType(Document) - +Method in class com.sun.syndication.io.impl.RSS091NetscapeParser +
  +
isMyType(Document) - +Method in class com.sun.syndication.io.impl.RSS091UserlandParser +
  +
isMyType(Document) - +Method in class com.sun.syndication.io.impl.RSS10Parser +
Indicates if a JDom document is an RSS instance that can be parsed with the parser. +
isMyType(Document) - +Method in class com.sun.syndication.io.impl.RSS20Parser +
  +
isMyType(Document) - +Method in class com.sun.syndication.io.impl.RSS20wNSParser +
  +
isMyType(Document) - +Method in interface com.sun.syndication.io.WireFeedParser +
Inspects an XML Document (JDOM) to check if it can parse it. +
isPermaLink() - +Method in class com.sun.syndication.feed.rss.Guid +
Returns the guid perma link. +
isPreserveWireFeed() - +Method in class com.sun.syndication.io.SyndFeedInput +
  +
isPreservingWireFeed() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
  +
isPreservingWireFeed() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
  +
isRelativeURI(String) - +Static method in class com.sun.syndication.io.impl.Atom10Parser +
Returns true if URI is relative. +
Item - Class in com.sun.syndication.feed.rss
Bean for items of RSS feeds.
Item() - +Constructor for class com.sun.syndication.feed.rss.Item +
Default constructor. +
+
+

+L

+
+
Link - Class in com.sun.syndication.feed.atom
Bean for link elements of Atom feeds.
Link() - +Constructor for class com.sun.syndication.feed.atom.Link +
Default constructor. +
+
+

+M

+
+
main(String[]) - +Static method in class com.sun.syndication.io.impl.Base64 +
  +
mark(int) - +Method in class com.sun.syndication.io.impl.XmlFixerReader +
  +
markSupported() - +Method in class com.sun.syndication.io.impl.XmlFixerReader +
  +
Module - Interface in com.sun.syndication.feed.module
Base class for modules describing Metadata of feeds.
ModuleGenerator - Interface in com.sun.syndication.io
Injects module metadata into a XML node (JDOM element).
ModuleGenerators - Class in com.sun.syndication.io.impl
 
ModuleGenerators(String, BaseWireFeedGenerator) - +Constructor for class com.sun.syndication.io.impl.ModuleGenerators +
  +
ModuleImpl - Class in com.sun.syndication.feed.module
Base class for modules describing Metadata of feeds, default implementations.
ModuleImpl(Class, String) - +Constructor for class com.sun.syndication.feed.module.ModuleImpl +
Constructor. +
ModuleParser - Interface in com.sun.syndication.io
Parses module metadata from a XML node (JDOM element).
ModuleParsers - Class in com.sun.syndication.io.impl
 
ModuleParsers(String, WireFeedParser) - +Constructor for class com.sun.syndication.io.impl.ModuleParsers +
  +
ModuleUtils - Class in com.sun.syndication.feed.module.impl
 
ModuleUtils() - +Constructor for class com.sun.syndication.feed.module.impl.ModuleUtils +
  +
MONDAY - +Static variable in class com.sun.syndication.feed.rss.Channel +
  +
MONTHLY - +Static variable in interface com.sun.syndication.feed.module.SyModule +
  +
+
+

+N

+
+
normalize(String) - +Static method in class com.sun.syndication.feed.synd.impl.URINormalizer +
Normalizes an URI as specified in RFC 2396bis. +
NumberParser - Class in com.sun.syndication.io.impl
A helper class that parses Numbers out of Strings in a lenient manner.
+
+

+O

+
+
ObjectBean - Class in com.sun.syndication.feed.impl
Convenience class providing clone(), toString(), equals() and hashCode() functionality for Java Beans.
ObjectBean(Class, Object) - +Constructor for class com.sun.syndication.feed.impl.ObjectBean +
Constructor. +
ObjectBean(Class, Object, Set) - +Constructor for class com.sun.syndication.feed.impl.ObjectBean +
Constructor. +
originalWireFeed() - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Returns the WireFeed this SyndFeed was created from. +
originalWireFeed() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the WireFeed this SyndFeed was created from. +
output(SyndFeed, File) - +Method in class com.sun.syndication.io.SyndFeedOutput +
Creates a File containing with the XML representation for the given SyndFeedImpl. +
output(SyndFeed, File, boolean) - +Method in class com.sun.syndication.io.SyndFeedOutput +
Creates a File containing with the XML representation for the given SyndFeedImpl. +
output(SyndFeed, Writer) - +Method in class com.sun.syndication.io.SyndFeedOutput +
Writes to an Writer the XML representation for the given SyndFeedImpl. +
output(SyndFeed, Writer, boolean) - +Method in class com.sun.syndication.io.SyndFeedOutput +
Writes to an Writer the XML representation for the given SyndFeedImpl. +
output(WireFeed, File) - +Method in class com.sun.syndication.io.WireFeedOutput +
Creates a File containing with the XML representation for the given WireFeed. +
output(WireFeed, File, boolean) - +Method in class com.sun.syndication.io.WireFeedOutput +
Creates a File containing with the XML representation for the given WireFeed. +
output(WireFeed, Writer) - +Method in class com.sun.syndication.io.WireFeedOutput +
Writes to an Writer the XML representation for the given WireFeed. +
output(WireFeed, Writer, boolean) - +Method in class com.sun.syndication.io.WireFeedOutput +
Writes to an Writer the XML representation for the given WireFeed. +
outputJDom(SyndFeed) - +Method in class com.sun.syndication.io.SyndFeedOutput +
Creates a JDOM document for the given SyndFeedImpl. +
outputJDom(WireFeed) - +Method in class com.sun.syndication.io.WireFeedOutput +
Creates a JDOM document for the given WireFeed. +
outputString(SyndFeed) - +Method in class com.sun.syndication.io.SyndFeedOutput +
Creates a String with the XML representation for the given SyndFeedImpl. +
outputString(SyndFeed, boolean) - +Method in class com.sun.syndication.io.SyndFeedOutput +
Creates a String with the XML representation for the given SyndFeedImpl. +
outputString(WireFeed) - +Method in class com.sun.syndication.io.WireFeedOutput +
Creates a String with the XML representation for the given WireFeed. +
outputString(WireFeed, boolean) - +Method in class com.sun.syndication.io.WireFeedOutput +
Creates a String with the XML representation for the given WireFeed. +
outputW3CDom(SyndFeed) - +Method in class com.sun.syndication.io.SyndFeedOutput +
Creates a W3C DOM document for the given SyndFeedImpl. +
outputW3CDom(WireFeed) - +Method in class com.sun.syndication.io.WireFeedOutput +
Creates a W3C DOM document for the given WireFeed. +
+
+

+P

+
+
parse(Document, boolean) - +Method in class com.sun.syndication.io.impl.Atom03Parser +
  +
parse(Document, boolean) - +Method in class com.sun.syndication.io.impl.Atom10Parser +
  +
parse(Element) - +Method in class com.sun.syndication.io.impl.DCModuleParser +
Parse an element tree and return the module found in it. +
parse(Document, boolean) - +Method in class com.sun.syndication.io.impl.RSS090Parser +
  +
parse(Element) - +Method in class com.sun.syndication.io.impl.SyModuleParser +
  +
parse(Element) - +Method in interface com.sun.syndication.io.ModuleParser +
Parses the XML node (JDOM element) extracting module information. +
parse(Document, boolean) - +Method in interface com.sun.syndication.io.WireFeedParser +
Parses an XML document (JDOM Document) into a feed bean. +
parseCategories(List) - +Method in class com.sun.syndication.io.impl.RSS092Parser +
  +
parseChannel(Element) - +Method in class com.sun.syndication.io.impl.RSS090Parser +
Parses the root element of an RSS document into a Channel bean. +
parseChannel(Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandParser +
Parses the root element of an RSS document into a Channel bean. +
parseChannel(Element) - +Method in class com.sun.syndication.io.impl.RSS092Parser +
  +
parseChannel(Element) - +Method in class com.sun.syndication.io.impl.RSS094Parser +
  +
parseChannel(Element) - +Method in class com.sun.syndication.io.impl.RSS10Parser +
  +
parseChannel(Element) - +Method in class com.sun.syndication.io.impl.RSS20wNSParser +
After we parse the feed we put "rss_2.0" in it (so converters and generators work) + this parser is a phantom. +
parseDate(String) - +Static method in class com.sun.syndication.io.impl.DateParser +
Parses a Date out of a String with a date in W3C date-time format or + in a RFC822 format. +
parseElementList(List) - +Method in class com.sun.syndication.io.impl.DCModuleParser +
Utility method to parse a list of strings out of a list of elements. +
parseElementListDate(List) - +Method in class com.sun.syndication.io.impl.DCModuleParser +
Utility method to parse a list of dates out of a list of elements. +
parseEntries(Feed, String, List) - +Method in class com.sun.syndication.io.impl.Atom10Parser +
  +
parseEntry(Feed, Element, String) - +Method in class com.sun.syndication.io.impl.Atom10Parser +
  +
parseEntry(Reader, String) - +Static method in class com.sun.syndication.io.impl.Atom10Parser +
Parse entry from reader. +
parseFeed(Element) - +Method in class com.sun.syndication.io.impl.Atom03Parser +
  +
parseFeed(Element) - +Method in class com.sun.syndication.io.impl.Atom10Parser +
  +
parseFeedModules(Element) - +Method in class com.sun.syndication.io.impl.BaseWireFeedParser +
  +
parseFloat(String) - +Static method in class com.sun.syndication.io.impl.NumberParser +
Parse a Float from a String without exceptions. +
parseFloat(String, float) - +Static method in class com.sun.syndication.io.impl.NumberParser +
Parse a float from a String, with a default value +
parseImage(Element) - +Method in class com.sun.syndication.io.impl.RSS090Parser +
Parses the root element of an RSS document looking for image information. +
parseImage(Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandParser +
Parses the root element of an RSS document looking for image information. +
parseInt(String) - +Static method in class com.sun.syndication.io.impl.NumberParser +
Parse an Integer from a String. +
parseItem(Element, Element) - +Method in class com.sun.syndication.io.impl.RSS090Parser +
Parses an item element of an RSS document looking for item information. +
parseItem(Element, Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandParser +
Parses an item element of an RSS document looking for item information. +
parseItem(Element, Element) - +Method in class com.sun.syndication.io.impl.RSS092Parser +
  +
parseItem(Element, Element) - +Method in class com.sun.syndication.io.impl.RSS093Parser +
  +
parseItem(Element, Element) - +Method in class com.sun.syndication.io.impl.RSS094Parser +
  +
parseItem(Element, Element) - +Method in class com.sun.syndication.io.impl.RSS10Parser +
Parses an item element of an RSS document looking for item information. +
parseItemDescription(Element, Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandParser +
  +
parseItemDescription(Element, Element) - +Method in class com.sun.syndication.io.impl.RSS092Parser +
  +
parseItemDescription(Element, Element) - +Method in class com.sun.syndication.io.impl.RSS094Parser +
  +
parseItemDescription(Element, Element) - +Method in class com.sun.syndication.io.impl.RSS10Parser +
  +
parseItemDescription(Element, Element) - +Method in class com.sun.syndication.io.impl.RSS20Parser +
  +
parseItemModules(Element) - +Method in class com.sun.syndication.io.impl.BaseWireFeedParser +
  +
parseItems(Element) - +Method in class com.sun.syndication.io.impl.RSS090Parser +
Parses the root element of an RSS document looking for all items information. +
parseLong(String) - +Static method in class com.sun.syndication.io.impl.NumberParser +
Parses a Long out of a string. +
parseLong(String, long) - +Static method in class com.sun.syndication.io.impl.NumberParser +
Parses a long out of a string. +
parseModules(Element) - +Method in class com.sun.syndication.io.impl.ModuleParsers +
  +
parsePersonModules(Element) - +Method in class com.sun.syndication.io.impl.BaseWireFeedParser +
  +
parseRFC822(String) - +Static method in class com.sun.syndication.io.impl.DateParser +
Parses a Date out of a String with a date in RFC822 format. +
parseSubjects(List) - +Method in class com.sun.syndication.io.impl.DCModuleParser +
Utility method to parse a list of subjects out of a list of elements. +
parseTextInput(Element) - +Method in class com.sun.syndication.io.impl.RSS090Parser +
Parses the root element of an RSS document looking for text-input information. +
parseW3CDateTime(String) - +Static method in class com.sun.syndication.io.impl.DateParser +
Parses a Date out of a String with a date in W3C date-time format. +
ParsingFeedException - Exception in com.sun.syndication.io
Exception thrown by WireFeedInput instance if it can not parse a feed.
ParsingFeedException(String) - +Constructor for exception com.sun.syndication.io.ParsingFeedException +
Creates a FeedException with a message. +
ParsingFeedException(String, Throwable) - +Constructor for exception com.sun.syndication.io.ParsingFeedException +
Creates a FeedException with a message and a root cause exception. +
Person - Class in com.sun.syndication.feed.atom
Bean for person elements of Atom feeds.
Person() - +Constructor for class com.sun.syndication.feed.atom.Person +
Default constructor. +
PluginManager - Class in com.sun.syndication.io.impl
PluginManager(String) - +Constructor for class com.sun.syndication.io.impl.PluginManager +
Creates a PluginManager + +
PluginManager(String, WireFeedParser, WireFeedGenerator) - +Constructor for class com.sun.syndication.io.impl.PluginManager +
  +
populateChannel(Channel, Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
Populates the given channel with parsed data from the ROME element that holds the + channel data. +
populateChannel(Channel, Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
populateChannel(Channel, Element) - +Method in class com.sun.syndication.io.impl.RSS092Generator +
  +
populateChannel(Channel, Element) - +Method in class com.sun.syndication.io.impl.RSS10Generator +
  +
populateChannel(Channel, Element) - +Method in class com.sun.syndication.io.impl.RSS20Generator +
  +
populateEntry(Entry, Element) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
populateEntry(Entry, Element) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
populateFeed(Feed, Element) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
populateFeed(Feed, Element) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
populateFeed(Channel, Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
populateFeed(Channel, Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
populateFeedHeader(Feed, Element) - +Method in class com.sun.syndication.io.impl.Atom03Generator +
  +
populateFeedHeader(Feed, Element) - +Method in class com.sun.syndication.io.impl.Atom10Generator +
  +
populateImage(Image, Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
populateImage(Image, Element) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
populateItem(Item, Element, int) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
populateItem(Item, Element, int) - +Method in class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
populateItem(Item, Element, int) - +Method in class com.sun.syndication.io.impl.RSS092Generator +
  +
populateItem(Item, Element, int) - +Method in class com.sun.syndication.io.impl.RSS093Generator +
  +
populateItem(Item, Element, int) - +Method in class com.sun.syndication.io.impl.RSS094Generator +
  +
populateItem(Item, Element, int) - +Method in class com.sun.syndication.io.impl.RSS10Generator +
  +
populateItem(Item, Element, int) - +Method in class com.sun.syndication.io.impl.RSS20Generator +
  +
populateTextInput(TextInput, Element) - +Method in class com.sun.syndication.io.impl.RSS090Generator +
  +
processHtmlEntities(String) - +Method in class com.sun.syndication.io.impl.XmlFixerReader +
  +
PropertiesLoader - Class in com.sun.syndication.io.impl
Properties loader that aggregates a master properties file and several extra properties files, + all from the current classpath.
purgeUnusedNamespaceDeclarations(Element) - +Static method in class com.sun.syndication.io.impl.BaseWireFeedGenerator +
Purging unused declarations is less optimal, performance-wise, than never adding them in the first place. +
+
+

+R

+
+
read() - +Method in class com.sun.syndication.io.impl.XmlFixerReader +
  +
read(char[], int, int) - +Method in class com.sun.syndication.io.impl.XmlFixerReader +
  +
read(char[], int, int) - +Method in class com.sun.syndication.io.XmlReader +
  +
ready() - +Method in class com.sun.syndication.io.impl.XmlFixerReader +
  +
reset() - +Method in class com.sun.syndication.io.impl.XmlFixerReader +
  +
resolveURI(String, Parent, String) - +Static method in class com.sun.syndication.io.impl.Atom10Parser +
Resolve URI via base URL and parent element. +
RSS090Generator - Class in com.sun.syndication.io.impl
Feed Generator for RSS 0.90 +

RSS090Generator() - +Constructor for class com.sun.syndication.io.impl.RSS090Generator +
  +
RSS090Generator(String) - +Constructor for class com.sun.syndication.io.impl.RSS090Generator +
  +
RSS090Parser - Class in com.sun.syndication.io.impl
 
RSS090Parser() - +Constructor for class com.sun.syndication.io.impl.RSS090Parser +
  +
RSS090Parser(String, Namespace) - +Constructor for class com.sun.syndication.io.impl.RSS090Parser +
  +
RSS091NetscapeGenerator - Class in com.sun.syndication.io.impl
Feed Generator for RSS 0.91 +

RSS091NetscapeGenerator() - +Constructor for class com.sun.syndication.io.impl.RSS091NetscapeGenerator +
  +
RSS091NetscapeGenerator(String, String) - +Constructor for class com.sun.syndication.io.impl.RSS091NetscapeGenerator +
  +
RSS091NetscapeParser - Class in com.sun.syndication.io.impl
 
RSS091NetscapeParser() - +Constructor for class com.sun.syndication.io.impl.RSS091NetscapeParser +
  +
RSS091NetscapeParser(String) - +Constructor for class com.sun.syndication.io.impl.RSS091NetscapeParser +
  +
RSS091UserlandGenerator - Class in com.sun.syndication.io.impl
Feed Generator for RSS 0.91 +

RSS091UserlandGenerator() - +Constructor for class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
RSS091UserlandGenerator(String, String) - +Constructor for class com.sun.syndication.io.impl.RSS091UserlandGenerator +
  +
RSS091UserlandParser - Class in com.sun.syndication.io.impl
 
RSS091UserlandParser() - +Constructor for class com.sun.syndication.io.impl.RSS091UserlandParser +
  +
RSS091UserlandParser(String) - +Constructor for class com.sun.syndication.io.impl.RSS091UserlandParser +
  +
RSS092Generator - Class in com.sun.syndication.io.impl
Feed Generator for RSS 0.92 +

RSS092Generator() - +Constructor for class com.sun.syndication.io.impl.RSS092Generator +
  +
RSS092Generator(String, String) - +Constructor for class com.sun.syndication.io.impl.RSS092Generator +
  +
RSS092Parser - Class in com.sun.syndication.io.impl
 
RSS092Parser() - +Constructor for class com.sun.syndication.io.impl.RSS092Parser +
  +
RSS092Parser(String) - +Constructor for class com.sun.syndication.io.impl.RSS092Parser +
  +
RSS093Generator - Class in com.sun.syndication.io.impl
Feed Generator for RSS 0.93 +

RSS093Generator() - +Constructor for class com.sun.syndication.io.impl.RSS093Generator +
  +
RSS093Generator(String, String) - +Constructor for class com.sun.syndication.io.impl.RSS093Generator +
  +
RSS093Parser - Class in com.sun.syndication.io.impl
 
RSS093Parser() - +Constructor for class com.sun.syndication.io.impl.RSS093Parser +
  +
RSS093Parser(String) - +Constructor for class com.sun.syndication.io.impl.RSS093Parser +
  +
RSS094Generator - Class in com.sun.syndication.io.impl
Feed Generator for RSS 0.94 +

RSS094Generator() - +Constructor for class com.sun.syndication.io.impl.RSS094Generator +
  +
RSS094Generator(String, String) - +Constructor for class com.sun.syndication.io.impl.RSS094Generator +
  +
RSS094Parser - Class in com.sun.syndication.io.impl
 
RSS094Parser() - +Constructor for class com.sun.syndication.io.impl.RSS094Parser +
  +
RSS094Parser(String) - +Constructor for class com.sun.syndication.io.impl.RSS094Parser +
  +
RSS10Generator - Class in com.sun.syndication.io.impl
Feed Generator for RSS 1.0 +

RSS10Generator() - +Constructor for class com.sun.syndication.io.impl.RSS10Generator +
  +
RSS10Generator(String) - +Constructor for class com.sun.syndication.io.impl.RSS10Generator +
  +
RSS10Parser - Class in com.sun.syndication.io.impl
 
RSS10Parser() - +Constructor for class com.sun.syndication.io.impl.RSS10Parser +
  +
RSS10Parser(String, Namespace) - +Constructor for class com.sun.syndication.io.impl.RSS10Parser +
  +
RSS20Generator - Class in com.sun.syndication.io.impl
Feed Generator for RSS 2.0 +

RSS20Generator() - +Constructor for class com.sun.syndication.io.impl.RSS20Generator +
  +
RSS20Generator(String, String) - +Constructor for class com.sun.syndication.io.impl.RSS20Generator +
  +
RSS20Parser - Class in com.sun.syndication.io.impl
 
RSS20Parser() - +Constructor for class com.sun.syndication.io.impl.RSS20Parser +
  +
RSS20Parser(String) - +Constructor for class com.sun.syndication.io.impl.RSS20Parser +
  +
RSS20wNSParser - Class in com.sun.syndication.io.impl
To address issue with certain feeds (brought up by Charles Miller): + + "During the debacle that was the rollout of RSS2.0, this namespace was tried, + and even appeared in Dave Winer's Scripting News feed for a while.
RSS20wNSParser() - +Constructor for class com.sun.syndication.io.impl.RSS20wNSParser +
  +
RSS20wNSParser(String) - +Constructor for class com.sun.syndication.io.impl.RSS20wNSParser +
  +
+
+

+S

+
+
SATURDAY - +Static variable in class com.sun.syndication.feed.rss.Channel +
  +
SAXBuilder - Class in com.sun.syndication.io
 
SAXBuilder(boolean) - +Constructor for class com.sun.syndication.io.SAXBuilder +
  +
serializeEntry(Entry, Writer) - +Static method in class com.sun.syndication.io.impl.Atom10Generator +
Utility method to serialize an entry to writer. +
setAlternateLinks(List<Link>) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the entry alternate links. +
setAlternateLinks(List<Link>) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed alternate links. +
setAuthor(String) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item author. +
setAuthor(String) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry author. +
setAuthor(String) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Sets the entry author. +
setAuthor(String) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed author. +
setAuthor(String) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed author. +
setAuthors(List<Person>) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the author of the entry. +
setAuthors(List<Person>) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed author. +
setAuthors(List<SyndPerson>) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry author. +
setAuthors(List) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
  +
setAuthors(List<SyndPerson>) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed authors. +
setAuthors(List) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
  +
setCategories(List) - +Method in class com.sun.syndication.feed.atom.Entry +
Set the categories + +
setCategories(List<Category>) - +Method in class com.sun.syndication.feed.atom.Feed +
Set the categories + +
setCategories(List<Category>) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel categories. +
setCategories(List<Category>) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item categories. +
setCategories(List<SyndCategory>) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry categories. +
setCategories(List<SyndCategory>) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Sets the entry categories. +
setCategories(List<SyndCategory>) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed categories. +
setCategories(List) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed categories. +
setCloud(Cloud) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel cloud. +
setComments(String) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item comments. +
setContent(Content) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item content. +
setContents(List) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the entry contents. +
setContents(List<SyndContent>) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry contents. +
setContents(List<SyndContent>) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Sets the entry contents. +
setContributor(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module contributor. +
setContributor(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module contributor. +
setContributors(List<Person>) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the entry contributors. +
setContributors(List<Person>) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed contributors. +
setContributors(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module contributors. +
setContributors(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module contributors. +
setContributors(List<SyndPerson>) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the feed contributors. +
setContributors(List) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
  +
setContributors(List<SyndPerson>) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed author. +
setContributors(List) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
  +
setCopyright(String) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed copyright (Atom 0.3, maps to Feed.setRights(java.lang.String)). +
setCopyright(String) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel copyright. +
setCopyright(String) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed copyright. +
setCopyright(String) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed copyright. +
setCoverage(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module coverage. +
setCoverage(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module coverage. +
setCoverages(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module coverages. +
setCoverages(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module coverages. +
setCreated(Date) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the entry created date (Atom 0.3 only) + +
setCreator(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module creator. +
setCreator(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module creator. +
setCreators(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module creators. +
setCreators(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module creators. +
setDate(Date) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module date. +
setDate(Date) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module date. +
setDates(List<Date>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module dates. +
setDates(List<Date>) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module dates. +
setDefaultEncoding(String) - +Static method in class com.sun.syndication.io.XmlReader +
Sets the default encoding to use if none is set in HTTP content-type, + XML prolog and the rules based on content-type are not adequate. +
setDescription(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module description. +
setDescription(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module description. +
setDescription(String) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel description. +
setDescription(String) - +Method in class com.sun.syndication.feed.rss.Image +
Sets the image description. +
setDescription(Description) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item description. +
setDescription(String) - +Method in class com.sun.syndication.feed.rss.TextInput +
Sets the text input description. +
setDescription(SyndContent) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry description. +
setDescription(SyndContent) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Sets the entry description. +
setDescription(String) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed description. +
setDescription(String) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed description. +
setDescription(String) - +Method in interface com.sun.syndication.feed.synd.SyndImage +
Sets the image description. +
setDescription(String) - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
Sets the image description. +
setDescriptionEx(SyndContent) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed description as a text construct. +
setDescriptionEx(SyndContent) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed description as a text construct. +
setDescriptions(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module descriptions. +
setDescriptions(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module descriptions. +
setDocs(String) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel docs. +
setDomain(String) - +Method in class com.sun.syndication.feed.rss.Category +
Sets the category domain. +
setDomain(String) - +Method in class com.sun.syndication.feed.rss.Cloud +
Sets the cloud domain. +
setEmail(String) - +Method in class com.sun.syndication.feed.atom.Person +
Sets the person email. +
setEmail(String) - +Method in interface com.sun.syndication.feed.synd.SyndPerson +
Sets email of person. +
setEmail(String) - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Sets the person's e-mail address. +
setEnclosures(List<Enclosure>) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item enclosures. +
setEnclosures(List<SyndEnclosure>) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry enclosures. +
setEnclosures(List<SyndEnclosure>) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Sets the entry enclosures. +
setEncoding(String) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the charset encoding of a the feed. +
setEncoding(String) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the charset encoding of a the feed. +
setEncoding(String) - +Method in class com.sun.syndication.feed.WireFeed +
Sets the charset encoding of a the feed. +
setEntries(List) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed entries. +
setEntries(List<SyndEntry>) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed entries. +
setEntries(List) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed entries. +
setExpirationDate(Date) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item expiration date. +
setFeedGenerator(WireFeedGenerator) - +Method in interface com.sun.syndication.io.DelegatingModuleGenerator +
Provides a parent wirefeed reference to this ModuleParser, + or "plugin-in". +
setFeedParser(WireFeedParser) - +Method in interface com.sun.syndication.io.DelegatingModuleParser +
Provides a parent wirefeed reference to this ModuleParser, + or "plugin-in". +
setFeedType(String) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the wire feed type the feed will-have when coverted to a WireFeed. +
setFeedType(String) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the wire feed type the feed will-have when coverted to a WireFeed. +
setFeedType(String) - +Method in class com.sun.syndication.feed.WireFeed +
Sets the feedType of a the feed. +
setForeignMarkup(Object) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets foreign markup found at entry level. +
setForeignMarkup(Object) - +Method in class com.sun.syndication.feed.rss.Item +
Sets foreign markup found at item level. +
setForeignMarkup(Object) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets foreign markup found at channel level. +
setForeignMarkup(Object) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Sets foreign markup found at channel level. +
setForeignMarkup(Object) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets foreign markup found at channel level. +
setForeignMarkup(Object) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets foreign markup found at channel level. +
setForeignMarkup(Object) - +Method in class com.sun.syndication.feed.WireFeed +
Sets foreign markup found at channel level. +
setFormat(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module format. +
setFormat(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module format. +
setFormats(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module formats. +
setFormats(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module formats. +
setGenerator(Generator) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed generator. +
setGenerator(String) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel generator. +
setGuid(Guid) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item GUID. +
setHeight(Integer) - +Method in class com.sun.syndication.feed.rss.Image +
Sets the image height. +
setHref(String) - +Method in class com.sun.syndication.feed.atom.Link +
Sets the link href. +
setHref(String) - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Sets the link href. +
setHref(String) - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Sets the link href. +
setHreflang(String) - +Method in class com.sun.syndication.feed.atom.Link +
Set the hreflang + +
setHreflang(String) - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Set the hreflang + +
setHreflang(String) - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Set the hreflang + +
setHrefResolved(String) - +Method in class com.sun.syndication.feed.atom.Link +
  +
setIcon(String) - +Method in class com.sun.syndication.feed.atom.Feed +
Set the icon + +
setId(String) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the entry ID. +
setId(String) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed ID. +
setIdentifier(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module identifier. +
setIdentifier(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module identifier. +
setIdentifiers(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module identifiers. +
setIdentifiers(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module identifiers. +
setImage(Image) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel image. +
setImage(SyndImage) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed image. +
setImage(SyndImage) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed image. +
setInfo(Content) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed info (Atom 0.3 only) + +
setIssued(Date) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the entry issued date (Atom 0.3, maps to Entry.setPublished(java.util.Date)). +
setItems(List<Item>) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel items. +
setLabel(String) - +Method in class com.sun.syndication.feed.atom.Category +
Set label for category. +
setLanguage(String) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed language (Atom 0.3 only) + +
setLanguage(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module language. +
setLanguage(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module language. +
setLanguage(String) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel language. +
setLanguage(String) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed language. +
setLanguage(String) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed language. +
setLanguages(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module languages. +
setLanguages(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module languages. +
setLastBuildDate(Date) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel last build date. +
setLength(long) - +Method in class com.sun.syndication.feed.atom.Link +
Set the length + +
setLength(long) - +Method in class com.sun.syndication.feed.rss.Enclosure +
Sets the enclosure length. +
setLength(long) - +Method in interface com.sun.syndication.feed.synd.SyndEnclosure +
Sets the enclosure length. +
setLength(long) - +Method in class com.sun.syndication.feed.synd.SyndEnclosureImpl +
Sets the enclosure length. +
setLength(long) - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Set the length + +
setLength(long) - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Set the length + +
setLink(String) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel link. +
setLink(String) - +Method in class com.sun.syndication.feed.rss.Image +
Sets the image link. +
setLink(String) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item link. +
setLink(String) - +Method in class com.sun.syndication.feed.rss.TextInput +
Sets the text input link. +
setLink(String) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry link. +
setLink(String) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Sets the entry link. +
setLink(String) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed link. +
setLink(String) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed link. +
setLink(String) - +Method in interface com.sun.syndication.feed.synd.SyndImage +
Sets the image link. +
setLink(String) - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
Sets the image link. +
setLinks(List<SyndLink>) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry links. +
setLinks(List) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Set the links + +
setLinks(List<SyndLink>) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the entry links. +
setLinks(List) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Set the links + +
setLogo(String) - +Method in class com.sun.syndication.feed.atom.Feed +
Set the logo + +
setManagingEditor(String) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel managing editor. +
setMode(String) - +Method in class com.sun.syndication.feed.atom.Content +
Sets the content mode (Atom 0.3 only). +
setMode(String) - +Method in interface com.sun.syndication.feed.synd.SyndContent +
Sets the content mode (needed for Atom 0.3 support). +
setMode(String) - +Method in class com.sun.syndication.feed.synd.SyndContentImpl +
Sets the content mode. +
setModified(Date) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the entry modified date (Atom 0.3, maps to Entry.setUpdated(java.util.Date)). +
setModified(Date) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed modified date (Atom 0.3, maps to Feed.setUpdated(java.util.Date)). +
setModules(List) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the entry modules. +
setModules(List<Module>) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed moduless. +
setModules(List) - +Method in class com.sun.syndication.feed.atom.Person +
Sets the entry modules. +
setModules(List<Module>) - +Method in interface com.sun.syndication.feed.module.Extendable +
Sets the entry modules. +
setModules(List<Module>) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel modules. +
setModules(List<Module>) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item modules. +
setModules(List<Module>) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry modules. +
setModules(List<Module>) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Sets the entry modules. +
setModules(List) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed modules. +
setModules(List) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed modules. +
setModules(List) - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Sets the person modules. +
setModules(List<Module>) - +Method in class com.sun.syndication.feed.WireFeed +
Sets the channel modules. +
setName(String) - +Method in class com.sun.syndication.feed.atom.Person +
Sets the personname. +
setName(String) - +Method in class com.sun.syndication.feed.rss.TextInput +
Sets the text input name. +
setName(String) - +Method in interface com.sun.syndication.feed.synd.SyndCategory +
Sets the category name. +
setName(String) - +Method in class com.sun.syndication.feed.synd.SyndCategoryImpl +
Sets the category name. +
setName(String) - +Method in interface com.sun.syndication.feed.synd.SyndPerson +
Sets name of person. +
setName(String) - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Sets the category name. +
setOtherLinks(List<Link>) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the entry non-alternate links. +
setOtherLinks(List<Link>) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed other links (non-alternate ones). +
setPath(String) - +Method in class com.sun.syndication.feed.rss.Cloud +
Sets the cloud path. +
setPermaLink(boolean) - +Method in class com.sun.syndication.feed.rss.Guid +
Sets the guid perma link. +
setPort(int) - +Method in class com.sun.syndication.feed.rss.Cloud +
Sets the cloud port. +
setPreserveWireFeed(boolean) - +Method in class com.sun.syndication.io.SyndFeedInput +
  +
setProtocol(String) - +Method in class com.sun.syndication.feed.rss.Cloud +
Sets the cloud protocol. +
setPubDate(Date) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel publishing date. +
setPubDate(Date) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item publishing date. +
setPublished(Date) - +Method in class com.sun.syndication.feed.atom.Entry +
Set the published + +
setPublishedDate(Date) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry published date. +
setPublishedDate(Date) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Sets the entry published date. +
setPublishedDate(Date) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed published date. +
setPublishedDate(Date) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed published date. +
setPublisher(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module publisher. +
setPublisher(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module publisher. +
setPublishers(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module publishers. +
setPublishers(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module publishers. +
setRating(String) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel rating. +
setRegisterProcedure(String) - +Method in class com.sun.syndication.feed.rss.Cloud +
Sets the cloud register procedure. +
setRel(String) - +Method in class com.sun.syndication.feed.atom.Link +
Sets the link rel. +
setRel(String) - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Sets the link rel. +
setRel(String) - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Sets the link rel. +
setRelation(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module relation. +
setRelation(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module relation. +
setRelations(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module relations. +
setRelations(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module relations. +
setResolveURIs(boolean) - +Static method in class com.sun.syndication.io.impl.Atom10Parser +
  +
setRights(String) - +Method in class com.sun.syndication.feed.atom.Entry +
Set the rights + +
setRights(String) - +Method in class com.sun.syndication.feed.atom.Feed +
Set the rights + +
setRights(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module rights. +
setRights(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module rights. +
setRightsList(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module rightss. +
setRightsList(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module rights. +
setScheme(String) - +Method in class com.sun.syndication.feed.atom.Category +
Set scheme URI for category. +
setSchemeResolved(String) - +Method in class com.sun.syndication.feed.atom.Category +
  +
setSkipDays(List<String>) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel skip days. +
setSkipHours(List<Integer>) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel skip hours. +
setSource(Feed) - +Method in class com.sun.syndication.feed.atom.Entry +
Set the source + +
setSource(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module source. +
setSource(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module source. +
setSource(Source) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item source. +
setSource(SyndFeed) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry source feed (for use if different from containing feed) + +
setSource(SyndFeed) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
  +
setSources(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module sources. +
setSources(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module sources. +
setSrc(String) - +Method in class com.sun.syndication.feed.atom.Content +
Set the src + +
setSubject(DCSubject) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DCSubject element. +
setSubject(DCSubject) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DCSubject element. +
setSubjects(List<DCSubject>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module subjects. +
setSubjects(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module subjects. +
setSubtitle(Content) - +Method in class com.sun.syndication.feed.atom.Feed +
Set the subtitle + +
setSummary(Content) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the entry summary. +
setTagline(Content) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed tagline (Atom 0.3, maps to Feed.setSubtitle(com.sun.syndication.feed.atom.Content)). +
setTaxonomyUri(String) - +Method in interface com.sun.syndication.feed.module.DCSubject +
Sets the DublinCore subject taxonomy URI. +
setTaxonomyUri(String) - +Method in class com.sun.syndication.feed.module.DCSubjectImpl +
Sets the DublinCore subject taxonomy URI. +
setTaxonomyUri(String) - +Method in interface com.sun.syndication.feed.synd.SyndCategory +
Sets the category taxonomy URI. +
setTaxonomyUri(String) - +Method in class com.sun.syndication.feed.synd.SyndCategoryImpl +
Sets the category taxonomy URI. +
setTerm(String) - +Method in class com.sun.syndication.feed.atom.Category +
Set term for category. +
setTextInput(TextInput) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel text input. +
setTitle(String) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the entry title. +
setTitle(String) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed title. +
setTitle(String) - +Method in class com.sun.syndication.feed.atom.Link +
Sets the link title. +
setTitle(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module title. +
setTitle(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module title. +
setTitle(String) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel title. +
setTitle(String) - +Method in class com.sun.syndication.feed.rss.Image +
Sets the image title. +
setTitle(String) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item title. +
setTitle(String) - +Method in class com.sun.syndication.feed.rss.TextInput +
Sets the text input title. +
setTitle(String) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry title. +
setTitle(String) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Sets the entry title. +
setTitle(String) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed title. +
setTitle(String) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed title. +
setTitle(String) - +Method in interface com.sun.syndication.feed.synd.SyndImage +
Sets the image title. +
setTitle(String) - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
Sets the image title. +
setTitle(String) - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Sets the link title. +
setTitle(String) - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Sets the link title. +
setTitleEx(Content) - +Method in class com.sun.syndication.feed.atom.Entry +
Sets the entry title as a text construct. +
setTitleEx(Content) - +Method in class com.sun.syndication.feed.atom.Feed +
Sets the feed title. +
setTitleEx(SyndContent) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry title as a text construct. +
setTitleEx(SyndContent) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Sets the entry title as a text construct. +
setTitleEx(SyndContent) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed title. +
setTitleEx(SyndContent) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed title as a text construct. +
setTitles(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module titles. +
setTitles(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module titles. +
setTtl(int) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel time to live. +
setType(String) - +Method in class com.sun.syndication.feed.atom.Content +
Sets the content type. +
setType(String) - +Method in class com.sun.syndication.feed.atom.Link +
Sets the link type. +
setType(String) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module type. +
setType(String) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module type. +
setType(String) - +Method in class com.sun.syndication.feed.rss.Content +
Sets the description type. +
setType(String) - +Method in class com.sun.syndication.feed.rss.Description +
Sets the description type. +
setType(String) - +Method in class com.sun.syndication.feed.rss.Enclosure +
Sets the enclosure type. +
setType(String) - +Method in interface com.sun.syndication.feed.synd.SyndContent +
Sets the content type. +
setType(String) - +Method in class com.sun.syndication.feed.synd.SyndContentImpl +
Sets the content type. +
setType(String) - +Method in interface com.sun.syndication.feed.synd.SyndEnclosure +
Sets the enclosure type. +
setType(String) - +Method in class com.sun.syndication.feed.synd.SyndEnclosureImpl +
Sets the enclosure type. +
setType(String) - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Sets the link type. +
setType(String) - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Sets the link type. +
setTypes(List<String>) - +Method in interface com.sun.syndication.feed.module.DCModule +
Sets the DublinCore module types. +
setTypes(List) - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Sets the DublinCore module types. +
setUpdateBase(Date) - +Method in interface com.sun.syndication.feed.module.SyModule +
Sets the Syndication module update base date. +
setUpdateBase(Date) - +Method in class com.sun.syndication.feed.module.SyModuleImpl +
Sets the Syndication module update base date. +
setUpdated(Date) - +Method in class com.sun.syndication.feed.atom.Entry +
Set the updated + +
setUpdated(Date) - +Method in class com.sun.syndication.feed.atom.Feed +
Set the updated + +
setUpdatedDate(Date) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry updated date. +
setUpdatedDate(Date) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Set the updatedDate + +
setUpdateFrequency(int) - +Method in interface com.sun.syndication.feed.module.SyModule +
Sets the Syndication module update frequency. +
setUpdateFrequency(int) - +Method in class com.sun.syndication.feed.module.SyModuleImpl +
Sets the Syndication module update frequency. +
setUpdatePeriod(String) - +Method in interface com.sun.syndication.feed.module.SyModule +
Sets the Syndication module update period. +
setUpdatePeriod(String) - +Method in class com.sun.syndication.feed.module.SyModuleImpl +
Sets the Syndication module update period. +
setUri(String) - +Method in class com.sun.syndication.feed.atom.Person +
Set the uri + +
setUri(String) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel uri. +
setUri(String) - +Method in class com.sun.syndication.feed.rss.Item +
Sets the item uri. +
setUri(String) - +Method in interface com.sun.syndication.feed.synd.SyndEntry +
Sets the entry URI. +
setUri(String) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Sets the entry URI. +
setUri(String) - +Method in interface com.sun.syndication.feed.synd.SyndFeed +
Sets the feed URI. +
setUri(String) - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Sets the feed URI. +
setUri(String) - +Method in interface com.sun.syndication.feed.synd.SyndPerson +
Sets URI of person. +
setUri(String) - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Sets the person's URI. +
setUriResolved(String) - +Method in class com.sun.syndication.feed.atom.Person +
  +
setUrl(String) - +Method in class com.sun.syndication.feed.atom.Generator +
Sets the generator URL. +
setUrl(String) - +Method in class com.sun.syndication.feed.atom.Person +
Sets the person URL (same as Person.setUri(java.lang.String)) + +
setUrl(String) - +Method in class com.sun.syndication.feed.rss.Enclosure +
Sets the enclosure URL. +
setUrl(String) - +Method in class com.sun.syndication.feed.rss.Image +
Sets the image URL. +
setUrl(String) - +Method in class com.sun.syndication.feed.rss.Source +
Sets the source URL. +
setUrl(String) - +Method in interface com.sun.syndication.feed.synd.SyndEnclosure +
Sets the enclosure URL. +
setUrl(String) - +Method in class com.sun.syndication.feed.synd.SyndEnclosureImpl +
Sets the enclosure URL. +
setUrl(String) - +Method in interface com.sun.syndication.feed.synd.SyndImage +
Sets the image URL. +
setUrl(String) - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
Sets the image URL. +
setValue(String) - +Method in class com.sun.syndication.feed.atom.Content +
Sets the content value. +
setValue(String) - +Method in class com.sun.syndication.feed.atom.Generator +
Sets the generator value. +
setValue(String) - +Method in interface com.sun.syndication.feed.module.DCSubject +
Sets the DublinCore subject value. +
setValue(String) - +Method in class com.sun.syndication.feed.module.DCSubjectImpl +
Sets the DublinCore subject value. +
setValue(String) - +Method in class com.sun.syndication.feed.rss.Category +
Sets the category value. +
setValue(String) - +Method in class com.sun.syndication.feed.rss.Content +
Sets the description value. +
setValue(String) - +Method in class com.sun.syndication.feed.rss.Description +
Sets the description value. +
setValue(String) - +Method in class com.sun.syndication.feed.rss.Guid +
Sets the guid value. +
setValue(String) - +Method in class com.sun.syndication.feed.rss.Source +
Sets the source value. +
setValue(String) - +Method in interface com.sun.syndication.feed.synd.SyndContent +
Sets the content value. +
setValue(String) - +Method in class com.sun.syndication.feed.synd.SyndContentImpl +
Sets the content value. +
setVersion(String) - +Method in class com.sun.syndication.feed.atom.Generator +
Sets the generator version. +
setWebMaster(String) - +Method in class com.sun.syndication.feed.rss.Channel +
Sets the channel web master. +
setWidth(Integer) - +Method in class com.sun.syndication.feed.rss.Image +
Sets the image width. +
setWireEntry(Object) - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
  +
setXmlBase(String) - +Method in class com.sun.syndication.feed.atom.Entry +
Set the xmlBase + +
setXmlBase(String) - +Method in class com.sun.syndication.feed.atom.Feed +
Set the xmlBase + +
setXmlHealerOn(boolean) - +Method in class com.sun.syndication.io.SyndFeedInput +
Enables XML healing in the WiredFeedInput instance. +
setXmlHealerOn(boolean) - +Method in class com.sun.syndication.io.WireFeedInput +
Enables XML healing in the WiredFeedInput instance. +
skip(long) - +Method in class com.sun.syndication.io.impl.XmlFixerReader +
  +
Source - Class in com.sun.syndication.feed.rss
Bean for item sources of RSS feeds.
Source() - +Constructor for class com.sun.syndication.feed.rss.Source +
Default constructor. +
SUNDAY - +Static variable in class com.sun.syndication.feed.rss.Channel +
  +
SyModule - Interface in com.sun.syndication.feed.module
Syndication ModuleImpl.
SyModuleGenerator - Class in com.sun.syndication.io.impl
Feed Generator for SY ModuleImpl +

SyModuleGenerator() - +Constructor for class com.sun.syndication.io.impl.SyModuleGenerator +
  +
SyModuleImpl - Class in com.sun.syndication.feed.module
Syndication ModuleImpl, default implementation.
SyModuleImpl() - +Constructor for class com.sun.syndication.feed.module.SyModuleImpl +
Default constructor. +
SyModuleParser - Class in com.sun.syndication.io.impl
 
SyModuleParser() - +Constructor for class com.sun.syndication.io.impl.SyModuleParser +
  +
SyndCategory - Interface in com.sun.syndication.feed.synd
Bean interface for categories of SyndFeedImpl feeds and entries.
SyndCategoryImpl - Class in com.sun.syndication.feed.synd
Bean for categories of SyndFeedImpl feeds and entries.
SyndCategoryImpl() - +Constructor for class com.sun.syndication.feed.synd.SyndCategoryImpl +
Default constructor. +
SyndContent - Interface in com.sun.syndication.feed.synd
Bean interface for content of SyndFeedImpl entries.
SyndContentImpl - Class in com.sun.syndication.feed.synd
Bean for content of SyndFeedImpl entries.
SyndContentImpl() - +Constructor for class com.sun.syndication.feed.synd.SyndContentImpl +
Default constructor. +
SyndEnclosure - Interface in com.sun.syndication.feed.synd
 
SyndEnclosureImpl - Class in com.sun.syndication.feed.synd
 
SyndEnclosureImpl() - +Constructor for class com.sun.syndication.feed.synd.SyndEnclosureImpl +
Default constructor. +
SyndEntry - Interface in com.sun.syndication.feed.synd
Bean interface for entries of SyndFeedImpl feeds.
SyndEntryImpl - Class in com.sun.syndication.feed.synd
Bean for entries of SyndFeedImpl feeds.
SyndEntryImpl(Class, Set) - +Constructor for class com.sun.syndication.feed.synd.SyndEntryImpl +
For implementations extending SyndEntryImpl to be able to use the ObjectBean functionality + with extended interfaces. +
SyndEntryImpl() - +Constructor for class com.sun.syndication.feed.synd.SyndEntryImpl +
Default constructor. +
SyndFeed - Interface in com.sun.syndication.feed.synd
Bean interface for all types of feeds.
SyndFeedImpl - Class in com.sun.syndication.feed.synd
Bean for all types of feeds.
SyndFeedImpl(Class, Set) - +Constructor for class com.sun.syndication.feed.synd.SyndFeedImpl +
For implementations extending SyndFeedImpl to be able to use the ObjectBean functionality + with extended interfaces. +
SyndFeedImpl() - +Constructor for class com.sun.syndication.feed.synd.SyndFeedImpl +
Default constructor. +
SyndFeedImpl(WireFeed) - +Constructor for class com.sun.syndication.feed.synd.SyndFeedImpl +
Creates a SyndFeedImpl and populates all its properties out of the + given RSS Channel or Atom Feed properties. +
SyndFeedImpl(WireFeed, boolean) - +Constructor for class com.sun.syndication.feed.synd.SyndFeedImpl +
Creates a SyndFeedImpl and populates all its properties out of the + given RSS Channel or Atom Feed properties, while optionally preserving + the WireFeed for access via the orignalWireFeed() method. +
SyndFeedInput - Class in com.sun.syndication.io
Parses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom DOcument) + into an SyndFeedImpl.
SyndFeedInput() - +Constructor for class com.sun.syndication.io.SyndFeedInput +
Creates a SyndFeedInput instance with input validation turned off. +
SyndFeedInput(boolean) - +Constructor for class com.sun.syndication.io.SyndFeedInput +
Creates a SyndFeedInput instance. +
SyndFeedOutput - Class in com.sun.syndication.io
Generates an XML document (String, File, OutputStream, Writer, W3C DOM document or JDOM document) + out of an SyndFeedImpl..
SyndFeedOutput() - +Constructor for class com.sun.syndication.io.SyndFeedOutput +
Creates a SyndFeedOutput instance. +
SyndImage - Interface in com.sun.syndication.feed.synd
Bean interface for images of SyndFeedImpl feeds.
SyndImageImpl - Class in com.sun.syndication.feed.synd
Bean for images of SyndFeedImpl feeds.
SyndImageImpl() - +Constructor for class com.sun.syndication.feed.synd.SyndImageImpl +
Default constructor. +
SyndLink - Interface in com.sun.syndication.feed.synd
Represents a link or enclosure associated with entry.
SyndLinkImpl - Class in com.sun.syndication.feed.synd
Represents a link or an enclosure.
SyndLinkImpl() - +Constructor for class com.sun.syndication.feed.synd.SyndLinkImpl +
Default constructor. +
SyndPerson - Interface in com.sun.syndication.feed.synd
Bean interface for authors and contributors of SyndFeedImpl feeds and entries.
SyndPersonImpl - Class in com.sun.syndication.feed.synd
Bean for authors and contributors of SyndFeedImpl feeds and entries.
SyndPersonImpl() - +Constructor for class com.sun.syndication.feed.synd.SyndPersonImpl +
For implementations extending SyndContentImpl to be able to use the ObjectBean functionality + with extended interfaces. +
+
+

+T

+
+
TEXT - +Static variable in class com.sun.syndication.feed.atom.Content +
  +
TEXT - +Static variable in class com.sun.syndication.feed.rss.Content +
  +
TextInput - Class in com.sun.syndication.feed.rss
Bean for text input of RSS feeds.
TextInput() - +Constructor for class com.sun.syndication.feed.rss.TextInput +
Default constructor. +
THURSDAY - +Static variable in class com.sun.syndication.feed.rss.Channel +
  +
toString() - +Method in class com.sun.syndication.feed.atom.Category +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.atom.Content +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.atom.Entry +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.atom.Generator +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.atom.Link +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.atom.Person +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.impl.ObjectBean +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.impl.ToStringBean +
Returns the String representation of the bean given in the constructor. +
toString() - +Method in class com.sun.syndication.feed.module.DCModuleImpl +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.module.DCSubjectImpl +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.module.ModuleImpl +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.rss.Category +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.rss.Cloud +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.rss.Content +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.rss.Description +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.rss.Enclosure +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.rss.Guid +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.rss.Image +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.rss.Item +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.rss.Source +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.rss.TextInput +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.synd.SyndCategoryImpl +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.synd.SyndContentImpl +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.synd.SyndEnclosureImpl +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.synd.SyndEntryImpl +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.synd.SyndFeedImpl +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.synd.SyndImageImpl +
Returns the String representation for the object. +
toString() - +Method in interface com.sun.syndication.feed.synd.SyndLink +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.synd.SyndLinkImpl +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.synd.SyndPersonImpl +
Returns the String representation for the object. +
toString() - +Method in class com.sun.syndication.feed.WireFeed +
Returns the String representation for the object. +
ToStringBean - Class in com.sun.syndication.feed.impl
Provides deep Bean toString support.
ToStringBean(Class) - +Constructor for class com.sun.syndication.feed.impl.ToStringBean +
Default constructor. +
ToStringBean(Class, Object) - +Constructor for class com.sun.syndication.feed.impl.ToStringBean +
Creates a ToStringBean to be used in a delegation pattern. +
TUESDAY - +Static variable in class com.sun.syndication.feed.rss.Channel +
  +
+
+

+U

+
+
URI - +Static variable in interface com.sun.syndication.feed.module.DCModule +
URI of the Dublin Core Module (http://purl.org/dc/elements/1.1/). +
URI - +Static variable in interface com.sun.syndication.feed.module.SyModule +
URI of the Syndication ModuleImpl (http://purl.org/rss/1.0/modules/syndication/). +
URINormalizer - Class in com.sun.syndication.feed.synd.impl
Utility class for normalizing an URI as specified in RFC 2396bis.
URINormalizer() - +Constructor for class com.sun.syndication.feed.synd.impl.URINormalizer +
  +
+
+

+V

+
+
validateFeed(Document) - +Method in class com.sun.syndication.io.impl.Atom03Parser +
  +
validateFeed(Document) - +Method in class com.sun.syndication.io.impl.Atom10Parser +
  +
validateFeed(Document) - +Method in class com.sun.syndication.io.impl.RSS090Parser +
  +
+
+

+W

+
+
WEDNESDAY - +Static variable in class com.sun.syndication.feed.rss.Channel +
  +
WEEKLY - +Static variable in interface com.sun.syndication.feed.module.SyModule +
  +
WireFeed - Class in com.sun.syndication.feed
Parent class of the RSS (Channel) and Atom (Feed) feed beans.
WireFeed() - +Constructor for class com.sun.syndication.feed.WireFeed +
Default constructor, for bean cloning purposes only. +
WireFeed(String) - +Constructor for class com.sun.syndication.feed.WireFeed +
Creates a feed for a given type. +
WireFeedGenerator - Interface in com.sun.syndication.io
Generates an XML document (JDOM) out of a feed for a specific real feed type.
WireFeedInput - Class in com.sun.syndication.io
Parses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom DOcument) + into an WireFeed (RSS/Atom).
WireFeedInput() - +Constructor for class com.sun.syndication.io.WireFeedInput +
Creates a WireFeedInput instance with input validation turned off. +
WireFeedInput(boolean) - +Constructor for class com.sun.syndication.io.WireFeedInput +
Creates a WireFeedInput instance. +
WireFeedOutput - Class in com.sun.syndication.io
Generates an XML document (String, File, OutputStream, Writer, W3C DOM document or JDOM document) + out of an WireFeed (RSS/Atom).
WireFeedOutput() - +Constructor for class com.sun.syndication.io.WireFeedOutput +
Creates a FeedOuput instance. +
WireFeedParser - Interface in com.sun.syndication.io
Parses an XML document (JDOM) into a feed bean.
+
+

+X

+
+
XHTML - +Static variable in class com.sun.syndication.feed.atom.Content +
  +
XML - +Static variable in class com.sun.syndication.feed.atom.Content +
Atom 0.3 only +
XmlFixerReader - Class in com.sun.syndication.io.impl
 
XmlFixerReader(Reader) - +Constructor for class com.sun.syndication.io.impl.XmlFixerReader +
  +
XmlReader - Class in com.sun.syndication.io
Character stream that handles (or at least attemtps to) all the necessary Voodo to figure out + the charset encoding of the XML document within the stream.
XmlReader(File) - +Constructor for class com.sun.syndication.io.XmlReader +
Creates a Reader for a File. +
XmlReader(InputStream) - +Constructor for class com.sun.syndication.io.XmlReader +
Creates a Reader for a raw InputStream. +
XmlReader(InputStream, boolean, String) - +Constructor for class com.sun.syndication.io.XmlReader +
Creates a Reader for a raw InputStream and uses the provided default encoding if none is determined. +
XmlReader(InputStream, boolean) - +Constructor for class com.sun.syndication.io.XmlReader +
Creates a Reader for a raw InputStream. +
XmlReader(URL) - +Constructor for class com.sun.syndication.io.XmlReader +
Creates a Reader using the InputStream of a URL. +
XmlReader(URLConnection) - +Constructor for class com.sun.syndication.io.XmlReader +
Creates a Reader using the InputStream of a URLConnection. +
XmlReader(InputStream, String) - +Constructor for class com.sun.syndication.io.XmlReader +
Creates a Reader using an InputStream and the associated content-type header. +
XmlReader(InputStream, String, boolean, String) - +Constructor for class com.sun.syndication.io.XmlReader +
Creates a Reader using an InputStream and the associated content-type header. +
XmlReader(InputStream, String, boolean) - +Constructor for class com.sun.syndication.io.XmlReader +
Creates a Reader using an InputStream and the associated content-type header. +
XmlReaderException - Exception in com.sun.syndication.io
The XmlReaderException is thrown by the XmlReader constructors if the charset encoding + can not be determined according to the XML 1.0 specification and RFC 3023.
XmlReaderException(String, String, String, String, InputStream) - +Constructor for exception com.sun.syndication.io.XmlReaderException +
Creates an exception instance if the charset encoding could not be determined. +
XmlReaderException(String, String, String, String, String, String, InputStream) - +Constructor for exception com.sun.syndication.io.XmlReaderException +
Creates an exception instance if the charset encoding could not be determined. +
+
+

+Y

+
+
YEARLY - +Static variable in interface com.sun.syndication.feed.module.SyModule +
  +
+
+A B C D E F G H I L M N O P R S T U V W X Y + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/index.html b/apidocs/index.html new file mode 100644 index 0000000..5b0cbe0 --- /dev/null +++ b/apidocs/index.html @@ -0,0 +1,40 @@ + + + + + + + +ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API + + + + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> + + + \ No newline at end of file diff --git a/apidocs/overview-frame.html b/apidocs/overview-frame.html new file mode 100644 index 0000000..93f42eb --- /dev/null +++ b/apidocs/overview-frame.html @@ -0,0 +1,61 @@ + + + + + + + +Overview List (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + + + + +
+
+ + + + + +
All Classes +

+ +Packages +
+com.sun.syndication.feed +
+com.sun.syndication.feed.atom +
+com.sun.syndication.feed.impl +
+com.sun.syndication.feed.module +
+com.sun.syndication.feed.module.impl +
+com.sun.syndication.feed.rss +
+com.sun.syndication.feed.synd +
+com.sun.syndication.feed.synd.impl +
+com.sun.syndication.io +
+com.sun.syndication.io.impl +
+

+ +

+  + + \ No newline at end of file diff --git a/apidocs/overview-summary.html b/apidocs/overview-summary.html new file mode 100644 index 0000000..a7b1ed7 --- /dev/null +++ b/apidocs/overview-summary.html @@ -0,0 +1,193 @@ + + + + + + + +Overview (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages
com.sun.syndication.feed 
com.sun.syndication.feed.atom 
com.sun.syndication.feed.impl 
com.sun.syndication.feed.module 
com.sun.syndication.feed.module.impl 
com.sun.syndication.feed.rss 
com.sun.syndication.feed.synd 
com.sun.syndication.feed.synd.impl 
com.sun.syndication.io 
com.sun.syndication.io.impl 
+ +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/overview-tree.html b/apidocs/overview-tree.html new file mode 100644 index 0000000..002187d --- /dev/null +++ b/apidocs/overview-tree.html @@ -0,0 +1,299 @@ + + + + + + + +Class Hierarchy (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
com.sun.syndication.feed, com.sun.syndication.feed.atom, com.sun.syndication.feed.impl, com.sun.syndication.feed.module, com.sun.syndication.feed.module.impl, com.sun.syndication.feed.rss, com.sun.syndication.feed.synd, com.sun.syndication.feed.synd.impl, com.sun.syndication.io, com.sun.syndication.io.impl
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/package-list b/apidocs/package-list new file mode 100644 index 0000000..eda4deb --- /dev/null +++ b/apidocs/package-list @@ -0,0 +1,10 @@ +com.sun.syndication.feed +com.sun.syndication.feed.atom +com.sun.syndication.feed.impl +com.sun.syndication.feed.module +com.sun.syndication.feed.module.impl +com.sun.syndication.feed.rss +com.sun.syndication.feed.synd +com.sun.syndication.feed.synd.impl +com.sun.syndication.io +com.sun.syndication.io.impl diff --git a/apidocs/resources/inherit.gif b/apidocs/resources/inherit.gif new file mode 100644 index 0000000..c814867 Binary files /dev/null and b/apidocs/resources/inherit.gif differ diff --git a/apidocs/serialized-form.html b/apidocs/serialized-form.html new file mode 100644 index 0000000..500aac1 --- /dev/null +++ b/apidocs/serialized-form.html @@ -0,0 +1,3049 @@ + + + + + + + +Serialized Form (ROME, RSS and atOM utilitiEs for Java 1.1-SNAPSHOT API) + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package com.sun.syndication.feed
+ +

+ + + + + +
+Class com.sun.syndication.feed.WireFeed extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_feedType

+
+String _feedType
+
+
+
+
+
+

+_encoding

+
+String _encoding
+
+
+
+
+
+

+_modules

+
+List<E> _modules
+
+
+
+
+
+

+_foreignMarkup

+
+List<E> _foreignMarkup
+
+
+
+
+
+ + + + + +
+Package com.sun.syndication.feed.atom
+ +

+ + + + + +
+Class com.sun.syndication.feed.atom.Category extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_term

+
+String _term
+
+
+
+
+
+

+_scheme

+
+String _scheme
+
+
+
+
+
+

+_schemeResolved

+
+String _schemeResolved
+
+
+
+
+
+

+_label

+
+String _label
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.atom.Content extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_type

+
+String _type
+
+
+
+
+
+

+_value

+
+String _value
+
+
+
+
+
+

+_src

+
+String _src
+
+
+
+
+
+

+_mode

+
+String _mode
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.atom.Entry extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_summary

+
+Content _summary
+
+
+
+
+
+

+_title

+
+Content _title
+
+
+
+
+
+

+_created

+
+Date _created
+
+
+
+
+
+

+_published

+
+Date _published
+
+
+
+
+
+

+_updated

+
+Date _updated
+
+
+
+
+
+

+_source

+
+Feed _source
+
+
+
+
+
+

+_alternateLinks

+
+List<E> _alternateLinks
+
+
+
+
+
+

+_authors

+
+List<E> _authors
+
+
+
+
+
+

+_categories

+
+List<E> _categories
+
+
+
+
+
+

+_contents

+
+List<E> _contents
+
+
+
+
+
+

+_contributors

+
+List<E> _contributors
+
+
+
+
+
+

+_foreignMarkup

+
+List<E> _foreignMarkup
+
+
+
+
+
+

+_modules

+
+List<E> _modules
+
+
+
+
+
+

+_otherLinks

+
+List<E> _otherLinks
+
+
+
+
+
+

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_id

+
+String _id
+
+
+
+
+
+

+_rights

+
+String _rights
+
+
+
+
+
+

+_xmlBase

+
+String _xmlBase
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.atom.Feed extends WireFeed implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_xmlBase

+
+String _xmlBase
+
+
+
+
+
+

+_categories

+
+List<E> _categories
+
+
+
+
+
+

+_authors

+
+List<E> _authors
+
+
+
+
+
+

+_contributors

+
+List<E> _contributors
+
+
+
+
+
+

+_generator

+
+Generator _generator
+
+
+
+
+
+

+_icon

+
+String _icon
+
+
+
+
+
+

+_id

+
+String _id
+
+
+
+
+
+

+_logo

+
+String _logo
+
+
+
+
+
+

+_rights

+
+String _rights
+
+
+
+
+
+

+_subtitle

+
+Content _subtitle
+
+
+
+
+
+

+_title

+
+Content _title
+
+
+
+
+
+

+_updated

+
+Date _updated
+
+
+
+
+
+

+_alternateLinks

+
+List<E> _alternateLinks
+
+
+
+
+
+

+_otherLinks

+
+List<E> _otherLinks
+
+
+
+
+
+

+_entries

+
+List<E> _entries
+
+
+
+
+
+

+_modules

+
+List<E> _modules
+
+
+
+
+
+

+_info

+
+Content _info
+
+
+
+
+
+

+_language

+
+String _language
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.atom.Generator extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_url

+
+String _url
+
+
+
+
+
+

+_version

+
+String _version
+
+
+
+
+
+

+_value

+
+String _value
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.atom.Link extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_href

+
+String _href
+
+
+
+
+
+

+_hrefResolved

+
+String _hrefResolved
+
+
+
+
+
+

+_rel

+
+String _rel
+
+
+
+
+
+

+_type

+
+String _type
+
+
+
+
+
+

+_hreflang

+
+String _hreflang
+
+
+
+
+
+

+_title

+
+String _title
+
+
+
+
+
+

+_length

+
+long _length
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.atom.Person extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_name

+
+String _name
+
+
+
+
+
+

+_uri

+
+String _uri
+
+
+
+
+
+

+_uriResolved

+
+String _uriResolved
+
+
+
+
+
+

+_email

+
+String _email
+
+
+
+
+
+

+_modules

+
+List<E> _modules
+
+
+
+
+
+ + + + + +
+Package com.sun.syndication.feed.impl
+ +

+ + + + + +
+Class com.sun.syndication.feed.impl.CloneableBean extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_obj

+
+Object _obj
+
+
+
+
+
+

+_ignoreProperties

+
+Set<E> _ignoreProperties
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.impl.EqualsBean extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_beanClass

+
+Class<T> _beanClass
+
+
+
+
+
+

+_obj

+
+Object _obj
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.impl.ObjectBean extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_equalsBean

+
+EqualsBean _equalsBean
+
+
+
+
+
+

+_toStringBean

+
+ToStringBean _toStringBean
+
+
+
+
+
+

+_cloneableBean

+
+CloneableBean _cloneableBean
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.impl.ToStringBean extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_beanClass

+
+Class<T> _beanClass
+
+
+
+
+
+

+_obj

+
+Object _obj
+
+
+
+
+
+ + + + + +
+Package com.sun.syndication.feed.module
+ +

+ + + + + +
+Class com.sun.syndication.feed.module.DCModuleImpl extends ModuleImpl implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_title

+
+List<E> _title
+
+
+
+
+
+

+_creator

+
+List<E> _creator
+
+
+
+
+
+

+_subject

+
+List<E> _subject
+
+
+
+
+
+

+_description

+
+List<E> _description
+
+
+
+
+
+

+_publisher

+
+List<E> _publisher
+
+
+
+
+
+

+_contributors

+
+List<E> _contributors
+
+
+
+
+
+

+_date

+
+List<E> _date
+
+
+
+
+
+

+_type

+
+List<E> _type
+
+
+
+
+
+

+_format

+
+List<E> _format
+
+
+
+
+
+

+_identifier

+
+List<E> _identifier
+
+
+
+
+
+

+_source

+
+List<E> _source
+
+
+
+
+
+

+_language

+
+List<E> _language
+
+
+
+
+
+

+_relation

+
+List<E> _relation
+
+
+
+
+
+

+_coverage

+
+List<E> _coverage
+
+
+
+
+
+

+_rights

+
+List<E> _rights
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.module.DCSubjectImpl extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_taxonomyUri

+
+String _taxonomyUri
+
+
+
+
+
+

+_value

+
+String _value
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.module.ModuleImpl extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_uri

+
+String _uri
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.module.SyModuleImpl extends ModuleImpl implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_updatePeriod

+
+String _updatePeriod
+
+
+
+
+
+

+_updateFrequency

+
+int _updateFrequency
+
+
+
+
+
+

+_updateBase

+
+Date _updateBase
+
+
+
+
+
+ + + + + +
+Package com.sun.syndication.feed.rss
+ +

+ + + + + +
+Class com.sun.syndication.feed.rss.Category extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_domain

+
+String _domain
+
+
+
+
+
+

+_value

+
+String _value
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.rss.Channel extends WireFeed implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_title

+
+String _title
+
+
+
+
+
+

+_description

+
+String _description
+
+
+
+
+
+

+_link

+
+String _link
+
+
+
+
+
+

+_uri

+
+String _uri
+
+
+
+
+
+

+_image

+
+Image _image
+
+
+
+
+
+

+_items

+
+List<E> _items
+
+
+
+
+
+

+_textInput

+
+TextInput _textInput
+
+
+
+
+
+

+_language

+
+String _language
+
+
+
+
+
+

+_rating

+
+String _rating
+
+
+
+
+
+

+_copyright

+
+String _copyright
+
+
+
+
+
+

+_pubDate

+
+Date _pubDate
+
+
+
+
+
+

+_lastBuildDate

+
+Date _lastBuildDate
+
+
+
+
+
+

+_docs

+
+String _docs
+
+
+
+
+
+

+_managingEditor

+
+String _managingEditor
+
+
+
+
+
+

+_webMaster

+
+String _webMaster
+
+
+
+
+
+

+_skipHours

+
+List<E> _skipHours
+
+
+
+
+
+

+_skipDays

+
+List<E> _skipDays
+
+
+
+
+
+

+_cloud

+
+Cloud _cloud
+
+
+
+
+
+

+_categories

+
+List<E> _categories
+
+
+
+
+
+

+_generator

+
+String _generator
+
+
+
+
+
+

+_ttl

+
+int _ttl
+
+
+
+
+
+

+_modules

+
+List<E> _modules
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.rss.Cloud extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_domain

+
+String _domain
+
+
+
+
+
+

+_port

+
+int _port
+
+
+
+
+
+

+_path

+
+String _path
+
+
+
+
+
+

+_registerProcedure

+
+String _registerProcedure
+
+
+
+
+
+

+_protocol

+
+String _protocol
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.rss.Content extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_type

+
+String _type
+
+
+
+
+
+

+_value

+
+String _value
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.rss.Description extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_type

+
+String _type
+
+
+
+
+
+

+_value

+
+String _value
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.rss.Enclosure extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_url

+
+String _url
+
+
+
+
+
+

+_length

+
+long _length
+
+
+
+
+
+

+_type

+
+String _type
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.rss.Guid extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_permaLink

+
+boolean _permaLink
+
+
+
+
+
+

+_value

+
+String _value
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.rss.Image extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_title

+
+String _title
+
+
+
+
+
+

+_url

+
+String _url
+
+
+
+
+
+

+_link

+
+String _link
+
+
+
+
+
+

+_width

+
+Integer _width
+
+
+
+
+
+

+_height

+
+Integer _height
+
+
+
+
+
+

+_description

+
+String _description
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.rss.Item extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_title

+
+String _title
+
+
+
+
+
+

+_link

+
+String _link
+
+
+
+
+
+

+_uri

+
+String _uri
+
+
+
+
+
+

+_description

+
+Description _description
+
+
+
+
+
+

+_content

+
+Content _content
+
+
+
+
+
+

+_source

+
+Source _source
+
+
+
+
+
+

+_enclosures

+
+List<E> _enclosures
+
+
+
+
+
+

+_categories

+
+List<E> _categories
+
+
+
+
+
+

+_guid

+
+Guid _guid
+
+
+
+
+
+

+_comments

+
+String _comments
+
+
+
+
+
+

+_author

+
+String _author
+
+
+
+
+
+

+_pubDate

+
+Date _pubDate
+
+
+
+
+
+

+_expirationDate

+
+Date _expirationDate
+
+
+
+
+
+

+_modules

+
+List<E> _modules
+
+
+
+
+
+

+_foreignMarkup

+
+List<E> _foreignMarkup
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.rss.Source extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_url

+
+String _url
+
+
+
+
+
+

+_value

+
+String _value
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.rss.TextInput extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_title

+
+String _title
+
+
+
+
+
+

+_description

+
+String _description
+
+
+
+
+
+

+_name

+
+String _name
+
+
+
+
+
+

+_link

+
+String _link
+
+
+
+
+
+ + + + + +
+Package com.sun.syndication.feed.synd
+ +

+ + + + + +
+Class com.sun.syndication.feed.synd.SyndCategoryImpl extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_subject

+
+DCSubject _subject
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.synd.SyndContentImpl extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_type

+
+String _type
+
+
+
+
+
+

+_value

+
+String _value
+
+
+
+
+
+

+_mode

+
+String _mode
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.synd.SyndEnclosureImpl extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_url

+
+String _url
+
+
+
+
+
+

+_type

+
+String _type
+
+
+
+
+
+

+_length

+
+long _length
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.synd.SyndEntryImpl extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_uri

+
+String _uri
+
+
+
+
+
+

+_link

+
+String _link
+
+
+
+
+
+

+_updatedDate

+
+Date _updatedDate
+
+
+
+
+
+

+_title

+
+SyndContent _title
+
+
+
+
+
+

+_description

+
+SyndContent _description
+
+
+
+
+
+

+_links

+
+List<E> _links
+
+
+
+
+
+

+_contents

+
+List<E> _contents
+
+
+
+
+
+

+_modules

+
+List<E> _modules
+
+
+
+
+
+

+_enclosures

+
+List<E> _enclosures
+
+
+
+
+
+

+_authors

+
+List<E> _authors
+
+
+
+
+
+

+_contributors

+
+List<E> _contributors
+
+
+
+
+
+

+_source

+
+SyndFeed _source
+
+
+
+
+
+

+_foreignMarkup

+
+List<E> _foreignMarkup
+
+
+
+
+
+

+wireEntry

+
+Object wireEntry
+
+
+
+
+
+

+_categories

+
+List<E> _categories
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.synd.SyndFeedImpl extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_encoding

+
+String _encoding
+
+
+
+
+
+

+_uri

+
+String _uri
+
+
+
+
+
+

+_title

+
+SyndContent _title
+
+
+
+
+
+

+_description

+
+SyndContent _description
+
+
+
+
+
+

+_feedType

+
+String _feedType
+
+
+
+
+
+

+_link

+
+String _link
+
+
+
+
+
+

+_links

+
+List<E> _links
+
+
+
+
+
+

+_image

+
+SyndImage _image
+
+
+
+
+
+

+_entries

+
+List<E> _entries
+
+
+
+
+
+

+_modules

+
+List<E> _modules
+
+
+
+
+
+

+_authors

+
+List<E> _authors
+
+
+
+
+
+

+_contributors

+
+List<E> _contributors
+
+
+
+
+
+

+_foreignMarkup

+
+List<E> _foreignMarkup
+
+
+
+
+
+

+wireFeed

+
+WireFeed wireFeed
+
+
+
+
+
+

+preserveWireFeed

+
+boolean preserveWireFeed
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.synd.SyndImageImpl extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_title

+
+String _title
+
+
+
+
+
+

+_url

+
+String _url
+
+
+
+
+
+

+_link

+
+String _link
+
+
+
+
+
+

+_description

+
+String _description
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.synd.SyndLinkImpl extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_href

+
+String _href
+
+
+
+
+
+

+_rel

+
+String _rel
+
+
+
+
+
+

+_type

+
+String _type
+
+
+
+
+
+

+_hreflang

+
+String _hreflang
+
+
+
+
+
+

+_title

+
+String _title
+
+
+
+
+
+

+_length

+
+long _length
+
+
+
+
+ +

+ + + + + +
+Class com.sun.syndication.feed.synd.SyndPersonImpl extends Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_objBean

+
+ObjectBean _objBean
+
+
+
+
+
+

+_name

+
+String _name
+
+
+
+
+
+

+_uri

+
+String _uri
+
+
+
+
+
+

+_email

+
+String _email
+
+
+
+
+
+

+_modules

+
+List<E> _modules
+
+
+
+
+
+ + + + + +
+Package com.sun.syndication.io
+ +

+ + + + + +
+Class com.sun.syndication.io.FeedException extends Exception implements Serializable
+ +

+ +

+ + + + + +
+Class com.sun.syndication.io.ParsingFeedException extends FeedException implements Serializable
+ +

+ +

+ + + + + +
+Class com.sun.syndication.io.XmlReaderException extends IOException implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+_bomEncoding

+
+String _bomEncoding
+
+
+
+
+
+

+_xmlGuessEncoding

+
+String _xmlGuessEncoding
+
+
+
+
+
+

+_xmlEncoding

+
+String _xmlEncoding
+
+
+
+
+
+

+_contentTypeMime

+
+String _contentTypeMime
+
+
+
+
+
+

+_contentTypeEncoding

+
+String _contentTypeEncoding
+
+
+
+
+
+

+_is

+
+InputStream _is
+
+
+
+
+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+Copyright © 2004-2013 ROME Project. All Rights Reserved. + + \ No newline at end of file diff --git a/apidocs/stylesheet.css b/apidocs/stylesheet.css new file mode 100644 index 0000000..d81286d --- /dev/null +++ b/apidocs/stylesheet.css @@ -0,0 +1,28 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} diff --git a/css/maven-base.css b/css/maven-base.css new file mode 100644 index 0000000..10edfb0 --- /dev/null +++ b/css/maven-base.css @@ -0,0 +1,155 @@ +body { + margin: 0px; + padding: 0px; +} +img { + border:none; +} +table { + padding:0px; + width: 100%; + margin-left: -2px; + margin-right: -2px; +} +acronym { + cursor: help; + border-bottom: 1px dotted #feb; +} +table.bodyTable th, table.bodyTable td { + padding: 2px 4px 2px 4px; + vertical-align: top; +} +div.clear{ + clear:both; + visibility: hidden; +} +div.clear hr{ + display: none; +} +#bannerLeft, #bannerRight { + font-size: xx-large; + font-weight: bold; +} +#bannerLeft img, #bannerRight img { + margin: 0px; +} +.xleft, #bannerLeft img { + float:left; +} +.xright, #bannerRight { + float:right; +} +#banner { + padding: 0px; +} +#banner img { + border: none; +} +#breadcrumbs { + padding: 3px 10px 3px 10px; +} +#leftColumn { + width: 170px; + float:left; + overflow: auto; +} +#bodyColumn { + margin-right: 1.5em; + margin-left: 197px; +} +#legend { + padding: 8px 0 8px 0; +} +#navcolumn { + padding: 8px 4px 0 8px; +} +#navcolumn h5 { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn ul { + margin: 0; + padding: 0; + font-size: small; +} +#navcolumn li { + list-style-type: none; + background-image: none; + background-repeat: no-repeat; + background-position: 0 0.4em; + padding-left: 16px; + list-style-position: outside; + line-height: 1.2em; + font-size: smaller; +} +#navcolumn li.expanded { + background-image: url(../images/expanded.gif); +} +#navcolumn li.collapsed { + background-image: url(../images/collapsed.gif); +} +#navcolumn li.none { + text-indent: -1em; + margin-left: 1em; +} +#poweredBy { + text-align: center; +} +#navcolumn img { + margin-top: 10px; + margin-bottom: 3px; +} +#poweredBy img { + display:block; + margin: 20px 0 20px 17px; +} +#search img { + margin: 0px; + display: block; +} +#search #q, #search #btnG { + border: 1px solid #999; + margin-bottom:10px; +} +#search form { + margin: 0px; +} +#lastPublished { + font-size: x-small; +} +.navSection { + margin-bottom: 2px; + padding: 8px; +} +.navSectionHead { + font-weight: bold; + font-size: x-small; +} +.section { + padding: 4px; +} +#footer { + padding: 3px 10px 3px 10px; + font-size: x-small; +} +#breadcrumbs { + font-size: x-small; + margin: 0pt; +} +.source { + padding: 12px; + margin: 1em 7px 1em 7px; +} +.source pre { + margin: 0px; + padding: 0px; +} +#navcolumn img.imageLink, .imageLink { + padding-left: 0px; + padding-bottom: 0px; + padding-top: 0px; + padding-right: 2px; + border: 0px; + margin: 0px; +} \ No newline at end of file diff --git a/css/maven-theme.css b/css/maven-theme.css new file mode 100644 index 0000000..09355ed --- /dev/null +++ b/css/maven-theme.css @@ -0,0 +1,140 @@ +body { + padding: 0px 0px 10px 0px; +} +body, td, select, input, li{ + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 13px; +} +code{ + font-family: Courier, monospace; + font-size: 13px; +} +a { + text-decoration: none; +} +a:link { + color:#36a; +} +a:visited { + color:#47a; +} +a:active, a:hover { + color:#69c; +} +#legend li.externalLink { + background: url(../images/external.png) left top no-repeat; + padding-left: 18px; +} +a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { + background: url(../images/external.png) right center no-repeat; + padding-right: 18px; +} +#legend li.newWindow { + background: url(../images/newwindow.png) left top no-repeat; + padding-left: 18px; +} +a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { + background: url(../images/newwindow.png) right center no-repeat; + padding-right: 18px; +} +h2 { + padding: 4px 4px 4px 6px; + border: 1px solid #999; + color: #900; + background-color: #ddd; + font-weight:900; + font-size: x-large; +} +h3 { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + color: #900; + background-color: #eee; + font-weight: normal; + font-size: large; +} +h4 { + padding: 4px 4px 4px 6px; + border: 1px solid #bbb; + color: #900; + background-color: #fff; + font-weight: normal; + font-size: large; +} +h5 { + padding: 4px 4px 4px 6px; + color: #900; + font-size: normal; +} +p { + line-height: 1.3em; + font-size: small; +} +#breadcrumbs { + border-top: 1px solid #aaa; + border-bottom: 1px solid #aaa; + background-color: #ccc; +} +#leftColumn { + margin: 10px 0 0 5px; + border: 1px solid #999; + background-color: #eee; +} +#navcolumn h5 { + font-size: smaller; + border-bottom: 1px solid #aaaaaa; + padding-top: 2px; + color: #000; +} + +table.bodyTable th { + color: white; + background-color: #bbb; + text-align: left; + font-weight: bold; +} + +table.bodyTable th, table.bodyTable td { + font-size: 1em; +} + +table.bodyTable tr.a { + background-color: #ddd; +} + +table.bodyTable tr.b { + background-color: #eee; +} + +.source { + border: 1px solid #999; +} +dl { + padding: 4px 4px 4px 6px; + border: 1px solid #aaa; + background-color: #ffc; +} +dt { + color: #900; +} +#organizationLogo img, #projectLogo img, #projectLogo span{ + margin: 8px; +} +#banner { + border-bottom: 1px solid #fff; +} +.errormark, .warningmark, .donemark, .infomark { + background: url(../images/icon_error_sml.gif) no-repeat; +} + +.warningmark { + background-image: url(../images/icon_warning_sml.gif); +} + +.donemark { + background-image: url(../images/icon_success_sml.gif); +} + +.infomark { + background-image: url(../images/icon_info_sml.gif); +} diff --git a/css/print.css b/css/print.css new file mode 100644 index 0000000..49aae7e --- /dev/null +++ b/css/print.css @@ -0,0 +1,7 @@ +#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { + display: none !important; +} +#bodyColumn, body.docs div.docs { + margin: 0 !important; + border: none !important +} \ No newline at end of file diff --git a/css/site.css b/css/site.css new file mode 100644 index 0000000..43c3cd8 --- /dev/null +++ b/css/site.css @@ -0,0 +1,8 @@ +h1 { + padding: 4px 4px 4px 6px; + border: 1px solid #999; + color: #900; + background-color: #ddd; + font-weight:900; + font-size: x-large; +} \ No newline at end of file diff --git a/dependencies.html b/dependencies.html new file mode 100644 index 0000000..d2bcf91 --- /dev/null +++ b/dependencies.html @@ -0,0 +1,344 @@ + + + + + + ROME - Project Dependencies + + + + + + + + + +
+ +
+
+
+ +
+

Project Dependencies

+
+

compile

+

The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:

+ + + + + + + + + + + + +
GroupIdArtifactIdVersionTypeLicense
org.jdomjdom1.1.1jar-
+
+

test

+

The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:

+ + + + + + + + + + + + +
GroupIdArtifactIdVersionTypeLicense
junitjunit3.8.1jarCommon Public License Version 1.0
+
+

Project Transitive Dependencies

+

No transitive dependencies are required for this project.

+
+

Project Dependency Graph

+ +
+

Dependency Tree

+
    +
  • org.rometools:rome:jar:1.1-SNAPSHOT Information +
      +
    • org.jdom:jdom:jar:1.1.1 (compile) Information
    • +
    • junit:junit:jar:3.8.1 (test) Information
+
+

Licenses

+

Apache 2: ROME, RSS and atOM utilitiEs for Java

+

Unknown: jdom

+

Common Public License Version 1.0: JUnit

+
+

Dependency File Details

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FilenameSizeEntriesClassesPackagesJDK RevDebug
junit-3.8.1.jar118.23 kB11910061.1debug
jdom-1.1.1.jar149.22 kB897681.2debug
TotalSizeEntriesClassesPackagesJDK RevDebug
2267.45 kB208176141.22
compile: 1compile: 149.22 kBcompile: 89compile: 76compile: 8-compile: 1
test: 1test: 118.23 kBtest: 119test: 100test: 6-test: 1
+
+

Dependency Repository Locations

+ + + + + + + + + + + + + + + + + + + + +
Repo IDURLReleaseSnapshot
rome.internalhttps://rometools.jira.com/svn/ROME/repo/YesYes
subshellhttp://maven-extern.subshell.com/repo-maven2YesYes
centralhttp://repo1.maven.org/maven2Yes-
+

Repository locations for each of the Dependencies.

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Artifactrome.internalsubshellcentral
junit:junit:jar:3.8.1--Found at http://repo1.maven.org/maven2
org.jdom:jdom:jar:1.1.1Found at https://rometools.jira.com/svn/ROME/repo/--
Totalrome.internalsubshellcentral
2 (compile: 1, test: 1)101
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/dependency-info.html b/dependency-info.html new file mode 100644 index 0000000..c14820f --- /dev/null +++ b/dependency-info.html @@ -0,0 +1,174 @@ + + + + + + ROME - Dependency Information + + + + + + + + + +
+ +
+
+
+
+

Dependency Information

+
+

Apache Maven

+
+
<dependency>
+  <groupId>org.rometools</groupId>
+  <artifactId>rome</artifactId>
+  <version>1.1-SNAPSHOT</version>
+</dependency>
+
+

Apache Buildr

+
+
'org.rometools:rome:jar:1.1-SNAPSHOT'
+
+

Apache Ant

+
+
<dependency org="org.rometools" name="rome" rev="1.1-SNAPSHOT">
+  <artifact name="rome" type="jar" />
+</dependency>
+
+

Groovy Grape

+
+
@Grapes(
+@Grab(group='org.rometools', module='rome', version='1.1-SNAPSHOT')
+)
+
+

Grails

+
+
compile 'org.rometools:rome:1.1-SNAPSHOT'
+
+

Leiningen

+
+
[org.rometools/rome "1.1-SNAPSHOT"]
+
+

SBT

+
+
libraryDependencies += "org.rometools" %% "rome" % "1.1-SNAPSHOT"
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/distribution-management.html b/distribution-management.html new file mode 100644 index 0000000..698e053 --- /dev/null +++ b/distribution-management.html @@ -0,0 +1,139 @@ + + + + + + ROME - Project Distribution Management + + + + + + + + + +
+ +
+
+
+
+

Overview

+

No distribution management is defined for this project.

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/images/bg_hr.png b/images/bg_hr.png deleted file mode 100644 index 7973bd6..0000000 Binary files a/images/bg_hr.png and /dev/null differ diff --git a/images/blacktocat.png b/images/blacktocat.png deleted file mode 100644 index 6e264fe..0000000 Binary files a/images/blacktocat.png and /dev/null differ diff --git a/images/close.gif b/images/close.gif new file mode 100644 index 0000000..1c26bbc Binary files /dev/null and b/images/close.gif differ diff --git a/images/collapsed.gif b/images/collapsed.gif new file mode 100644 index 0000000..6e71084 Binary files /dev/null and b/images/collapsed.gif differ diff --git a/images/expanded.gif b/images/expanded.gif new file mode 100644 index 0000000..0fef3d8 Binary files /dev/null and b/images/expanded.gif differ diff --git a/images/external.png b/images/external.png new file mode 100644 index 0000000..3f999fc Binary files /dev/null and b/images/external.png differ diff --git a/images/icon_download.png b/images/icon_download.png deleted file mode 100644 index a2a287f..0000000 Binary files a/images/icon_download.png and /dev/null differ diff --git a/images/icon_error_sml.gif b/images/icon_error_sml.gif new file mode 100644 index 0000000..61132ef Binary files /dev/null and b/images/icon_error_sml.gif differ diff --git a/images/icon_info_sml.gif b/images/icon_info_sml.gif new file mode 100644 index 0000000..c6cb9ad Binary files /dev/null and b/images/icon_info_sml.gif differ diff --git a/images/icon_success_sml.gif b/images/icon_success_sml.gif new file mode 100644 index 0000000..52e85a4 Binary files /dev/null and b/images/icon_success_sml.gif differ diff --git a/images/icon_warning_sml.gif b/images/icon_warning_sml.gif new file mode 100644 index 0000000..873bbb5 Binary files /dev/null and b/images/icon_warning_sml.gif differ diff --git a/images/logos/build-by-maven-black.png b/images/logos/build-by-maven-black.png new file mode 100644 index 0000000..919fd0f Binary files /dev/null and b/images/logos/build-by-maven-black.png differ diff --git a/images/logos/build-by-maven-white.png b/images/logos/build-by-maven-white.png new file mode 100644 index 0000000..7d44c9c Binary files /dev/null and b/images/logos/build-by-maven-white.png differ diff --git a/images/logos/maven-feather.png b/images/logos/maven-feather.png new file mode 100644 index 0000000..b5ada83 Binary files /dev/null and b/images/logos/maven-feather.png differ diff --git a/images/newwindow.png b/images/newwindow.png new file mode 100644 index 0000000..6287f72 Binary files /dev/null and b/images/newwindow.png differ diff --git a/images/romelogo.png b/images/romelogo.png new file mode 100644 index 0000000..2c90608 Binary files /dev/null and b/images/romelogo.png differ diff --git a/images/sprite_download.png b/images/sprite_download.png deleted file mode 100644 index f2babd5..0000000 Binary files a/images/sprite_download.png and /dev/null differ diff --git a/index.html b/index.html index d9d4774..1415323 100644 --- a/index.html +++ b/index.html @@ -1,79 +1,206 @@ - - - + + + - - - - - - - Rome - - - - - -
-
- View on GitHub - -

Rome

-

ROME is a set of RSS and Atom Utilities for Java

- -
- Download this project as a .zip file - Download this project as a tar.gz file -
-
+ + ROME - Home + + + + + + + + + + - - -
-
-

-Welcome to GitHub Pages.

- -

This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:

- -
$ cd your_repo_root/repo_name
-$ git fetch origin
-$ git checkout gh-pages
-
- -

If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.

- -

-Designer Templates

- -

We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.

- -

-Rather Drive Stick?

- -

If you prefer to not use the automatic generator, push a branch named gh-pages to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.

- -

-Authors and Contributors

- -

You can @mention a GitHub username to generate a link to their profile. The resulting <a> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (@defunkt), PJ Hyett (@pjhyett), and Tom Preston-Werner (@mojombo) founded GitHub.

- -

-Support or Contact

- -

Having trouble with Pages? Check out the documentation at http://help.github.com/pages or contact support@github.com and we’ll help you sort it out.

-
+ - - -