is a date-time, indicating when the document was created.
- *
+ *
* @param created date-time, indicating when the document was created.
*/
public void setCreated(final Date created) {
@@ -60,7 +63,7 @@ public class Opml extends WireFeed {
/**
* <dateCreated> is a date-time, indicating when the document was created.
- *
+ *
* @return date-time, indicating when the document was created.
*/
public Date getCreated() {
@@ -70,7 +73,7 @@ public class Opml extends WireFeed {
/**
* (OPML 2) <docs> is the http address of documentation for the format used in the OPML file. It's probably a pointer to this page for people who might stumble across the file on a web server 25 years from now and wonder what it is.
- *
+ *
* @param docs http address of documentation for the format used
*/
public void setDocs(final String docs) {
@@ -80,7 +83,7 @@ public class Opml extends WireFeed {
/**
* (OPML 2) <docs> is the http address of documentation for the format used in the OPML file. It's probably a pointer to this page for people who might stumble across the file on a web server 25 years from now and wonder what it is.
- *
+ *
* @return http address of documentation for the format used
*/
public String getDocs() {
@@ -91,7 +94,7 @@ public class Opml extends WireFeed {
* <expansionState>is a comma-separated list of line numbers that are expanded. The line numbers in the list tell you which headlines to expand. The
* order is important. For each element in the list, X, starting at the first summit, navigate flatdown X times and expand. Repeat for each element in the
* list.
- *
+ *
* @param expansionState int array containing expanded elements.
*/
public void setExpansionState(final int[] expansionState) {
@@ -102,7 +105,7 @@ public class Opml extends WireFeed {
* <expansionState> is a comma-separated list of line numbers that are expanded. The line numbers in the list tell you which headlines to expand. The
* order is important. For each element in the list, X, starting at the first summit, navigate flatdown X times and expand. Repeat for each element in the
* list.
- *
+ *
* @return int array containing expanded elements.
*/
public int[] getExpansionState() {
@@ -111,7 +114,7 @@ public class Opml extends WireFeed {
/**
* <dateModified> is a date-time, indicating when the document was last modified.
- *
+ *
* @param modified date-time, indicating when the document was last modified.
*/
public void setModified(final Date modified) {
@@ -120,7 +123,7 @@ public class Opml extends WireFeed {
/**
* <dateModified> is a date-time, indicating when the document was last modified.
- *
+ *
* @return date-time, indicating when the document was last modified.
*/
public Date getModified() {
@@ -129,7 +132,7 @@ public class Opml extends WireFeed {
/**
* Root level Outline object that should appear in the <body>
- *
+ *
* @param outlines Root level Outline object that should appear in the <body>
*/
public void setOutlines(final List outlines) {
@@ -138,7 +141,7 @@ public class Opml extends WireFeed {
/**
* Root level Outline object that should appear in the <body>
- *
+ *
* @return Root level Outline object that should appear in the <body>
*/
public List getOutlines() {
@@ -151,7 +154,7 @@ public class Opml extends WireFeed {
/**
* <ownerEmail> is a string, the email address of the owner of the document.
- *
+ *
* @param ownerEmail the email address of the owner of the document.
*/
public void setOwnerEmail(final String ownerEmail) {
@@ -160,7 +163,7 @@ public class Opml extends WireFeed {
/**
* <ownerEmail> is a string, the email address of the owner of the document.
- *
+ *
* @return the email address of the owner of the document.
*/
public String getOwnerEmail() {
@@ -170,7 +173,7 @@ public class Opml extends WireFeed {
/**
* (OPML 2) <ownerId> is the http address of a web page that contains an HTML a form that allows a human reader to communicate with
* the author of the document via email or other means.
- *
+ *
* @param ownerId http address of a web page that contains an HTML a form that allows a human reader to communicate with the author of the
* document via email or other means.
*/
@@ -181,7 +184,7 @@ public class Opml extends WireFeed {
/**
* (OPML 2) <ownerId> is the http address of a web page that contains an HTML a form that allows a human reader to communicate with
* the author of the document via email or other means.
- *
+ *
* @return http address of a web page that contains an HTML a form that allows a human reader to communicate with the author of the
* document via email or other means.
*/
@@ -191,7 +194,7 @@ public class Opml extends WireFeed {
/**
* <ownerName> is a string, the owner of the document.
- *
+ *
* @param ownerName the owner of the document.
*/
public void setOwnerName(final String ownerName) {
@@ -200,7 +203,7 @@ public class Opml extends WireFeed {
/**
* <ownerName> is a string, the owner of the document.
- *
+ *
* @return the owner of the document.
*/
public String getOwnerName() {
@@ -209,7 +212,7 @@ public class Opml extends WireFeed {
/**
* <title> is the title of the document.
- *
+ *
* @param title title of the document.
*/
public void setTitle(final String title) {
@@ -218,7 +221,7 @@ public class Opml extends WireFeed {
/**
* <title> is the title of the document.
- *
+ *
* @return title of the document.
*/
public String getTitle() {
@@ -228,7 +231,7 @@ public class Opml extends WireFeed {
/**
* <vertScrollState> is a number, saying which line of the outline is displayed on the top line of the window. This number is calculated with the
* expansion state already applied.
- *
+ *
* @param verticalScrollState which line of the outline is displayed on the top line of the window.
*/
public void setVerticalScrollState(final Integer verticalScrollState) {
@@ -238,7 +241,7 @@ public class Opml extends WireFeed {
/**
* <vertScrollState> is a number, saying which line of the outline is displayed on the top line of the window. This number is calculated with the
* expansion state already applied.
- *
+ *
* @return which line of the outline is displayed on the top line of the window. This number is calculated with the expansion state already applied.
*/
public Integer getVerticalScrollState() {
@@ -247,7 +250,7 @@ public class Opml extends WireFeed {
/**
* <windowBottom> is a number, the pixel location of the bottom edge of the window.
- *
+ *
* @param windowBottom the pixel location of the bottom edge of the window.
*/
public void setWindowBottom(final Integer windowBottom) {
@@ -256,7 +259,7 @@ public class Opml extends WireFeed {
/**
* <windowBottom> is a number, the pixel location of the bottom edge of the window.
- *
+ *
* @return the pixel location of the bottom edge of the window.
*/
public Integer getWindowBottom() {
@@ -265,7 +268,7 @@ public class Opml extends WireFeed {
/**
* <windowLeft> is a number, the pixel location of the left edge of the window.
- *
+ *
* @param windowLeft the pixel location of the left edge of the window.
*/
public void setWindowLeft(final Integer windowLeft) {
@@ -274,7 +277,7 @@ public class Opml extends WireFeed {
/**
* <windowLeft> is a number, the pixel location of the left edge of the window.
- *
+ *
* @return the pixel location of the left edge of the window.
*/
public Integer getWindowLeft() {
@@ -283,7 +286,7 @@ public class Opml extends WireFeed {
/**
* <windowRight> is a number, the pixel location of the right edge of the window.
- *
+ *
* @param windowRight the pixel location of the right edge of the window.
*/
public void setWindowRight(final Integer windowRight) {
@@ -292,7 +295,7 @@ public class Opml extends WireFeed {
/**
* <windowRight> is a number, the pixel location of the right edge of the window.
- *
+ *
* @return the pixel location of the right edge of the window.
*/
public Integer getWindowRight() {
@@ -301,7 +304,7 @@ public class Opml extends WireFeed {
/**
* <windowTop> is a number, the pixel location of the top edge of the window.
- *
+ *
* @param windowTop the pixel location of the top edge of the window.
*/
public void setWindowTop(final Integer windowTop) {
@@ -310,7 +313,7 @@ public class Opml extends WireFeed {
/**
* <windowTop> is a number, the pixel location of the top edge of the window.
- *
+ *
* @return the pixel location of the top edge of the window.
*/
public Integer getWindowTop() {
diff --git a/src/main/java/com/sun/syndication/feed/opml/Outline.java b/src/main/java/com/sun/syndication/feed/opml/Outline.java
index 3fbb0b7..f66aeda 100644
--- a/src/main/java/com/sun/syndication/feed/opml/Outline.java
+++ b/src/main/java/com/sun/syndication/feed/opml/Outline.java
@@ -29,10 +29,13 @@ import com.sun.syndication.feed.impl.ToStringBean;
/**
* This class represents an OPML outline element.
- *
+ *
* @author Robert "kebernet" Cooper
*/
public class Outline implements Cloneable, Serializable {
+
+ private static final long serialVersionUID = 1L;
+
private Date _created;
private List _attributes;
private List _categories;
@@ -51,7 +54,7 @@ public class Outline implements Cloneable, Serializable {
/**
* Creates a new outline with the specified type and text values.
- *
+ *
* @param type type attribute value/
* @param text text attribute value
*/
@@ -63,7 +66,7 @@ public class Outline implements Cloneable, Serializable {
/**
* Creates an outline with the given title, xmlUrl and htmlUrl. This is traditionally used for aggregator feed lists and will get a type of "rss".
- *
+ *
* @param title Title of the entry.
* @param xmlUrl link to XML file.
* @param htmlUrl link to html page.
@@ -85,7 +88,7 @@ public class Outline implements Cloneable, Serializable {
/**
* List of attributes on this outline excluding the "common types" for the specification.
- *
+ *
* @param attributes List of attributes on this outline.
*/
public void setAttributes(final List attributes) {
@@ -94,7 +97,7 @@ public class Outline implements Cloneable, Serializable {
/**
* List of attributes on this outline excluding the "common types" for the specification.
- *
+ *
* @return List of attributes on this outline.
*/
public List getAttributes() {
@@ -108,7 +111,7 @@ public class Outline implements Cloneable, Serializable {
/**
* isBreakpoint is a string, either "true" or "false", indicating whether a breakpoint is set on this outline. This attribute is mainly necessary for
* outlines used to edit scripts. If it's not present, the value is false.
- *
+ *
* @param breakpoint whether a breakpoint is set on this outline.
*/
public void setBreakpoint(final boolean breakpoint) {
@@ -118,7 +121,7 @@ public class Outline implements Cloneable, Serializable {
/**
* isBreakpoint is a string, either "true" or "false", indicating whether a breakpoint is set on this outline. This attribute is mainly necessary for
* outlines used to edit scripts. If it's not present, the value is false.
- *
+ *
* @return whether a breakpoint is set on this outline
*/
public boolean isBreakpoint() {
@@ -127,7 +130,7 @@ public class Outline implements Cloneable, Serializable {
/**
* (OPML 2) A List of Strings indicating values in the category attribute.
- *
+ *
* @param categories (OPML 2) A List of Strings indicating values in the category attribute.
*/
public void setCategories(final List categories) {
@@ -136,7 +139,7 @@ public class Outline implements Cloneable, Serializable {
/**
* (OPML 2) A List of Strings indicating values in the category attribute.
- *
+ *
* @return (OPML 2) A List of Strings indicating values in the category attribute.
*/
public List getCategories() {
@@ -149,7 +152,7 @@ public class Outline implements Cloneable, Serializable {
/**
* A list of sub-outlines for this entry.
- *
+ *
* @param children A list of sub-outlines for this entry.
*/
public void setChildren(final List children) {
@@ -158,7 +161,7 @@ public class Outline implements Cloneable, Serializable {
/**
* A list of sub-outlines for this entry.
- *
+ *
* @return A list of sub-outlines for this entry.
*/
public List getChildren() {
@@ -172,7 +175,7 @@ public class Outline implements Cloneable, Serializable {
/**
* isComment is a string, either "true" or "false", indicating whether the outline is commented or not. By convention if an outline is commented, all
* subordinate outlines are considered to also be commented. If it's not present, the value is false.
- *
+ *
* @param comment whether the outline is commented
*/
public void setComment(final boolean comment) {
@@ -182,7 +185,7 @@ public class Outline implements Cloneable, Serializable {
/**
* isComment is a string, either "true" or "false", indicating whether the outline is commented or not. By convention if an outline is commented, all
* subordinate outlines are considered to also be commented. If it's not present, the value is false.
- *
+ *
* @return whether the outline is commented
*/
public boolean isComment() {
@@ -191,7 +194,7 @@ public class Outline implements Cloneable, Serializable {
/**
* (OPML 2) created is the date-time that the outline node was created.
- *
+ *
* @param created date-time that the outline node was created.
*/
public void setCreated(final Date created) {
@@ -200,7 +203,7 @@ public class Outline implements Cloneable, Serializable {
/**
* (OPML 2) created is the date-time that the outline node was created.
- *
+ *
* @return date-time that the outline node was created.
*/
public Date getCreated() {
@@ -209,7 +212,7 @@ public class Outline implements Cloneable, Serializable {
/**
* A convenience method to return the value of the url attribute.
- *
+ *
* @return value of the htmlUrl attribute.
*/
public String getUrl() {
@@ -218,7 +221,7 @@ public class Outline implements Cloneable, Serializable {
/**
* A convenience method to return the value of the htmlUrl attribute.
- *
+ *
* @return value of the htmlUrl attribute.
*/
public String getHtmlUrl() {
@@ -239,7 +242,7 @@ public class Outline implements Cloneable, Serializable {
/**
* The "text" attribute of the outline.
- *
+ *
* @param text The "text" attribute of the outline.
*/
public void setText(final String text) {
@@ -248,7 +251,7 @@ public class Outline implements Cloneable, Serializable {
/**
* The "text" attribute of the outline.
- *
+ *
* @return The "text" attribute of the outline.
*/
public String getText() {
@@ -257,7 +260,7 @@ public class Outline implements Cloneable, Serializable {
/**
* The "title" attribute of the outline.
- *
+ *
* @param title The "title" attribute of the outline.
*/
public void setTitle(final String title) {
@@ -266,7 +269,7 @@ public class Outline implements Cloneable, Serializable {
/**
* The "title" attribute of the outline.
- *
+ *
* @return The "title" attribute of the outline.
*/
public String getTitle() {
@@ -275,7 +278,7 @@ public class Outline implements Cloneable, Serializable {
/**
* The "type" attribute of the outline.
- *
+ *
* @param type The "type" attribute of the outline.
*/
public void setType(final String type) {
@@ -284,7 +287,7 @@ public class Outline implements Cloneable, Serializable {
/**
* The "type" attribute of the outline.
- *
+ *
* @return The "type" attribute of the outline.
*/
public String getType() {
@@ -293,7 +296,7 @@ public class Outline implements Cloneable, Serializable {
/**
* A convenience method to return the value of the xmlUrl attribute.
- *
+ *
* @return value of the xmlUrl attribute.
*/
public String getXmlUrl() {
@@ -302,7 +305,7 @@ public class Outline implements Cloneable, Serializable {
/**
* Returns the value of an attribute on the outline or null.
- *
+ *
* @param name name of the attribute.
*/
public String getAttributeValue(final String name) {
diff --git a/src/main/java/com/sun/syndication/feed/synd/impl/ConverterForOPML10.java b/src/main/java/com/sun/syndication/feed/synd/impl/ConverterForOPML10.java
index 41b40d8..099ce10 100644
--- a/src/main/java/com/sun/syndication/feed/synd/impl/ConverterForOPML10.java
+++ b/src/main/java/com/sun/syndication/feed/synd/impl/ConverterForOPML10.java
@@ -42,7 +42,7 @@ import com.sun.syndication.feed.synd.SyndPerson;
import com.sun.syndication.feed.synd.SyndPersonImpl;
/**
- *
+ *
* @author cooper
*/
public class ConverterForOPML10 implements Converter {
@@ -71,7 +71,7 @@ public class ConverterForOPML10 implements Converter {
*
* It assumes the given SyndFeedImpl has no properties set.
*
- *
+ *
* @param feed real feed to copy/convert.
* @param syndFeed the SyndFeedImpl that will contain the copied/converted values of the real feed.
*/
@@ -190,10 +190,10 @@ public class ConverterForOPML10 implements Converter {
/**
* Creates real feed with a deep copy/conversion of the values of a SyndFeedImpl.
*
- *
+ *
* @param syndFeed SyndFeedImpl to copy/convert value from.
* @return a real feed with copied/converted values of the SyndFeedImpl.
- *
+ *
*/
@Override
public WireFeed createRealFeed(final SyndFeed syndFeed) {
@@ -325,7 +325,7 @@ public class ConverterForOPML10 implements Converter {
/**
* Returns the type (version) of the real feed this converter handles.
*
- *
+ *
* @return the real feed type.
* @see WireFeed for details on the format of this string.
*
@@ -346,6 +346,9 @@ public class ConverterForOPML10 implements Converter {
}
private static class TreeContext extends Stack {
+
+ private static final long serialVersionUID = 1L;
+
TreeContext() {
super();
}
diff --git a/src/main/java/com/sun/syndication/feed/synd/impl/TreeCategoryImpl.java b/src/main/java/com/sun/syndication/feed/synd/impl/TreeCategoryImpl.java
index c7a5a3c..60d8203 100644
--- a/src/main/java/com/sun/syndication/feed/synd/impl/TreeCategoryImpl.java
+++ b/src/main/java/com/sun/syndication/feed/synd/impl/TreeCategoryImpl.java
@@ -13,11 +13,13 @@ import com.sun.syndication.feed.synd.SyndCategory;
import com.sun.syndication.feed.synd.SyndCategoryImpl;
/**
- *
+ *
* @author cooper
*/
public class TreeCategoryImpl extends SyndCategoryImpl {
+ private static final long serialVersionUID = 1L;
+
/** Creates a new instance of TreeCategoryImpl */
public TreeCategoryImpl() {
super();