Remove @version and @author tags
Since we don't have any convention for how to use @version it's best to avoid it completely. As for the @author tag, it is considered redundant nowadays because this information is in the version control system.
This commit is contained in:
parent
6f6ff0ddd5
commit
c36bfd8f47
376 changed files with 2 additions and 1247 deletions
|
@ -21,10 +21,6 @@ import com.rometools.modules.activitystreams.types.ActivityObject;
|
|||
import com.rometools.modules.activitystreams.types.Mood;
|
||||
import com.rometools.modules.activitystreams.types.Verb;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public interface ActivityStreamModule {
|
||||
|
||||
public Verb getVerb();
|
||||
|
|
|
@ -20,10 +20,6 @@ import com.rometools.modules.activitystreams.types.ActivityObject;
|
|||
import com.rometools.modules.activitystreams.types.Mood;
|
||||
import com.rometools.modules.activitystreams.types.Verb;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class ActivityStreamModuleImpl implements ActivityStreamModule {
|
||||
private ActivityObject object;
|
||||
private Verb verb;
|
||||
|
|
|
@ -21,10 +21,6 @@ import com.rometools.modules.georss.GeoRSSModule;
|
|||
import com.rometools.modules.portablecontacts.ContactModule;
|
||||
import com.rometools.rome.feed.atom.Entry;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public abstract class ActivityObject extends Entry implements HasLocation {
|
||||
|
||||
/**
|
||||
|
|
|
@ -44,8 +44,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* content.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Article extends ActivityObject {
|
||||
/**
|
||||
|
|
|
@ -40,8 +40,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* for the audio stream. Represented in JSON as a property called <tt>embedCode</tt> whose value is
|
||||
* a JSON string containing the fragment of HTML.</dd>
|
||||
* </dl>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Audio extends ActivityObject {
|
||||
/**
|
||||
|
|
|
@ -70,8 +70,6 @@ import com.rometools.rome.feed.atom.Link;
|
|||
* inappropriate size for their user interface.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Bookmark extends ActivityObject {
|
||||
|
||||
|
|
|
@ -49,8 +49,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* all HTML markup and consider the comment to be plain text.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Comment extends ActivityObject {
|
||||
|
||||
|
|
|
@ -43,8 +43,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* W3CDTF spec.] [TODO: Include prose describing how to represent just a date vs. a date and time.]</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Event extends ActivityObject {
|
||||
|
||||
|
|
|
@ -45,8 +45,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* property called <tt>mimeType</tt> whose value is a JSON string containing the MIME type.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class File extends ActivityObject {
|
||||
|
||||
|
|
|
@ -39,8 +39,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* Processors MAY ignore thumbnails that are of an inappropriate size for their user interface.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Folder extends ActivityObject {
|
||||
|
||||
|
|
|
@ -28,8 +28,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* </p>
|
||||
* <p>
|
||||
* A group has no additional components.
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Group {
|
||||
|
||||
|
|
|
@ -89,8 +89,6 @@ import com.rometools.modules.portablecontacts.ContactModule;
|
|||
* <hr class="insert" />
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public interface HasLocation {
|
||||
|
||||
|
|
|
@ -27,8 +27,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* <p>
|
||||
* A list has no additional components.
|
||||
* </p>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class List extends ActivityObject {
|
||||
|
||||
|
|
|
@ -35,8 +35,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* icon image. The mood icon image SHOULD be small and appropriate to be displayed alongside the
|
||||
* mood keyword at a normal text size.
|
||||
* </p>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Mood {
|
||||
private String iconUrl;
|
||||
|
|
|
@ -46,8 +46,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* all HTML markup and consider the comment to be plain text.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Note extends ActivityObject {
|
||||
|
||||
|
|
|
@ -44,8 +44,6 @@ import com.rometools.rome.feed.atom.Link;
|
|||
* Image component of the base Object Construct.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Person extends ActivityObject {
|
||||
|
||||
|
|
|
@ -43,8 +43,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* Media Link Construct].</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Photo extends ActivityObject {
|
||||
|
||||
|
|
|
@ -38,8 +38,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* MAY ignore thumbnails that are of an inappropriate size for their user interface.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class PhotoAlbum extends ActivityObject {
|
||||
|
||||
|
|
|
@ -42,8 +42,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* longitude in degrees.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Place extends ActivityObject {
|
||||
|
||||
|
|
|
@ -30,8 +30,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* <p>
|
||||
* A playlist has no additional components.
|
||||
* </p>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Playlist extends ActivityObject {
|
||||
|
||||
|
|
|
@ -43,8 +43,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* Construct].</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Product extends ActivityObject {
|
||||
|
||||
|
|
|
@ -52,8 +52,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* number giving the rating.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Review extends ActivityObject {
|
||||
|
||||
|
|
|
@ -42,8 +42,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* suitable for presentation at a small size.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Service extends ActivityObject {
|
||||
|
||||
|
|
|
@ -35,8 +35,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* <p>
|
||||
* A song has no additional components.
|
||||
* </p>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Song extends ActivityObject {
|
||||
/**
|
||||
|
|
|
@ -38,8 +38,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* <p>
|
||||
* A status has the same components as a note.
|
||||
* </p>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Status extends ActivityObject {
|
||||
|
||||
|
|
|
@ -16,10 +16,6 @@
|
|||
*/
|
||||
package com.rometools.modules.activitystreams.types;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public enum Verb {
|
||||
/**
|
||||
* The "mark as favorite" Verb indicates that the Subject marked the Object as an item of
|
||||
|
|
|
@ -43,8 +43,6 @@ package com.rometools.modules.activitystreams.types;
|
|||
* a JSON string containing the fragment of HTML.</dd>
|
||||
* </dl>
|
||||
* </blockquote>
|
||||
*
|
||||
* @author robert.cooper
|
||||
*/
|
||||
public class Video {
|
||||
|
||||
|
|
|
@ -20,9 +20,6 @@ import java.util.Date;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Article or News
|
||||
* entry types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public interface Article extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -20,9 +20,6 @@ import com.rometools.modules.base.types.DateTimeRange;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Class or Course
|
||||
* information entry types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public interface Course extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -18,9 +18,6 @@ package com.rometools.modules.base;
|
|||
|
||||
/**
|
||||
* This class represents a custom tag name and value.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public interface CustomTag {
|
||||
|
||||
|
|
|
@ -23,10 +23,6 @@ import com.rometools.modules.base.types.FloatUnit;
|
|||
import com.rometools.modules.base.types.IntUnit;
|
||||
import com.rometools.modules.base.types.ShortDate;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class CustomTagImpl implements CustomTag {
|
||||
private Object value;
|
||||
private final String name;
|
||||
|
|
|
@ -20,10 +20,6 @@ import java.util.List;
|
|||
|
||||
import com.rometools.rome.feed.module.Module;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public interface CustomTags extends Module {
|
||||
|
||||
public static final String URI = "http://base.google.com/cns/1.0";
|
||||
|
|
|
@ -21,10 +21,6 @@ import java.util.List;
|
|||
|
||||
import com.rometools.rome.feed.CopyFrom;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class CustomTagsImpl implements CustomTags {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -24,9 +24,6 @@ import com.rometools.modules.base.types.ShippingType;
|
|||
|
||||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Event entry types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Event extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -21,9 +21,6 @@ import java.util.Date;
|
|||
|
||||
/**
|
||||
* This is an interface representing the universals.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public interface GlobalInterface extends Serializable {
|
||||
/**
|
||||
|
|
|
@ -25,9 +25,6 @@ import com.rometools.rome.feed.module.Module;
|
|||
* Article or Job datatype, you can cast it to the respective interface and see only methods related
|
||||
* to a particular entry type.
|
||||
* </p>
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface GoogleBase extends Module, Article, Course, Event, Job, Person, Product, Review, ScholarlyArticle, Service, Travel, Unknown, Vehicle, Wanted,
|
||||
Housing {
|
||||
|
|
|
@ -39,9 +39,6 @@ import com.rometools.rome.feed.impl.EqualsBean;
|
|||
|
||||
/**
|
||||
* This is the implementation class for the GoogleBase module interface.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public class GoogleBaseImpl implements GoogleBase {
|
||||
/**
|
||||
|
|
|
@ -25,9 +25,6 @@ import com.rometools.modules.base.types.YearType;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Housing entry
|
||||
* types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Housing extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -21,9 +21,6 @@ import com.rometools.modules.base.types.PriceTypeEnumeration;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Job listing entry
|
||||
* types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Job extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -20,9 +20,6 @@ import com.rometools.modules.base.types.GenderEnumeration;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Person (personal
|
||||
* ad, resume, profile) entry types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public interface Person extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -24,9 +24,6 @@ import com.rometools.modules.base.types.Size;
|
|||
|
||||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Products.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Product extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -23,9 +23,6 @@ import com.rometools.modules.base.types.FloatUnit;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for critical reviews of
|
||||
* other things.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Review extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -20,9 +20,6 @@ import java.util.Date;
|
|||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for Scholarly
|
||||
* publication, research studies and reference materials.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public interface ScholarlyArticle extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -23,9 +23,6 @@ import com.rometools.modules.base.types.ShippingType;
|
|||
|
||||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for service offerings.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Service extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -24,9 +24,6 @@ import com.rometools.modules.base.types.ShippingType;
|
|||
|
||||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for travel items.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Travel extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -22,8 +22,6 @@ import com.rometools.modules.base.types.IntUnit;
|
|||
/**
|
||||
* This interface contains all the other schema elements that the document doesn't associate with a
|
||||
* particular type.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public interface Unknown extends GlobalInterface {
|
||||
public void setLicenses(String[] licenses);
|
||||
|
|
|
@ -19,9 +19,6 @@ package com.rometools.modules.base;
|
|||
/**
|
||||
* This is an unchecked exception that is thrown when a data value violates the Google Schema
|
||||
* limits.
|
||||
*
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ValidationException extends RuntimeException {
|
||||
|
||||
|
|
|
@ -24,9 +24,6 @@ import com.rometools.modules.base.types.YearType;
|
|||
|
||||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for vehicles.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Vehicle extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -19,9 +19,6 @@ import com.rometools.modules.base.types.FloatUnit;
|
|||
|
||||
/**
|
||||
* This is an interface for the GoogleBase plug in that exposes methods used for wanted ads.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface Wanted extends GlobalInterface {
|
||||
/**
|
||||
|
|
|
@ -35,10 +35,6 @@ import com.rometools.modules.base.types.ShortDate;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleGenerator;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class CustomTagGenerator implements ModuleGenerator {
|
||||
|
||||
static final HashSet<Namespace> NAMESPACES = new HashSet<Namespace>();
|
||||
|
|
|
@ -40,10 +40,6 @@ import com.rometools.modules.base.types.ShortDate;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleParser;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.4 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class CustomTagParser implements ModuleParser {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(CustomTagParser.class);
|
||||
|
|
|
@ -43,11 +43,6 @@ import com.rometools.modules.base.types.YearType;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleGenerator;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class GoogleBaseGenerator implements ModuleGenerator {
|
||||
private static final Namespace NS = Namespace.getNamespace("g-core", GoogleBase.URI);
|
||||
|
||||
|
|
|
@ -51,9 +51,6 @@ import com.rometools.rome.io.ModuleParser;
|
|||
|
||||
/**
|
||||
* DOCUMENT ME!
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.3 $
|
||||
*/
|
||||
public class GoogleBaseParser implements ModuleParser {
|
||||
|
||||
|
|
|
@ -17,9 +17,6 @@ package com.rometools.modules.base.types;
|
|||
|
||||
/**
|
||||
* This is just a holder interface for cloneable elements.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public interface CloneableType extends Cloneable {
|
||||
public Object clone();
|
||||
|
|
|
@ -19,9 +19,6 @@ import java.util.HashMap;
|
|||
|
||||
/**
|
||||
* An Enumeration of valid currency types.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class CurrencyEnumeration {
|
||||
|
||||
|
|
|
@ -19,9 +19,6 @@ import java.util.Date;
|
|||
|
||||
/**
|
||||
* Represents a time range.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public class DateTimeRange implements CloneableType {
|
||||
/**
|
||||
|
|
|
@ -19,9 +19,6 @@ import com.rometools.modules.base.io.GoogleBaseParser;
|
|||
|
||||
/**
|
||||
* This class represents a quantity consisting of a float value and an optional units specification.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class FloatUnit implements CloneableType {
|
||||
/**
|
||||
|
|
|
@ -17,9 +17,6 @@ package com.rometools.modules.base.types;
|
|||
|
||||
/**
|
||||
* Simple enumeration for Genders.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class GenderEnumeration implements CloneableType {
|
||||
/** Men */
|
||||
|
|
|
@ -17,11 +17,6 @@ package com.rometools.modules.base.types;
|
|||
|
||||
import com.rometools.modules.base.io.GoogleBaseParser;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class IntUnit implements CloneableType {
|
||||
private String units;
|
||||
private final int value;
|
||||
|
|
|
@ -17,11 +17,6 @@ package com.rometools.modules.base.types;
|
|||
|
||||
import java.util.HashMap;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class PaymentTypeEnumeration {
|
||||
|
||||
private static final HashMap<String, PaymentTypeEnumeration> lookup = new HashMap<String, PaymentTypeEnumeration>();
|
||||
|
|
|
@ -17,9 +17,6 @@ package com.rometools.modules.base.types;
|
|||
|
||||
/**
|
||||
* Enumeration of values suitable for "price_type" or "salary_type".
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class PriceTypeEnumeration implements CloneableType {
|
||||
/**
|
||||
|
|
|
@ -19,9 +19,6 @@ import java.util.HashMap;
|
|||
|
||||
/**
|
||||
* This class represents a specific shipping option for an item.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class ShippingType implements CloneableType {
|
||||
/**
|
||||
|
|
|
@ -22,9 +22,6 @@ import java.util.Date;
|
|||
* day for Google Base. It should be transparent to module developers.
|
||||
*
|
||||
* Move along. Nothing to see here.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class ShortDate extends Date implements CloneableType {
|
||||
/**
|
||||
|
|
|
@ -19,9 +19,6 @@ import java.util.StringTokenizer;
|
|||
|
||||
/**
|
||||
* Represents the size on an item in 2 or 3 dimensions.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.2 $
|
||||
*/
|
||||
public class Size implements CloneableType {
|
||||
/**
|
||||
|
|
|
@ -20,9 +20,6 @@ import java.util.Date;
|
|||
|
||||
/**
|
||||
* This class represents a simple 4 digit year.
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
* @version $Revision: 1.1 $
|
||||
*/
|
||||
public class YearType implements CloneableType {
|
||||
/**
|
||||
|
|
|
@ -19,10 +19,6 @@ package com.rometools.modules.cc;
|
|||
import com.rometools.modules.cc.types.License;
|
||||
import com.rometools.rome.feed.module.Module;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public interface CreativeCommons extends Module {
|
||||
|
||||
public static final String URI = "rome:CreativeCommons";
|
||||
|
|
|
@ -23,10 +23,6 @@ import com.rometools.rome.feed.CopyFrom;
|
|||
import com.rometools.rome.feed.impl.EqualsBean;
|
||||
import com.rometools.rome.feed.impl.ToStringBean;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class CreativeCommonsImpl implements CreativeCommons {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -30,10 +30,6 @@ import com.rometools.modules.cc.types.License;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleGenerator;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class CCModuleGenerator implements ModuleGenerator {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(CCModuleGenerator.class);
|
||||
|
|
|
@ -30,10 +30,6 @@ import com.rometools.modules.cc.types.License.Behaviour;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleParser;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.3 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ModuleParserRSS1 implements ModuleParser {
|
||||
|
||||
private static final Namespace NS = Namespace.getNamespace(CreativeCommonsImpl.RSS1_URI);
|
||||
|
|
|
@ -29,11 +29,6 @@ import com.rometools.modules.cc.types.License;
|
|||
import com.rometools.rome.feed.module.Module;
|
||||
import com.rometools.rome.io.ModuleParser;
|
||||
|
||||
/**
|
||||
*
|
||||
* @version $Revision: 1.3 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ModuleParserRSS2 implements ModuleParser {
|
||||
|
||||
private static final Namespace NS = Namespace.getNamespace(CreativeCommonsImpl.RSS2_URI);
|
||||
|
|
|
@ -27,10 +27,6 @@ import org.slf4j.LoggerFactory;
|
|||
import com.rometools.rome.feed.impl.EqualsBean;
|
||||
import com.rometools.rome.feed.impl.ToStringBean;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class License {
|
||||
|
||||
private static final String CC_START = "http://creativecommons.org/licenses/";
|
||||
|
|
|
@ -25,9 +25,6 @@ import org.jdom2.Namespace;
|
|||
/**
|
||||
* This class represents a content item per the "Original Syntax".
|
||||
* http://purl.org/rss/1.0/modules/content/
|
||||
*
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ContentItem implements Cloneable {
|
||||
|
||||
|
|
|
@ -19,10 +19,6 @@ import java.util.List;
|
|||
|
||||
import com.rometools.rome.feed.module.Module;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.1 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public interface ContentModule extends Module {
|
||||
|
||||
public static final String URI = "http://purl.org/rss/1.0/modules/content/";
|
||||
|
|
|
@ -23,10 +23,6 @@ import java.util.List;
|
|||
import com.rometools.rome.feed.CopyFrom;
|
||||
import com.rometools.rome.feed.module.ModuleImpl;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.4 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ContentModuleImpl extends ModuleImpl implements ContentModule {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
|
@ -34,10 +34,6 @@ import org.slf4j.LoggerFactory;
|
|||
import com.rometools.modules.content.ContentItem;
|
||||
import com.rometools.modules.content.ContentModule;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.2 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ContentModuleGenerator implements com.rometools.rome.io.ModuleGenerator {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(ContentModuleGenerator.class);
|
||||
|
|
|
@ -31,10 +31,6 @@ import com.rometools.modules.content.ContentItem;
|
|||
import com.rometools.modules.content.ContentModule;
|
||||
import com.rometools.modules.content.ContentModuleImpl;
|
||||
|
||||
/**
|
||||
* @version $Revision: 1.3 $
|
||||
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
|
||||
*/
|
||||
public class ContentModuleParser implements com.rometools.rome.io.ModuleParser {
|
||||
private static final Namespace CONTENT_NS = Namespace.getNamespace("content", ContentModule.URI);
|
||||
private static final Namespace RDF_NS = Namespace.getNamespace("rdf", ContentModule.RDF_URI);
|
||||
|
|
|
@ -23,10 +23,6 @@ import com.rometools.rome.feed.module.Module;
|
|||
|
||||
/**
|
||||
* Interface for the FeedBurner RSS extension.
|
||||
*
|
||||
* @version 1.0
|
||||
* @author Georg Schmidl <georg.schmidl@scandio.de>
|
||||
*
|
||||
*/
|
||||
public interface FeedBurner extends Module, Serializable, Cloneable {
|
||||
|
||||
|
|
|
@ -21,10 +21,6 @@ import com.rometools.rome.feed.CopyFrom;
|
|||
|
||||
/**
|
||||
* Implementation of the FeedBurner RSS extension.
|
||||
*
|
||||
* @version 1.0
|
||||
* @author Georg Schmidl <georg.schmidl@scandio.de>
|
||||
*
|
||||
*/
|
||||
public class FeedBurnerImpl implements FeedBurner {
|
||||
|
||||
|
|
|
@ -28,10 +28,6 @@ import com.rometools.rome.io.ModuleGenerator;
|
|||
|
||||
/**
|
||||
* ModuleGenerator implementation for the FeedBurner RSS extension.
|
||||
*
|
||||
* @version 1.0
|
||||
* @author Georg Schmidl <georg.schmidl@scandio.de>
|
||||
*
|
||||
*/
|
||||
public class FeedBurnerModuleGenerator implements ModuleGenerator {
|
||||
private static final Namespace NS = Namespace.getNamespace("feedburner", FeedBurner.URI);
|
||||
|
|
|
@ -28,10 +28,6 @@ import com.rometools.rome.io.ModuleParser;
|
|||
|
||||
/**
|
||||
* ModuleParser implementation for the FeedBurner RSS extension.
|
||||
*
|
||||
* @version 1.0
|
||||
* @author Georg Schmidl <georg.schmidl@scandio.de>
|
||||
*
|
||||
*/
|
||||
public class FeedBurnerModuleParser implements ModuleParser {
|
||||
private static final Namespace NS = Namespace.getNamespace(FeedBurner.URI);
|
||||
|
|
|
@ -39,10 +39,6 @@ import com.rometools.rome.io.ModuleGenerator;
|
|||
|
||||
/**
|
||||
* GMLGenerator produces georss elements in georss GML format.
|
||||
*
|
||||
* @author Marc Wick
|
||||
* @version $Id: GMLGenerator.java,v 1.1 2007/04/18 09:59:29 marcwick Exp $
|
||||
*
|
||||
*/
|
||||
public class GMLGenerator implements ModuleGenerator {
|
||||
|
||||
|
|
|
@ -19,10 +19,6 @@ package com.rometools.modules.georss;
|
|||
/**
|
||||
* GMLModuleImpl is the implementation of the {@link GeoRSSModule} Interface for the gml GeoRSS
|
||||
* format.
|
||||
*
|
||||
* @author Marc Wick
|
||||
* @version $Id: GMLModuleImpl.java,v 1.1 2007/04/18 09:59:29 marcwick Exp $
|
||||
*
|
||||
*/
|
||||
public class GMLModuleImpl extends GeoRSSModule {
|
||||
|
||||
|
|
|
@ -35,10 +35,6 @@ import com.rometools.utils.Strings;
|
|||
|
||||
/**
|
||||
* GMLParser is a parser for the GML georss format.
|
||||
*
|
||||
* @author Marc Wick
|
||||
* @version $Id: GMLParser.java,v 1.2 2007/06/05 20:44:53 marcwick Exp $
|
||||
*
|
||||
*/
|
||||
public class GMLParser implements ModuleParser {
|
||||
|
||||
|
|
|
@ -26,9 +26,6 @@ import com.rometools.rome.feed.module.ModuleImpl;
|
|||
/**
|
||||
* GeoRSSModule is the main georss interface defining the methods to produce and consume georss
|
||||
* elements.
|
||||
*
|
||||
* @author Marc Wick
|
||||
* @version $Id: GeoRSSModule.java,v 1.8 2007/06/06 09:47:32 marcwick Exp $
|
||||
*/
|
||||
public abstract class GeoRSSModule extends ModuleImpl implements Cloneable {
|
||||
|
||||
|
|
|
@ -16,10 +16,6 @@
|
|||
*/
|
||||
package com.rometools.modules.georss;
|
||||
|
||||
/**
|
||||
* @author marc
|
||||
*
|
||||
*/
|
||||
public class GeoRSSPoint implements Cloneable {
|
||||
private double latitude;
|
||||
|
||||
|
|
|
@ -21,10 +21,6 @@ import com.rometools.rome.feed.synd.SyndFeed;
|
|||
|
||||
/**
|
||||
* static utility methods for georss.
|
||||
*
|
||||
* @author Marc Wick
|
||||
* @version $Id: GeoRSSUtils.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $
|
||||
*
|
||||
*/
|
||||
public class GeoRSSUtils {
|
||||
|
||||
|
|
|
@ -39,10 +39,6 @@ import com.rometools.rome.io.ModuleGenerator;
|
|||
|
||||
/**
|
||||
* SimpleGenerator produces georss elements in georss simple format.
|
||||
*
|
||||
* @author Marc Wick
|
||||
* @version $Id: SimpleGenerator.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $
|
||||
*
|
||||
*/
|
||||
public class SimpleGenerator implements ModuleGenerator {
|
||||
private static final Logger LOG = LoggerFactory.getLogger(SimpleGenerator.class);
|
||||
|
|
|
@ -19,10 +19,6 @@ package com.rometools.modules.georss;
|
|||
/**
|
||||
* SimpleModuleImpl is the implementation of the {@link GeoRSSModule} Interface for the GeoRSS
|
||||
* Simple format.
|
||||
*
|
||||
* @author Marc Wick
|
||||
* @version $Id: SimpleModuleImpl.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $
|
||||
*
|
||||
*/
|
||||
public class SimpleModuleImpl extends GeoRSSModule {
|
||||
|
||||
|
|
|
@ -34,10 +34,6 @@ import com.rometools.utils.Strings;
|
|||
|
||||
/**
|
||||
* SimpleParser is a parser for the GeoRSS Simple format.
|
||||
*
|
||||
* @author Marc Wick
|
||||
* @version $Id: SimpleParser.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $
|
||||
*
|
||||
*/
|
||||
public class SimpleParser implements ModuleParser {
|
||||
|
||||
|
|
|
@ -31,10 +31,6 @@ import com.rometools.rome.io.ModuleGenerator;
|
|||
|
||||
/**
|
||||
* W3CGeoGenerator produces georss elements in georss W3C geo format.
|
||||
*
|
||||
* @author Marc Wick
|
||||
* @version $Id: W3CGeoGenerator.java,v 1.3 2007/04/18 09:59:30 marcwick Exp $
|
||||
*
|
||||
*/
|
||||
public class W3CGeoGenerator implements ModuleGenerator {
|
||||
|
||||
|
|
|
@ -19,10 +19,6 @@ package com.rometools.modules.georss;
|
|||
/**
|
||||
* W3CGeoModuleImpl is the implementation of the {@link GeoRSSModule} Interface for the W3C geo
|
||||
* format.
|
||||
*
|
||||
* @author Marc Wick
|
||||
* @version $Id: W3CGeoModuleImpl.java,v 1.2 2007/04/18 09:59:29 marcwick Exp $
|
||||
*
|
||||
*/
|
||||
public class W3CGeoModuleImpl extends GeoRSSModule {
|
||||
|
||||
|
|
|
@ -28,10 +28,6 @@ import com.rometools.utils.Strings;
|
|||
|
||||
/**
|
||||
* W3CGeoParser is a parser for the W3C geo format.
|
||||
*
|
||||
* @author Marc Wick
|
||||
* @version $Id: W3CGeoParser.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $
|
||||
*
|
||||
*/
|
||||
public class W3CGeoParser implements ModuleParser {
|
||||
|
||||
|
|
|
@ -16,8 +16,6 @@ package com.rometools.modules.georss.geometries;
|
|||
|
||||
/**
|
||||
* Abstract base class for Curves (linear objects)
|
||||
*
|
||||
* @author runaas
|
||||
*/
|
||||
public abstract class AbstractCurve extends AbstractGeometricPrimitive {
|
||||
|
||||
|
|
|
@ -17,8 +17,6 @@ package com.rometools.modules.georss.geometries;
|
|||
|
||||
/**
|
||||
* Abstract base class for geometric primitives (non-composite geometric objects)
|
||||
*
|
||||
* @author runaas
|
||||
*/
|
||||
public abstract class AbstractGeometricPrimitive extends AbstractGeometry {
|
||||
|
||||
|
|
|
@ -19,8 +19,6 @@ import java.io.Serializable;
|
|||
|
||||
/**
|
||||
* Abstract base class for geometries.
|
||||
*
|
||||
* @author runaas
|
||||
*/
|
||||
public abstract class AbstractGeometry implements Cloneable, Serializable {
|
||||
|
||||
|
|
|
@ -19,8 +19,6 @@ import java.io.Serializable;
|
|||
|
||||
/**
|
||||
* Abstract base class for rings (closed linear objects used for polygon borders)
|
||||
*
|
||||
* @author runaas
|
||||
*/
|
||||
public abstract class AbstractRing implements Cloneable, Serializable {
|
||||
|
||||
|
|
|
@ -17,8 +17,6 @@ package com.rometools.modules.georss.geometries;
|
|||
|
||||
/**
|
||||
* Abstract base class for surface (area) objects
|
||||
*
|
||||
* @author runaas
|
||||
*/
|
||||
public abstract class AbstractSurface extends AbstractGeometricPrimitive {
|
||||
|
||||
|
|
|
@ -19,8 +19,6 @@ package com.rometools.modules.georss.geometries;
|
|||
* Envelope, a bounding box spanned by an upper right and lower left corner point. Note that if the
|
||||
* box spans the -180 180 degree meridian the numerical value of the minLongitude may be greater
|
||||
* than the maxLongitude.
|
||||
*
|
||||
* @author runaas
|
||||
*/
|
||||
public class Envelope extends AbstractGeometry {
|
||||
/**
|
||||
|
|
|
@ -17,8 +17,6 @@ package com.rometools.modules.georss.geometries;
|
|||
|
||||
/**
|
||||
* Linear object constructed by linear interpolation between points
|
||||
*
|
||||
* @author runaas
|
||||
*/
|
||||
public final class LineString extends AbstractCurve {
|
||||
/**
|
||||
|
|
|
@ -18,8 +18,6 @@ package com.rometools.modules.georss.geometries;
|
|||
/**
|
||||
* Linear boundary object constructed by linear interpolation between points. Start and end point
|
||||
* should be identical.
|
||||
*
|
||||
* @author runaas
|
||||
*/
|
||||
public final class LinearRing extends AbstractRing {
|
||||
/**
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue