Coverage Report - yarfraw.generated.rss10.elements.RDF
 
Classes in this File Line Coverage Branch Coverage Complexity
RDF
83% 
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.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.XmlElementRef;
 21  
 import javax.xml.bind.annotation.XmlElementRefs;
 22  
 import javax.xml.bind.annotation.XmlRootElement;
 23  
 import javax.xml.bind.annotation.XmlType;
 24  
 import javax.xml.namespace.QName;
 25  
 import org.w3c.dom.Element;
 26  
 
 27  
 
 28  
 /**
 29  
  * <p>Java class for anonymous complex type.
 30  
  * 
 31  
  * <p>The following schema fragment specifies the expected content contained within this class.
 32  
  * 
 33  
  * <pre>
 34  
  * &lt;complexType>
 35  
  *   &lt;complexContent>
 36  
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 37  
  *       &lt;sequence>
 38  
  *         &lt;choice maxOccurs="unbounded">
 39  
  *           &lt;element ref="{http://purl.org/rss/1.0/}channel"/>
 40  
  *           &lt;element ref="{http://purl.org/rss/1.0/}image" minOccurs="0"/>
 41  
  *           &lt;element ref="{http://purl.org/rss/1.0/}item" maxOccurs="unbounded"/>
 42  
  *           &lt;element ref="{http://purl.org/rss/1.0/}textinput" minOccurs="0"/>
 43  
  *           &lt;any/>
 44  
  *         &lt;/choice>
 45  
  *       &lt;/sequence>
 46  
  *     &lt;/restriction>
 47  
  *   &lt;/complexContent>
 48  
  * &lt;/complexType>
 49  
  * </pre>
 50  
  * 
 51  
  * 
 52  
  */
 53  
 @XmlAccessorType(XmlAccessType.FIELD)
 54  
 @XmlType(name = "", propOrder = {
 55  
     "channelOrImageOrItem"
 56  
 })
 57  
 @XmlRootElement(name = "RDF", namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
 58  39
 public class RDF {
 59  
 
 60  
     @XmlElementRefs({
 61  
         @XmlElementRef(name = "image", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class),
 62  
         @XmlElementRef(name = "textinput", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class),
 63  
         @XmlElementRef(name = "item", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class),
 64  
         @XmlElementRef(name = "channel", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class)
 65  
     })
 66  
     @XmlAnyElement
 67  
     protected List<Object> channelOrImageOrItem;
 68  39
     @XmlAnyAttribute
 69  
     private Map<QName, String> otherAttributes = new HashMap<QName, String>();
 70  
 
 71  
     /**
 72  
      * Gets the value of the channelOrImageOrItem property.
 73  
      * 
 74  
      * <p>
 75  
      * This accessor method returns a reference to the live list,
 76  
      * not a snapshot. Therefore any modification you make to the
 77  
      * returned list will be present inside the JAXB object.
 78  
      * This is why there is not a <CODE>set</CODE> method for the channelOrImageOrItem property.
 79  
      * 
 80  
      * <p>
 81  
      * For example, to add a new item, do as follows:
 82  
      * <pre>
 83  
      *    getChannelOrImageOrItem().add(newItem);
 84  
      * </pre>
 85  
      * 
 86  
      * 
 87  
      * <p>
 88  
      * Objects of the following type(s) are allowed in the list
 89  
      * {@link JAXBElement }{@code <}{@link TRss10Image }{@code >}
 90  
      * {@link JAXBElement }{@code <}{@link TRss10Item }{@code >}
 91  
      * {@link JAXBElement }{@code <}{@link TRss10Channel }{@code >}
 92  
      * {@link Element }
 93  
      * {@link JAXBElement }{@code <}{@link TRss10TextInput }{@code >}
 94  
      * 
 95  
      * 
 96  
      */
 97  
     public List<Object> getChannelOrImageOrItem() {
 98  69
         if (channelOrImageOrItem == null) {
 99  15
             channelOrImageOrItem = new ArrayList<Object>();
 100  
         }
 101  69
         return this.channelOrImageOrItem;
 102  
     }
 103  
 
 104  
     /**
 105  
      * Gets a map that contains attributes that aren't bound to any typed property on this class.
 106  
      * 
 107  
      * <p>
 108  
      * the map is keyed by the name of the attribute and 
 109  
      * the value is the string value of the attribute.
 110  
      * 
 111  
      * the map returned by this method is live, and you can add new attribute
 112  
      * by updating the map directly. Because of this design, there's no setter.
 113  
      * 
 114  
      * 
 115  
      * @return
 116  
      *     always non-null
 117  
      */
 118  
     public Map<QName, String> getOtherAttributes() {
 119  0
         return otherAttributes;
 120  
     }
 121  
 
 122  
 }