Coverage Report - yarfraw.generated.blogger.elements.BloggerExtension
 
Classes in this File Line Coverage Branch Coverage Complexity
BloggerExtension
100% 
N/A 
0
 
 1  
 //
 2  
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs 
 3  
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 4  
 // Any modifications to this file will be lost upon recompilation of the source schema. 
 5  
 // Generated on: 2008.06.11 at 12:15:46 AM EDT 
 6  
 //
 7  
 
 8  
 
 9  
 package yarfraw.generated.blogger.elements;
 10  
 
 11  
 import javax.xml.bind.annotation.XmlAccessType;
 12  
 import javax.xml.bind.annotation.XmlAccessorType;
 13  
 import javax.xml.bind.annotation.XmlElement;
 14  
 import javax.xml.bind.annotation.XmlRootElement;
 15  
 import javax.xml.bind.annotation.XmlType;
 16  
 
 17  
 
 18  
 /**
 19  
  * <p>Java class for anonymous complex type.
 20  
  * 
 21  
  * <p>The following schema fragment specifies the expected content contained within this class.
 22  
  * 
 23  
  * <pre>
 24  
  * &lt;complexType>
 25  
  *   &lt;complexContent>
 26  
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 27  
  *       &lt;sequence>
 28  
  *         &lt;element ref="{http://www.blogger.com/atom/ns#}convertLineBreaks"/>
 29  
  *         &lt;element ref="{http://purl.org/atom-blog/ns#}draft"/>
 30  
  *       &lt;/sequence>
 31  
  *     &lt;/restriction>
 32  
  *   &lt;/complexContent>
 33  
  * &lt;/complexType>
 34  
  * </pre>
 35  
  * 
 36  
  * 
 37  
  */
 38  
 @XmlAccessorType(XmlAccessType.FIELD)
 39  
 @XmlType(name = "", propOrder = {
 40  
     "convertLineBreaks",
 41  
     "draft"
 42  
 })
 43  
 @XmlRootElement(name = "bloggerExtension")
 44  6
 public class BloggerExtension {
 45  
 
 46  
     protected boolean convertLineBreaks;
 47  
     @XmlElement(namespace = "http://purl.org/atom-blog/ns#")
 48  
     protected boolean draft;
 49  
 
 50  
     /**
 51  
      *  
 52  
      * This flag, when set to true, means that a blog's posts will have their newlines automatically converted to
 53  
      *  <br />. If set to false, newlines will not be transformed. 
 54  
      *  This flag is read-only and can only be changed through the Blogger web interface for now. 
 55  
      *  You can see a blog's Line Break status by sending a GET to it's service.feed URI and looking 
 56  
      *  for it as a child of the &lt;feed> element:
 57  
      * <br/>
 58  
      *     &lt;convertLineBreaks xmlns="http://www.blogger.com/atom/ns#">true&lt;/convertLineBreaks>
 59  
      * 
 60  
      *                                                  
 61  
      *                                                 
 62  
      * 
 63  
      */
 64  
     public boolean isConvertLineBreaks() {
 65  6
         return convertLineBreaks;
 66  
     }
 67  
 
 68  
     /**
 69  
      * Sets the value of the convertLineBreaks property.
 70  
      * 
 71  
      */
 72  
     public void setConvertLineBreaks(boolean value) {
 73  6
         this.convertLineBreaks = value;
 74  6
     }
 75  
 
 76  
     /**
 77  
      *  
 78  
      * Blogger Draft extension. <br/> http://purl.org/atom-blog/ns#
 79  
      * <br/> Set to true to indicate a draft, false otherwise.
 80  
      *                                                  
 81  
      *                                                 
 82  
      * 
 83  
      */
 84  
     public boolean isDraft() {
 85  6
         return draft;
 86  
     }
 87  
 
 88  
     /**
 89  
      * Sets the value of the draft property.
 90  
      * 
 91  
      */
 92  
     public void setDraft(boolean value) {
 93  6
         this.draft = value;
 94  6
     }
 95  
 
 96  
 }