| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||||
| TRss10TextInput |
|
| 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:45 AM EDT |
|
| 6 | // |
|
| 7 | ||
| 8 | ||
| 9 | package yarfraw.generated.rss10.elements; |
|
| 10 | ||
| 11 | import java.util.ArrayList; |
|
| 12 | import java.util.List; |
|
| 13 | import javax.xml.bind.JAXBElement; |
|
| 14 | import javax.xml.bind.annotation.XmlAccessType; |
|
| 15 | import javax.xml.bind.annotation.XmlAccessorType; |
|
| 16 | import javax.xml.bind.annotation.XmlAnyElement; |
|
| 17 | import javax.xml.bind.annotation.XmlAttribute; |
|
| 18 | import javax.xml.bind.annotation.XmlElementRef; |
|
| 19 | import javax.xml.bind.annotation.XmlElementRefs; |
|
| 20 | import javax.xml.bind.annotation.XmlSchemaType; |
|
| 21 | import javax.xml.bind.annotation.XmlType; |
|
| 22 | import org.w3c.dom.Element; |
|
| 23 | ||
| 24 | ||
| 25 | /** |
|
| 26 | * The purpose of this element is something of a mystery! You can use it to specify a search engine box. Or to allow a reader to provide feedback. Most aggregators ignore it. |
|
| 27 | * |
|
| 28 | * <p>Java class for tRss10TextInput complex type. |
|
| 29 | * |
|
| 30 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
| 31 | * |
|
| 32 | * <pre> |
|
| 33 | * <complexType name="tRss10TextInput"> |
|
| 34 | * <complexContent> |
|
| 35 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|
| 36 | * <sequence> |
|
| 37 | * <choice maxOccurs="unbounded"> |
|
| 38 | * <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/> |
|
| 39 | * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/> |
|
| 40 | * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> |
|
| 41 | * <element name="link" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> |
|
| 42 | * <any/> |
|
| 43 | * </choice> |
|
| 44 | * </sequence> |
|
| 45 | * <attribute ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}resource"/> |
|
| 46 | * <attribute ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}about use="required""/> |
|
| 47 | * </restriction> |
|
| 48 | * </complexContent> |
|
| 49 | * </complexType> |
|
| 50 | * </pre> |
|
| 51 | * |
|
| 52 | * |
|
| 53 | */ |
|
| 54 | @XmlAccessorType(XmlAccessType.FIELD) |
|
| 55 | @XmlType(name = "tRss10TextInput", propOrder = { |
|
| 56 | "titleOrDescriptionOrName" |
|
| 57 | }) |
|
| 58 | 30 | public class TRss10TextInput { |
| 59 | ||
| 60 | @XmlElementRefs({ |
|
| 61 | @XmlElementRef(name = "link", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class), |
|
| 62 | @XmlElementRef(name = "name", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class), |
|
| 63 | @XmlElementRef(name = "description", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class), |
|
| 64 | @XmlElementRef(name = "title", namespace = "http://purl.org/rss/1.0/", type = JAXBElement.class) |
|
| 65 | }) |
|
| 66 | @XmlAnyElement |
|
| 67 | protected List<Object> titleOrDescriptionOrName; |
|
| 68 | @XmlAttribute(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#") |
|
| 69 | @XmlSchemaType(name = "anyURI") |
|
| 70 | protected String resource; |
|
| 71 | @XmlAttribute(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#", required = true) |
|
| 72 | @XmlSchemaType(name = "anyURI") |
|
| 73 | protected String about; |
|
| 74 | ||
| 75 | /** |
|
| 76 | * Gets the value of the titleOrDescriptionOrName property. |
|
| 77 | * |
|
| 78 | * <p> |
|
| 79 | * This accessor method returns a reference to the live list, |
|
| 80 | * not a snapshot. Therefore any modification you make to the |
|
| 81 | * returned list will be present inside the JAXB object. |
|
| 82 | * This is why there is not a <CODE>set</CODE> method for the titleOrDescriptionOrName property. |
|
| 83 | * |
|
| 84 | * <p> |
|
| 85 | * For example, to add a new item, do as follows: |
|
| 86 | * <pre> |
|
| 87 | * getTitleOrDescriptionOrName().add(newItem); |
|
| 88 | * </pre> |
|
| 89 | * |
|
| 90 | * |
|
| 91 | * <p> |
|
| 92 | * Objects of the following type(s) are allowed in the list |
|
| 93 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 94 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 95 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 96 | * {@link JAXBElement }{@code <}{@link String }{@code >} |
|
| 97 | * {@link Element } |
|
| 98 | * |
|
| 99 | * |
|
| 100 | */ |
|
| 101 | public List<Object> getTitleOrDescriptionOrName() { |
|
| 102 | 18 | if (titleOrDescriptionOrName == null) { |
| 103 | 9 | titleOrDescriptionOrName = new ArrayList<Object>(); |
| 104 | } |
|
| 105 | 18 | return this.titleOrDescriptionOrName; |
| 106 | } |
|
| 107 | ||
| 108 | /** |
|
| 109 | * Gets the value of the resource property. |
|
| 110 | * |
|
| 111 | * @return |
|
| 112 | * possible object is |
|
| 113 | * {@link String } |
|
| 114 | * |
|
| 115 | */ |
|
| 116 | public String getResource() { |
|
| 117 | 18 | return resource; |
| 118 | } |
|
| 119 | ||
| 120 | /** |
|
| 121 | * Sets the value of the resource property. |
|
| 122 | * |
|
| 123 | * @param value |
|
| 124 | * allowed object is |
|
| 125 | * {@link String } |
|
| 126 | * |
|
| 127 | */ |
|
| 128 | public void setResource(String value) { |
|
| 129 | 18 | this.resource = value; |
| 130 | 18 | } |
| 131 | ||
| 132 | /** |
|
| 133 | * Gets the value of the about property. |
|
| 134 | * |
|
| 135 | * @return |
|
| 136 | * possible object is |
|
| 137 | * {@link String } |
|
| 138 | * |
|
| 139 | */ |
|
| 140 | public String getAbout() { |
|
| 141 | 18 | return about; |
| 142 | } |
|
| 143 | ||
| 144 | /** |
|
| 145 | * Sets the value of the about property. |
|
| 146 | * |
|
| 147 | * @param value |
|
| 148 | * allowed object is |
|
| 149 | * {@link String } |
|
| 150 | * |
|
| 151 | */ |
|
| 152 | public void setAbout(String value) { |
|
| 153 | 9 | this.about = value; |
| 154 | 9 | } |
| 155 | ||
| 156 | } |