You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ja...@apache.org on 2013/03/01 13:15:44 UTC

[29/32] MARMOTTA-109: included org.rometools:rome:1.1.1-LMF and org.rometools:rome-modules:1.5.1-LMF in source

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/DCModuleImpl.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/DCModuleImpl.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/DCModuleImpl.java
new file mode 100644
index 0000000..7359efc
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/DCModuleImpl.java
@@ -0,0 +1,842 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.module;
+
+import com.sun.syndication.feed.CopyFrom;
+import com.sun.syndication.feed.impl.CopyFromHelper;
+import com.sun.syndication.feed.impl.ObjectBean;
+
+import java.util.*;
+
+
+/**
+ * Dublin Core ModuleImpl, default implementation.
+ * <p>
+ * @see <a href="http://web.resource.org/rss/1.0/modules/dc/">Dublin Core module</a>.
+ * @author Alejandro Abdelnur
+ *
+ */
+public class DCModuleImpl extends ModuleImpl implements DCModule {
+    private ObjectBean _objBean;
+    private List<String> _title;
+    private List<String> _creator;
+    private List<DCSubject> _subject;
+    private List<String> _description;
+    private List<String> _publisher;
+    private List<String> _contributors;
+    private List<Date> _date;
+    private List<String> _type;
+    private List<String> _format;
+    private List<String> _identifier;
+    private List<String> _source;
+    private List<String> _language;
+    private List<String> _relation;
+    private List<String> _coverage;
+    private List<String> _rights;
+
+    /**
+     * Properties to be ignored when cloning.
+     */
+    private static final Set IGNORE_PROPERTIES = new HashSet();
+
+    /**
+     * Unmodifiable Set containing the convenience properties of this class.
+     * <p>
+     * Convenience properties are mapped to Modules, for cloning the convenience
+     * properties can be ignored as the will be copied as part of the module
+     * cloning.
+     */
+    public static final Set CONVENIENCE_PROPERTIES = Collections.unmodifiableSet(IGNORE_PROPERTIES);
+
+    static {
+        IGNORE_PROPERTIES.add("title");
+        IGNORE_PROPERTIES.add("creator");
+        IGNORE_PROPERTIES.add("subject");
+        IGNORE_PROPERTIES.add("description");
+        IGNORE_PROPERTIES.add("publisher");
+        IGNORE_PROPERTIES.add("contributor");
+        IGNORE_PROPERTIES.add("date");
+        IGNORE_PROPERTIES.add("type");
+        IGNORE_PROPERTIES.add("format");
+        IGNORE_PROPERTIES.add("identifier");
+        IGNORE_PROPERTIES.add("source");
+        IGNORE_PROPERTIES.add("language");
+        IGNORE_PROPERTIES.add("relation");
+        IGNORE_PROPERTIES.add("coverage");
+        IGNORE_PROPERTIES.add("rights");
+    }
+
+    /**
+     * Default constructor. All properties are set to <b>null</b>.
+     * <p>
+     *
+     */
+    public DCModuleImpl() {
+        super(DCModule.class, URI);
+        _objBean = new ObjectBean(DCModule.class, this, CONVENIENCE_PROPERTIES);
+    }
+
+    /**
+     * Returns the DublinCore module titles.
+     * <p>
+     * @return a list of Strings representing the DublinCore module title,
+     *         an empty list if none.
+     *
+     */
+    public List getTitles() {
+        return (_title == null) ? (_title = new ArrayList()) : _title;
+    }
+
+    /**
+     * Sets the DublinCore module titles.
+     * <p>
+     * @param titles the list of String representing the DublinCore module
+     * 		titles to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setTitles(List titles) {
+    		_title = titles;
+    }
+
+    /**
+     * Gets the DublinCore module title. Convenience method that can be used to
+     * obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module title, <b>null</b> if none.
+     */
+    public String getTitle() {
+        return ((_title != null) && (_title.size() > 0)) ? (String) _title.get(0) : null;
+    }
+
+    /**
+     * Sets the DublinCore module title. Convenience method that can be used
+     * when there is only one title to set.
+     * <p>
+     * @param title the DublinCore module title to set, <b>null</b> if none.
+     *
+     */
+    public void setTitle(String title) {
+    		_title = new ArrayList();
+    		_title.add(title);
+    }
+
+    /**
+     * Returns the DublinCore module creator.
+     * <p>
+     * @return a list of Strings representing the DublinCore module creator,
+     *         an empty list if none.
+     *
+     */
+    public List getCreators() {
+        return (_creator == null) ? (_creator = new ArrayList()) : _creator;
+    }
+
+    /**
+     * Sets the DublinCore module creators.
+     * <p>
+     * @param creators the list of String representing the DublinCore module
+     * 		creators to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setCreators(List creators) {
+        _creator = creators;
+    }
+    
+    /**
+     * Gets the DublinCore module title. Convenience method that can be used
+     * to obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module title, <b>null</b> if none.
+     */
+    public String getCreator() {
+        return ((_creator != null) && (_creator.size() > 0)) ? (String) _creator.get(0) : null;
+    }
+    
+    /**
+     * Sets the DublinCore module creator. Convenience method that can be used
+     * when there is only one creator to set.
+     * <p>
+     * @param creator the DublinCore module creator to set, <b>null</b> if none.
+     *
+     */
+    public void setCreator(String creator) {
+        _creator = new ArrayList();
+        _creator.add(creator);
+    }
+
+    /**
+     * Returns the DublinCore module subjects.
+     * <p>
+     * @return a list of DCSubject elements with the DublinCore module subjects,
+     *         an empty list if none.
+     *
+     */
+    public List getSubjects() {
+        return (_subject == null) ? (_subject = new ArrayList()) : _subject;
+    }
+
+    /**
+     * Sets the DublinCore module subjects.
+     * <p>
+     * @param subjects the list of DCSubject elements with the DublinCore
+     * 		module subjects to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setSubjects(List subjects) {
+        _subject = subjects;
+    }
+
+    /**
+     * Gets the DublinCore module subject. Convenience method that can be used
+     * to obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module subject, <b>null</b> if none. 
+     */
+    public DCSubject getSubject() {
+        return ((_subject != null) && (_subject.size() > 0)) ?
+                (DCSubject) _subject.get(0) : null;
+    }
+    
+    /**
+     * Sets the DCSubject element. Convenience method that can be used when
+     * there is only one subject to set.
+     * <p>
+     * @param subject the DublinCore module subject to set, <b>null</b> if none.
+     *
+     */
+    public void setSubject(DCSubject subject) {
+        _subject = new ArrayList();
+        _subject.add(subject);
+    }
+
+    /**
+     * Returns the DublinCore module description.
+     * <p>
+     * @return a list of Strings representing the DublinCore module
+     * 		description, an empty list if none.
+     *
+     */
+    public List getDescriptions() {
+        return (_description == null) ? (_description = new ArrayList()) : _description;
+    }
+
+    /**
+     * Sets the DublinCore module descriptions.
+     * <p>
+     * @param descriptions the list of String representing the DublinCore
+     * 		module descriptions to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setDescriptions(List descriptions) {
+        _description = descriptions;
+    }
+    
+    /**
+     * Gets the DublinCore module description. Convenience method that can be
+     * used to obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module description, <b>null</b> if none.
+     */
+    public String getDescription() {
+        return ((_description != null) && (_description.size() > 0)) ?
+                (String) _description.get(0) : null;
+    }
+    
+    /**
+     * Sets the DublinCore module description. Convenience method that can be
+     * used when there is only one description to set.
+     * <p>
+     * @param description the DublinCore module description to set, <b>null</b> if none.
+     *
+     */
+    public void setDescription(String description) {
+        _description = new ArrayList();
+        _description.add(description);
+    }
+
+    /**
+     * Returns the DublinCore module publisher.
+     * <p>
+     * @return a list of Strings representing the DublinCore module publisher,
+     *         an empty list if none.
+     *
+     */
+    public List getPublishers() {
+        return (_publisher == null) ? (_publisher = new ArrayList()) : _publisher;
+    }
+
+    /**
+     * Sets the DublinCore module publishers.
+     * <p>
+     * @param publishers the list of String representing the DublinCore module
+     * 		publishers to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setPublishers(List publishers) {
+        _publisher = publishers;
+    }
+
+    /**
+     * Gets the DublinCore module title. Convenience method that can be used to
+     * obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module title, <b>null</b> if none.
+     */
+    public String getPublisher() {
+        return ((_publisher != null) && (_publisher.size() > 0)) ?
+                (String) _publisher.get(0) : null;
+    }
+
+    /**
+     * Sets the DublinCore module publisher. Convenience method that can be
+     * used when there is only one publisher to set.
+     * <p>
+     * @param publisher the DublinCore module publisher to set, <b>null</b> if none.
+     *
+     */
+    public void setPublisher(String publisher) {
+        _publisher = new ArrayList();
+        _publisher.add(publisher);
+    }
+
+    /**
+     * Returns the DublinCore module contributor.
+     * <p>
+     * @return a list of Strings representing the DublinCore module contributor,
+     *         an empty list if none.
+     *
+     */
+    public List getContributors() {
+        return (_contributors == null) ? (_contributors = new ArrayList()) : _contributors;
+    }
+
+    /**
+     * Sets the DublinCore module contributors.
+     * <p>
+     * @param contributors the list of String representing the DublinCore
+     * 		module contributors to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setContributors(List contributors) {
+        _contributors = contributors;
+    }
+
+    /**
+     * Gets the DublinCore module contributor. Convenience method that can be
+     * used to obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module contributor, <b>null</b> if none.
+     */
+    public String getContributor() {
+        return ((_contributors != null) && (_contributors.size() > 0)) ?
+                (String) _contributors.get(0) : null;
+    }
+    
+    /**
+     * Sets the DublinCore module contributor. Convenience method that can be
+     * used when there is only one contributor to set.
+     * <p>
+     * @param contributor the DublinCore module contributor to set, <b>null</b> if none.
+     *
+     */
+    public void setContributor(String contributor) {
+        _contributors = new ArrayList();
+        _contributors.add(contributor);
+    }
+
+    /**
+     * Returns the DublinCore module date.
+     * <p>
+     * @return a list of Strings representing the DublinCore module date,
+     *         an empty list if none.
+     *
+     */
+    public List<Date> getDates() {
+        return (_date == null) ? (_date = new ArrayList()) : _date;
+    }
+
+    /**
+     * Sets the DublinCore module dates.
+     * <p>
+     * @param dates the list of Date representing the DublinCore module dates
+     * 		to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setDates(List<Date> dates) {
+        _date = dates;
+    }
+    
+    /**
+     * Gets the DublinCore module date. Convenience method that can be used to
+     * obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module date, <b>null</b> if none.
+     */
+    public Date getDate() {
+        return ((_date != null) && (_date.size() > 0)) ?
+                (Date) _date.get(0) : null;
+    }
+    /**
+     * Sets the DublinCore module date. Convenience method that can be used
+     * when there is only one date to set.
+     * <p>
+     * @param date the DublinCore module date to set, <b>null</b> if none.
+     *
+     */
+    public void setDate(Date date) {
+        _date = new ArrayList();
+        _date.add(date);
+    }
+
+    /**
+     * Returns the DublinCore module type.
+     * <p>
+     * @return a list of Strings representing the DublinCore module type,
+     *         an empty list if none.
+     *
+     */
+    public List getTypes() {
+        return (_type == null) ? (_type = new ArrayList()) : _type;
+    }
+
+    /**
+     * Sets the DublinCore module types.
+     * <p>
+     * @param types the list of String representing the DublinCore module types
+     * 		to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setTypes(List types) {
+        _type = types;
+    }
+    
+    /**
+     * Gets the DublinCore module type. Convenience method that can be used to
+     * obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module type, <b>null</b> if none.
+     */
+    public String getType() {
+        return ((_type != null) && (_type.size() > 0)) ?
+                (String) _type.get(0) : null;
+    }
+    
+    /**
+     * Sets the DublinCore module type. Convenience method that can be used
+     * when there is only one type to set.
+     * <p>
+     * @param type the DublinCore module type to set, <b>null</b> if none.
+     *
+     */
+    public void setType(String type) {
+        _type = new ArrayList();
+        _type.add(type);
+    }
+
+    /**
+     * Returns the DublinCore module format.
+     * <p>
+     * @return a list of Strings representing the DublinCore module format,
+     *         an empty list if none.
+     *
+     */
+    public List getFormats() {
+        return (_format == null) ? (_format = new ArrayList()) : _format;
+    }
+
+    /**
+     * Sets the DublinCore module formats.
+     * <p>
+     * @param formats the list of String representing the DublinCore module
+     * 		formats to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setFormats(List formats) {
+        _format = formats;
+    }
+
+    /**
+     * Gets the DublinCore module format. Convenience method that can be used
+     * to obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module format, <b>null</b> if none.
+     */
+    public String getFormat() {
+        return ((_format != null) && (_format.size() > 0)) ?
+                (String) _format.get(0) : null;
+    }
+
+    /**
+     * Sets the DublinCore module format. Convenience method that can be used
+     * when there is only one format to set.
+     * <p>
+     * @param format the DublinCore module format to set, <b>null</b> if none.
+     *
+     */
+    public void setFormat(String format) {
+        _format = new ArrayList();
+        _format.add(format);
+    }
+
+    /**
+     * Returns the DublinCore module identifier.
+     * <p>
+     * @return a list of Strings representing the DublinCore module identifier,
+     *         an empty list if none.
+     *
+     */
+    public List getIdentifiers() {
+        return (_identifier == null) ? (_identifier = new ArrayList()) : _identifier;
+    }
+
+    /**
+     * Sets the DublinCore module identifiers.
+     * <p>
+     * @param identifiers the list of String representing the DublinCore module
+     * 		identifiers to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setIdentifiers(List identifiers) {
+        _identifier = identifiers;
+    }
+    
+    /**
+     * Gets the DublinCore module identifier. Convenience method that can be
+     * used to obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module identifier, <b>null</b> if none.
+     */
+    public String getIdentifier() {
+        return ((_identifier != null) && (_identifier.size() > 0)) ?
+                (String) _identifier.get(0) : null;
+    }
+
+    /**
+     * Sets the DublinCore module identifier. Convenience method that can be
+     * used when there is only one identifier to set.
+     * <p>
+     * @param identifier the DublinCore module identifier to set, <b>null</b> if none.
+     *
+     */
+    public void setIdentifier(String identifier) {
+        _identifier = new ArrayList();
+        _identifier.add(identifier);
+    }
+
+    /**
+     * Returns the DublinCore module source.
+     * <p>
+     * @return a list of Strings representing the DublinCore module source,
+     *         an empty list if none.
+     *
+     */
+    public List getSources() {
+        return (_source == null) ? (_source = new ArrayList()) : _source;
+    }
+
+    /**
+     * Sets the DublinCore module sources.
+     * <p>
+     * @param sources the list of String representing the DublinCore module
+     * 		sources to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setSources(List sources) {
+        _source = sources;
+    }
+    
+    /**
+     * Gets the DublinCore module source. Convenience method that can be used
+     * to obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module source, <b>null</b> if none.
+     */
+    public String getSource() {
+        return ((_source != null) && (_source.size() > 0)) ?
+                (String) _source.get(0) : null;
+    }
+
+    /**
+     * Sets the DublinCore module source. Convenience method that can be used
+     * when there is only one source to set.
+     * <p>
+     * @param source the DublinCore module source to set, <b>null</b> if none.
+     *
+     */
+    public void setSource(String source) {
+        _source = new ArrayList();
+        _source.add(source);
+    }
+
+    /**
+     * Returns the DublinCore module language.
+     * <p>
+     * @return a list of Strings representing the DublinCore module language,
+     *         an empty list if none.
+     *
+     */
+    public List getLanguages() {
+        return (_language == null) ? (_language = new ArrayList()) : _language;
+    }
+
+    /**
+     * Sets the DublinCore module languages.
+     * <p>
+     * @param languages the list of String representing the DublinCore module
+     * 		languages to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setLanguages(List languages) {
+        _language = languages;
+    }
+
+    /**
+     * Gets the DublinCore module language. Convenience method that can be
+     * used to obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module langauge, <b>null</b> if none.
+     */
+    public String getLanguage() {
+        return ((_language != null) && (_language.size() > 0)) ?
+                (String) _language.get(0) : null;
+    }
+    /**
+     * Sets the DublinCore module language. Convenience method that can be used
+     * when there is only one language to set.
+     * <p>
+     * @param language the DublinCore module language to set, <b>null</b> if none.
+     *
+     */
+    public void setLanguage(String language) {
+        _language = new ArrayList();
+        _language.add(language);
+    }
+
+    /**
+     * Returns the DublinCore module relation.
+     * <p>
+     * @return a list of Strings representing the DublinCore module relation,
+     *         an empty list if none.
+     *
+     */
+    public List getRelations() {
+        return (_relation == null) ? (_relation = new ArrayList()) : _relation;
+    }
+
+    /**
+     * Sets the DublinCore module relations.
+     * <p>
+     * @param relations the list of String representing the DublinCore module
+     * 		relations to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setRelations(List relations) {
+        _relation = relations;
+    }
+
+    /**
+     * Gets the DublinCore module relation. Convenience method that can be used
+     * to obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module relation, <b>null</b> if none.
+     */
+    public String getRelation() {
+        return ((_relation != null) && (_relation.size() > 0)) ?
+                (String) _relation.get(0) : null;
+    }
+
+    /**
+     * Sets the DublinCore module relation. Convenience method that can be used
+     * when there is only one relation to set.
+     * <p>
+     * @param relation the DublinCore module relation to set, <b>null</b> if none.
+     *
+     */
+    public void setRelation(String relation) {
+        _relation = new ArrayList();
+        _relation.add(relation);
+    }
+
+    /**
+     * Returns the DublinCore module coverage.
+     * <p>
+     * @return a list of Strings representing the DublinCore module coverage,
+     *         an empty list if none.
+     *
+     */
+    public List getCoverages() {
+        return (_coverage == null) ? (_coverage = new ArrayList()) : _coverage;
+    }
+
+    /**
+     * Sets the DublinCore module coverages.
+     * <p>
+     * @param coverages the list of String representing the DublinCore module
+     * 		coverages to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setCoverages(List coverages) {
+        _coverage = coverages;
+    }
+
+    /**
+     * Gets the DublinCore module coverage. Convenience method that can be used
+     * to obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module coverage, <b>null</b> if none.
+     */
+    public String getCoverage() {
+        return ((_coverage != null) && (_coverage.size() > 0)) ?
+                (String) _coverage.get(0) : null;
+    }
+
+    /**
+     * Sets the DublinCore module coverage. Convenience method that can be used
+     * when there is only one coverage to set.
+     * <p>
+     * @param coverage the DublinCore module coverage to set, <b>null</b> if none.
+     *
+     */
+    public void setCoverage(String coverage) {
+        _coverage = new ArrayList();
+        _coverage.add(coverage);
+    }
+
+    /**
+     * Returns the DublinCore module rights.
+     * <p>
+     * @return a list of Strings representing the DublinCore module rights,
+     *         an empty list if none.
+     *
+     */
+    public List getRightsList() {
+        return (_rights == null) ? (_rights = new ArrayList()) : _rights;
+    }
+
+    /**
+     * Sets the DublinCore module rights.
+     * <p>
+     * @param rights the list of String representing the DublinCore module
+     * 		rights to set, an empty list or <b>null</b> if none.
+     *
+     */
+    public void setRightsList(List rights) {
+        _rights = rights;
+    }
+    
+    /**
+     * Gets the DublinCore module rights. Convenience method that can be used
+     * to obtain the first item, <b>null</b> if none.
+     * <p>
+     * @return the first DublinCore module rights, <b>null</b> if none.
+     */
+    public String getRights() {
+        return ((_rights != null) && (_rights.size() > 0)) ?
+                (String) _rights.get(0) : null;
+    }
+    
+    /**
+     * Sets the DublinCore module rights. Convenience method that can be used
+     * when there is only one rights to set.
+     * <p>
+     * @param rights the DublinCore module rights to set, <b>null</b> if none.
+     *
+     */
+    public void setRights(String rights) {
+        _rights = new ArrayList();
+        _rights.add(rights);
+    }
+
+    /**
+     * Creates a deep 'bean' clone of the object.
+     * <p>
+     * @return a clone of the object.
+     * @throws CloneNotSupportedException thrown if an element of the object cannot be cloned.
+     *
+     */
+    public final Object clone() throws CloneNotSupportedException {
+        return _objBean.clone();
+    }
+
+    /**
+     * Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+     * <p>
+     * @param other he reference object with which to compare.
+     * @return <b>true</b> if 'this' object is equal to the 'other' object.
+     *
+     */
+    public final boolean equals(Object other) {
+        return _objBean.equals(other);
+    }
+
+    /**
+     * Returns a hashcode value for the object.
+     * <p>
+     * It follows the contract defined by the Object hashCode() method.
+     * <p>
+     * @return the hashcode of the bean object.
+     *
+     */
+    public final int hashCode() {
+        return _objBean.hashCode();
+    }
+
+    /**
+     * Returns the String representation for the object.
+     * <p>
+     * @return String representation for the object.
+     *
+     */
+    @Override
+    public final String toString() {
+        return _objBean.toString();
+    }
+    
+    public final Class<? extends CopyFrom> getInterface() {
+        return DCModule.class;
+    }
+
+    public final void copyFrom(CopyFrom obj) {
+        COPY_FROM_HELPER.copy(this,obj);
+    }
+
+    private static final CopyFromHelper COPY_FROM_HELPER;
+    
+    static {
+        Map basePropInterfaceMap = new HashMap();
+        basePropInterfaceMap.put("titles", String.class);
+        basePropInterfaceMap.put("creators", String.class);
+        basePropInterfaceMap.put("subjects", DCSubject.class);
+        basePropInterfaceMap.put("descriptions", String.class);
+        basePropInterfaceMap.put("publishers", String.class);
+        basePropInterfaceMap.put("contributors", String.class);
+        basePropInterfaceMap.put("dates", Date.class);
+        basePropInterfaceMap.put("types", String.class);
+        basePropInterfaceMap.put("formats", String.class);
+        basePropInterfaceMap.put("identifiers", String.class);
+        basePropInterfaceMap.put("sources", String.class);
+        basePropInterfaceMap.put("languages", String.class);
+        basePropInterfaceMap.put("relations", String.class);
+        basePropInterfaceMap.put("coverages", String.class);
+        basePropInterfaceMap.put("rightsList", String.class);
+
+        Map basePropClassImplMap = new HashMap();
+        basePropClassImplMap.put(DCSubject.class,DCSubjectImpl.class);
+
+        COPY_FROM_HELPER = new CopyFromHelper(DCModule.class,basePropInterfaceMap,basePropClassImplMap);
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/DCSubject.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/DCSubject.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/DCSubject.java
new file mode 100644
index 0000000..d4fb96e
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/DCSubject.java
@@ -0,0 +1,70 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.module;
+
+import com.sun.syndication.feed.CopyFrom;
+
+/**
+ * Subject of the Dublin Core ModuleImpl.
+ * <p>
+ * @see <a href="http://web.resource.org/rss/1.0/modules/dc/">Dublin Core module</a>.
+ * @author Alejandro Abdelnur
+ *
+ */
+public interface DCSubject extends Cloneable,CopyFrom {
+    /**
+     * Returns the DublinCore subject taxonomy URI.
+     * <p>
+     * @return the DublinCore subject taxonomy URI, <b>null</b> if none.
+     *
+     */
+    String getTaxonomyUri();
+
+    /**
+     * Sets the DublinCore subject taxonomy URI.
+     * <p>
+     * @param taxonomyUri the DublinCore subject taxonomy URI to set, <b>null</b> if none.
+     *
+     */
+    void setTaxonomyUri(String taxonomyUri);
+
+    /**
+     * Returns the DublinCore subject value.
+     * <p>
+     * @return the DublinCore subject value, <b>null</b> if none.
+     *
+     */
+    String getValue();
+
+    /**
+     * Sets the DublinCore subject value.
+     * <p>
+     * @param value the DublinCore subject value to set, <b>null</b> if none.
+     *
+     */
+    void setValue(String value);
+
+    /**
+     * Creates a deep clone of the object.
+     * <p>
+     * @return a clone of the object.
+     * @throws CloneNotSupportedException thrown if an element of the object cannot be cloned.
+     *
+     */
+    public Object clone() throws CloneNotSupportedException;
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/DCSubjectImpl.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/DCSubjectImpl.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/DCSubjectImpl.java
new file mode 100644
index 0000000..038d5e3
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/DCSubjectImpl.java
@@ -0,0 +1,160 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.module;
+
+import com.sun.syndication.feed.CopyFrom;
+import com.sun.syndication.feed.impl.ObjectBean;
+import com.sun.syndication.feed.impl.CopyFromHelper;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Map;
+import java.io.Serializable;
+
+/**
+ * Subject of the Dublin Core ModuleImpl, default implementation.
+ * <p>
+ * @see <a href="http://web.resource.org/rss/1.0/modules/dc/">Dublin Core module</a>.
+ * @author Alejandro Abdelnur
+ *
+ */
+public class DCSubjectImpl implements Cloneable,Serializable, DCSubject {
+    private ObjectBean _objBean;
+    private String _taxonomyUri;
+    private String _value;
+
+    /**
+     * Default constructor. All properties are set to <b>null</b>.
+     * <p>
+     *
+     */
+    public DCSubjectImpl() {
+        _objBean = new ObjectBean(this.getClass(),this);
+    }
+
+    /**
+     * Creates a deep 'bean' clone of the object.
+     * <p>
+     * @return a clone of the object.
+     * @throws CloneNotSupportedException thrown if an element of the object cannot be cloned.
+     *
+     */
+    @Override
+    public Object clone() throws CloneNotSupportedException {
+        return _objBean.clone();
+    }
+
+    /**
+     * Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+     * <p>
+     * @param other he reference object with which to compare.
+     * @return <b>true</b> if 'this' object is equal to the 'other' object.
+     *
+     */
+    @Override
+    public boolean equals(Object other) {
+        if(!(other instanceof DCSubjectImpl)){
+            return false;
+        }
+        return _objBean.equals(other);
+    }
+
+    /**
+     * Returns a hashcode value for the object.
+     * <p>
+     * It follows the contract defined by the Object hashCode() method.
+     * <p>
+     * @return the hashcode of the bean object.
+     *
+     */
+    @Override
+    public int hashCode() {
+        return _objBean.hashCode();
+    }
+
+    /**
+     * Returns the String representation for the object.
+     * <p>
+     * @return String representation for the object.
+     *
+     */
+    @Override
+    public String toString() {
+        return _objBean.toString();
+    }
+
+    /**
+     * Returns the DublinCore subject taxonomy URI.
+     * <p>
+     * @return the DublinCore subject taxonomy URI, <b>null</b> if none.
+     *
+     */
+    public String getTaxonomyUri() {
+        return _taxonomyUri;
+    }
+
+    /**
+     * Sets the DublinCore subject taxonomy URI.
+     * <p>
+     * @param taxonomyUri the DublinCore subject taxonomy URI to set, <b>null</b> if none.
+     *
+     */
+    public void setTaxonomyUri(String taxonomyUri) {
+        _taxonomyUri = taxonomyUri;
+    }
+
+    /**
+     * Returns the DublinCore subject value.
+     * <p>
+     * @return the DublinCore subject value, <b>null</b> if none.
+     *
+     */
+    public String getValue() {
+        return _value;
+    }
+
+    /**
+     * Sets the DublinCore subject value.
+     * <p>
+     * @param value the DublinCore subject value to set, <b>null</b> if none.
+     *
+     */
+    public void setValue(String value) {
+        _value = value;
+    }
+
+    public Class getInterface() {
+        return DCSubject.class;
+    }
+
+    public void copyFrom(CopyFrom obj) {
+        COPY_FROM_HELPER.copy(this,obj);
+    }
+
+    private static final CopyFromHelper COPY_FROM_HELPER;
+
+    static {
+        Map basePropInterfaceMap = new HashMap();
+        basePropInterfaceMap.put("taxonomyUri",String.class);
+        basePropInterfaceMap.put("value",String.class);
+
+        Map basePropClassImplMap = Collections.EMPTY_MAP;
+
+        COPY_FROM_HELPER = new CopyFromHelper(DCSubject.class,basePropInterfaceMap,basePropClassImplMap);
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/Extendable.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/Extendable.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/Extendable.java
new file mode 100644
index 0000000..f58f774
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/Extendable.java
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package com.sun.syndication.feed.module;
+
+import java.util.List;
+
+/**
+ * Objects that can have modules are Extendable.
+ * @author Dave Johnson
+ */
+public interface Extendable {
+    
+    /**
+     * Returns the module identified by a given URI.
+     * <p>
+     * @param uri the URI of the ModuleImpl.
+     * @return The module with the given URI, <b>null</b> if none.
+     */
+    public Module getModule(String uri);
+
+    /**
+     * Returns the entry modules.
+     * <p>
+     * @return a list of ModuleImpl elements with the entry modules,
+     *         an empty list if none.
+     *
+     */
+    List<Module> getModules();
+
+    /**
+     * Sets the entry modules.
+     * <p>
+     * @param modules the list of ModuleImpl elements with the entry modules to set,
+     *        an empty list or <b>null</b> if none.
+     *
+     */
+    void setModules(List<Module> modules);
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/Module.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/Module.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/Module.java
new file mode 100644
index 0000000..8ba7f94
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/Module.java
@@ -0,0 +1,48 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.module;
+
+import com.sun.syndication.feed.CopyFrom;
+import java.io.Serializable;
+
+/**
+ * Base class for modules describing Metadata of feeds. Examples of such modules are
+ * the Dublin Core and Syndication modules.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public interface Module extends Cloneable,CopyFrom,Serializable{
+
+    /**
+     * Returns the URI of the module.
+     * <p>
+     * @return URI of the module.
+     *
+     */
+    String getUri();
+
+    /**
+     * Creates a deep clone of the object.
+     * <p>
+     * @return a clone of the object.
+     * @throws CloneNotSupportedException thrown if an element of the object cannot be cloned.
+     *
+     */
+    public Object clone() throws CloneNotSupportedException;
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/ModuleImpl.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/ModuleImpl.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/ModuleImpl.java
new file mode 100644
index 0000000..7e80031
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/ModuleImpl.java
@@ -0,0 +1,106 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.module;
+
+import com.sun.syndication.feed.impl.ObjectBean;
+
+import java.io.Serializable;
+
+/**
+ * Base class for modules describing Metadata of feeds, default implementations.
+ * Examples of such modules are the Dublin Core and Syndication modules.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public abstract class ModuleImpl implements Cloneable,Serializable,Module {
+    private ObjectBean _objBean;
+    private String _uri;
+
+    /**
+     * Constructor.
+     * <p>
+     * @param uri URI of the module.
+     *
+     */
+    protected ModuleImpl(Class beanClass,String uri) {
+        _objBean = new ObjectBean(beanClass,this);
+        _uri = uri;
+    }
+
+    /**
+     * Creates a deep 'bean' clone of the object.
+     * <p>
+     * @return a clone of the object.
+     * @throws CloneNotSupportedException thrown if an element of the object cannot be cloned.
+     *
+     */
+    @Override
+    public Object clone() throws CloneNotSupportedException {
+        return _objBean.clone();
+    }
+
+    /**
+     * Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+     * <p>
+     * @param other he reference object with which to compare.
+     * @return <b>true</b> if 'this' object is equal to the 'other' object.
+     *
+     */
+    @Override
+    public boolean equals(Object other) {
+        if(!(other instanceof ModuleImpl)){
+            return false;
+        }
+        return _objBean.equals(other);
+    }
+
+    /**
+     * Returns a hashcode value for the object.
+     * <p>
+     * It follows the contract defined by the Object hashCode() method.
+     * <p>
+     * @return the hashcode of the bean object.
+     *
+     */
+    @Override
+    public int hashCode() {
+        return _objBean.hashCode();
+    }
+
+    /**
+     * Returns the String representation for the object.
+     * <p>
+     * @return String representation for the object.
+     *
+     */
+    @Override
+    public String toString() {
+        return _objBean.toString();
+    }
+
+    /**
+     * Returns the URI of the module.
+     * <p>
+     * @return URI of the module.
+     *
+     */
+    public String getUri() {
+        return _uri;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/SyModule.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/SyModule.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/SyModule.java
new file mode 100644
index 0000000..f241e91
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/SyModule.java
@@ -0,0 +1,90 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.module;
+
+import java.util.Date;
+
+/**
+ * Syndication ModuleImpl.
+ * <p>
+ * @see <a href="http://web.resource.org/rss/1.0/modules/syndication/">Syndication module</a>.
+ * @author Alejandro Abdelnur
+ *
+ */
+public interface SyModule extends Module {
+
+    /**
+     * URI of the Syndication ModuleImpl (http://purl.org/rss/1.0/modules/syndication/).
+     *
+     */
+    static final String URI = "http://purl.org/rss/1.0/modules/syndication/";
+
+    static final String HOURLY  = "hourly";
+    static final String DAILY   = "daily";
+    static final String WEEKLY  = "weekly";
+    static final String MONTHLY = "monthly";
+    static final String YEARLY  = "yearly";
+
+    /**
+     * Returns the Syndication module update period.
+     * <p>
+     * @return the Syndication module update period, <b>null</b> if none.
+     *
+     */
+    String getUpdatePeriod();
+
+    /**
+     * Sets the Syndication module update period.
+     * <p>
+     * @param updatePeriod the Syndication module update period to set, <b>null</b> if none.
+     *
+     */
+    void setUpdatePeriod(String updatePeriod);
+
+    /**
+     * Returns the Syndication module update frequency.
+     * <p>
+     * @return the Syndication module update frequency, <b>null</b> if none.
+     *
+     */
+    int getUpdateFrequency();
+
+    /**
+     * Sets the Syndication module update frequency.
+     * <p>
+     * @param updateFrequency the Syndication module update frequency to set, <b>null</b> if none.
+     *
+     */
+    void setUpdateFrequency(int updateFrequency);
+
+    /**
+     * Returns the Syndication module update base date.
+     * <p>
+     * @return the Syndication module update base date, <b>null</b> if none.
+     *
+     */
+    Date getUpdateBase();
+
+    /**
+     * Sets the Syndication module update base date.
+     * <p>
+     * @param updateBase the Syndication module update base date to set, <b>null</b> if none.
+     *
+     */
+    void setUpdateBase(Date updateBase);
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/SyModuleImpl.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/SyModuleImpl.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/SyModuleImpl.java
new file mode 100644
index 0000000..2bf8f2e
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/SyModuleImpl.java
@@ -0,0 +1,144 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.module;
+
+import com.sun.syndication.feed.CopyFrom;
+import com.sun.syndication.feed.impl.CopyFromHelper;
+
+import java.util.*;
+
+/**
+ * Syndication ModuleImpl, default implementation.
+ * <p>
+ * @see <a href="http://web.resource.org/rss/1.0/modules/syndication/">Syndication module</a>.
+ * @author Alejandro Abdelnur
+ *
+ */
+public class SyModuleImpl extends ModuleImpl implements SyModule {
+    private static final Set<String> PERIODS = new HashSet<String>();
+
+    static {
+        PERIODS.add(HOURLY );
+        PERIODS.add(DAILY  );
+        PERIODS.add(WEEKLY );
+        PERIODS.add(MONTHLY);
+        PERIODS.add(YEARLY );
+    }
+
+
+    private String _updatePeriod;
+    private int _updateFrequency;
+    private Date _updateBase;
+
+    /**
+     * Default constructor. All properties are set to <b>null</b>.
+     * <p>
+     *
+     */
+    public SyModuleImpl() {
+        super(SyModule.class,URI);
+    }
+
+    /**
+     * Returns the Syndication module update period.
+     * <p>
+     * @return the Syndication module update period, <b>null</b> if none.
+     *
+     */
+    public String getUpdatePeriod() {
+        return _updatePeriod;
+    }
+
+    /**
+     * Sets the Syndication module update period.
+     * <p>
+     * @param updatePeriod the Syndication module update period to set, <b>null</b> if none.
+     *
+     */
+    public void setUpdatePeriod(String updatePeriod) {
+        if (!PERIODS.contains(updatePeriod)) {
+            throw new IllegalArgumentException("Invalid period ["+updatePeriod+"]");
+        }
+        _updatePeriod = updatePeriod;
+    }
+
+    /**
+     * Returns the Syndication module update frequency.
+     * <p>
+     * @return the Syndication module update frequency, <b>null</b> if none.
+     *
+     */
+    public int getUpdateFrequency() {
+        return _updateFrequency;
+    }
+
+    /**
+     * Sets the Syndication module update frequency.
+     * <p>
+     * @param updateFrequency the Syndication module update frequency to set, <b>null</b> if none.
+     *
+     */
+    public void setUpdateFrequency(int updateFrequency) {
+        _updateFrequency = updateFrequency;
+    }
+
+    /**
+     * Returns the Syndication module update base date.
+     * <p>
+     * @return the Syndication module update base date, <b>null</b> if none.
+     *
+     */
+    public Date getUpdateBase() {
+        if (_updateBase != null) {
+        return new Date(_updateBase.getTime());
+        } else return null;
+    }
+
+    /**
+     * Sets the Syndication module update base date.
+     * <p>
+     * @param updateBase the Syndication module update base date to set, <b>null</b> if none.
+     *
+     */
+    public void setUpdateBase(Date updateBase) {
+        if (updateBase != null) {
+        _updateBase = new Date(updateBase.getTime());
+        } else _updateBase = null;
+    }
+
+    public Class<? extends Module> getInterface() {
+        return SyModule.class;
+    }
+
+    public void copyFrom(CopyFrom obj) {
+        COPY_FROM_HELPER.copy(this,obj);
+    }
+
+    private static final CopyFromHelper COPY_FROM_HELPER;
+
+    static {
+        Map basePropInterfaceMap = new HashMap();
+        basePropInterfaceMap.put("updatePeriod",String.class);
+        basePropInterfaceMap.put("updateFrequency",Integer.TYPE);
+        basePropInterfaceMap.put("updateBase",Date.class);
+
+        Map basePropClassImplMap = Collections.EMPTY_MAP;
+
+        COPY_FROM_HELPER = new CopyFromHelper(SyModule.class,basePropInterfaceMap,basePropClassImplMap);
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/impl/ModuleUtils.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/impl/ModuleUtils.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/impl/ModuleUtils.java
new file mode 100644
index 0000000..ca1738c
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/module/impl/ModuleUtils.java
@@ -0,0 +1,65 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.module.impl;
+
+import com.sun.syndication.feed.module.Module;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ */
+public class ModuleUtils {
+
+    public static List<Module> cloneModules(List<Module> modules) {
+        List<Module> cModules = null;
+        if (modules!=null) {
+            cModules = new ArrayList<Module>();
+            for (Module module : modules) {
+                try {
+                    Module c = (Module) module.clone();
+                    cModules.add(c);
+                }
+                catch (Exception ex) {
+                    throw new RuntimeException("Cloning modules "+module.getUri(),ex);
+                }
+            }
+        }
+        return cModules;
+    }
+
+    /**
+     * 
+     *
+     * @since 1.5 Changed to return the first, not the last.
+     * 
+     * @param modules
+     * @param uri
+     * @return
+     */
+    public static Module getModule(List<Module> modules,String uri) {
+        Module module = null;
+        for (int i=0;  modules!=null && i<modules.size();i++) {
+            module = modules.get(i);
+            if (module.getUri().equals(uri)) {
+                return module;
+            }
+        }
+        return null;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Category.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Category.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Category.java
new file mode 100644
index 0000000..a74da9a
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Category.java
@@ -0,0 +1,134 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ * Copyright 2011 The ROME Team
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.rss;
+
+import com.sun.syndication.feed.impl.ObjectBean;
+
+import java.io.Serializable;
+
+/**
+ * Bean for categories of RSS feeds.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class Category implements Cloneable,Serializable {
+    private ObjectBean _objBean;
+    private String _domain;
+    private String _value;
+
+    /**
+     * Default constructor. All properties are set to <b>null</b>.
+     * <p>
+     *
+     */
+    public Category() {
+        _objBean = new ObjectBean(this.getClass(),this);
+    }
+
+    /**
+     * Creates a deep 'bean' clone of the object.
+     * <p>
+     * @return a clone of the object.
+     * @throws CloneNotSupportedException thrown if an element of the object cannot be cloned.
+     *
+     */
+    @Override
+    public Object clone() throws CloneNotSupportedException {
+        return _objBean.clone();
+    }
+
+    /**
+     * Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+     * <p>
+     * @param other he reference object with which to compare.
+     * @return <b>true</b> if 'this' object is equal to the 'other' object.
+     *
+     */
+    @Override
+    public boolean equals(Object other) {
+        if(!(other instanceof Category)){
+            return false;
+        }
+        return _objBean.equals(other);
+    }
+
+    /**
+     * Returns a hashcode value for the object.
+     * <p>
+     * It follows the contract defined by the Object hashCode() method.
+     * <p>
+     * @return the hashcode of the bean object.
+     *
+     */
+    public int hashCode() {
+        return _objBean.hashCode();
+    }
+
+    /**
+     * Returns the String representation for the object.
+     * <p>
+     * @return String representation for the object.
+     *
+     */
+    @Override
+    public String toString() {
+        return _objBean.toString();
+    }
+
+    /**
+     * Returns the category domain.
+     * <p>
+     * @return the category domain, <b>null</b> if none.
+     *
+     */
+    public String getDomain() {
+        return _domain;
+    }
+
+    /**
+     * Sets the category domain.
+     * <p>
+     * @param domain the category domain to set, <b>null</b> if none.
+     *
+     */
+    public void setDomain(String domain) {
+        _domain = domain;
+    }
+
+    /**
+     * Returns the category value.
+     * <p>
+     * @return the category value, <b>null</b> if none.
+     *
+     */
+    public String getValue() {
+        return _value;
+    }
+
+    /**
+     * Sets the category value.
+     * <p>
+     * @param value the category value to set, <b>null</b> if none.
+     *
+     */
+    public void setValue(String value) {
+        _value = value;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Channel.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Channel.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Channel.java
new file mode 100644
index 0000000..a9e6749
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Channel.java
@@ -0,0 +1,589 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ * Copyright 2011 The ROME Team
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.rss;
+
+import com.sun.syndication.feed.WireFeed;
+import com.sun.syndication.feed.module.Module;
+import com.sun.syndication.feed.module.impl.ModuleUtils;
+
+import java.util.*;
+
+/**
+ * Bean for RSS feeds.
+ * <p>
+ * It handles all RSS versions (0.9, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0)
+ * without losing information.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class Channel extends WireFeed {
+    public static final String SUNDAY    = "sunday";
+    public static final String MONDAY    = "monday";
+    public static final String TUESDAY   = "tuesday";
+    public static final String WEDNESDAY = "wednesday";
+    public static final String THURSDAY  = "thursday";
+    public static final String FRIDAY    = "friday";
+    public static final String SATURDAY  = "saturday";
+
+    private static final Set<String> DAYS;
+
+    static {
+        HashSet<String> days = new HashSet<String>();
+        days.add(SUNDAY   );
+        days.add(MONDAY   );
+        days.add(TUESDAY  );
+        days.add(WEDNESDAY);
+        days.add(THURSDAY );
+        days.add(FRIDAY   );
+        days.add(SATURDAY );
+        DAYS = Collections.unmodifiableSet(days);
+    }
+
+    private String _title;
+    private String _description;
+    private String _link;
+    private String _uri;
+    private Image _image;
+    private List _items;
+    private TextInput _textInput;
+    private String _language;
+    private String _rating;
+    private String _copyright;
+    private Date _pubDate;
+    private Date _lastBuildDate;
+    private String _docs;
+    private String _managingEditor;
+    private String _webMaster;
+    private List<Integer> _skipHours;
+    private List<String> _skipDays;
+    private Cloud _cloud;
+    private List<Category> _categories;
+    private String _generator;
+    private int _ttl = -1;
+    private List<Module> _modules;
+
+    /**
+     * Default constructor, for bean cloning purposes only.
+     *
+     */
+    public Channel() {
+    }
+
+    /**
+     * Channel Constructor. All properties, except the type, are set to <b>null</b>.
+     * <p>
+     * @param type the type of the RSS feed.
+     *
+     */
+    public Channel(String type) {
+        super(type);
+    }
+
+    /**
+     * Returns the channel title.
+     * <p>
+     * @return the channel title, <b>null</b> if none.
+     *
+     */
+    public String getTitle() {
+        return _title;
+    }
+
+    /**
+     * Sets the channel title.
+     * <p>
+     * @param title the channel title to set, <b>null</b> if none.
+     *
+     */
+    public void setTitle(String title) {
+        _title = title;
+    }
+
+    /**
+     * Returns the channel description.
+     * <p>
+     * @return the channel description, <b>null</b> if none.
+     *
+     */
+    public String getDescription() {
+        return _description;
+    }
+
+    /**
+     * Sets the channel description.
+     * <p>
+     * @param description the channel description to set, <b>null</b> if none.
+     *
+     */
+    public void setDescription(String description) {
+        _description = description;
+    }
+
+    /**
+     * Returns the channel link.
+     * <p>
+     * @return the channel link, <b>null</b> if none.
+     *
+     */
+    public String getLink() {
+        return _link;
+    }
+
+    /**
+     * Sets the channel link.
+     * <p>
+     * @param link the channel link to set, <b>null</b> if none.
+     *
+     */
+    public void setLink(String link) {
+        _link = link;
+    }
+
+    /**
+     * Returns the channel uri.
+     * <p>
+     * @return the channel uri, <b>null</b> if none.
+     */
+    public String getUri() {
+        return _uri;
+    }
+
+    /**
+     * Sets the channel uri.
+     * <p>
+     * @param uri the channel uri, <b>null</b> if none.
+     */
+    public void setUri(String uri) {
+        _uri = uri;
+    }
+
+    /**
+     * Returns the channel image.
+     * <p>
+     * @return the channel image, <b>null</b> if none.
+     *
+     */
+    public Image getImage() {
+        return _image;
+    }
+
+    /**
+     * Sets the channel image.
+     * <p>
+     * @param image the channel image to set, <b>null</b> if none.
+     *
+     */
+    public void setImage(Image image) {
+        _image = image;
+    }
+
+    /**
+     * Returns the channel items.
+     * <p>
+     * @return a list of Item elements with the channel items,
+     *         an empty list if none.
+     *
+     */
+    public List<Item> getItems() {
+        return (_items==null) ? (_items=new ArrayList<Item>()) : _items;
+    }
+
+    /**
+     * Sets the channel items.
+     * <p>
+     * @param items the list of Item elements with the channel items to set,
+     *        an empty list or <b>null</b> if none.
+     *
+     */
+    public void setItems(List<Item> items) {
+        _items = items;
+    }
+
+    /**
+     * Returns the channel text input.
+     * <p>
+     * @return the channel text input, <b>null</b> if none.
+     *
+     */
+    public TextInput getTextInput() {
+        return _textInput;
+    }
+
+    /**
+     * Sets the channel text input.
+     * <p>
+     * @param textInput the channel text input to set, <b>null</b> if none.
+     *
+     */
+    public void setTextInput(TextInput textInput) {
+        _textInput = textInput;
+    }
+
+    /**
+     * Returns the channel language.
+     * <p>
+     * @return the channel language, <b>null</b> if none.
+     *
+     */
+    public String getLanguage() {
+        return _language;
+    }
+
+    /**
+     * Sets the channel language.
+     * <p>
+     * @param language the channel language to set, <b>null</b> if none.
+     *
+     */
+    public void setLanguage(String language) {
+        _language = language;
+    }
+
+    /**
+     * Returns the channel rating.
+     * <p>
+     * @return the channel rating, <b>null</b> if none.
+     *
+     */
+    public String getRating() {
+        return _rating;
+    }
+
+    /**
+     * Sets the channel rating.
+     * <p>
+     * @param rating the channel rating to set, <b>null</b> if none.
+     *
+     */
+    public void setRating(String rating) {
+        _rating = rating;
+    }
+
+    /**
+     * Returns the channel copyright.
+     * <p>
+     * @return the channel copyright, <b>null</b> if none.
+     *
+     */
+    public String getCopyright() {
+        return _copyright;
+    }
+
+    /**
+     * Sets the channel copyright.
+     * <p>
+     * @param copyright the channel copyright to set, <b>null</b> if none.
+     *
+     */
+    public void setCopyright(String copyright) {
+        _copyright = copyright;
+    }
+
+    /**
+     * Returns the channel publishing date.
+     * <p>
+     * @return the channel publishing date, <b>null</b> if none.
+     *
+     */
+    public Date getPubDate() {
+        return _pubDate == null ? null : new Date(_pubDate.getTime());
+    }
+
+    /**
+     * Sets the channel publishing date.
+     * <p>
+     * @param pubDate the channel publishing date to set, <b>null</b> if none.
+     *
+     */
+    public void setPubDate(Date pubDate) {
+        _pubDate = pubDate == null ? null : new Date( pubDate.getTime());
+    }
+
+    /**
+     * Returns the channel last build date.
+     * <p>
+     * @return the channel last build date, <b>null</b> if none.
+     *
+     */
+    public Date getLastBuildDate() {
+        return _lastBuildDate == null ? null : new Date(_lastBuildDate.getTime());
+    }
+
+    /**
+     * Sets the channel last build date.
+     * <p>
+     * @param lastBuildDate the channel last build date to set, <b>null</b> if none.
+     *
+     */
+    public void setLastBuildDate(Date lastBuildDate) {
+        _lastBuildDate = lastBuildDate == null ? null : new Date( lastBuildDate.getTime());
+    }
+
+    /**
+     * Returns the channel docs.
+     * <p>
+     * @return the channel docs, <b>null</b> if none.
+     *
+     */
+    public String getDocs() {
+        return _docs;
+    }
+
+    /**
+     * Sets the channel docs.
+     * <p>
+     * @param docs the channel docs to set, <b>null</b> if none.
+     *
+     */
+    public void setDocs(String docs) {
+        _docs = docs;
+    }
+
+    /**
+     * Returns the channel managing editor.
+     * <p>
+     * @return the channel managing editor, <b>null</b> if none.
+     *
+     */
+    public String getManagingEditor() {
+        return _managingEditor;
+    }
+
+    /**
+     * Sets the channel managing editor.
+     * <p>
+     * @param managingEditor the channel managing editor to set, <b>null</b> if none.
+     *
+     */
+    public void setManagingEditor(String managingEditor) {
+        _managingEditor = managingEditor;
+    }
+
+    /**
+     * Returns the channel web master.
+     * <p>
+     * @return the channel web master, <b>null</b> if none.
+     *
+     */
+    public String getWebMaster() {
+        return _webMaster;
+    }
+
+    /**
+     * Sets the channel web master.
+     * <p>
+     * @param webMaster the channel web master to set, <b>null</b> if none.
+     *
+     */
+    public void setWebMaster(String webMaster) {
+        _webMaster = webMaster;
+    }
+
+    /**
+     * Returns the channel skip hours.
+     * <p>
+     * @return a list of Integer elements with the channel skip hours,
+     *         an empty list if none.
+     *
+     */
+    public List<Integer> getSkipHours() {
+        return (_skipHours!=null) ? _skipHours : new ArrayList();
+    }
+
+    /**
+     * Sets the channel skip hours.
+     * <p>
+     * @param skipHours the list of Integer elements with the channel skip hours to set,
+     *        an empty list or <b>null</b> if none.
+     *
+     */
+    public void setSkipHours(List<Integer> skipHours) {
+        if (skipHours!=null) {
+            for (int i=0;i<skipHours.size();i++) {
+                Integer iHour = (Integer) skipHours.get(i);
+                if (iHour!=null) {
+                    int hour = iHour.intValue();
+                    if (hour<0 || hour>24) {
+                        throw new IllegalArgumentException("Invalid hour ["+hour+"]");
+                    }
+                }
+                else {
+                    throw new IllegalArgumentException("Invalid hour [null]");
+                }
+            }
+        }
+        _skipHours = skipHours;
+    }
+
+    /**
+     * Returns the channel skip days.
+     * <p>
+     * @return a list of Day elements with the channel skip days,
+     *         an empty list if none.
+     *
+     */
+    public List<String> getSkipDays() {
+        return (_skipDays!=null) ? _skipDays : new ArrayList<String>();
+    }
+
+    /**
+     * Sets the channel skip days.
+     * <p>
+     * @param skipDays the list of Day elements with the channel skip days to set,
+     *        an empty list or <b>null</b> if none.
+     *
+     */
+    public void setSkipDays(List<String> skipDays) {
+        if (skipDays!=null) {
+            for (int i=0;i<skipDays.size();i++) {
+                String day = (String) skipDays.get(i);
+                if (day!=null) {
+                    day = day.toLowerCase();
+                    if (!DAYS.contains(day)) {
+                        throw new IllegalArgumentException("Invalid day ["+day+"]");
+                    }
+                    skipDays.set(i,day);
+                }
+                else {
+                    throw new IllegalArgumentException("Invalid day [null]");
+                }
+            }
+        }
+        _skipDays = skipDays;
+    }
+
+    /**
+     * Returns the channel cloud.
+     * <p>
+     * @return the channel cloud, <b>null</b> if none.
+     *
+     */
+    public Cloud getCloud() {
+        return _cloud;
+    }
+
+    /**
+     * Sets the channel cloud.
+     * <p>
+     * @param cloud the channel cloud to set, <b>null</b> if none.
+     *
+     */
+    public void setCloud(Cloud cloud) {
+        _cloud = cloud;
+    }
+
+    /**
+     * Returns the channel categories.
+     * <p>
+     * @return a list of Category elements with the channel categories,
+     *         an empty list if none.
+     *
+     */
+    public List<Category> getCategories() {
+        return (_categories==null) ? (_categories=new ArrayList<Category>()) : _categories;
+    }
+
+    /**
+     * Sets the channel categories.
+     * <p>
+     * @param categories the list of Category elements with the channel categories to set,
+     *        an empty list or <b>null</b> if none.
+     *
+     */
+    public void setCategories(List<Category> categories) {
+        _categories = categories;
+    }
+
+    /**
+     * Returns the channel generator.
+     * <p>
+     * @return the channel generator, <b>null</b> if none.
+     *
+     */
+    public String getGenerator() {
+        return _generator;
+    }
+
+    /**
+     * Sets the channel generator.
+     * <p>
+     * @param generator the channel generator to set, <b>null</b> if none.
+     *
+     */
+    public void setGenerator(String generator) {
+        _generator = generator;
+    }
+
+    /**
+     * Returns the channel time to live.
+     * <p>
+     * @return the channel time to live, <b>null</b> if none.
+     *
+     */
+    public int getTtl() {
+        return _ttl;
+    }
+
+    /**
+     * Sets the channel time to live.
+     * <p>
+     * @param ttl the channel time to live to set, <b>null</b> if none.
+     *
+     */
+    public void setTtl(int ttl) {
+        _ttl = ttl;
+    }
+
+    /**
+     * Returns the channel modules.
+     * <p>
+     * @return a list of ModuleImpl elements with the channel modules,
+     *         an empty list if none.
+     *
+     */
+    @Override
+    public List<Module> getModules() {
+        return (_modules==null) ? (_modules=new ArrayList<Module>()) : _modules;
+    }
+
+    /**
+     * Sets the channel modules.
+     * <p>
+     * @param modules the list of ModuleImpl elements with the channel modules to set,
+     *        an empty list or <b>null</b> if none.
+     *
+     */
+    @Override
+    public void setModules(List<Module> modules) {
+        _modules = modules;
+    }
+
+    /**
+     * Returns the module identified by a given URI.
+     * <p>
+     * @param uri the URI of the ModuleImpl.
+     * @return The module with the given URI, <b>null</b> if none.
+     */
+    @Override
+    public Module getModule(String uri) {
+        return ModuleUtils.getModule(_modules,uri);
+    }
+
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Cloud.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Cloud.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Cloud.java
new file mode 100644
index 0000000..69c27ae
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Cloud.java
@@ -0,0 +1,194 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ * Copyright 2011 The ROME Team
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.rss;
+
+import com.sun.syndication.feed.impl.ObjectBean;
+
+import java.io.Serializable;
+
+/**
+ * Bean for clouds of RSS feeds.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class Cloud implements Cloneable,Serializable {
+    private ObjectBean _objBean;
+    private String _domain;
+    private int _port;
+    private String _path;
+    private String _registerProcedure;
+    private String _protocol;
+
+    /**
+     * Default constructor. All properties are set to <b>null</b>.
+     * <p>
+     *
+     */
+    public Cloud() {
+        _objBean = new ObjectBean(this.getClass(),this);
+    }
+
+    /**
+     * Creates a deep 'bean' clone of the object.
+     * <p>
+     * @return a clone of the object.
+     * @throws CloneNotSupportedException thrown if an element of the object cannot be cloned.
+     *
+     */
+    @Override
+    public Object clone() throws CloneNotSupportedException {
+        return _objBean.clone();
+    }
+
+    /**
+     * Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+     * <p>
+     * @param other he reference object with which to compare.
+     * @return <b>true</b> if 'this' object is equal to the 'other' object.
+     *
+     */
+    public boolean equals(Object other) {
+        return _objBean.equals(other);
+    }
+
+    /**
+     * Returns a hashcode value for the object.
+     * <p>
+     * It follows the contract defined by the Object hashCode() method.
+     * <p>
+     * @return the hashcode of the bean object.
+     *
+     */
+    @Override
+    public int hashCode() {
+        return _objBean.hashCode();
+    }
+
+    /**
+     * Returns the String representation for the object.
+     * <p>
+     * @return String representation for the object.
+     *
+     */
+    @Override
+    public String toString() {
+        return _objBean.toString();
+    }
+
+    /**
+     * Returns the cloud domain.
+     * <p>
+     * @return the cloud domain, <b>null</b> if none.
+     *
+     */
+    public String getDomain() {
+        return _domain;
+    }
+
+    /**
+     * Sets the cloud domain.
+     * <p>
+     * @param domain the cloud domain to set, <b>null</b> if none.
+     *
+     */
+    public void setDomain(String domain) {
+        _domain = domain;
+    }
+
+    /**
+     * Returns the cloud port.
+     * <p>
+     * @return the cloud port, <b>null</b> if none.
+     *
+     */
+    public int getPort() {
+        return _port;
+    }
+
+    /**
+     * Sets the cloud port.
+     * <p>
+     * @param port the cloud port to set, <b>null</b> if none.
+     *
+     */
+    public void setPort(int port) {
+        _port = port;
+    }
+
+    /**
+     * Returns the cloud path.
+     * <p>
+     * @return the cloud path, <b>null</b> if none.
+     *
+     */
+    public String getPath() {
+        return _path;
+    }
+
+    /**
+     * Sets the cloud path.
+     * <p>
+     * @param path the cloud path to set, <b>null</b> if none.
+     *
+     */
+    public void setPath(String path) {
+        _path = path;
+    }
+
+    /**
+     * Returns the cloud register procedure.
+     * <p>
+     * @return the cloud register procedure, <b>null</b> if none.
+     *
+     */
+    public String getRegisterProcedure() {
+        return _registerProcedure;
+    }
+
+    /**
+     * Sets the cloud register procedure.
+     * <p>
+     * @param registerProcedure the cloud register procedure to set, <b>null</b> if none.
+     *
+     */
+    public void setRegisterProcedure(String registerProcedure) {
+        _registerProcedure = registerProcedure;
+    }
+
+    /**
+     * Returns the cloud protocol.
+     * <p>
+     * @return the cloud protocol, <b>null</b> if none.
+     *
+     */
+    public String getProtocol() {
+        return _protocol;
+    }
+
+    /**
+     * Sets the cloud protocol.
+     * <p>
+     * @param protocol the cloud protocol to set, <b>null</b> if none.
+     *
+     */
+    public void setProtocol(String protocol) {
+        _protocol = protocol;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Content.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Content.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Content.java
new file mode 100644
index 0000000..07a47df
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Content.java
@@ -0,0 +1,138 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ * Copyright 2011 The ROME Team
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.rss;
+
+import com.sun.syndication.feed.impl.ObjectBean;
+
+import java.io.Serializable;
+
+
+/**
+ * Bean for item descriptions of RSS feeds.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class Content implements Cloneable, Serializable {
+    public static final String HTML = "html";
+    public static final String TEXT = "text";
+    private ObjectBean _objBean;
+    private String _type;
+    private String _value;
+
+    /**
+     * Default constructor. All properties are set to <b>null</b>.
+     * <p>
+     *
+     */
+    public Content() {
+        _objBean = new ObjectBean(this.getClass(), this);
+    }
+
+    /**
+     * Sets the description type.
+     * <p>
+     * @param type the description type to set, <b>null</b> if none.
+     *
+     */
+    public void setType(String type) {
+        _type = type;
+    }
+
+    /**
+     * Returns the description type.
+     * <p>
+     * @return the description type, <b>null</b> if none.
+     *
+     */
+    public String getType() {
+        return _type;
+    }
+
+    /**
+     * Sets the description value.
+     * <p>
+     * @param value the description value to set, <b>null</b> if none.
+     *
+     */
+    public void setValue(String value) {
+        _value = value;
+    }
+
+    /**
+     * Returns the description value.
+     * <p>
+     * @return the description value, <b>null</b> if none.
+     *
+     */
+    public String getValue() {
+        return _value;
+    }
+
+    /**
+     * Creates a deep 'bean' clone of the object.
+     * <p>
+     * @return a clone of the object.
+     * @throws CloneNotSupportedException thrown if an element of the object cannot be cloned.
+     *
+     */
+    @Override
+    public Object clone() throws CloneNotSupportedException {
+        return _objBean.clone();
+    }
+
+    /**
+     * Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+     * <p>
+     * @param other he reference object with which to compare.
+     * @return <b>true</b> if 'this' object is equal to the 'other' object.
+     *
+     */
+    @Override
+    public boolean equals(Object other) {
+        if (!(other instanceof Content)) {
+            return false;
+        }
+
+        return _objBean.equals(other);
+    }
+
+    /**
+     * Returns a hashcode value for the object.
+     * <p>
+     * It follows the contract defined by the Object hashCode() method.
+     * <p>
+     * @return the hashcode of the bean object.
+     *
+     */
+    @Override
+    public int hashCode() {
+        return _objBean.hashCode();
+    }
+
+    /**
+     * Returns the String representation for the object.
+     * <p>
+     * @return String representation for the object.
+     *
+     */
+    @Override
+    public String toString() {
+        return _objBean.toString();
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/f7a4e00f/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Description.java
----------------------------------------------------------------------
diff --git a/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Description.java b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Description.java
new file mode 100644
index 0000000..c032abe
--- /dev/null
+++ b/commons/sesame-tools-rio-rss/src/ext/java/com/sun/syndication/feed/rss/Description.java
@@ -0,0 +1,134 @@
+/*
+ * Copyright 2004 Sun Microsystems, Inc.
+ * Copyright 2011 The ROME Team
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package com.sun.syndication.feed.rss;
+
+import com.sun.syndication.feed.impl.ObjectBean;
+
+import java.io.Serializable;
+
+/**
+ * Bean for item descriptions of RSS feeds.
+ * <p>
+ * @author Alejandro Abdelnur
+ *
+ */
+public class Description implements Cloneable,Serializable {
+    private ObjectBean _objBean;
+    private String _type;
+    private String _value;
+
+    /**
+     * Default constructor. All properties are set to <b>null</b>.
+     * <p>
+     *
+     */
+    public Description() {
+        _objBean = new ObjectBean(this.getClass(),this);
+    }
+
+    /**
+     * Creates a deep 'bean' clone of the object.
+     * <p>
+     * @return a clone of the object.
+     * @throws CloneNotSupportedException thrown if an element of the object cannot be cloned.
+     *
+     */
+    public Object clone() throws CloneNotSupportedException {
+        return _objBean.clone();
+    }
+
+    /**
+     * Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
+     * <p>
+     * @param other he reference object with which to compare.
+     * @return <b>true</b> if 'this' object is equal to the 'other' object.
+     *
+     */
+    @Override
+    public boolean equals(Object other) {
+        if(!(other instanceof Description)){
+            return false;
+        }
+        return _objBean.equals(other);
+    }
+
+    /**
+     * Returns a hashcode value for the object.
+     * <p>
+     * It follows the contract defined by the Object hashCode() method.
+     * <p>
+     * @return the hashcode of the bean object.
+     *
+     */
+    @Override
+    public int hashCode() {
+        return _objBean.hashCode();
+    }
+
+    /**
+     * Returns the String representation for the object.
+     * <p>
+     * @return String representation for the object.
+     *
+     */
+    @Override
+    public String toString() {
+        return _objBean.toString();
+    }
+
+    /**
+     * Returns the description type.
+     * <p>
+     * @return the description type, <b>null</b> if none.
+     *
+     */
+    public String getType() {
+        return _type;
+    }
+
+    /**
+     * Sets the description type.
+     * <p>
+     * @param type the description type to set, <b>null</b> if none.
+     *
+     */
+    public void setType(String type) {
+        _type = type;
+    }
+
+    /**
+     * Returns the description value.
+     * <p>
+     * @return the description value, <b>null</b> if none.
+     *
+     */
+    public String getValue() {
+        return _value;
+    }
+
+    /**
+     * Sets the description value.
+     * <p>
+     * @param value the description value to set, <b>null</b> if none.
+     *
+     */
+    public void setValue(String value) {
+        _value = value;
+    }
+
+}