|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wink.common.model.rss.RssSkipHours
public class RssSkipHours
Java class for "skipHours" element of RSS 2.0 Specification.
The following schema fragment specifies the expected content contained within this class.
<complexType name="rssSkipHours"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="hour" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="24" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
<skipHours> is an optional sub-element of <channel>. skipHours is an hint for aggregators telling them which hours they can skip. This element contains up to 24 <hour> sub-elements whose value is a number between 0 and 23, representing a time in GMT, when aggregators, if they support the feature, may not read the channel on hours listed in the <skipHours> element. The hour beginning at midnight is hour zero.
Field Summary | |
---|---|
protected List<String> |
hour
|
Constructor Summary | |
---|---|
RssSkipHours()
|
Method Summary | |
---|---|
List<String> |
getHours()
Gets the value of the hour property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<String> hour
Constructor Detail |
---|
public RssSkipHours()
Method Detail |
---|
public List<String> getHours()
This accessor method returns a reference to the live list, not a
snapshot. Therefore any modification you make to the returned list will
be present inside the JAXB object. This is why there is not a
set
method for the hour property.
For example, to add a new item, do as follows:
getHours().add(newItem);
Objects of the following type(s) are allowed in the list String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |