public class Syndication extends Object implements Namespace
Provides syndication hints to aggregators and others picking up this RDF Site Summary (RSS) feed regarding how often it is updated.
updatePeriod
Describes the period over which the channel format is updated. Acceptable values are: hourly,
daily, weekly, monthly, yearly. If omitted, daily is assumed.
updateFrequency
Used to describe the frequency of updates in relation to the update period. A positive integer
indicates how many times in that period the channel is updated. For example, an updatePeriod of
daily, and an updateFrequency of 2 indicates the channel format is updated twice daily. If
omitted a value of 1 is assumed.
updateBase
Defines a base date to be used in concert with updatePeriod and updateFrequency to calculate the
publishing schedule. The date format takes the form: yyyy-mm-ddThh:mm
| Constructor and Description |
|---|
Syndication() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAlternativeNames()
A namespace has a single, specific, agreed upon name.
|
String |
getName()
A namespace has a single, specific, agreed upon name.
|
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisMatch, mustDelegateTo, processpublic String getName()
NamespacegetName in interface NamespaceNamespace, not null identified.Namespace.getAlternativeNames()public Set<String> getAlternativeNames()
NamespacegetAlternativeNames in interface NamespaceSet of names by which this Namespace is also identified, may be empty,
never nullNamespace.getName()public 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 anyCopyright © 2018. All rights reserved.