| Classes in this File | Line Coverage | Branch Coverage | Complexity | |||||||
| WellFormedWebExtension |
|
| 0.0;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.wfw.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 | * <complexType> |
|
| 25 | * <complexContent> |
|
| 26 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|
| 27 | * <sequence> |
|
| 28 | * <element ref="{http://wellformedweb.org/CommentAPI/}comment"/> |
|
| 29 | * <element ref="{http://wellformedweb.org/CommentAPI/}commentRss"/> |
|
| 30 | * </sequence> |
|
| 31 | * </restriction> |
|
| 32 | * </complexContent> |
|
| 33 | * </complexType> |
|
| 34 | * </pre> |
|
| 35 | * |
|
| 36 | * |
|
| 37 | */ |
|
| 38 | @XmlAccessorType(XmlAccessType.FIELD) |
|
| 39 | @XmlType(name = "", propOrder = { |
|
| 40 | "comment", |
|
| 41 | "commentRss" |
|
| 42 | }) |
|
| 43 | @XmlRootElement(name = "wellFormedWebExtension") |
|
| 44 | 6 | public class WellFormedWebExtension { |
| 45 | ||
| 46 | @XmlElement(required = true) |
|
| 47 | protected String comment; |
|
| 48 | @XmlElement(required = true) |
|
| 49 | protected String commentRss; |
|
| 50 | ||
| 51 | /** |
|
| 52 | * |
|
| 53 | * <dt>wfw:comment</dt> |
|
| 54 | * <dd>The first element to appear in this namespace is <code>comment</code>. This element appears |
|
| 55 | * in RSS feeds and contains the URI that comment entries are to be POSTed to. The details |
|
| 56 | * of this are outlined in the <a href="http://wellformedweb.org/story/9">CommentAPI Specification</a>.</dd> |
|
| 57 | * |
|
| 58 | * |
|
| 59 | * |
|
| 60 | * @return |
|
| 61 | * possible object is |
|
| 62 | * {@link String } |
|
| 63 | * |
|
| 64 | */ |
|
| 65 | public String getComment() { |
|
| 66 | 0 | return comment; |
| 67 | } |
|
| 68 | ||
| 69 | /** |
|
| 70 | * Sets the value of the comment property. |
|
| 71 | * |
|
| 72 | * @param value |
|
| 73 | * allowed object is |
|
| 74 | * {@link String } |
|
| 75 | * |
|
| 76 | */ |
|
| 77 | public void setComment(String value) { |
|
| 78 | 6 | this.comment = value; |
| 79 | 6 | } |
| 80 | ||
| 81 | /** |
|
| 82 | * |
|
| 83 | * <dt>wfw:commentRss</dt> |
|
| 84 | * <dd>The second element to appear in the wfw namespace is <code>commentRss</code>. This element |
|
| 85 | * also appears in RSS feeds and contains the URI of the RSS feed for comments on that Item. |
|
| 86 | * This is documented in <a href="http://www.sellsbrothers.com/spout/default.aspx?content=archive.htm#exposingRssComments">Chris Sells' Specification</a>. Note that for quite a while this page has had a typo and erroneously referred to |
|
| 87 | * this element as 'commentRSS' as opposed to the correct 'commentRss'. Feed consumers should be aware |
|
| 88 | * that they may run into both spellings in the wild. Please see |
|
| 89 | * <a href="http://www.intertwingly.net/blog/2006/04/16/commentRss">this page</a> for |
|
| 90 | * more information. |
|
| 91 | * |
|
| 92 | * |
|
| 93 | * |
|
| 94 | * @return |
|
| 95 | * possible object is |
|
| 96 | * {@link String } |
|
| 97 | * |
|
| 98 | */ |
|
| 99 | public String getCommentRss() { |
|
| 100 | 0 | return commentRss; |
| 101 | } |
|
| 102 | ||
| 103 | /** |
|
| 104 | * Sets the value of the commentRss property. |
|
| 105 | * |
|
| 106 | * @param value |
|
| 107 | * allowed object is |
|
| 108 | * {@link String } |
|
| 109 | * |
|
| 110 | */ |
|
| 111 | public void setCommentRss(String value) { |
|
| 112 | 6 | this.commentRss = value; |
| 113 | 6 | } |
| 114 | ||
| 115 | } |