yarfraw.generated.atom03.ext.elements
Class Atom03Extension

java.lang.Object
  extended by yarfraw.generated.atom03.ext.elements.Atom03Extension

public class Atom03Extension
extends Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://purl.org/atom/ns#}title" minOccurs="0"/>
         <element ref="{http://purl.org/atom/ns#}tagline" minOccurs="0"/>
         <element ref="{http://purl.org/atom/ns#}info" minOccurs="0"/>
         <element ref="{http://purl.org/atom/ns#}issued"/>
         <element ref="{http://purl.org/atom/ns#}summary" minOccurs="0"/>
         <element ref="{http://purl.org/atom/ns#}content" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<ContentType> content
           
protected  ContentType info
           
protected  String issued
           
protected  ContentType summary
           
protected  ContentType tagline
           
protected  ContentType title
           
 
Constructor Summary
Atom03Extension()
           
 
Method Summary
 List<ContentType> getContent()
          The "atom:content" element is a Content construct that conveys the content of the entry.
 ContentType getInfo()
          The "atom:info" element is a Content construct that conveys a human-readable explanation of the feed format itself.
 String getIssued()
          The "atom:issued" element is a Date construct that indicates the time that the entry was issued.
 ContentType getSummary()
          The "atom:summary" element is a Content construct that conveys a short summary, abstract or excerpt of the entry.
 ContentType getTagline()
          The "atom:tagline" element is a Content construct that conveys a human-readable description or tagline for the feed.
 ContentType getTitle()
          The "atom:title" element is a Content construct that conveys a human-readable title for the feed.
 void setInfo(ContentType value)
          Sets the value of the info property.
 void setIssued(String value)
          Sets the value of the issued property.
 void setSummary(ContentType value)
          Sets the value of the summary property.
 void setTagline(ContentType value)
          Sets the value of the tagline property.
 void setTitle(ContentType value)
          Sets the value of the title property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

protected ContentType title

tagline

protected ContentType tagline

info

protected ContentType info

issued

protected String issued

summary

protected ContentType summary

content

protected List<ContentType> content
Constructor Detail

Atom03Extension

public Atom03Extension()
Method Detail

getTitle

public ContentType getTitle()
The "atom:title" element is a Content construct that conveys a human-readable title for the feed. atom:feed elements MUST contain exactly one atom:title element. If the feed describes a Web resource, its content SHOULD be the same as that resource's title. 4.4

Returns:
possible object is ContentType

setTitle

public void setTitle(ContentType value)
Sets the value of the title property.

Parameters:
value - allowed object is ContentType

getTagline

public ContentType getTagline()
The "atom:tagline" element is a Content construct that conveys a human-readable description or tagline for the feed. atom:feed elements MAY contain an atom:tagline element, but MUST NOT contain more than one.

Returns:
possible object is ContentType

setTagline

public void setTagline(ContentType value)
Sets the value of the tagline property.

Parameters:
value - allowed object is ContentType

getInfo

public ContentType getInfo()
The "atom:info" element is a Content construct that conveys a human-readable explanation of the feed format itself. atom:feed elements MAY contain an atom:info element, but MUST NOT contain more than one. The atom:info element SHOULD NOT considered meaningful by processors; it is a convenience to publishers in certain situations.

Returns:
possible object is ContentType

setInfo

public void setInfo(ContentType value)
Sets the value of the info property.

Parameters:
value - allowed object is ContentType

getIssued

public String getIssued()
The "atom:issued" element is a Date construct that indicates the time that the entry was issued. atom:entry elements MUST contain an atom:issued element, but MUST NOT contain more than one. The content of an atom:issued element MAY omit a time zone.

Returns:
possible object is String

setIssued

public void setIssued(String value)
Sets the value of the issued property.

Parameters:
value - allowed object is String

getSummary

public ContentType getSummary()
The "atom:summary" element is a Content construct that conveys a short summary, abstract or excerpt of the entry. atom:entry elements MAY contain an atom:created element, but MUST NOT contain more than one.

Returns:
possible object is ContentType

setSummary

public void setSummary(ContentType value)
Sets the value of the summary property.

Parameters:
value - allowed object is ContentType

getContent

public List<ContentType> getContent()
The "atom:content" element is a Content construct that conveys the content of the entry. atom:entry elements MAY contain one or more atom:content elements. If @type="multipart/alternative", @mode MUST NOT be specified, and content element MUST contain 1 or more content elements. These content elements MUST NOT specify @type="multipart/alternative" (i.e. only one level of nesting is allowed). Consumers SHOULD look at all alternative content elements and determine which one is most suitable, based on which @type and @mode the consumer supports, and preferences specified by the end user (if any). Consumers SHOULD NOT render more than one content alternative. Gets the value of the content 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 content property.

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

    getContent().add(newItem);
 

Objects of the following type(s) are allowed in the list ContentType



Copyright © 2008. All Rights Reserved.