Class TRssItem

  extended by yarfraw.generated.rss20.elements.TRssItem

public class TRssItem
extends Object

An item may represent a "story" -- much like a story in a newspaper or magazine; if so its description is a synopsis of the story, and the link points to the full story. An item may also be complete in itself, if so, the description contains the text (entity-encoded HTML is allowed), and the link and title may be omitted.

Java class for tRssItem complex type.

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

 <complexType name="tRssItem">
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <choice maxOccurs="unbounded">
           <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           <element name="link" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
           <element name="author" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           <element name="category" type="{}tCategory" minOccurs="0"/>
           <element name="comments" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
           <element name="enclosure" type="{}tEnclosure" minOccurs="0"/>
           <element name="guid" type="{}tGuid" minOccurs="0"/>
           <element name="pubDate" type="{}tRfc822FormatDate" minOccurs="0"/>
           <element name="source" type="{}tSource" minOccurs="0"/>

Field Summary
protected  List<Object> titleOrDescriptionOrLink
Constructor Summary
Method Summary
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 List<Object> getTitleOrDescriptionOrLink()
          Gets the value of the titleOrDescriptionOrLink property.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


protected List<Object> titleOrDescriptionOrLink
Constructor Detail


public TRssItem()
Method Detail


public List<Object> getTitleOrDescriptionOrLink()
Gets the value of the titleOrDescriptionOrLink property.

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 set method for the titleOrDescriptionOrLink property.

For example, to add a new item, do as follows:


Objects of the following type(s) are allowed in the list JAXBElement<TCategory> JAXBElement<TSource> JAXBElement<String> JAXBElement<TEnclosure> JAXBElement<String> JAXBElement<TGuid> JAXBElement<String> JAXBElement<String> Element JAXBElement<String> JAXBElement<String>


public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. 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.

always non-null

Copyright © 2008. All Rights Reserved.