/******************************************************************************* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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, vhudson-jaxb-ri-2.1-456 // 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: 2009.07.20 at 10:55:05 AM IST // package org.apache.wink.common.model.rss; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; /** * <p> * Java class for "source" element of <a * href="http://www.rssboard.org/rss-specification">RSS 2.0 Specification</a>. * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="rssSource"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * <h5><source> sub-element of <item></h5> * <p> * <source> is an optional sub-element of <item>. * </p> * <p> * Its value is the name of the RSS channel that the item came from, derived * from its <title>. It has one required attribute, url, which links to * the XMLization of the source. * </p> * <p class="example"><source * url="http://www.tomalak.org/links2.xml">Tomalak's Realm</source></p> * <p> * The purpose of this element is to propagate credit for links, to publicize * the sources of news items. It can be used in the Post command of an * aggregator. It should be generated automatically when forwarding an item from * an aggregator to a weblog authoring tool. * </p> */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "rssSource", propOrder = {"content"}) public class RssSource { @XmlValue protected String content; @XmlAttribute(required = true) protected String url; /** * Gets the value of the content property. * * @return possible object is {@link String } */ public String getContent() { return content; } /** * Sets the value of the content property. * * @param value allowed object is {@link String } */ public void setContent(String value) { this.content = value; } /** * Gets the value of the url property. * * @return possible object is {@link String } */ public String getUrl() { return url; } /** * Sets the value of the url property. * * @param value allowed object is {@link String } */ public void setUrl(String value) { this.url = value; } }