| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||||
| FeedType | 
 | 
 | 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:37 AM EDT  | |
| 6 |  // | |
| 7 | ||
| 8 | ||
| 9 |  package yarfraw.generated.atom10.elements; | |
| 10 | ||
| 11 |  import java.util.ArrayList; | |
| 12 |  import java.util.HashMap; | |
| 13 |  import java.util.List; | |
| 14 |  import java.util.Map; | |
| 15 |  import javax.xml.bind.JAXBElement; | |
| 16 |  import javax.xml.bind.annotation.XmlAccessType; | |
| 17 |  import javax.xml.bind.annotation.XmlAccessorType; | |
| 18 |  import javax.xml.bind.annotation.XmlAnyAttribute; | |
| 19 |  import javax.xml.bind.annotation.XmlAnyElement; | |
| 20 |  import javax.xml.bind.annotation.XmlAttribute; | |
| 21 |  import javax.xml.bind.annotation.XmlElementRef; | |
| 22 |  import javax.xml.bind.annotation.XmlElementRefs; | |
| 23 |  import javax.xml.bind.annotation.XmlSchemaType; | |
| 24 |  import javax.xml.bind.annotation.XmlType; | |
| 25 |  import javax.xml.namespace.QName; | |
| 26 | ||
| 27 | ||
| 28 |  /** | |
| 29 |   *  | |
| 30 |   *                                 The Atom feed construct is defined in section 4.1.1 of the format spec. | |
| 31 |   *                          | |
| 32 |   *  | |
| 33 |   * <p>Java class for feedType complex type. | |
| 34 |   *  | |
| 35 |   * <p>The following schema fragment specifies the expected content contained within this class. | |
| 36 |   *  | |
| 37 |   * <pre> | |
| 38 |   * <complexType name="feedType"> | |
| 39 |   *   <complexContent> | |
| 40 |   *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
| 41 |   *       <choice maxOccurs="unbounded" minOccurs="3"> | |
| 42 |   *         <element name="author" type="{http://www.w3.org/2005/Atom}personType" maxOccurs="unbounded" minOccurs="0"/> | |
| 43 |   *         <element name="category" type="{http://www.w3.org/2005/Atom}categoryType" maxOccurs="unbounded" minOccurs="0"/> | |
| 44 |   *         <element name="contributor" type="{http://www.w3.org/2005/Atom}personType" maxOccurs="unbounded" minOccurs="0"/> | |
| 45 |   *         <element name="generator" type="{http://www.w3.org/2005/Atom}generatorType" minOccurs="0"/> | |
| 46 |   *         <element name="icon" type="{http://www.w3.org/2005/Atom}iconType" minOccurs="0"/> | |
| 47 |   *         <element name="id" type="{http://www.w3.org/2005/Atom}idType"/> | |
| 48 |   *         <element name="link" type="{http://www.w3.org/2005/Atom}linkType" maxOccurs="unbounded" minOccurs="0"/> | |
| 49 |   *         <element name="logo" type="{http://www.w3.org/2005/Atom}logoType" minOccurs="0"/> | |
| 50 |   *         <element name="rights" type="{http://www.w3.org/2005/Atom}textType" minOccurs="0"/> | |
| 51 |   *         <element name="subtitle" type="{http://www.w3.org/2005/Atom}textType" minOccurs="0"/> | |
| 52 |   *         <element name="title" type="{http://www.w3.org/2005/Atom}textType"/> | |
| 53 |   *         <element name="updated" type="{http://www.w3.org/2005/Atom}dateTimeType"/> | |
| 54 |   *         <element name="entry" type="{http://www.w3.org/2005/Atom}entryType" maxOccurs="unbounded" minOccurs="0"/> | |
| 55 |   *         <any/> | |
| 56 |   *       </choice> | |
| 57 |   *       <attGroup ref="{http://www.w3.org/2005/Atom}commonAttributes"/> | |
| 58 |   *     </restriction> | |
| 59 |   *   </complexContent> | |
| 60 |   * </complexType> | |
| 61 |   * </pre> | |
| 62 |   *  | |
| 63 |   *  | |
| 64 |   */ | |
| 65 | @XmlAccessorType(XmlAccessType.FIELD) | |
| 66 |  @XmlType(name = "feedType", propOrder = { | |
| 67 |      "authorOrCategoryOrContributor" | |
| 68 | }) | |
| 69 | 60 | public class FeedType { | 
| 70 | ||
| 71 |      @XmlElementRefs({ | |
| 72 | @XmlElementRef(name = "contributor", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class), | |
| 73 | @XmlElementRef(name = "generator", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class), | |
| 74 | @XmlElementRef(name = "icon", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class), | |
| 75 | @XmlElementRef(name = "entry", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class), | |
| 76 | @XmlElementRef(name = "id", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class), | |
| 77 | @XmlElementRef(name = "subtitle", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class), | |
| 78 | @XmlElementRef(name = "link", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class), | |
| 79 | @XmlElementRef(name = "category", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class), | |
| 80 | @XmlElementRef(name = "title", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class), | |
| 81 | @XmlElementRef(name = "logo", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class), | |
| 82 | @XmlElementRef(name = "updated", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class), | |
| 83 | @XmlElementRef(name = "author", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class), | |
| 84 | @XmlElementRef(name = "rights", namespace = "http://www.w3.org/2005/Atom", type = JAXBElement.class) | |
| 85 | }) | |
| 86 |      @XmlAnyElement(lax = true) | |
| 87 |      protected List<Object> authorOrCategoryOrContributor; | |
| 88 |      @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") | |
| 89 |      @XmlSchemaType(name = "anyURI") | |
| 90 |      protected String base; | |
| 91 |      @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") | |
| 92 |      protected String lang; | |
| 93 | 60 | @XmlAnyAttribute | 
| 94 | private Map<QName, String> otherAttributes = new HashMap<QName, String>(); | |
| 95 | ||
| 96 |      /** | |
| 97 |       * Gets the value of the authorOrCategoryOrContributor property. | |
| 98 |       *  | |
| 99 |       * <p> | |
| 100 |       * This accessor method returns a reference to the live list, | |
| 101 |       * not a snapshot. Therefore any modification you make to the | |
| 102 |       * returned list will be present inside the JAXB object. | |
| 103 |       * This is why there is not a <CODE>set</CODE> method for the authorOrCategoryOrContributor property. | |
| 104 |       *  | |
| 105 |       * <p> | |
| 106 |       * For example, to add a new item, do as follows: | |
| 107 |       * <pre> | |
| 108 |       *    getAuthorOrCategoryOrContributor().add(newItem); | |
| 109 |       * </pre> | |
| 110 |       *  | |
| 111 |       *  | |
| 112 |       * <p> | |
| 113 |       * Objects of the following type(s) are allowed in the list | |
| 114 |       * {@link JAXBElement }{@code <}{@link PersonType }{@code >} | |
| 115 |       * {@link JAXBElement }{@code <}{@link GeneratorType }{@code >} | |
| 116 |       * {@link JAXBElement }{@code <}{@link IconType }{@code >} | |
| 117 |       * {@link JAXBElement }{@code <}{@link EntryType }{@code >} | |
| 118 |       * {@link JAXBElement }{@code <}{@link IdType }{@code >} | |
| 119 |       * {@link JAXBElement }{@code <}{@link TextType }{@code >} | |
| 120 |       * {@link JAXBElement }{@code <}{@link LinkType }{@code >} | |
| 121 |       * {@link JAXBElement }{@code <}{@link CategoryType }{@code >} | |
| 122 |       * {@link JAXBElement }{@code <}{@link TextType }{@code >} | |
| 123 |       * {@link JAXBElement }{@code <}{@link LogoType }{@code >} | |
| 124 |       * {@link Object } | |
| 125 |       * {@link JAXBElement }{@code <}{@link DateTimeType }{@code >} | |
| 126 |       * {@link JAXBElement }{@code <}{@link PersonType }{@code >} | |
| 127 |       * {@link JAXBElement }{@code <}{@link TextType }{@code >} | |
| 128 |       *  | |
| 129 |       *  | |
| 130 |       */ | |
| 131 |      public List<Object> getAuthorOrCategoryOrContributor() { | |
| 132 | 60 | if (authorOrCategoryOrContributor == null) { | 
| 133 | 18 |              authorOrCategoryOrContributor = new ArrayList<Object>(); | 
| 134 | } | |
| 135 | 60 | return this.authorOrCategoryOrContributor; | 
| 136 | } | |
| 137 | ||
| 138 |      /** | |
| 139 |       * Gets the value of the base property. | |
| 140 |       *  | |
| 141 |       * @return | |
| 142 |       *     possible object is | |
| 143 |       *     {@link String } | |
| 144 |       *      | |
| 145 |       */ | |
| 146 |      public String getBase() { | |
| 147 | 42 |          return base; | 
| 148 | } | |
| 149 | ||
| 150 |      /** | |
| 151 |       * Sets the value of the base property. | |
| 152 |       *  | |
| 153 |       * @param value | |
| 154 |       *     allowed object is | |
| 155 |       *     {@link String } | |
| 156 |       *      | |
| 157 |       */ | |
| 158 | public void setBase(String value) { | |
| 159 | 18 |          this.base = value; | 
| 160 | 18 | } | 
| 161 | ||
| 162 |      /** | |
| 163 |       * Gets the value of the lang property. | |
| 164 |       *  | |
| 165 |       * @return | |
| 166 |       *     possible object is | |
| 167 |       *     {@link String } | |
| 168 |       *      | |
| 169 |       */ | |
| 170 |      public String getLang() { | |
| 171 | 42 |          return lang; | 
| 172 | } | |
| 173 | ||
| 174 |      /** | |
| 175 |       * Sets the value of the lang property. | |
| 176 |       *  | |
| 177 |       * @param value | |
| 178 |       *     allowed object is | |
| 179 |       *     {@link String } | |
| 180 |       *      | |
| 181 |       */ | |
| 182 | public void setLang(String value) { | |
| 183 | 18 |          this.lang = value; | 
| 184 | 18 | } | 
| 185 | ||
| 186 |      /** | |
| 187 |       * Gets a map that contains attributes that aren't bound to any typed property on this class. | |
| 188 |       *  | |
| 189 |       * <p> | |
| 190 |       * the map is keyed by the name of the attribute and  | |
| 191 |       * the value is the string value of the attribute. | |
| 192 |       *  | |
| 193 |       * the map returned by this method is live, and you can add new attribute | |
| 194 |       * by updating the map directly. Because of this design, there's no setter. | |
| 195 |       *  | |
| 196 |       *  | |
| 197 |       * @return | |
| 198 |       *     always non-null | |
| 199 |       */ | |
| 200 |      public Map<QName, String> getOtherAttributes() { | |
| 201 | 60 |          return otherAttributes; | 
| 202 | } | |
| 203 | ||
| 204 | } |