Class TRss10Channel

  extended by yarfraw.generated.rss10.elements.TRss10Channel

public class TRss10Channel
extends Object

The channel element contains metadata describing the channel itself, including a title, brief description, and URL link to the described resource (the channel provider's home page, for instance). The {resource} URL of the channel element's rdf:about attribute must be unique with respect to any other rdf:about attributes in the RSS document and is a URI which identifies the channel. Most commonly, this is either the URL of the homepage being described or a URL where the RSS file can be found.

Java class for tRss10Channel complex type.

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

 <complexType name="tRss10Channel">
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <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="image" type="{http://purl.org/rss/1.0/}tRss10Image" minOccurs="0"/>
           <element ref="{http://purl.org/rss/1.0/}textinput" minOccurs="0"/>
           <element ref="{http://purl.org/rss/1.0/}image" minOccurs="0"/>
           <element ref="{http://purl.org/rss/1.0/}items"/>
           <element ref="{http://purl.org/rss/1.0/modules/syndication/}updatePeriod" minOccurs="0"/>
           <element ref="{http://purl.org/rss/1.0/modules/syndication/}updateFrequency" minOccurs="0"/>
           <element ref="{http://purl.org/dc/elements/1.1/}subject" maxOccurs="unbounded" minOccurs="0"/>
           <element ref="{http://purl.org/dc/elements/1.1/}publisher" minOccurs="0"/>
           <element ref="{http://purl.org/dc/elements/1.1/}creator" minOccurs="0"/>
           <element ref="{http://purl.org/dc/elements/1.1/}rights" minOccurs="0"/>
           <element ref="{http://purl.org/dc/elements/1.1/}date" minOccurs="0"/>
           <element ref="{http://purl.org/dc/elements/1.1/}language" minOccurs="0"/>
           <element ref="{http://purl.org/dc/elements/1.1/}contributor" minOccurs="0"/>
       <attribute ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}resource"/>
       <attribute ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}about use="required""/>

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

Field Detail


protected List<Object> titleOrLinkOrDescription


protected String resource


protected String about
Constructor Detail


public TRss10Channel()
Method Detail


public List<Object> getTitleOrLinkOrDescription()
Gets the value of the titleOrLinkOrDescription 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 titleOrLinkOrDescription property.

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


Objects of the following type(s) are allowed in the list JAXBElement<Items> JAXBElement<TRss10TextInput> JAXBElement<TRss10Image> JAXBElement<DcType> JAXBElement<UpdatePeriodEnum> JAXBElement<String> JAXBElement<DcType> JAXBElement<DcType> JAXBElement<DcType> JAXBElement<String> JAXBElement<DcType> JAXBElement<String> JAXBElement<DcType> JAXBElement<DcType> JAXBElement<BigInteger> Element


public String getResource()
Gets the value of the resource property.

possible object is String


public void setResource(String value)
Sets the value of the resource property.

value - allowed object is String


public String getAbout()
Gets the value of the about property.

possible object is String


public void setAbout(String value)
Sets the value of the about property.

value - allowed object is 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.