org.apache.wink.common.model.rss
Class RssSkipDays

java.lang.Object
  extended by org.apache.wink.common.model.rss.RssSkipDays

public class RssSkipDays
extends java.lang.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">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="day" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="7" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
<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  java.util.List<java.lang.String> day
           
 
Constructor Summary
RssSkipDays()
           
 
Method Summary
 java.util.List<java.lang.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

day

protected java.util.List<java.lang.String> day
Constructor Detail

RssSkipDays

public RssSkipDays()
Method Detail

getDays

public java.util.List<java.lang.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:

 getDays().add(newItem);
 

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



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