I noticed that there were some warnings when generated the javadocs...
-garrett
[[[
Clean up our javadoc.
[in core/src/main/java/org/apache/abdera/model]
* Entry.java
(setContentAsHtml, setContentAsXhtml,
setRightsAsXhtml, setSummaryAsXhtml,
setTitleAsXhtml, setTitleAsXhtml): Remove baseUri param.
* Content.java
(getMimeType): s/@returns/@return/
]]]
Index: core/src/main/java/org/apache/abdera/model/Entry.java
===================================================================
--- core/src/main/java/org/apache/abdera/model/Entry.java (revision
415214)
+++ core/src/main/java/org/apache/abdera/model/Entry.java (working copy)
@@ -212,7 +212,6 @@
/**
* Sets the content for this entry as @type="html".
* @param value The unescaped HTML string to set as the content
- * @param baseUri The value of the content element's xml:base. Null if none.
*/
Content setContentAsHtml(String value);
@@ -229,7 +228,6 @@
* as a string containing unparsed XHTML with a <div< as the root.
* For example, "<div xmlns="http://www.w3.org/1999/xhtml">foo</div>"
* @param value A string containing the XHTML.
- * @param baseUri The value of the content element's xml:base. Null if none.
*/
Content setContentAsXhtml(String value);
@@ -255,7 +253,6 @@
* Sets the content for this entry as @type="xhtml". The value is passed
* in as a parsed org.apache.abdera.model.Div
* @param value A Div containing the XHTML
- * @param baseUri The value of the content element's xml:base. Null if none
*/
Content setContentAsXhtml(Div value);
@@ -562,7 +559,6 @@
/**
* Sets the value of the rights element as type="html"
* @param value The string containing the unescaped HTML
- * @param baseUri The content element's xml:base. Null if none
*/
Text setRightsAsHtml(String value);
@@ -571,14 +567,12 @@
* as a string containing unparsed XHTML with a <div< as the root.
* For example, "<div xmlns="http://www.w3.org/1999/xhtml">foo</div>"
* @param value The string containing an unparsed XHTML div
- * @param baseUri The right element's xml:base. Null if none
*/
Text setRightsAsXhtml(String value);
/**
* Sets the value of the rights element as type="xhtml"
* @param value The XHTML Div
- * @param baseUri The right element's xml:base. Null if none
*/
Text setRightsAsXhtml(Div value);
@@ -705,7 +699,6 @@
* as a string containing unparsed XHTML with a <div< as the root.
* For example, "<div xmlns="http://www.w3.org/1999/xhtml">foo</div>"
* @param value The string containing an unparsed XHTML div
- * @param baseUri The summary element's xml:base. Null if none
*/
Text setSummaryAsXhtml(String value);
@@ -789,14 +782,12 @@
* as a string containing unparsed XHTML with a <div< as the root.
* For example, "<div xmlns="http://www.w3.org/1999/xhtml">foo</div>"
* @param value The string containing an unparsed XHTML div
- * @param baseUri The title element's xml:base. Null if none
*/
Text setTitleAsXhtml(String value);
/**
* Sets the title for this entry as type="xhtml".
* @param value The parsed XHTML Div
- * @param baseUri The title element's xml:base. Null if none
*/
Text setTitleAsXhtml(Div value);
Index: core/src/main/java/org/apache/abdera/model/Content.java
===================================================================
--- core/src/main/java/org/apache/abdera/model/Content.java (revision
415214)
+++ core/src/main/java/org/apache/abdera/model/Content.java (working copy)
@@ -139,7 +139,7 @@
* the src attribute is provided, Atom Processors MUST behave as though
* the type attribute were present with a value of "text".
*
- * @returns null if type = text, html or xhtml
+ * @return null if type = text, html or xhtml
*/
MimeType getMimeType();