Class RssSkipDays

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

public class RssSkipDays
extends Object

Java class for "skipDays" element of RSS 2.0 Specification.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="rssSkipDays">
     <restriction base="{}anyType">
         <element name="day" type="{}string" maxOccurs="7" minOccurs="0"/>
<skipDays> sub-element of <channel>

<skipDays> is an optional sub-element of <channel>. skipDays is an hint for aggregators telling them which days they can skip. This element contains up to seven <day> sub-elements whose value is Monday, Tuesday, Wednesday, Thursday, Friday, Saturday or Sunday. Aggregators may not read the channel during days listed in the <skipDays> element.

Field Summary
protected  List<String> day
Constructor Summary
Method Summary
 List<String> getDays()
          Gets the value of the day property.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


protected List<String> day
Constructor Detail


public RssSkipDays()
Method Detail


public List<String> getDays()
Gets the value of the day 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 day 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.