All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.wink.common.model.rss.RssSource Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * 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 http://java.sun.com/xml/jaxb 
// 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;

/**
 * 

* Java class for "source" element of RSS 2.0 Specification. *

* The following schema fragment specifies the expected content contained within * this class. * *

 * <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>
 * 
* *
<source> sub-element of <item>
*

* <source> is an optional sub-element of <item>. *

*

* 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. *

*

<source * url="http://www.tomalak.org/links2.xml">Tomalak's Realm</source>

*

* 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. *

*/ @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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy