diff --git a/src/main/java/com/rometools/propono/atom/client/AtomClientFactory.java b/src/main/java/com/rometools/propono/atom/client/AtomClientFactory.java index 3a0e675..281baaf 100644 --- a/src/main/java/com/rometools/propono/atom/client/AtomClientFactory.java +++ b/src/main/java/com/rometools/propono/atom/client/AtomClientFactory.java @@ -16,7 +16,7 @@ package com.rometools.propono.atom.client; import com.rometools.propono.utils.ProponoException; -import com.sun.syndication.io.impl.Atom10Parser; +import com.rometools.rome.io.impl.Atom10Parser; /** * Creates AtomService or ClientCollection based on username, password and end-point URI of Atom diff --git a/src/main/java/com/rometools/propono/atom/client/BasicAuthStrategy.java b/src/main/java/com/rometools/propono/atom/client/BasicAuthStrategy.java index 38077b8..8bf51e4 100644 --- a/src/main/java/com/rometools/propono/atom/client/BasicAuthStrategy.java +++ b/src/main/java/com/rometools/propono/atom/client/BasicAuthStrategy.java @@ -19,7 +19,7 @@ import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpMethodBase; import com.rometools.propono.utils.ProponoException; -import com.sun.syndication.io.impl.Base64; +import com.rometools.rome.io.impl.Base64; public class BasicAuthStrategy implements AuthStrategy { private final String credentials; diff --git a/src/main/java/com/rometools/propono/atom/client/ClientAtomService.java b/src/main/java/com/rometools/propono/atom/client/ClientAtomService.java index 30d5cb0..77ca1ca 100644 --- a/src/main/java/com/rometools/propono/atom/client/ClientAtomService.java +++ b/src/main/java/com/rometools/propono/atom/client/ClientAtomService.java @@ -31,14 +31,14 @@ import org.slf4j.LoggerFactory; import com.rometools.propono.atom.common.AtomService; import com.rometools.propono.utils.ProponoException; -import com.sun.syndication.feed.atom.Entry; -import com.sun.syndication.io.impl.Atom10Parser; +import com.rometools.rome.feed.atom.Entry; +import com.rometools.rome.io.impl.Atom10Parser; /** * This class models an Atom Publising Protocol Service Document. It extends the common - * {@link com.sun.syndication.propono.atom.common.Collection} class to add a getEntry() - * method and to return {@link com.sun.syndication.propono.atom.client.ClientWorkspace} objects - * instead of common {@link com.sun.syndication.propono.atom.common.Workspace}s. + * {@link com.rometools.rome.propono.atom.common.Collection} class to add a getEntry() + * method and to return {@link com.rometools.rome.propono.atom.client.ClientWorkspace} objects + * instead of common {@link com.rometools.rome.propono.atom.common.Workspace}s. */ public class ClientAtomService extends AtomService { diff --git a/src/main/java/com/rometools/propono/atom/client/ClientCategories.java b/src/main/java/com/rometools/propono/atom/client/ClientCategories.java index 83286ec..229430d 100644 --- a/src/main/java/com/rometools/propono/atom/client/ClientCategories.java +++ b/src/main/java/com/rometools/propono/atom/client/ClientCategories.java @@ -31,7 +31,7 @@ import com.rometools.propono.utils.ProponoException; /** * Models an Atom protocol Categories element, which may contain ROME Atom - * {@link com.sun.syndication.feed.atom.Category} elements. + * {@link com.rometools.rome.feed.atom.Category} elements. */ public class ClientCategories extends Categories { private ClientCollection clientCollection = null; diff --git a/src/main/java/com/rometools/propono/atom/client/ClientCollection.java b/src/main/java/com/rometools/propono/atom/client/ClientCollection.java index e6cb354..a96f0b8 100644 --- a/src/main/java/com/rometools/propono/atom/client/ClientCollection.java +++ b/src/main/java/com/rometools/propono/atom/client/ClientCollection.java @@ -32,8 +32,8 @@ import com.rometools.propono.atom.common.Categories; import com.rometools.propono.atom.common.Collection; import com.rometools.propono.atom.common.Workspace; import com.rometools.propono.utils.ProponoException; -import com.sun.syndication.feed.atom.Entry; -import com.sun.syndication.io.impl.Atom10Parser; +import com.rometools.rome.feed.atom.Entry; +import com.rometools.rome.io.impl.Atom10Parser; /** * Models an Atom collection, extends Collection and adds methods for adding, retrieving, updateing diff --git a/src/main/java/com/rometools/propono/atom/client/ClientEntry.java b/src/main/java/com/rometools/propono/atom/client/ClientEntry.java index 8d25295..1af10cb 100644 --- a/src/main/java/com/rometools/propono/atom/client/ClientEntry.java +++ b/src/main/java/com/rometools/propono/atom/client/ClientEntry.java @@ -38,11 +38,11 @@ import org.slf4j.LoggerFactory; import com.rometools.propono.utils.ProponoException; import com.rometools.propono.utils.Utilities; -import com.sun.syndication.feed.atom.Content; -import com.sun.syndication.feed.atom.Entry; -import com.sun.syndication.feed.atom.Link; -import com.sun.syndication.io.impl.Atom10Generator; -import com.sun.syndication.io.impl.Atom10Parser; +import com.rometools.rome.feed.atom.Content; +import com.rometools.rome.feed.atom.Entry; +import com.rometools.rome.feed.atom.Link; +import com.rometools.rome.io.impl.Atom10Generator; +import com.rometools.rome.io.impl.Atom10Parser; /** * Client implementation of Atom entry, extends ROME Entry to add methods for easily getting/setting @@ -130,8 +130,8 @@ public class ClientEntry extends Entry { * Update entry by posting new representation of entry to server. Note that you should not * attempt to update entries that you get from iterating over a collection they may be "partial" * entries. If you want to update an entry, you must get it via one of the - * getEntry() methods in {@link com.sun.syndication.propono.atom.common.Collection} - * or {@link com.sun.syndication.propono.atom.common.AtomService}. + * getEntry() methods in {@link com.rometools.rome.propono.atom.common.Collection} + * or {@link com.rometools.rome.propono.atom.common.AtomService}. * * @throws ProponoException If entry is a "partial" entry. */ diff --git a/src/main/java/com/rometools/propono/atom/client/ClientMediaEntry.java b/src/main/java/com/rometools/propono/atom/client/ClientMediaEntry.java index baa9ab2..049f039 100644 --- a/src/main/java/com/rometools/propono/atom/client/ClientMediaEntry.java +++ b/src/main/java/com/rometools/propono/atom/client/ClientMediaEntry.java @@ -39,12 +39,12 @@ import org.slf4j.LoggerFactory; import com.rometools.propono.utils.ProponoException; import com.rometools.propono.utils.Utilities; -import com.sun.syndication.feed.atom.Content; -import com.sun.syndication.feed.atom.Entry; -import com.sun.syndication.feed.atom.Link; -import com.sun.syndication.io.FeedException; -import com.sun.syndication.io.impl.Atom10Generator; -import com.sun.syndication.io.impl.Atom10Parser; +import com.rometools.rome.feed.atom.Content; +import com.rometools.rome.feed.atom.Entry; +import com.rometools.rome.feed.atom.Link; +import com.rometools.rome.io.FeedException; +import com.rometools.rome.io.impl.Atom10Generator; +import com.rometools.rome.io.impl.Atom10Parser; /** * Client implementation of Atom media-link entry, an Atom entry that provides meta-data for a media diff --git a/src/main/java/com/rometools/propono/atom/client/ClientWorkspace.java b/src/main/java/com/rometools/propono/atom/client/ClientWorkspace.java index 399e2c0..e06b7e0 100644 --- a/src/main/java/com/rometools/propono/atom/client/ClientWorkspace.java +++ b/src/main/java/com/rometools/propono/atom/client/ClientWorkspace.java @@ -25,9 +25,9 @@ import com.rometools.propono.utils.ProponoException; /** * Represents Atom protocol workspace on client-side. It extends the common - * {@link com.sun.syndication.propono.atom.common.Workspace} to return - * {@link com.sun.syndication.propono.atom.client.ClientCollection} objects instead of common - * {@link com.sun.syndication.propono.atom.common.Collection}s. + * {@link com.rometools.rome.propono.atom.common.Workspace} to return + * {@link com.rometools.rome.propono.atom.client.ClientCollection} objects instead of common + * {@link com.rometools.rome.propono.atom.common.Collection}s. */ public class ClientWorkspace extends Workspace { diff --git a/src/main/java/com/rometools/propono/atom/client/EntryIterator.java b/src/main/java/com/rometools/propono/atom/client/EntryIterator.java index a9c8202..a92d2ba 100644 --- a/src/main/java/com/rometools/propono/atom/client/EntryIterator.java +++ b/src/main/java/com/rometools/propono/atom/client/EntryIterator.java @@ -26,10 +26,10 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.rometools.propono.utils.ProponoException; -import com.sun.syndication.feed.atom.Entry; -import com.sun.syndication.feed.atom.Feed; -import com.sun.syndication.feed.atom.Link; -import com.sun.syndication.io.WireFeedInput; +import com.rometools.rome.feed.atom.Entry; +import com.rometools.rome.feed.atom.Feed; +import com.rometools.rome.feed.atom.Link; +import com.rometools.rome.io.WireFeedInput; /** * Enables iteration over entries in Atom protocol collection. diff --git a/src/main/java/com/rometools/propono/atom/common/Categories.java b/src/main/java/com/rometools/propono/atom/common/Categories.java index 067a1ba..c3bde6e 100644 --- a/src/main/java/com/rometools/propono/atom/common/Categories.java +++ b/src/main/java/com/rometools/propono/atom/common/Categories.java @@ -22,12 +22,12 @@ import java.util.List; import org.jdom2.Element; -import com.sun.syndication.feed.atom.Category; -import com.sun.syndication.io.impl.Atom10Parser; +import com.rometools.rome.feed.atom.Category; +import com.rometools.rome.io.impl.Atom10Parser; /** * Models an Atom protocol Categories element, which may contain ROME Atom - * {@link com.sun.syndication.feed.atom.Category} elements. + * {@link com.rometools.rome.feed.atom.Category} elements. */ public class Categories { @@ -56,7 +56,7 @@ public class Categories { /** * Iterate over Category objects * - * @return List of ROME Atom {@link com.sun.syndication.feed.atom.Category} + * @return List of ROME Atom {@link com.rometools.rome.feed.atom.Category} */ public List getCategories() { return categories; diff --git a/src/main/java/com/rometools/propono/atom/common/Collection.java b/src/main/java/com/rometools/propono/atom/common/Collection.java index a0037db..9fb0834 100644 --- a/src/main/java/com/rometools/propono/atom/common/Collection.java +++ b/src/main/java/com/rometools/propono/atom/common/Collection.java @@ -23,7 +23,7 @@ import java.util.List; import org.jdom2.Element; import com.rometools.propono.utils.ProponoException; -import com.sun.syndication.io.impl.Atom10Parser; +import com.rometools.rome.io.impl.Atom10Parser; /** * Models an Atom workspace collection. @@ -150,7 +150,7 @@ public class Collection { /** * Get categories allowed by collection. * - * @return Collection of {@link com.sun.syndication.propono.atom.common.Categories} objects. + * @return Collection of {@link com.rometools.rome.propono.atom.common.Categories} objects. */ public List getCategories() { return categories; diff --git a/src/main/java/com/rometools/propono/atom/common/rome/AppModule.java b/src/main/java/com/rometools/propono/atom/common/rome/AppModule.java index 5811a90..dde22be 100644 --- a/src/main/java/com/rometools/propono/atom/common/rome/AppModule.java +++ b/src/main/java/com/rometools/propono/atom/common/rome/AppModule.java @@ -21,7 +21,7 @@ package com.rometools.propono.atom.common.rome; import java.util.Date; -import com.sun.syndication.feed.module.Module; +import com.rometools.rome.feed.module.Module; /** * ROME Extension Module to Atom protocol extensions to Atom format. diff --git a/src/main/java/com/rometools/propono/atom/common/rome/AppModuleGenerator.java b/src/main/java/com/rometools/propono/atom/common/rome/AppModuleGenerator.java index 221a535..7f57b6d 100644 --- a/src/main/java/com/rometools/propono/atom/common/rome/AppModuleGenerator.java +++ b/src/main/java/com/rometools/propono/atom/common/rome/AppModuleGenerator.java @@ -29,8 +29,8 @@ import java.util.TimeZone; import org.jdom2.Element; import org.jdom2.Namespace; -import com.sun.syndication.feed.module.Module; -import com.sun.syndication.io.ModuleGenerator; +import com.rometools.rome.feed.module.Module; +import com.rometools.rome.io.ModuleGenerator; /** * Creates JDOM representation for APP Extension Module. diff --git a/src/main/java/com/rometools/propono/atom/common/rome/AppModuleImpl.java b/src/main/java/com/rometools/propono/atom/common/rome/AppModuleImpl.java index 273e8f6..c1a42e3 100644 --- a/src/main/java/com/rometools/propono/atom/common/rome/AppModuleImpl.java +++ b/src/main/java/com/rometools/propono/atom/common/rome/AppModuleImpl.java @@ -22,8 +22,8 @@ package com.rometools.propono.atom.common.rome; import java.util.Date; -import com.sun.syndication.feed.CopyFrom; -import com.sun.syndication.feed.module.ModuleImpl; +import com.rometools.rome.feed.CopyFrom; +import com.rometools.rome.feed.module.ModuleImpl; /** * Bean representation of APP module. diff --git a/src/main/java/com/rometools/propono/atom/common/rome/AppModuleParser.java b/src/main/java/com/rometools/propono/atom/common/rome/AppModuleParser.java index 99ae4f0..a9d0e87 100644 --- a/src/main/java/com/rometools/propono/atom/common/rome/AppModuleParser.java +++ b/src/main/java/com/rometools/propono/atom/common/rome/AppModuleParser.java @@ -24,9 +24,9 @@ import java.util.Locale; import org.jdom2.Element; import org.jdom2.Namespace; -import com.sun.syndication.feed.module.Module; -import com.sun.syndication.io.ModuleParser; -import com.sun.syndication.io.impl.DateParser; +import com.rometools.rome.feed.module.Module; +import com.rometools.rome.io.ModuleParser; +import com.rometools.rome.io.impl.DateParser; /** * Parses APP module information from a JDOM element and into AppModule form. diff --git a/src/main/java/com/rometools/propono/atom/server/AtomException.java b/src/main/java/com/rometools/propono/atom/server/AtomException.java index 8fe0930..c8d06e4 100644 --- a/src/main/java/com/rometools/propono/atom/server/AtomException.java +++ b/src/main/java/com/rometools/propono/atom/server/AtomException.java @@ -22,7 +22,7 @@ package com.rometools.propono.atom.server; import javax.servlet.http.HttpServletResponse; /** - * Exception thrown by {@link com.sun.syndication.propono.atom.server.AtomHandler} and extended by + * Exception thrown by {@link com.rometools.rome.propono.atom.server.AtomHandler} and extended by * other Propono Atom exception classes. */ public class AtomException extends Exception { diff --git a/src/main/java/com/rometools/propono/atom/server/AtomHandler.java b/src/main/java/com/rometools/propono/atom/server/AtomHandler.java index 6a5b061..f08762b 100644 --- a/src/main/java/com/rometools/propono/atom/server/AtomHandler.java +++ b/src/main/java/com/rometools/propono/atom/server/AtomHandler.java @@ -21,15 +21,15 @@ package com.rometools.propono.atom.server; import com.rometools.propono.atom.common.AtomService; import com.rometools.propono.atom.common.Categories; -import com.sun.syndication.feed.atom.Entry; -import com.sun.syndication.feed.atom.Feed; +import com.rometools.rome.feed.atom.Entry; +import com.rometools.rome.feed.atom.Feed; /** * Interface for handling single Atom protocol requests. * *

* To create your own Atom protocol implementation you must implement this interface and create a - * concrete sub-class of {@link com.sun.syndication.propono.atom.server.AtomHandlerFactory} which is + * concrete sub-class of {@link com.rometools.rome.propono.atom.server.AtomHandlerFactory} which is * capable of instantiating it. *

*/ @@ -40,10 +40,10 @@ public interface AtomHandler { public String getAuthenticatedUsername(); /** - * Return {@link com.sun.syndication.propono.atom.common.AtomService} object that contains the - * {@link com.sun.syndication.propono.atom.common.Workspace} objects available to the currently + * Return {@link com.rometools.rome.propono.atom.common.AtomService} object that contains the + * {@link com.rometools.rome.propono.atom.common.Workspace} objects available to the currently * authenticated user and within those the - * {@link com.sun.syndication.propono.atom.common.Collection} avalaible. + * {@link com.rometools.rome.propono.atom.common.Collection} avalaible. */ public AtomService getAtomService(AtomRequest req) throws AtomException; diff --git a/src/main/java/com/rometools/propono/atom/server/AtomHandlerFactory.java b/src/main/java/com/rometools/propono/atom/server/AtomHandlerFactory.java index f8dd35b..3bd635f 100644 --- a/src/main/java/com/rometools/propono/atom/server/AtomHandlerFactory.java +++ b/src/main/java/com/rometools/propono/atom/server/AtomHandlerFactory.java @@ -22,14 +22,14 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * Defines a factory that enables the {@link com.sun.syndication.propono.atom.server.AtomServlet} to - * obtain an {@link com.sun.syndication.propono.atom.server.AtomHandler} that handles an Atom + * Defines a factory that enables the {@link com.rometools.rome.propono.atom.server.AtomServlet} to + * obtain an {@link com.rometools.rome.propono.atom.server.AtomHandler} that handles an Atom * request. * *

* To create your own Atom protocol implementation you must sub-class this class with your own * factory that is capable of creating instances of your - * {@link com.sun.syndication.propono.atom.server.AtomHandler} impementation. + * {@link com.rometools.rome.propono.atom.server.AtomHandler} impementation. *

*/ public abstract class AtomHandlerFactory { @@ -51,7 +51,7 @@ public abstract class AtomHandlerFactory { * AtomHandlerFactory implementation class to load: *