/**
* Mule Development Kit
* Copyright 2010-2011 (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.2-hudson-jaxb-ri-2.2-63-
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.05.16 at 06:04:20 PM GMT-03:00
//
package org.mule.devkit.it.rss;
import org.w3c.dom.Element;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* <p>Java class for RssChannel complex type.
* <p/>
* <p>The following schema fragment specifies the expected content contained within this class.
* <p/>
* <pre>
* <complexType name="RssChannel">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice maxOccurs="unbounded">
* <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="link" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="language" type="{http://www.w3.org/2001/XMLSchema}language" minOccurs="0"/>
* <element name="copyright" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="managingEditor" type="{}EmailAddress" minOccurs="0"/>
* <element name="webMaster" type="{}EmailAddress" minOccurs="0"/>
* <element name="pubDate" type="{}Rfc822FormatDate" minOccurs="0"/>
* <element name="lastBuildDate" type="{}Rfc822FormatDate" minOccurs="0"/>
* <element name="category" type="{}Category" minOccurs="0"/>
* <element name="generator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="docs" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* <element name="cloud" type="{}Cloud" minOccurs="0"/>
* <element name="ttl" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="image" type="{}Image" minOccurs="0"/>
* <element name="rating" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="textInput" type="{}TextInput" minOccurs="0"/>
* <element name="skipHours" type="{}SkipHoursList" minOccurs="0"/>
* <element name="skipDays" type="{}SkipDaysList" minOccurs="0"/>
* <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
* </choice>
* <element name="item" type="{}RssItem" maxOccurs="unbounded"/>
* <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <anyAttribute/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RssChannel", propOrder = {
"titleOrLinkOrDescription",
"item",
"any"
})
public class RssChannel {
@XmlElementRefs({
@XmlElementRef(name = "description", type = JAXBElement.class),
@XmlElementRef(name = "title", type = JAXBElement.class),
@XmlElementRef(name = "copyright", type = JAXBElement.class),
@XmlElementRef(name = "cloud", type = JAXBElement.class),
@XmlElementRef(name = "textInput", type = JAXBElement.class),
@XmlElementRef(name = "generator", type = JAXBElement.class),
@XmlElementRef(name = "link", type = JAXBElement.class),
@XmlElementRef(name = "skipDays", type = JAXBElement.class),
@XmlElementRef(name = "category", type = JAXBElement.class),
@XmlElementRef(name = "ttl", type = JAXBElement.class),
@XmlElementRef(name = "rating", type = JAXBElement.class),
@XmlElementRef(name = "language", type = JAXBElement.class),
@XmlElementRef(name = "image", type = JAXBElement.class),
@XmlElementRef(name = "webMaster", type = JAXBElement.class),
@XmlElementRef(name = "docs", type = JAXBElement.class),
@XmlElementRef(name = "skipHours", type = JAXBElement.class),
@XmlElementRef(name = "lastBuildDate", type = JAXBElement.class),
@XmlElementRef(name = "managingEditor", type = JAXBElement.class),
@XmlElementRef(name = "pubDate", type = JAXBElement.class)
})
@XmlAnyElement(lax = true)
protected List<Object> titleOrLinkOrDescription;
@XmlElement(required = true)
protected List<RssItem> item;
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAnyAttribute
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
/**
* Gets the value of the titleOrLinkOrDescription property.
* <p/>
* <p/>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the titleOrLinkOrDescription property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getTitleOrLinkOrDescription().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link Cloud }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link TextInput }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link Category }{@code >}
* {@link JAXBElement }{@code <}{@link SkipDaysList }{@code >}
* {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link Image }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link Element }
* {@link JAXBElement }{@code <}{@link SkipHoursList }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link Object }
* {@link JAXBElement }{@code <}{@link String }{@code >}
* {@link JAXBElement }{@code <}{@link String }{@code >}
*/
public List<Object> getTitleOrLinkOrDescription() {
if (titleOrLinkOrDescription == null) {
titleOrLinkOrDescription = new ArrayList<Object>();
}
return this.titleOrLinkOrDescription;
}
/**
* Gets the value of the item property.
* <p/>
* <p/>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the item property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getItem().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link RssItem }
*/
public List<RssItem> getItem() {
if (item == null) {
item = new ArrayList<RssItem>();
}
return this.item;
}
/**
* Gets the value of the any property.
* <p/>
* <p/>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the any property.
* <p/>
* <p/>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
* <p/>
* <p/>
* <p/>
* Objects of the following type(s) are allowed in the list
* {@link Object }
* {@link Element }
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
* <p/>
* <p/>
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
* <p/>
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
* @return always non-null
*/
public Map<QName, String> getOtherAttributes() {
return otherAttributes;
}
}