| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||||
| TRssChannel |
|
| 0.0;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:38 AM EDT |
|
| 6 | // |
|
| 7 | ||
| 8 | ||
| 9 | package yarfraw.generated.rss20.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.XmlElement; |
|
| 22 | import javax.xml.bind.annotation.XmlElementRef; |
|
| 23 | import javax.xml.bind.annotation.XmlElementRefs; |
|
| 24 | import javax.xml.bind.annotation.XmlType; |
|
| 25 | import javax.xml.namespace.QName; |
|
| 26 | import org.w3c.dom.Element; |
|
| 27 | ||
| 28 | ||
| 29 | /** |
|
| 30 | * <p>Java class for tRssChannel complex type. |
|
| 31 | * |
|
| 32 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
| 33 | * |
|
| 34 | * <pre> |
|
| 35 | * <complexType name="tRssChannel"> |
|
| 36 | * <complexContent> |
|
| 37 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|
| 38 | * <sequence> |
|
| 39 | * <choice maxOccurs="unbounded"> |
|
| 40 | * <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/> |
|
| 41 | * <element name="link" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> |
|
| 42 | * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/> |
|
| 43 | * <element name="language" type="{http://www.w3.org/2001/XMLSchema}language" minOccurs="0"/> |
|
| 44 | * <element name="copyright" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
|
| 45 | * <element name="managingEditor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
|
| 46 | * <element name="webMaster" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
|
| 47 | * <element name="pubDate" type="{}tRfc822FormatDate" minOccurs="0"/> |
|
| 48 | * <element name="lastBuildDate" type="{}tRfc822FormatDate" minOccurs="0"/> |
|
| 49 | * <element name="category" type="{}tCategory" minOccurs="0"/> |
|
| 50 | * <element name="generator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> |
|
| 51 | * <element name="docs" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> |
|
| 52 | * <element name="cloud" type="{}tCloud" minOccurs="0"/> |
|
| 53 | * <element name="ttl" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> |
|
| 54 | * <element name="image" type="{}tImage" minOccurs="0"/> |
|
| 55 | * <element name="textInput" type="{}tTextInput" minOccurs="0"/> |
|
| 56 | * <element name="skipHours" type="{}tSkipHoursList" minOccurs="0"/> |
|
| 57 | * <element name="skipDays" type="{}tSkipDaysList" minOccurs="0"/> |
|
| 58 | * <any/> |
|
| 59 | * </choice> |
|
| 60 | * <element name="item" type="{}tRssItem" maxOccurs="unbounded"/> |
|
| 61 | * <any/> |
|
| 62 | * </sequence> |
|
| 63 | * </restriction> |
|
| 64 | * </complexContent> |
|
| 65 | * </complexType> |
|
| 66 | * </pre> |
|
| 67 | * |
|
| 68 | * |
|
| 69 | */ |
|
| 70 | @XmlAccessorType(XmlAccessType.FIELD) |
|
| 71 | @XmlType(name = "tRssChannel", propOrder = { |
|
| 72 | "titleOrLinkOrDescription", |
|
| 73 | "item", |
|
| 74 | "any" |
|
| 75 | }) |
|
| 76 | 359 | public class TRssChannel { |
| 77 | ||
| 78 | @XmlElementRefs({ |
|
| 79 | @XmlElementRef(name = "image", type = JAXBElement.class), |
|
| 80 | @XmlElementRef(name = "skipHours", type = JAXBElement.class), |
|
| 81 | @XmlElementRef(name = "pubDate", type = JAXBElement.class), |
|
| 82 | @XmlElementRef(name = "docs", type = JAXBElement.class), |
|
| 83 | @XmlElementRef(name = "generator", type = JAXBElement.class), |
|
| 84 | @XmlElementRef(name = "link", type = JAXBElement.class), |
|
| 85 | @XmlElementRef(name = "category", type = JAXBElement.class), |
|
| 86 | @XmlElementRef(name = "copyright", type = JAXBElement.class), |
|
| 87 | @XmlElementRef(name = "webMaster", type = JAXBElement.class), |
|
| 88 | @XmlElementRef(name = "skipDays", type = JAXBElement.class), |
|
| 89 | @XmlElementRef(name = "textInput", type = JAXBElement.class), |
|
| 90 | @XmlElementRef(name = "description", type = JAXBElement.class), |
|
| 91 | @XmlElementRef(name = "lastBuildDate", type = JAXBElement.class), |
|
| 92 | @XmlElementRef(name = "managingEditor", type = JAXBElement.class), |
|
| 93 | @XmlElementRef(name = "cloud", type = JAXBElement.class), |
|
| 94 | @XmlElementRef(name = "language", type = JAXBElement.class), |
|
| 95 | @XmlElementRef(name = "title", type = JAXBElement.class), |
|
| 96 | @XmlElementRef(name = "ttl", type = JAXBElement.class) |
|
| 97 | }) |
|
| 98 | @XmlAnyElement |
|
| 99 | protected List<Object> titleOrLinkOrDescription; |
|
| 100 | @XmlElement(required = true) |
|
| 101 | protected List<TRssItem> item; |
|
| 102 | @XmlAnyElement |
|
| 103 | protected List<Element> any; |
|
| 104 | 359 | @XmlAnyAttribute |
| 105 | private Map<QName, String> otherAttributes = new HashMap<QName, String>(); |
|
| 106 | ||
| 107 | /** |
|
| 108 | * Gets the value of the titleOrLinkOrDescription property. |
|
| 109 | * |
|
| 110 | * <p> |
|
| 111 | * This accessor method returns a reference to the live list, |
|
| 112 | * not a snapshot. Therefore any modification you make to the |
|
| 113 | * returned list will be present inside the JAXB object. |
|
| 114 | * This is why there is not a <CODE>set</CODE> method for the titleOrLinkOrDescription property. |
|
| 115 | * |
|
| 116 | * <p> |
|
| 117 | * For example, to add a new item, do as follows: |
|
| 118 | * <pre> |
|
| 119 | * getTitleOrLinkOrDescription().add(newItem); |
|
| 120 | * </pre> |
|
| 121 | * |
|
| 122 | * |
|
| 123 | * <p> |
|
| 124 | * Objects of the following type(s) are allowed in the list |
|
| 125 | * {@link JAXBElement }{@code <}{@link TImage }{@code >} |
|
| 126 | * {@link JAXBElement }{@code <}{@link TSkipHoursList }{@code >} |
|
| 127 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 128 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 129 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 130 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 131 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 132 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 133 | * {@link JAXBElement }{@code <}{@link TCategory }{@code >} |
|
| 134 | * {@link JAXBElement }{@code <}{@link TSkipDaysList }{@code >} |
|
| 135 | * {@link JAXBElement }{@code <}{@link TTextInput }{@code >} |
|
| 136 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 137 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 138 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 139 | * {@link JAXBElement }{@code <}{@link TCloud }{@code >} |
|
| 140 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 141 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 142 | * {@link Element } |
|
| 143 | * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} |
|
| 144 | * |
|
| 145 | * |
|
| 146 | */ |
|
| 147 | public List<Object> getTitleOrLinkOrDescription() { |
|
| 148 | 356 | if (titleOrLinkOrDescription == null) { |
| 149 | 81 | titleOrLinkOrDescription = new ArrayList<Object>(); |
| 150 | } |
|
| 151 | 356 | return this.titleOrLinkOrDescription; |
| 152 | } |
|
| 153 | ||
| 154 | /** |
|
| 155 | * Gets the value of the item property. |
|
| 156 | * |
|
| 157 | * <p> |
|
| 158 | * This accessor method returns a reference to the live list, |
|
| 159 | * not a snapshot. Therefore any modification you make to the |
|
| 160 | * returned list will be present inside the JAXB object. |
|
| 161 | * This is why there is not a <CODE>set</CODE> method for the item property. |
|
| 162 | * |
|
| 163 | * <p> |
|
| 164 | * For example, to add a new item, do as follows: |
|
| 165 | * <pre> |
|
| 166 | * getItem().add(newItem); |
|
| 167 | * </pre> |
|
| 168 | * |
|
| 169 | * |
|
| 170 | * <p> |
|
| 171 | * Objects of the following type(s) are allowed in the list |
|
| 172 | * {@link TRssItem } |
|
| 173 | * |
|
| 174 | * |
|
| 175 | */ |
|
| 176 | public List<TRssItem> getItem() { |
|
| 177 | 1147 | if (item == null) { |
| 178 | 81 | item = new ArrayList<TRssItem>(); |
| 179 | } |
|
| 180 | 1147 | return this.item; |
| 181 | } |
|
| 182 | ||
| 183 | /** |
|
| 184 | * Gets the value of the any property. |
|
| 185 | * |
|
| 186 | * <p> |
|
| 187 | * This accessor method returns a reference to the live list, |
|
| 188 | * not a snapshot. Therefore any modification you make to the |
|
| 189 | * returned list will be present inside the JAXB object. |
|
| 190 | * This is why there is not a <CODE>set</CODE> method for the any property. |
|
| 191 | * |
|
| 192 | * <p> |
|
| 193 | * For example, to add a new item, do as follows: |
|
| 194 | * <pre> |
|
| 195 | * getAny().add(newItem); |
|
| 196 | * </pre> |
|
| 197 | * |
|
| 198 | * |
|
| 199 | * <p> |
|
| 200 | * Objects of the following type(s) are allowed in the list |
|
| 201 | * {@link Element } |
|
| 202 | * |
|
| 203 | * |
|
| 204 | */ |
|
| 205 | public List<Element> getAny() { |
|
| 206 | 81 | if (any == null) { |
| 207 | 81 | any = new ArrayList<Element>(); |
| 208 | } |
|
| 209 | 81 | return this.any; |
| 210 | } |
|
| 211 | ||
| 212 | /** |
|
| 213 | * Gets a map that contains attributes that aren't bound to any typed property on this class. |
|
| 214 | * |
|
| 215 | * <p> |
|
| 216 | * the map is keyed by the name of the attribute and |
|
| 217 | * the value is the string value of the attribute. |
|
| 218 | * |
|
| 219 | * the map returned by this method is live, and you can add new attribute |
|
| 220 | * by updating the map directly. Because of this design, there's no setter. |
|
| 221 | * |
|
| 222 | * |
|
| 223 | * @return |
|
| 224 | * always non-null |
|
| 225 | */ |
|
| 226 | public Map<QName, String> getOtherAttributes() { |
|
| 227 | 356 | return otherAttributes; |
| 228 | } |
|
| 229 | ||
| 230 | } |