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

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

There is a newer version: 1.4
Show 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 "guid" element of RSS 2.0 Specification. *

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

 * <complexType name="rssGuid">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <attribute name="isPermaLink" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* *
<guid> sub-element of <item>
*

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

*

* guid stands for globally unique identifier. It's a string that uniquely * identifies the item. When present, an aggregator may choose to use this * string to determine if an item is new. *

*

<guid>http://some.server.com/weblogItem3207</guid& * gt;

*

* There are no rules for the syntax of a guid. Aggregators must view them as a * string. It's up to the source of the feed to establish the uniqueness of the * string. *

*

* If the guid element has an attribute named isPermaLink with a value of true, * the reader may assume that it is a permalink to the item, that is, a url that * can be opened in a Web browser, that points to the full item described by the * <item> element. An example: *

*

<guid * isPermaLink="true">http://inessential.com/2002/ * 09/01.php#a2</guid>

*

* isPermaLink is optional, its default value is true. If its value is false, * the guid may not be assumed to be a url, or a url to anything in particular. *

*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "rssGuid", propOrder = {"content"}) public class RssGuid { @XmlValue protected String content; @XmlAttribute protected Boolean isPermaLink; /** * 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 isPermaLink property. * * @return possible object is {@link Boolean } */ public boolean isIsPermaLink() { if (isPermaLink == null) { return true; } else { return isPermaLink; } } /** * Sets the value of the isPermaLink property. * * @param value allowed object is {@link Boolean } */ public void setIsPermaLink(Boolean value) { this.isPermaLink = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy