Coverage Report - yarfraw.generated.rss10.elements.TRss10Channel
 
Classes in this File Line Coverage Branch Coverage Complexity
TRss10Channel
100% 
100% 
0
 
 1  
 //
 2  
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs 
 3  
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 4  
 // Any modifications to this file will be lost upon recompilation of the source schema. 
 5  
 // Generated on: 2008.06.11 at 12:15:45 AM EDT 
 6  
 //
 7  
 
 8  
 
 9  
 package yarfraw.generated.rss10.elements;
 10  
 
 11  
 import java.math.BigInteger;
 12  
 import java.util.ArrayList;
 13  
 import java.util.HashMap;
 14  
 import java.util.List;
 15  
 import java.util.Map;
 16  
 import javax.xml.bind.JAXBElement;
 17  
 import javax.xml.bind.annotation.XmlAccessType;
 18  
 import javax.xml.bind.annotation.XmlAccessorType;
 19  
 import javax.xml.bind.annotation.XmlAnyAttribute;
 20  
 import javax.xml.bind.annotation.XmlAnyElement;
 21  
 import javax.xml.bind.annotation.XmlAttribute;
 22  
 import javax.xml.bind.annotation.XmlElementRef;
 23  
 import javax.xml.bind.annotation.XmlElementRefs;
 24  
 import javax.xml.bind.annotation.XmlSchemaType;
 25  
 import javax.xml.bind.annotation.XmlType;
 26  
 import javax.xml.namespace.QName;
 27  
 import org.w3c.dom.Element;
 28  
 
 29  
 
 30  
 /**
 31  
  * The channel element contains metadata describing the channel itself, 
 32  
  *                 including a title, brief description, and URL link to the described resource 
 33  
  *                 (the channel provider's home page, for instance). The {resource} URL of the channel 
 34  
  *                 element's rdf:about attribute must be unique with respect to any other rdf:about 
 35  
  *                 attributes in the RSS document and is a URI which identifies the channel. Most commonly, 
 36  
  *                 this is either the URL of the homepage being described or a URL where the RSS file can be found.
 37  
  * 
 38  
  * <p>Java class for tRss10Channel complex type.
 39  
  * 
 40  
  * <p>The following schema fragment specifies the expected content contained within this class.
 41  
  * 
 42  
  * <pre>
 43  
  * &lt;complexType name="tRss10Channel">
 44  
  *   &lt;complexContent>
 45  
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 46  
  *       &lt;sequence>
 47  
  *         &lt;choice maxOccurs="unbounded">
 48  
  *           &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
 49  
  *           &lt;element name="link" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
 50  
  *           &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
 51  
  *           &lt;element name="image" type="{http://purl.org/rss/1.0/}tRss10Image" minOccurs="0"/>
 52  
  *           &lt;element ref="{http://purl.org/rss/1.0/}textinput" minOccurs="0"/>
 53  
  *           &lt;element ref="{http://purl.org/rss/1.0/}image" minOccurs="0"/>
 54  
  *           &lt;element ref="{http://purl.org/rss/1.0/}items"/>
 55  
  *           &lt;element ref="{http://purl.org/rss/1.0/modules/syndication/}updatePeriod" minOccurs="0"/>
 56  
  *           &lt;element ref="{http://purl.org/rss/1.0/modules/syndication/}updateFrequency" minOccurs="0"/>
 57  
  *           &lt;element ref="{http://purl.org/dc/elements/1.1/}subject" maxOccurs="unbounded" minOccurs="0"/>
 58  
  *           &lt;element ref="{http://purl.org/dc/elements/1.1/}publisher" minOccurs="0"/>
 59  
  *           &lt;element ref="{http://purl.org/dc/elements/1.1/}creator" minOccurs="0"/>
 60  
  *           &lt;element ref="{http://purl.org/dc/elements/1.1/}rights" minOccurs="0"/>
 61  
  *           &lt;element ref="{http://purl.org/dc/elements/1.1/}date" minOccurs="0"/>
 62  
  *           &lt;element ref="{http://purl.org/dc/elements/1.1/}language" minOccurs="0"/>
 63  
  *           &lt;element ref="{http://purl.org/dc/elements/1.1/}contributor" minOccurs="0"/>
 64  
  *           &lt;any/>
 65  
  *         &lt;/choice>
 66  
  *       &lt;/sequence>
 67  
  *       &lt;attribute ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}resource"/>
 68  
  *       &lt;attribute ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}about use="required""/>
 69  
  *     &lt;/restriction>
 70  
  *   &lt;/complexContent>
 71  
  * &lt;/complexType>
 72  
  * </pre>
 73  
  * 
 74  
  * 
 75  
  */
 76  
 @XmlAccessorType(XmlAccessType.FIELD)
 77  
 @XmlType(name = "tRss10Channel", propOrder = {
 78  
     "titleOrLinkOrDescription"
 79  
 })
 80  39
 public class TRss10Channel {
 81  
 
 82  
     @XmlElementRefs({
 83  
         @XmlElementRef(name = "items", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class),
 84  
         @XmlElementRef(name = "textinput", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class),
 85  
         @XmlElementRef(name = "image", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class),
 86  
         @XmlElementRef(name = "creator", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class),
 87  
         @XmlElementRef(name = "updatePeriod", namespace = "http://purl.org/rss/1.0/modules/syndication/", type = JAXBElement.class),
 88  
         @XmlElementRef(name = "description", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class),
 89  
         @XmlElementRef(name = "rights", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class),
 90  
         @XmlElementRef(name = "language", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class),
 91  
         @XmlElementRef(name = "subject", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class),
 92  
         @XmlElementRef(name = "link", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class),
 93  
         @XmlElementRef(name = "contributor", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class),
 94  
         @XmlElementRef(name = "title", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class),
 95  
         @XmlElementRef(name = "date", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class),
 96  
         @XmlElementRef(name = "publisher", namespace = "http://purl.org/dc/elements/1.1/", type = JAXBElement.class),
 97  
         @XmlElementRef(name = "updateFrequency", namespace = "http://purl.org/rss/1.0/modules/syndication/", type = JAXBElement.class)
 98  
     })
 99  
     @XmlAnyElement
 100  
     protected List<Object> titleOrLinkOrDescription;
 101  
     @XmlAttribute(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
 102  
     @XmlSchemaType(name = "anyURI")
 103  
     protected String resource;
 104  
     @XmlAttribute(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#", required = true)
 105  
     @XmlSchemaType(name = "anyURI")
 106  
     protected String about;
 107  39
     @XmlAnyAttribute
 108  
     private Map<QName, String> otherAttributes = new HashMap<QName, String>();
 109  
 
 110  
     /**
 111  
      * Gets the value of the titleOrLinkOrDescription property.
 112  
      * 
 113  
      * <p>
 114  
      * This accessor method returns a reference to the live list,
 115  
      * not a snapshot. Therefore any modification you make to the
 116  
      * returned list will be present inside the JAXB object.
 117  
      * This is why there is not a <CODE>set</CODE> method for the titleOrLinkOrDescription property.
 118  
      * 
 119  
      * <p>
 120  
      * For example, to add a new item, do as follows:
 121  
      * <pre>
 122  
      *    getTitleOrLinkOrDescription().add(newItem);
 123  
      * </pre>
 124  
      * 
 125  
      * 
 126  
      * <p>
 127  
      * Objects of the following type(s) are allowed in the list
 128  
      * {@link JAXBElement }{@code <}{@link Items }{@code >}
 129  
      * {@link JAXBElement }{@code <}{@link TRss10TextInput }{@code >}
 130  
      * {@link JAXBElement }{@code <}{@link TRss10Image }{@code >}
 131  
      * {@link JAXBElement }{@code <}{@link DcType }{@code >}
 132  
      * {@link JAXBElement }{@code <}{@link UpdatePeriodEnum }{@code >}
 133  
      * {@link JAXBElement }{@code <}{@link String }{@code >}
 134  
      * {@link JAXBElement }{@code <}{@link DcType }{@code >}
 135  
      * {@link JAXBElement }{@code <}{@link DcType }{@code >}
 136  
      * {@link JAXBElement }{@code <}{@link DcType }{@code >}
 137  
      * {@link JAXBElement }{@code <}{@link String }{@code >}
 138  
      * {@link JAXBElement }{@code <}{@link DcType }{@code >}
 139  
      * {@link JAXBElement }{@code <}{@link String }{@code >}
 140  
      * {@link JAXBElement }{@code <}{@link DcType }{@code >}
 141  
      * {@link JAXBElement }{@code <}{@link DcType }{@code >}
 142  
      * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
 143  
      * {@link Element }
 144  
      * 
 145  
      * 
 146  
      */
 147  
     public List<Object> getTitleOrLinkOrDescription() {
 148  42
         if (titleOrLinkOrDescription == null) {
 149  15
             titleOrLinkOrDescription = new ArrayList<Object>();
 150  
         }
 151  42
         return this.titleOrLinkOrDescription;
 152  
     }
 153  
 
 154  
     /**
 155  
      * Gets the value of the resource property.
 156  
      * 
 157  
      * @return
 158  
      *     possible object is
 159  
      *     {@link String }
 160  
      *     
 161  
      */
 162  
     public String getResource() {
 163  27
         return resource;
 164  
     }
 165  
 
 166  
     /**
 167  
      * Sets the value of the resource property.
 168  
      * 
 169  
      * @param value
 170  
      *     allowed object is
 171  
      *     {@link String }
 172  
      *     
 173  
      */
 174  
     public void setResource(String value) {
 175  15
         this.resource = value;
 176  15
     }
 177  
 
 178  
     /**
 179  
      * Gets the value of the about property.
 180  
      * 
 181  
      * @return
 182  
      *     possible object is
 183  
      *     {@link String }
 184  
      *     
 185  
      */
 186  
     public String getAbout() {
 187  42
         return about;
 188  
     }
 189  
 
 190  
     /**
 191  
      * Sets the value of the about property.
 192  
      * 
 193  
      * @param value
 194  
      *     allowed object is
 195  
      *     {@link String }
 196  
      *     
 197  
      */
 198  
     public void setAbout(String value) {
 199  21
         this.about = value;
 200  21
     }
 201  
 
 202  
     /**
 203  
      * Gets a map that contains attributes that aren't bound to any typed property on this class.
 204  
      * 
 205  
      * <p>
 206  
      * the map is keyed by the name of the attribute and 
 207  
      * the value is the string value of the attribute.
 208  
      * 
 209  
      * the map returned by this method is live, and you can add new attribute
 210  
      * by updating the map directly. Because of this design, there's no setter.
 211  
      * 
 212  
      * 
 213  
      * @return
 214  
      *     always non-null
 215  
      */
 216  
     public Map<QName, String> getOtherAttributes() {
 217  96
         return otherAttributes;
 218  
     }
 219  
 
 220  
 }