public class RSS extends Object implements RootNamespace, Namespace
RSS is dialect of XML. All RSS files must conform to the XML 1.0 specification, as published on the World Wide Web Consortium (W3C) website.
At the top level, a RSS document is a <rss> element, with a mandatory
attribute called version, that specifies the version of RSS that the document
conforms to. If it conforms to this specification, the version attribute must
be 2.0.
Subordinate to the <rss> element is a single <channel>
element, which contains information about the channel (metadata) and its
contents.
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
A namespace has a single, specific, agreed upon name.
|
static RSS |
instance() |
void |
parseFeed(PodcastParserContext ctx) |
Item |
parseItem(PodcastParserContext ctx) |
void |
process(PodcastParserContext ctx)
Process any additional information from the
XMLStreamReader, at its current position,
onto the given Feed in the PodcastParserContext according to the namespace
specification. |
void |
process(PodcastParserContext ctx,
Item item)
Process any additional information from the
XMLStreamReader, at its current position,
onto the given Item according to the namespace specification. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlternativeNames, isMatch, mustDelegateTopublic static RSS instance()
public String getName()
NamespacegetName in interface NamespaceNamespace, not null identified.Namespace.getAlternativeNames()public void parseFeed(PodcastParserContext ctx) throws XMLStreamException
parseFeed in interface RootNamespaceXMLStreamExceptionpublic Item parseItem(PodcastParserContext ctx) throws XMLStreamException
parseItem in interface RootNamespaceXMLStreamExceptionpublic void process(PodcastParserContext ctx) throws XMLStreamException
NamespaceXMLStreamReader, at its current position,
onto the given Feed in the PodcastParserContext according to the namespace
specification.process in interface Namespacectx - PodcastParserContext instance in the process of being builtXMLStreamException - if anypublic void process(PodcastParserContext ctx, Item item) throws XMLStreamException
NamespaceXMLStreamReader, at its current position,
onto the given Item according to the namespace specification.process in interface Namespacectx - PodcastParserContext instance in the process of being builtitem - Item instance in the process of being builtXMLStreamException - if anyCopyright © 2018. All rights reserved.