Class RssSkipHours

  extended by org.apache.wink.common.model.rss.RssSkipHours

public class RssSkipHours
extends Object

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">
     <restriction base="{}anyType">
         <element name="hour" type="{}string" maxOccurs="24" minOccurs="0"/>
<skipHours> sub-element of <channel>

<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
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()
Gets the value of the hour property.

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:


Objects of the following type(s) are allowed in the list String

Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.