Renamed and harmonized packages
This commit is contained in:
parent
ed8691df13
commit
46b852cf80
197 changed files with 1109 additions and 1098 deletions
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed;
|
package com.rometools.rome.feed;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Alejandro Abdelnur
|
* @author Alejandro Abdelnur
|
|
@ -15,18 +15,18 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed;
|
package com.rometools.rome.feed;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
import com.rometools.rome.feed.module.Extendable;
|
||||||
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
import com.rometools.rome.feed.module.impl.ModuleUtils;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
|
||||||
import com.sun.syndication.feed.module.Extendable;
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
|
||||||
import com.sun.syndication.feed.module.impl.ModuleUtils;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parent class of the RSS (Channel) and Atom (Feed) feed beans.
|
* Parent class of the RSS (Channel) and Atom (Feed) feed beans.
|
|
@ -14,12 +14,12 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.atom;
|
package com.rometools.rome.feed.atom;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
import com.rometools.utils.Alternatives;
|
import com.rometools.utils.Alternatives;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for category elements of Atom feeds.
|
* Bean for category elements of Atom feeds.
|
|
@ -14,14 +14,14 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.atom;
|
package com.rometools.rome.feed.atom;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
import com.rometools.utils.Strings;
|
import com.rometools.utils.Strings;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for content elements of Atom feeds.
|
* Bean for content elements of Atom feeds.
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.atom;
|
package com.rometools.rome.feed.atom;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -22,13 +22,13 @@ import java.util.List;
|
||||||
|
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
import com.rometools.rome.feed.module.Extendable;
|
||||||
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
import com.rometools.rome.feed.module.impl.ModuleUtils;
|
||||||
|
import com.rometools.rome.feed.synd.SyndPerson;
|
||||||
import com.rometools.utils.Dates;
|
import com.rometools.utils.Dates;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
|
||||||
import com.sun.syndication.feed.module.Extendable;
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
|
||||||
import com.sun.syndication.feed.module.impl.ModuleUtils;
|
|
||||||
import com.sun.syndication.feed.synd.SyndPerson;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for entry elements of Atom feeds.
|
* Bean for entry elements of Atom feeds.
|
|
@ -14,16 +14,16 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.atom;
|
package com.rometools.rome.feed.atom;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
import com.rometools.rome.feed.module.impl.ModuleUtils;
|
||||||
|
import com.rometools.rome.feed.synd.SyndPerson;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.WireFeed;
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
|
||||||
import com.sun.syndication.feed.module.impl.ModuleUtils;
|
|
||||||
import com.sun.syndication.feed.synd.SyndPerson;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for Atom feeds.
|
* Bean for Atom feeds.
|
||||||
|
@ -249,7 +249,7 @@ public class Feed extends WireFeed {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the feed tagline (Atom 0.3, maps to
|
* Sets the feed tagline (Atom 0.3, maps to
|
||||||
* {@link #setSubtitle(com.sun.syndication.feed.atom.Content)}).
|
* {@link #setSubtitle(com.rometools.rome.feed.atom.Content)}).
|
||||||
* <p>
|
* <p>
|
||||||
*
|
*
|
||||||
* @param tagline the feed tagline to set, <b>null</b> if none.
|
* @param tagline the feed tagline to set, <b>null</b> if none.
|
|
@ -14,11 +14,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.atom;
|
package com.rometools.rome.feed.atom;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for the generator element of Atom feeds.
|
* Bean for the generator element of Atom feeds.
|
|
@ -14,12 +14,12 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.atom;
|
package com.rometools.rome.feed.atom;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
import com.rometools.utils.Alternatives;
|
import com.rometools.utils.Alternatives;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for link elements of Atom feeds.
|
* Bean for link elements of Atom feeds.
|
|
@ -14,18 +14,18 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.atom;
|
package com.rometools.rome.feed.atom;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
import com.rometools.rome.feed.module.Extendable;
|
||||||
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
import com.rometools.rome.feed.module.impl.ModuleUtils;
|
||||||
|
import com.rometools.rome.feed.synd.SyndPerson;
|
||||||
import com.rometools.utils.Alternatives;
|
import com.rometools.utils.Alternatives;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
|
||||||
import com.sun.syndication.feed.module.Extendable;
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
|
||||||
import com.sun.syndication.feed.module.impl.ModuleUtils;
|
|
||||||
import com.sun.syndication.feed.synd.SyndPerson;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for person elements of Atom feeds.
|
* Bean for person elements of Atom feeds.
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.impl;
|
package com.rometools.rome.feed.impl;
|
||||||
|
|
||||||
import java.beans.IntrospectionException;
|
import java.beans.IntrospectionException;
|
||||||
import java.beans.Introspector;
|
import java.beans.Introspector;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.impl;
|
package com.rometools.rome.feed.impl;
|
||||||
|
|
||||||
import java.beans.PropertyDescriptor;
|
import java.beans.PropertyDescriptor;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.sun.syndication.feed.impl;
|
package com.rometools.rome.feed.impl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class addresses some ClassLoader problems in OSGi environments. If you have ClassLoader
|
* This class addresses some ClassLoader problems in OSGi environments. If you have ClassLoader
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.impl;
|
package com.rometools.rome.feed.impl;
|
||||||
|
|
||||||
import java.beans.PropertyDescriptor;
|
import java.beans.PropertyDescriptor;
|
||||||
import java.lang.reflect.Array;
|
import java.lang.reflect.Array;
|
||||||
|
@ -33,7 +33,7 @@ import java.util.Set;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Alejandro Abdelnur
|
* @author Alejandro Abdelnur
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.impl;
|
package com.rometools.rome.feed.impl;
|
||||||
|
|
||||||
import java.beans.PropertyDescriptor;
|
import java.beans.PropertyDescriptor;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.impl;
|
package com.rometools.rome.feed.impl;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.impl;
|
package com.rometools.rome.feed.impl;
|
||||||
|
|
||||||
import java.beans.PropertyDescriptor;
|
import java.beans.PropertyDescriptor;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.module;
|
package com.rometools.rome.feed.module;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.module;
|
package com.rometools.rome.feed.module;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -24,10 +24,10 @@ import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
|
import com.rometools.rome.feed.impl.CopyFromHelper;
|
||||||
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
|
||||||
import com.sun.syndication.feed.impl.CopyFromHelper;
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dublin Core ModuleImpl, default implementation.
|
* Dublin Core ModuleImpl, default implementation.
|
|
@ -14,9 +14,9 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.module;
|
package com.rometools.rome.feed.module;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Subject of the Dublin Core ModuleImpl.
|
* Subject of the Dublin Core ModuleImpl.
|
|
@ -14,16 +14,16 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.module;
|
package com.rometools.rome.feed.module;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
import com.sun.syndication.feed.impl.CopyFromHelper;
|
import com.rometools.rome.feed.impl.CopyFromHelper;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Subject of the Dublin Core ModuleImpl, default implementation.
|
* Subject of the Dublin Core ModuleImpl, default implementation.
|
|
@ -15,7 +15,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.sun.syndication.feed.module;
|
package com.rometools.rome.feed.module;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -14,11 +14,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.module;
|
package com.rometools.rome.feed.module;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for modules describing Metadata of feeds. Examples of such modules are the Dublin Core
|
* Base class for modules describing Metadata of feeds. Examples of such modules are the Dublin Core
|
|
@ -14,11 +14,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.module;
|
package com.rometools.rome.feed.module;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for modules describing Metadata of feeds, default implementations. Examples of such
|
* Base class for modules describing Metadata of feeds, default implementations. Examples of such
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.module;
|
package com.rometools.rome.feed.module;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.module;
|
package com.rometools.rome.feed.module;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -23,9 +23,9 @@ import java.util.HashSet;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
|
import com.rometools.rome.feed.impl.CopyFromHelper;
|
||||||
import com.rometools.utils.Dates;
|
import com.rometools.utils.Dates;
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
|
||||||
import com.sun.syndication.feed.impl.CopyFromHelper;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Syndication ModuleImpl, default implementation.
|
* Syndication ModuleImpl, default implementation.
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.module.impl;
|
package com.rometools.rome.feed.module.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -22,7 +22,7 @@ import java.util.List;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
|
@ -15,11 +15,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.rss;
|
package com.rometools.rome.feed.rss;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for categories of RSS feeds.
|
* Bean for categories of RSS feeds.
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.rss;
|
package com.rometools.rome.feed.rss;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -23,11 +23,11 @@ import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
import com.rometools.rome.feed.module.impl.ModuleUtils;
|
||||||
import com.rometools.utils.Dates;
|
import com.rometools.utils.Dates;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.WireFeed;
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
|
||||||
import com.sun.syndication.feed.module.impl.ModuleUtils;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for RSS feeds.
|
* Bean for RSS feeds.
|
|
@ -15,11 +15,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.rss;
|
package com.rometools.rome.feed.rss;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for clouds of RSS feeds.
|
* Bean for clouds of RSS feeds.
|
|
@ -15,11 +15,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.rss;
|
package com.rometools.rome.feed.rss;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for item descriptions of RSS feeds.
|
* Bean for item descriptions of RSS feeds.
|
|
@ -15,11 +15,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.rss;
|
package com.rometools.rome.feed.rss;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for item descriptions of RSS feeds.
|
* Bean for item descriptions of RSS feeds.
|
|
@ -15,11 +15,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.rss;
|
package com.rometools.rome.feed.rss;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for item enclosures of RSS feeds.
|
* Bean for item enclosures of RSS feeds.
|
|
@ -15,11 +15,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.rss;
|
package com.rometools.rome.feed.rss;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for item GUIDs of RSS feeds.
|
* Bean for item GUIDs of RSS feeds.
|
|
@ -14,11 +14,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.rss;
|
package com.rometools.rome.feed.rss;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for images of RSS feeds.
|
* Bean for images of RSS feeds.
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.rss;
|
package com.rometools.rome.feed.rss;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -23,12 +23,12 @@ import java.util.List;
|
||||||
|
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
import com.rometools.rome.feed.module.Extendable;
|
||||||
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
import com.rometools.rome.feed.module.impl.ModuleUtils;
|
||||||
import com.rometools.utils.Dates;
|
import com.rometools.utils.Dates;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
|
||||||
import com.sun.syndication.feed.module.Extendable;
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
|
||||||
import com.sun.syndication.feed.module.impl.ModuleUtils;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for items of RSS feeds.
|
* Bean for items of RSS feeds.
|
|
@ -15,11 +15,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.rss;
|
package com.rometools.rome.feed.rss;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for item sources of RSS feeds.
|
* Bean for item sources of RSS feeds.
|
|
@ -15,11 +15,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.rss;
|
package com.rometools.rome.feed.rss;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for text input of RSS feeds.
|
* Bean for text input of RSS feeds.
|
|
@ -14,9 +14,9 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import com.sun.syndication.feed.WireFeed;
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface that defines the functionality to convert a SyndFeedImpl to a real feed (RSS or Atom)
|
* Interface that defines the functionality to convert a SyndFeedImpl to a real feed (RSS or Atom)
|
|
@ -15,9 +15,9 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean interface for categories of SyndFeedImpl feeds and entries.
|
* Bean interface for categories of SyndFeedImpl feeds and entries.
|
|
@ -15,18 +15,18 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
import com.sun.syndication.feed.impl.CopyFromHelper;
|
import com.rometools.rome.feed.impl.CopyFromHelper;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
import com.sun.syndication.feed.module.DCSubject;
|
import com.rometools.rome.feed.module.DCSubject;
|
||||||
import com.sun.syndication.feed.module.DCSubjectImpl;
|
import com.rometools.rome.feed.module.DCSubjectImpl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for categories of SyndFeedImpl feeds and entries.
|
* Bean for categories of SyndFeedImpl feeds and entries.
|
|
@ -1,10 +1,10 @@
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import java.util.AbstractList;
|
import java.util.AbstractList;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.sun.syndication.feed.module.DCSubject;
|
import com.rometools.rome.feed.module.DCSubject;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List implementation for SyndCategoryImpl elements. To be directly used by the SyndFeedImpl and
|
* List implementation for SyndCategoryImpl elements. To be directly used by the SyndFeedImpl and
|
|
@ -14,9 +14,9 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean interface for content of SyndFeedImpl entries.
|
* Bean interface for content of SyndFeedImpl entries.
|
|
@ -14,16 +14,16 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
import com.sun.syndication.feed.impl.CopyFromHelper;
|
import com.rometools.rome.feed.impl.CopyFromHelper;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for content of SyndFeedImpl entries.
|
* Bean for content of SyndFeedImpl entries.
|
|
@ -1,6 +1,6 @@
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Alejandro Abdelnur
|
* @author Alejandro Abdelnur
|
|
@ -1,13 +1,13 @@
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
import com.sun.syndication.feed.impl.CopyFromHelper;
|
import com.rometools.rome.feed.impl.CopyFromHelper;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Alejandro Abdelnur
|
* @author Alejandro Abdelnur
|
|
@ -14,16 +14,16 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
import com.sun.syndication.feed.module.Extendable;
|
import com.rometools.rome.feed.module.Extendable;
|
||||||
import com.sun.syndication.feed.module.Module;
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean interface for entries of SyndFeedImpl feeds.
|
* Bean interface for entries of SyndFeedImpl feeds.
|
||||||
|
@ -347,8 +347,8 @@ public interface SyndEntry extends Cloneable, CopyFrom, Extendable {
|
||||||
/**
|
/**
|
||||||
* Return the original item this SyndEntry is generated from. The type of the object returned
|
* Return the original item this SyndEntry is generated from. The type of the object returned
|
||||||
* depends on the original type of the feed. Atom 0.3/1.0 will return
|
* depends on the original type of the feed. Atom 0.3/1.0 will return
|
||||||
* com.sun.syndication.feed.atom.Entry, while RSS will return
|
* com.rometools.rome.feed.atom.Entry, while RSS will return
|
||||||
* com.sun.syndication.feed.rss.Item.java. If this entry was not generated from a WireFeed, or
|
* com.rometools.rome.feed.rss.Item.java. If this entry was not generated from a WireFeed, or
|
||||||
* the SyndFeed was not set to preserve the WireFeed then it will return null
|
* the SyndFeed was not set to preserve the WireFeed then it will return null
|
||||||
*
|
*
|
||||||
* @return the WireFeed Item or Entry this Entry is generated from, or null
|
* @return the WireFeed Item or Entry this Entry is generated from, or null
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -28,19 +28,19 @@ import java.util.Set;
|
||||||
|
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
|
import com.rometools.rome.feed.impl.CopyFromHelper;
|
||||||
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
import com.rometools.rome.feed.module.DCModule;
|
||||||
|
import com.rometools.rome.feed.module.DCModuleImpl;
|
||||||
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
import com.rometools.rome.feed.module.SyModule;
|
||||||
|
import com.rometools.rome.feed.module.SyModuleImpl;
|
||||||
|
import com.rometools.rome.feed.module.impl.ModuleUtils;
|
||||||
|
import com.rometools.rome.feed.synd.impl.URINormalizer;
|
||||||
import com.rometools.utils.Dates;
|
import com.rometools.utils.Dates;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.rometools.utils.Strings;
|
import com.rometools.utils.Strings;
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
|
||||||
import com.sun.syndication.feed.impl.CopyFromHelper;
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
|
||||||
import com.sun.syndication.feed.module.DCModule;
|
|
||||||
import com.sun.syndication.feed.module.DCModuleImpl;
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
|
||||||
import com.sun.syndication.feed.module.SyModule;
|
|
||||||
import com.sun.syndication.feed.module.SyModuleImpl;
|
|
||||||
import com.sun.syndication.feed.module.impl.ModuleUtils;
|
|
||||||
import com.sun.syndication.feed.synd.impl.URINormalizer;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for entries of SyndFeedImpl feeds.
|
* Bean for entries of SyndFeedImpl feeds.
|
||||||
|
@ -72,7 +72,7 @@ public class SyndEntryImpl implements Serializable, SyndEntry {
|
||||||
private SyndFeed source;
|
private SyndFeed source;
|
||||||
private List<Element> foreignMarkup;
|
private List<Element> foreignMarkup;
|
||||||
|
|
||||||
// com.sun.syndication.feed.atom.Entry or com.sun.syndication.feed.rss.Item
|
// com.rometools.rome.feed.atom.Entry or com.rometools.rome.feed.rss.Item
|
||||||
private Object wireEntry;
|
private Object wireEntry;
|
||||||
|
|
||||||
// ISSUE: some converters assume this is never null
|
// ISSUE: some converters assume this is never null
|
|
@ -14,17 +14,17 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
import com.sun.syndication.feed.WireFeed;
|
import com.rometools.rome.feed.WireFeed;
|
||||||
import com.sun.syndication.feed.module.Extendable;
|
import com.rometools.rome.feed.module.Extendable;
|
||||||
import com.sun.syndication.feed.module.Module;
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean interface for all types of feeds.
|
* Bean interface for all types of feeds.
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
@ -27,19 +27,19 @@ import java.util.Set;
|
||||||
|
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
import com.rometools.rome.feed.impl.CopyFromHelper;
|
||||||
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
import com.rometools.rome.feed.module.DCModule;
|
||||||
|
import com.rometools.rome.feed.module.DCModuleImpl;
|
||||||
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
import com.rometools.rome.feed.module.SyModule;
|
||||||
|
import com.rometools.rome.feed.module.SyModuleImpl;
|
||||||
|
import com.rometools.rome.feed.module.impl.ModuleUtils;
|
||||||
|
import com.rometools.rome.feed.synd.impl.Converters;
|
||||||
|
import com.rometools.rome.feed.synd.impl.URINormalizer;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
|
||||||
import com.sun.syndication.feed.WireFeed;
|
|
||||||
import com.sun.syndication.feed.impl.CopyFromHelper;
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
|
||||||
import com.sun.syndication.feed.module.DCModule;
|
|
||||||
import com.sun.syndication.feed.module.DCModuleImpl;
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
|
||||||
import com.sun.syndication.feed.module.SyModule;
|
|
||||||
import com.sun.syndication.feed.module.SyModuleImpl;
|
|
||||||
import com.sun.syndication.feed.module.impl.ModuleUtils;
|
|
||||||
import com.sun.syndication.feed.synd.impl.Converters;
|
|
||||||
import com.sun.syndication.feed.synd.impl.URINormalizer;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for all types of feeds.
|
* Bean for all types of feeds.
|
|
@ -15,9 +15,9 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean interface for images of SyndFeedImpl feeds.
|
* Bean interface for images of SyndFeedImpl feeds.
|
|
@ -14,16 +14,16 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.sun.syndication.feed.CopyFrom;
|
import com.rometools.rome.feed.CopyFrom;
|
||||||
import com.sun.syndication.feed.impl.CopyFromHelper;
|
import com.rometools.rome.feed.impl.CopyFromHelper;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for images of SyndFeedImpl feeds.
|
* Bean for images of SyndFeedImpl feeds.
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a link or enclosure associated with entry.
|
* Represents a link or enclosure associated with entry.
|
|
@ -15,11 +15,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a link or an enclosure.
|
* Represents a link or an enclosure.
|
|
@ -15,9 +15,9 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import com.sun.syndication.feed.module.Extendable;
|
import com.rometools.rome.feed.module.Extendable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean interface for authors and contributors of SyndFeedImpl feeds and entries.
|
* Bean interface for authors and contributors of SyndFeedImpl feeds and entries.
|
|
@ -15,15 +15,15 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd;
|
package com.rometools.rome.feed.synd;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.impl.ObjectBean;
|
||||||
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
import com.rometools.rome.feed.module.impl.ModuleUtils;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.impl.ObjectBean;
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
|
||||||
import com.sun.syndication.feed.module.impl.ModuleUtils;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bean for authors and contributors of SyndFeedImpl feeds and entries.
|
* Bean for authors and contributors of SyndFeedImpl feeds and entries.
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd.impl;
|
package com.rometools.rome.feed.synd.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -23,30 +23,30 @@ import java.util.List;
|
||||||
|
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
import com.rometools.rome.feed.atom.Content;
|
||||||
|
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.feed.atom.Person;
|
||||||
|
import com.rometools.rome.feed.module.impl.ModuleUtils;
|
||||||
|
import com.rometools.rome.feed.synd.Converter;
|
||||||
|
import com.rometools.rome.feed.synd.SyndContent;
|
||||||
|
import com.rometools.rome.feed.synd.SyndContentImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndEnclosure;
|
||||||
|
import com.rometools.rome.feed.synd.SyndEnclosureImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndEntry;
|
||||||
|
import com.rometools.rome.feed.synd.SyndEntryImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
|
import com.rometools.rome.feed.synd.SyndImage;
|
||||||
|
import com.rometools.rome.feed.synd.SyndImageImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndLink;
|
||||||
|
import com.rometools.rome.feed.synd.SyndLinkImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndPerson;
|
||||||
|
import com.rometools.rome.feed.synd.SyndPersonImpl;
|
||||||
import com.rometools.utils.Alternatives;
|
import com.rometools.utils.Alternatives;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.rometools.utils.Strings;
|
import com.rometools.utils.Strings;
|
||||||
import com.sun.syndication.feed.WireFeed;
|
|
||||||
import com.sun.syndication.feed.atom.Content;
|
|
||||||
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.feed.atom.Person;
|
|
||||||
import com.sun.syndication.feed.module.impl.ModuleUtils;
|
|
||||||
import com.sun.syndication.feed.synd.Converter;
|
|
||||||
import com.sun.syndication.feed.synd.SyndContent;
|
|
||||||
import com.sun.syndication.feed.synd.SyndContentImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndEnclosure;
|
|
||||||
import com.sun.syndication.feed.synd.SyndEnclosureImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndEntry;
|
|
||||||
import com.sun.syndication.feed.synd.SyndEntryImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndFeed;
|
|
||||||
import com.sun.syndication.feed.synd.SyndImage;
|
|
||||||
import com.sun.syndication.feed.synd.SyndImageImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndLink;
|
|
||||||
import com.sun.syndication.feed.synd.SyndLinkImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndPerson;
|
|
||||||
import com.sun.syndication.feed.synd.SyndPersonImpl;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd.impl;
|
package com.rometools.rome.feed.synd.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -22,32 +22,32 @@ import java.util.List;
|
||||||
|
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
import com.rometools.rome.feed.atom.Category;
|
||||||
|
import com.rometools.rome.feed.atom.Content;
|
||||||
|
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.feed.atom.Person;
|
||||||
|
import com.rometools.rome.feed.module.impl.ModuleUtils;
|
||||||
|
import com.rometools.rome.feed.synd.Converter;
|
||||||
|
import com.rometools.rome.feed.synd.SyndCategory;
|
||||||
|
import com.rometools.rome.feed.synd.SyndCategoryImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndContent;
|
||||||
|
import com.rometools.rome.feed.synd.SyndContentImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndEnclosure;
|
||||||
|
import com.rometools.rome.feed.synd.SyndEnclosureImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndEntry;
|
||||||
|
import com.rometools.rome.feed.synd.SyndEntryImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
|
import com.rometools.rome.feed.synd.SyndFeedImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndImage;
|
||||||
|
import com.rometools.rome.feed.synd.SyndImageImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndLink;
|
||||||
|
import com.rometools.rome.feed.synd.SyndLinkImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndPerson;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.rometools.utils.Strings;
|
import com.rometools.utils.Strings;
|
||||||
import com.sun.syndication.feed.WireFeed;
|
|
||||||
import com.sun.syndication.feed.atom.Category;
|
|
||||||
import com.sun.syndication.feed.atom.Content;
|
|
||||||
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.feed.atom.Person;
|
|
||||||
import com.sun.syndication.feed.module.impl.ModuleUtils;
|
|
||||||
import com.sun.syndication.feed.synd.Converter;
|
|
||||||
import com.sun.syndication.feed.synd.SyndCategory;
|
|
||||||
import com.sun.syndication.feed.synd.SyndCategoryImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndContent;
|
|
||||||
import com.sun.syndication.feed.synd.SyndContentImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndEnclosure;
|
|
||||||
import com.sun.syndication.feed.synd.SyndEnclosureImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndEntry;
|
|
||||||
import com.sun.syndication.feed.synd.SyndEntryImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndFeed;
|
|
||||||
import com.sun.syndication.feed.synd.SyndFeedImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndImage;
|
|
||||||
import com.sun.syndication.feed.synd.SyndImageImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndLink;
|
|
||||||
import com.sun.syndication.feed.synd.SyndLinkImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndPerson;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
|
@ -14,27 +14,27 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd.impl;
|
package com.rometools.rome.feed.synd.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
|
|
||||||
import com.sun.syndication.feed.WireFeed;
|
import com.rometools.rome.feed.WireFeed;
|
||||||
import com.sun.syndication.feed.module.impl.ModuleUtils;
|
import com.rometools.rome.feed.module.impl.ModuleUtils;
|
||||||
import com.sun.syndication.feed.rss.Channel;
|
import com.rometools.rome.feed.rss.Channel;
|
||||||
import com.sun.syndication.feed.rss.Image;
|
import com.rometools.rome.feed.rss.Image;
|
||||||
import com.sun.syndication.feed.rss.Item;
|
import com.rometools.rome.feed.rss.Item;
|
||||||
import com.sun.syndication.feed.rss.Source;
|
import com.rometools.rome.feed.rss.Source;
|
||||||
import com.sun.syndication.feed.synd.Converter;
|
import com.rometools.rome.feed.synd.Converter;
|
||||||
import com.sun.syndication.feed.synd.SyndEntry;
|
import com.rometools.rome.feed.synd.SyndEntry;
|
||||||
import com.sun.syndication.feed.synd.SyndEntryImpl;
|
import com.rometools.rome.feed.synd.SyndEntryImpl;
|
||||||
import com.sun.syndication.feed.synd.SyndFeed;
|
import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
import com.sun.syndication.feed.synd.SyndFeedImpl;
|
import com.rometools.rome.feed.synd.SyndFeedImpl;
|
||||||
import com.sun.syndication.feed.synd.SyndImage;
|
import com.rometools.rome.feed.synd.SyndImage;
|
||||||
import com.sun.syndication.feed.synd.SyndImageImpl;
|
import com.rometools.rome.feed.synd.SyndImageImpl;
|
||||||
import com.sun.syndication.feed.synd.SyndLink;
|
import com.rometools.rome.feed.synd.SyndLink;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd.impl;
|
package com.rometools.rome.feed.synd.impl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd.impl;
|
package com.rometools.rome.feed.synd.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -22,20 +22,20 @@ import java.util.LinkedHashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
import com.rometools.rome.feed.module.DCModule;
|
||||||
|
import com.rometools.rome.feed.rss.Channel;
|
||||||
|
import com.rometools.rome.feed.rss.Content;
|
||||||
|
import com.rometools.rome.feed.rss.Description;
|
||||||
|
import com.rometools.rome.feed.rss.Image;
|
||||||
|
import com.rometools.rome.feed.rss.Item;
|
||||||
|
import com.rometools.rome.feed.synd.SyndContent;
|
||||||
|
import com.rometools.rome.feed.synd.SyndContentImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndEntry;
|
||||||
|
import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
|
import com.rometools.rome.feed.synd.SyndImage;
|
||||||
|
import com.rometools.rome.feed.synd.SyndPerson;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.WireFeed;
|
|
||||||
import com.sun.syndication.feed.module.DCModule;
|
|
||||||
import com.sun.syndication.feed.rss.Channel;
|
|
||||||
import com.sun.syndication.feed.rss.Content;
|
|
||||||
import com.sun.syndication.feed.rss.Description;
|
|
||||||
import com.sun.syndication.feed.rss.Image;
|
|
||||||
import com.sun.syndication.feed.rss.Item;
|
|
||||||
import com.sun.syndication.feed.synd.SyndContent;
|
|
||||||
import com.sun.syndication.feed.synd.SyndContentImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndEntry;
|
|
||||||
import com.sun.syndication.feed.synd.SyndFeed;
|
|
||||||
import com.sun.syndication.feed.synd.SyndImage;
|
|
||||||
import com.sun.syndication.feed.synd.SyndPerson;
|
|
||||||
|
|
||||||
public class ConverterForRSS091Userland extends ConverterForRSS090 {
|
public class ConverterForRSS091Userland extends ConverterForRSS090 {
|
||||||
|
|
|
@ -14,21 +14,21 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd.impl;
|
package com.rometools.rome.feed.synd.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.LinkedHashSet;
|
import java.util.LinkedHashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import com.sun.syndication.feed.rss.Category;
|
import com.rometools.rome.feed.rss.Category;
|
||||||
import com.sun.syndication.feed.rss.Enclosure;
|
import com.rometools.rome.feed.rss.Enclosure;
|
||||||
import com.sun.syndication.feed.rss.Item;
|
import com.rometools.rome.feed.rss.Item;
|
||||||
import com.sun.syndication.feed.synd.SyndCategory;
|
import com.rometools.rome.feed.synd.SyndCategory;
|
||||||
import com.sun.syndication.feed.synd.SyndCategoryImpl;
|
import com.rometools.rome.feed.synd.SyndCategoryImpl;
|
||||||
import com.sun.syndication.feed.synd.SyndEnclosure;
|
import com.rometools.rome.feed.synd.SyndEnclosure;
|
||||||
import com.sun.syndication.feed.synd.SyndEnclosureImpl;
|
import com.rometools.rome.feed.synd.SyndEnclosureImpl;
|
||||||
import com.sun.syndication.feed.synd.SyndEntry;
|
import com.rometools.rome.feed.synd.SyndEntry;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
|
@ -14,12 +14,12 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd.impl;
|
package com.rometools.rome.feed.synd.impl;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
import com.sun.syndication.feed.rss.Item;
|
import com.rometools.rome.feed.rss.Item;
|
||||||
import com.sun.syndication.feed.synd.SyndEntry;
|
import com.rometools.rome.feed.synd.SyndEntry;
|
||||||
|
|
||||||
public class ConverterForRSS093 extends ConverterForRSS092 {
|
public class ConverterForRSS093 extends ConverterForRSS092 {
|
||||||
|
|
|
@ -14,26 +14,26 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd.impl;
|
package com.rometools.rome.feed.synd.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.LinkedHashSet;
|
import java.util.LinkedHashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
import com.rometools.rome.feed.module.DCModule;
|
||||||
|
import com.rometools.rome.feed.rss.Category;
|
||||||
|
import com.rometools.rome.feed.rss.Channel;
|
||||||
|
import com.rometools.rome.feed.rss.Guid;
|
||||||
|
import com.rometools.rome.feed.rss.Item;
|
||||||
|
import com.rometools.rome.feed.synd.SyndCategory;
|
||||||
|
import com.rometools.rome.feed.synd.SyndEntry;
|
||||||
|
import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
|
import com.rometools.rome.feed.synd.SyndLink;
|
||||||
|
import com.rometools.rome.feed.synd.SyndLinkImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndPerson;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.WireFeed;
|
|
||||||
import com.sun.syndication.feed.module.DCModule;
|
|
||||||
import com.sun.syndication.feed.rss.Category;
|
|
||||||
import com.sun.syndication.feed.rss.Channel;
|
|
||||||
import com.sun.syndication.feed.rss.Guid;
|
|
||||||
import com.sun.syndication.feed.rss.Item;
|
|
||||||
import com.sun.syndication.feed.synd.SyndCategory;
|
|
||||||
import com.sun.syndication.feed.synd.SyndEntry;
|
|
||||||
import com.sun.syndication.feed.synd.SyndFeed;
|
|
||||||
import com.sun.syndication.feed.synd.SyndLink;
|
|
||||||
import com.sun.syndication.feed.synd.SyndLinkImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndPerson;
|
|
||||||
|
|
||||||
public class ConverterForRSS094 extends ConverterForRSS093 {
|
public class ConverterForRSS094 extends ConverterForRSS093 {
|
||||||
|
|
|
@ -14,21 +14,21 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd.impl;
|
package com.rometools.rome.feed.synd.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
import com.rometools.rome.feed.rss.Channel;
|
||||||
|
import com.rometools.rome.feed.rss.Content;
|
||||||
|
import com.rometools.rome.feed.rss.Description;
|
||||||
|
import com.rometools.rome.feed.rss.Item;
|
||||||
|
import com.rometools.rome.feed.synd.SyndContent;
|
||||||
|
import com.rometools.rome.feed.synd.SyndContentImpl;
|
||||||
|
import com.rometools.rome.feed.synd.SyndEntry;
|
||||||
|
import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.WireFeed;
|
|
||||||
import com.sun.syndication.feed.rss.Channel;
|
|
||||||
import com.sun.syndication.feed.rss.Content;
|
|
||||||
import com.sun.syndication.feed.rss.Description;
|
|
||||||
import com.sun.syndication.feed.rss.Item;
|
|
||||||
import com.sun.syndication.feed.synd.SyndContent;
|
|
||||||
import com.sun.syndication.feed.synd.SyndContentImpl;
|
|
||||||
import com.sun.syndication.feed.synd.SyndEntry;
|
|
||||||
import com.sun.syndication.feed.synd.SyndFeed;
|
|
||||||
|
|
||||||
public class ConverterForRSS10 extends ConverterForRSS090 {
|
public class ConverterForRSS10 extends ConverterForRSS090 {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd.impl;
|
package com.rometools.rome.feed.synd.impl;
|
||||||
|
|
||||||
public class ConverterForRSS20 extends ConverterForRSS094 {
|
public class ConverterForRSS20 extends ConverterForRSS094 {
|
||||||
|
|
|
@ -14,12 +14,12 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.feed.synd.impl;
|
package com.rometools.rome.feed.synd.impl;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.sun.syndication.feed.synd.Converter;
|
import com.rometools.rome.feed.synd.Converter;
|
||||||
import com.sun.syndication.io.impl.PluginManager;
|
import com.rometools.rome.io.impl.PluginManager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by IntelliJ IDEA. User: tucu Date: May 21, 2004 Time: 5:26:04 PM To change this template
|
* Created by IntelliJ IDEA. User: tucu Date: May 21, 2004 Time: 5:26:04 PM To change this template
|
|
@ -1,4 +1,4 @@
|
||||||
package com.sun.syndication.feed.synd.impl;
|
package com.rometools.rome.feed.synd.impl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility class for normalizing an URI as specified in RFC 2396bis.
|
* Utility class for normalizing an URI as specified in RFC 2396bis.
|
|
@ -1,4 +1,4 @@
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds the ability to give a direct wire feed generator reference to plugin modules that need to
|
* Adds the ability to give a direct wire feed generator reference to plugin modules that need to
|
|
@ -1,4 +1,4 @@
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds the ability to give a direct wire feed reference to plugin modules that need to call back to
|
* Adds the ability to give a direct wire feed reference to plugin modules that need to call back to
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exception thrown by WireFeedInput, WireFeedOutput, WireFeedParser and WireFeedGenerator instances
|
* Exception thrown by WireFeedInput, WireFeedOutput, WireFeedParser and WireFeedGenerator instances
|
|
@ -14,14 +14,14 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
import org.jdom2.Namespace;
|
import org.jdom2.Namespace;
|
||||||
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Injects module metadata into a XML node (JDOM element).
|
* Injects module metadata into a XML node (JDOM element).
|
|
@ -14,13 +14,13 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
|
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses module metadata from a XML node (JDOM element).
|
* Parses module metadata from a XML node (JDOM element).
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
import org.jdom2.input.JDOMParseException;
|
import org.jdom2.input.JDOMParseException;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
import org.jdom2.JDOMException;
|
import org.jdom2.JDOMException;
|
||||||
import org.jdom2.input.sax.XMLReaderJDOMFactory;
|
import org.jdom2.input.sax.XMLReaderJDOMFactory;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
|
@ -25,8 +25,8 @@ import java.util.Locale;
|
||||||
import org.jdom2.Document;
|
import org.jdom2.Document;
|
||||||
import org.xml.sax.InputSource;
|
import org.xml.sax.InputSource;
|
||||||
|
|
||||||
import com.sun.syndication.feed.synd.SyndFeed;
|
import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
import com.sun.syndication.feed.synd.SyndFeedImpl;
|
import com.rometools.rome.feed.synd.SyndFeedImpl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom
|
* Parses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -22,7 +22,7 @@ import java.io.Writer;
|
||||||
|
|
||||||
import org.jdom2.Document;
|
import org.jdom2.Document;
|
||||||
|
|
||||||
import com.sun.syndication.feed.synd.SyndFeed;
|
import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates an XML document (String, File, OutputStream, Writer, W3C DOM document or JDOM document)
|
* Generates an XML document (String, File, OutputStream, Writer, W3C DOM document or JDOM document)
|
|
@ -14,11 +14,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
import org.jdom2.Document;
|
import org.jdom2.Document;
|
||||||
|
|
||||||
import com.sun.syndication.feed.WireFeed;
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates an XML document (JDOM) out of a feed for a specific real feed type.
|
* Generates an XML document (JDOM) out of a feed for a specific real feed type.
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
@ -38,10 +38,10 @@ import org.xml.sax.SAXNotRecognizedException;
|
||||||
import org.xml.sax.SAXNotSupportedException;
|
import org.xml.sax.SAXNotSupportedException;
|
||||||
import org.xml.sax.XMLReader;
|
import org.xml.sax.XMLReader;
|
||||||
|
|
||||||
import com.sun.syndication.feed.WireFeed;
|
import com.rometools.rome.feed.WireFeed;
|
||||||
import com.sun.syndication.feed.impl.ConfigurableClassLoader;
|
import com.rometools.rome.feed.impl.ConfigurableClassLoader;
|
||||||
import com.sun.syndication.io.impl.FeedParsers;
|
import com.rometools.rome.io.impl.FeedParsers;
|
||||||
import com.sun.syndication.io.impl.XmlFixerReader;
|
import com.rometools.rome.io.impl.XmlFixerReader;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom
|
* Parses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileWriter;
|
import java.io.FileWriter;
|
||||||
|
@ -30,9 +30,9 @@ import org.jdom2.output.DOMOutputter;
|
||||||
import org.jdom2.output.Format;
|
import org.jdom2.output.Format;
|
||||||
import org.jdom2.output.XMLOutputter;
|
import org.jdom2.output.XMLOutputter;
|
||||||
|
|
||||||
import com.sun.syndication.feed.WireFeed;
|
import com.rometools.rome.feed.WireFeed;
|
||||||
import com.sun.syndication.feed.impl.ConfigurableClassLoader;
|
import com.rometools.rome.feed.impl.ConfigurableClassLoader;
|
||||||
import com.sun.syndication.io.impl.FeedGenerators;
|
import com.rometools.rome.io.impl.FeedGenerators;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates an XML document (String, File, OutputStream, Writer, W3C DOM document or JDOM document)
|
* Generates an XML document (String, File, OutputStream, Writer, W3C DOM document or JDOM document)
|
|
@ -14,13 +14,13 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
|
|
||||||
import org.jdom2.Document;
|
import org.jdom2.Document;
|
||||||
|
|
||||||
import com.sun.syndication.feed.WireFeed;
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses an XML document (JDOM) into a feed bean.
|
* Parses an XML document (JDOM) into a feed bean.
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
import java.io.BufferedInputStream;
|
import java.io.BufferedInputStream;
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.sun.syndication.io;
|
package com.rometools.rome.io;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.io.StringReader;
|
import java.io.StringReader;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -27,15 +27,15 @@ import org.jdom2.Element;
|
||||||
import org.jdom2.Namespace;
|
import org.jdom2.Namespace;
|
||||||
import org.jdom2.input.SAXBuilder;
|
import org.jdom2.input.SAXBuilder;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
import com.rometools.rome.feed.atom.Content;
|
||||||
|
import com.rometools.rome.feed.atom.Entry;
|
||||||
|
import com.rometools.rome.feed.atom.Feed;
|
||||||
|
import com.rometools.rome.feed.atom.Generator;
|
||||||
|
import com.rometools.rome.feed.atom.Link;
|
||||||
|
import com.rometools.rome.feed.synd.SyndPerson;
|
||||||
|
import com.rometools.rome.io.FeedException;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.WireFeed;
|
|
||||||
import com.sun.syndication.feed.atom.Content;
|
|
||||||
import com.sun.syndication.feed.atom.Entry;
|
|
||||||
import com.sun.syndication.feed.atom.Feed;
|
|
||||||
import com.sun.syndication.feed.atom.Generator;
|
|
||||||
import com.sun.syndication.feed.atom.Link;
|
|
||||||
import com.sun.syndication.feed.synd.SyndPerson;
|
|
||||||
import com.sun.syndication.io.FeedException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Feed Generator for Atom
|
* Feed Generator for Atom
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -25,16 +25,16 @@ import org.jdom2.Element;
|
||||||
import org.jdom2.Namespace;
|
import org.jdom2.Namespace;
|
||||||
import org.jdom2.output.XMLOutputter;
|
import org.jdom2.output.XMLOutputter;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
import com.rometools.rome.feed.atom.Content;
|
||||||
|
import com.rometools.rome.feed.atom.Entry;
|
||||||
|
import com.rometools.rome.feed.atom.Feed;
|
||||||
|
import com.rometools.rome.feed.atom.Generator;
|
||||||
|
import com.rometools.rome.feed.atom.Link;
|
||||||
|
import com.rometools.rome.feed.atom.Person;
|
||||||
|
import com.rometools.rome.feed.synd.SyndPerson;
|
||||||
|
import com.rometools.rome.io.FeedException;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.WireFeed;
|
|
||||||
import com.sun.syndication.feed.atom.Content;
|
|
||||||
import com.sun.syndication.feed.atom.Entry;
|
|
||||||
import com.sun.syndication.feed.atom.Feed;
|
|
||||||
import com.sun.syndication.feed.atom.Generator;
|
|
||||||
import com.sun.syndication.feed.atom.Link;
|
|
||||||
import com.sun.syndication.feed.atom.Person;
|
|
||||||
import com.sun.syndication.feed.synd.SyndPerson;
|
|
||||||
import com.sun.syndication.io.FeedException;
|
|
||||||
|
|
||||||
public class Atom03Parser extends BaseWireFeedParser {
|
public class Atom03Parser extends BaseWireFeedParser {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.StringReader;
|
import java.io.StringReader;
|
||||||
|
@ -31,17 +31,17 @@ import org.jdom2.Namespace;
|
||||||
import org.jdom2.input.SAXBuilder;
|
import org.jdom2.input.SAXBuilder;
|
||||||
import org.jdom2.output.XMLOutputter;
|
import org.jdom2.output.XMLOutputter;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
import com.rometools.rome.feed.atom.Category;
|
||||||
|
import com.rometools.rome.feed.atom.Content;
|
||||||
|
import com.rometools.rome.feed.atom.Entry;
|
||||||
|
import com.rometools.rome.feed.atom.Feed;
|
||||||
|
import com.rometools.rome.feed.atom.Generator;
|
||||||
|
import com.rometools.rome.feed.atom.Link;
|
||||||
|
import com.rometools.rome.feed.synd.SyndPerson;
|
||||||
|
import com.rometools.rome.io.FeedException;
|
||||||
|
import com.rometools.rome.io.WireFeedOutput;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.WireFeed;
|
|
||||||
import com.sun.syndication.feed.atom.Category;
|
|
||||||
import com.sun.syndication.feed.atom.Content;
|
|
||||||
import com.sun.syndication.feed.atom.Entry;
|
|
||||||
import com.sun.syndication.feed.atom.Feed;
|
|
||||||
import com.sun.syndication.feed.atom.Generator;
|
|
||||||
import com.sun.syndication.feed.atom.Link;
|
|
||||||
import com.sun.syndication.feed.synd.SyndPerson;
|
|
||||||
import com.sun.syndication.io.FeedException;
|
|
||||||
import com.sun.syndication.io.WireFeedOutput;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Feed Generator for Atom
|
* Feed Generator for Atom
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.Reader;
|
import java.io.Reader;
|
||||||
|
@ -33,19 +33,19 @@ import org.jdom2.Parent;
|
||||||
import org.jdom2.input.SAXBuilder;
|
import org.jdom2.input.SAXBuilder;
|
||||||
import org.jdom2.output.XMLOutputter;
|
import org.jdom2.output.XMLOutputter;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.WireFeed;
|
||||||
|
import com.rometools.rome.feed.atom.Category;
|
||||||
|
import com.rometools.rome.feed.atom.Content;
|
||||||
|
import com.rometools.rome.feed.atom.Entry;
|
||||||
|
import com.rometools.rome.feed.atom.Feed;
|
||||||
|
import com.rometools.rome.feed.atom.Generator;
|
||||||
|
import com.rometools.rome.feed.atom.Link;
|
||||||
|
import com.rometools.rome.feed.atom.Person;
|
||||||
|
import com.rometools.rome.feed.synd.SyndPerson;
|
||||||
|
import com.rometools.rome.io.FeedException;
|
||||||
|
import com.rometools.rome.io.WireFeedInput;
|
||||||
|
import com.rometools.rome.io.WireFeedOutput;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.WireFeed;
|
|
||||||
import com.sun.syndication.feed.atom.Category;
|
|
||||||
import com.sun.syndication.feed.atom.Content;
|
|
||||||
import com.sun.syndication.feed.atom.Entry;
|
|
||||||
import com.sun.syndication.feed.atom.Feed;
|
|
||||||
import com.sun.syndication.feed.atom.Generator;
|
|
||||||
import com.sun.syndication.feed.atom.Link;
|
|
||||||
import com.sun.syndication.feed.atom.Person;
|
|
||||||
import com.sun.syndication.feed.synd.SyndPerson;
|
|
||||||
import com.sun.syndication.io.FeedException;
|
|
||||||
import com.sun.syndication.io.WireFeedInput;
|
|
||||||
import com.sun.syndication.io.WireFeedOutput;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parser for Atom 1.0
|
* Parser for Atom 1.0
|
||||||
|
@ -134,7 +134,7 @@ public class Atom10Parser extends BaseWireFeedParser {
|
||||||
|
|
||||||
private Feed parseFeedMetadata(final String baseURI, final Element eFeed, final Locale locale) {
|
private Feed parseFeedMetadata(final String baseURI, final Element eFeed, final Locale locale) {
|
||||||
|
|
||||||
final com.sun.syndication.feed.atom.Feed feed = new com.sun.syndication.feed.atom.Feed(getType());
|
final com.rometools.rome.feed.atom.Feed feed = new com.rometools.rome.feed.atom.Feed(getType());
|
||||||
|
|
||||||
final Element title = eFeed.getChild("title", getAtomNamespace());
|
final Element title = eFeed.getChild("title", getAtomNamespace());
|
||||||
if (title != null) {
|
if (title != null) {
|
|
@ -1,4 +1,4 @@
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2004 Sun Microsystems, Inc.
|
* Copyright 2004 Sun Microsystems, Inc.
|
||||||
|
@ -48,7 +48,7 @@ public class Base64 {
|
||||||
* @param s String to decode.
|
* @param s String to decode.
|
||||||
* @return encoded string.
|
* @return encoded string.
|
||||||
* @throws java.lang.IllegalArgumentException thrown if the given byte array was not valid
|
* @throws java.lang.IllegalArgumentException thrown if the given byte array was not valid
|
||||||
* com.sun.syndication.io.impl.Base64 encoding.
|
* com.rometools.rome.io.impl.Base64 encoding.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public static String decode(String s) throws IllegalArgumentException {
|
public static String decode(String s) throws IllegalArgumentException {
|
||||||
|
@ -140,13 +140,13 @@ public class Base64 {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dencodes a com.sun.syndication.io.impl.Base64 byte array.
|
* Dencodes a com.rometools.rome.io.impl.Base64 byte array.
|
||||||
* <p>
|
* <p>
|
||||||
*
|
*
|
||||||
* @param eData byte array to decode.
|
* @param eData byte array to decode.
|
||||||
* @return decoded byte array.
|
* @return decoded byte array.
|
||||||
* @throws java.lang.IllegalArgumentException thrown if the given byte array was not valid
|
* @throws java.lang.IllegalArgumentException thrown if the given byte array was not valid
|
||||||
* com.sun.syndication.io.impl.Base64 encoding.
|
* com.rometools.rome.io.impl.Base64 encoding.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public static byte[] decode(final byte[] eData) {
|
public static byte[] decode(final byte[] eData) {
|
||||||
|
@ -175,7 +175,7 @@ public class Base64 {
|
||||||
int dIndex = 0;
|
int dIndex = 0;
|
||||||
for (int i = 0; i < eData.length; i += 4) {
|
for (int i = 0; i < eData.length; i += 4) {
|
||||||
if (i + 3 > eData.length) {
|
if (i + 3 > eData.length) {
|
||||||
throw new IllegalArgumentException("byte array is not a valid com.sun.syndication.io.impl.Base64 encoding");
|
throw new IllegalArgumentException("byte array is not a valid com.rometools.rome.io.impl.Base64 encoding");
|
||||||
}
|
}
|
||||||
final int e1 = CODES[cleanEData[i]];
|
final int e1 = CODES[cleanEData[i]];
|
||||||
final int e2 = CODES[cleanEData[i + 1]];
|
final int e2 = CODES[cleanEData[i + 1]];
|
|
@ -1,4 +1,4 @@
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
@ -9,8 +9,8 @@ import org.jdom2.Element;
|
||||||
import org.jdom2.Namespace;
|
import org.jdom2.Namespace;
|
||||||
import org.jdom2.Parent;
|
import org.jdom2.Parent;
|
||||||
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
import com.rometools.rome.feed.module.Module;
|
||||||
import com.sun.syndication.io.WireFeedGenerator;
|
import com.rometools.rome.io.WireFeedGenerator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Alejandro Abdelnur
|
* @author Alejandro Abdelnur
|
|
@ -1,4 +1,4 @@
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -12,10 +12,10 @@ import org.jdom2.Namespace;
|
||||||
import org.jdom2.ProcessingInstruction;
|
import org.jdom2.ProcessingInstruction;
|
||||||
import org.jdom2.filter.ContentFilter;
|
import org.jdom2.filter.ContentFilter;
|
||||||
|
|
||||||
import com.sun.syndication.feed.WireFeed;
|
import com.rometools.rome.feed.WireFeed;
|
||||||
import com.sun.syndication.feed.module.Extendable;
|
import com.rometools.rome.feed.module.Extendable;
|
||||||
import com.sun.syndication.feed.module.Module;
|
import com.rometools.rome.feed.module.Module;
|
||||||
import com.sun.syndication.io.WireFeedParser;
|
import com.rometools.rome.io.WireFeedParser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Alejandro Abdelnur
|
* @author Alejandro Abdelnur
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
@ -28,10 +28,10 @@ import org.jdom2.Attribute;
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
import org.jdom2.Namespace;
|
import org.jdom2.Namespace;
|
||||||
|
|
||||||
import com.sun.syndication.feed.module.DCModule;
|
import com.rometools.rome.feed.module.DCModule;
|
||||||
import com.sun.syndication.feed.module.DCSubject;
|
import com.rometools.rome.feed.module.DCSubject;
|
||||||
import com.sun.syndication.feed.module.Module;
|
import com.rometools.rome.feed.module.Module;
|
||||||
import com.sun.syndication.io.ModuleGenerator;
|
import com.rometools.rome.io.ModuleGenerator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Feed Generator for DublinCore Module.
|
* Feed Generator for DublinCore Module.
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -25,12 +25,12 @@ import org.jdom2.Attribute;
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
import org.jdom2.Namespace;
|
import org.jdom2.Namespace;
|
||||||
|
|
||||||
import com.sun.syndication.feed.module.DCModule;
|
import com.rometools.rome.feed.module.DCModule;
|
||||||
import com.sun.syndication.feed.module.DCModuleImpl;
|
import com.rometools.rome.feed.module.DCModuleImpl;
|
||||||
import com.sun.syndication.feed.module.DCSubject;
|
import com.rometools.rome.feed.module.DCSubject;
|
||||||
import com.sun.syndication.feed.module.DCSubjectImpl;
|
import com.rometools.rome.feed.module.DCSubjectImpl;
|
||||||
import com.sun.syndication.feed.module.Module;
|
import com.rometools.rome.feed.module.Module;
|
||||||
import com.sun.syndication.io.ModuleParser;
|
import com.rometools.rome.io.ModuleParser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parser for the Dublin Core module.
|
* Parser for the Dublin Core module.
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.text.DateFormat;
|
import java.text.DateFormat;
|
||||||
import java.text.ParsePosition;
|
import java.text.ParsePosition;
|
|
@ -14,11 +14,11 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.sun.syndication.io.WireFeedGenerator;
|
import com.rometools.rome.io.WireFeedGenerator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates an XML document (JDOM Document) out of a Feed.
|
* Generates an XML document (JDOM Document) out of a Feed.
|
|
@ -14,13 +14,13 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.jdom2.Document;
|
import org.jdom2.Document;
|
||||||
|
|
||||||
import com.sun.syndication.io.WireFeedParser;
|
import com.rometools.rome.io.WireFeedParser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses an XML document (JDOM Document) into a Feed.
|
* Parses an XML document (JDOM Document) into a Feed.
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -24,8 +24,8 @@ import java.util.Set;
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
import org.jdom2.Namespace;
|
import org.jdom2.Namespace;
|
||||||
|
|
||||||
import com.sun.syndication.feed.module.Module;
|
import com.rometools.rome.feed.module.Module;
|
||||||
import com.sun.syndication.io.ModuleGenerator;
|
import com.rometools.rome.io.ModuleGenerator;
|
||||||
|
|
||||||
public class ModuleGenerators extends PluginManager<ModuleGenerator> {
|
public class ModuleGenerators extends PluginManager<ModuleGenerator> {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
|
@ -22,10 +22,10 @@ import java.util.Locale;
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
import org.jdom2.Namespace;
|
import org.jdom2.Namespace;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.module.Module;
|
||||||
|
import com.rometools.rome.io.ModuleParser;
|
||||||
|
import com.rometools.rome.io.WireFeedParser;
|
||||||
import com.rometools.utils.Lists;
|
import com.rometools.utils.Lists;
|
||||||
import com.sun.syndication.feed.module.Module;
|
|
||||||
import com.sun.syndication.io.ModuleParser;
|
|
||||||
import com.sun.syndication.io.WireFeedParser;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
|
@ -1,4 +1,4 @@
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A helper class that parses Numbers out of Strings in a lenient manner.
|
* A helper class that parses Numbers out of Strings in a lenient manner.
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
@ -24,11 +24,11 @@ import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import com.sun.syndication.feed.impl.ConfigurableClassLoader;
|
import com.rometools.rome.feed.impl.ConfigurableClassLoader;
|
||||||
import com.sun.syndication.io.DelegatingModuleGenerator;
|
import com.rometools.rome.io.DelegatingModuleGenerator;
|
||||||
import com.sun.syndication.io.DelegatingModuleParser;
|
import com.rometools.rome.io.DelegatingModuleParser;
|
||||||
import com.sun.syndication.io.WireFeedGenerator;
|
import com.rometools.rome.io.WireFeedGenerator;
|
||||||
import com.sun.syndication.io.WireFeedParser;
|
import com.rometools.rome.io.WireFeedParser;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
169
src/main/java/com/rometools/rome/io/impl/PropertiesLoader.java
Normal file
169
src/main/java/com/rometools/rome/io/impl/PropertiesLoader.java
Normal file
|
@ -0,0 +1,169 @@
|
||||||
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.io.InputStream;
|
||||||
|
import java.net.URL;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.Enumeration;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
import java.util.Properties;
|
||||||
|
import java.util.StringTokenizer;
|
||||||
|
import java.util.WeakHashMap;
|
||||||
|
|
||||||
|
import com.rometools.rome.feed.impl.ConfigurableClassLoader;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Properties loader that aggregates a master properties file and several extra
|
||||||
|
* properties files, all from the current classpath.
|
||||||
|
* <P>
|
||||||
|
* The master properties file has to be in a distinct location than the extra
|
||||||
|
* properties files. First the master properties file is loaded, then all the
|
||||||
|
* extra properties files in their order of appearance in the classpath.
|
||||||
|
* <P>
|
||||||
|
* Current use cases (plugin manager for parsers/converters/generators for feeds
|
||||||
|
* and modules and date formats) assume properties are list of tokens, that why
|
||||||
|
* the only method to get property values is the getTokenizedProperty().
|
||||||
|
* <p>
|
||||||
|
*
|
||||||
|
* @author Alejandro Abdelnur
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class PropertiesLoader {
|
||||||
|
|
||||||
|
private static final String MASTER_PLUGIN_FILE = "com/rometools/rome/rome.properties";
|
||||||
|
private static final String EXTRA_PLUGIN_FILE = "rome.properties";
|
||||||
|
|
||||||
|
private static Map<ClassLoader, PropertiesLoader> clMap = new WeakHashMap<ClassLoader, PropertiesLoader>();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the PropertiesLoader singleton used by ROME to load plugin
|
||||||
|
* components.
|
||||||
|
*
|
||||||
|
* @return PropertiesLoader singleton.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public static PropertiesLoader getPropertiesLoader() {
|
||||||
|
synchronized (PropertiesLoader.class) {
|
||||||
|
final ClassLoader classLoader = ConfigurableClassLoader.INSTANCE.getClassLoader();
|
||||||
|
PropertiesLoader loader = clMap.get(classLoader);
|
||||||
|
if (loader == null) {
|
||||||
|
try {
|
||||||
|
loader = new PropertiesLoader(MASTER_PLUGIN_FILE, EXTRA_PLUGIN_FILE);
|
||||||
|
clMap.put(classLoader, loader);
|
||||||
|
} catch (final IOException ex) {
|
||||||
|
throw new RuntimeException(ex);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return loader;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private final Properties[] properties;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a PropertiesLoader.
|
||||||
|
* <p>
|
||||||
|
*
|
||||||
|
* @param masterFileLocation
|
||||||
|
* master file location, there must be only one.
|
||||||
|
* @param extraFileLocation
|
||||||
|
* extra file location, there may be many.
|
||||||
|
* @throws IOException
|
||||||
|
* thrown if one of the properties file could not be read.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private PropertiesLoader(final String masterFileLocation, final String extraFileLocation) throws IOException {
|
||||||
|
final List<Properties> propertiesList = new ArrayList<Properties>();
|
||||||
|
final ClassLoader classLoader = ConfigurableClassLoader.INSTANCE.getClassLoader();
|
||||||
|
|
||||||
|
try {
|
||||||
|
final InputStream is = classLoader.getResourceAsStream(masterFileLocation);
|
||||||
|
final Properties p = new Properties();
|
||||||
|
p.load(is);
|
||||||
|
is.close();
|
||||||
|
propertiesList.add(p);
|
||||||
|
} catch (final IOException ioex) {
|
||||||
|
final IOException ex = new IOException("could not load ROME master plugins file [" + masterFileLocation + "], " + ioex.getMessage());
|
||||||
|
ex.setStackTrace(ioex.getStackTrace());
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
final Enumeration<URL> urls = classLoader.getResources(extraFileLocation);
|
||||||
|
while (urls.hasMoreElements()) {
|
||||||
|
final URL url = urls.nextElement();
|
||||||
|
final Properties p = new Properties();
|
||||||
|
try {
|
||||||
|
final InputStream is = url.openStream();
|
||||||
|
p.load(is);
|
||||||
|
is.close();
|
||||||
|
} catch (final IOException ioex) {
|
||||||
|
final IOException ex = new IOException("could not load ROME extensions plugins file [" + url.toString() + "], " + ioex.getMessage());
|
||||||
|
ex.setStackTrace(ioex.getStackTrace());
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
|
propertiesList.add(p);
|
||||||
|
}
|
||||||
|
|
||||||
|
properties = new Properties[propertiesList.size()];
|
||||||
|
propertiesList.toArray(properties);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an array of tokenized values stored under a property key in all
|
||||||
|
* properties files. If the master file has this property its tokens will be
|
||||||
|
* the first ones in the array.
|
||||||
|
* <p>
|
||||||
|
*
|
||||||
|
* @param key
|
||||||
|
* property key to retrieve values
|
||||||
|
* @param separator
|
||||||
|
* String with all separator characters to tokenize from the
|
||||||
|
* values in all properties files.
|
||||||
|
* @return all the tokens for the given property key from all the properties
|
||||||
|
* files.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public String[] getTokenizedProperty(final String key, final String separator) {
|
||||||
|
final List<String> entriesList = new ArrayList<String>();
|
||||||
|
for (final Properties property : properties) {
|
||||||
|
final String values = property.getProperty(key);
|
||||||
|
if (values != null) {
|
||||||
|
final StringTokenizer st = new StringTokenizer(values, separator);
|
||||||
|
while (st.hasMoreTokens()) {
|
||||||
|
final String token = st.nextToken();
|
||||||
|
entriesList.add(token);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
final String[] entries = new String[entriesList.size()];
|
||||||
|
entriesList.toArray(entries);
|
||||||
|
return entries;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns an array of values stored under a property key in all properties
|
||||||
|
* files. If the master file has this property it will be the first ones in
|
||||||
|
* the array.
|
||||||
|
* <p>
|
||||||
|
*
|
||||||
|
* @param key
|
||||||
|
* property key to retrieve values
|
||||||
|
* @return all the values for the given property key from all the properties
|
||||||
|
* files.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public String[] getProperty(final String key) {
|
||||||
|
final List<String> entriesList = new ArrayList<String>();
|
||||||
|
for (final Properties property : properties) {
|
||||||
|
final String values = property.getProperty(key);
|
||||||
|
if (values != null) {
|
||||||
|
entriesList.add(values);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
final String[] entries = new String[entriesList.size()];
|
||||||
|
entriesList.toArray(entries);
|
||||||
|
return entries;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package com.sun.syndication.io.impl;
|
package com.rometools.rome.io.impl;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -22,12 +22,12 @@ import org.jdom2.Document;
|
||||||
import org.jdom2.Element;
|
import org.jdom2.Element;
|
||||||
import org.jdom2.Namespace;
|
import org.jdom2.Namespace;
|
||||||
|
|
||||||
import com.sun.syndication.feed.WireFeed;
|
import com.rometools.rome.feed.WireFeed;
|
||||||
import com.sun.syndication.feed.rss.Channel;
|
import com.rometools.rome.feed.rss.Channel;
|
||||||
import com.sun.syndication.feed.rss.Image;
|
import com.rometools.rome.feed.rss.Image;
|
||||||
import com.sun.syndication.feed.rss.Item;
|
import com.rometools.rome.feed.rss.Item;
|
||||||
import com.sun.syndication.feed.rss.TextInput;
|
import com.rometools.rome.feed.rss.TextInput;
|
||||||
import com.sun.syndication.io.FeedException;
|
import com.rometools.rome.io.FeedException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Feed Generator for RSS 0.90
|
* Feed Generator for RSS 0.90
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue