Formatted and cleaned up code

This commit is contained in:
Patrick Gotthard 2014-04-12 15:14:43 +02:00
parent cfd85a7986
commit 6e2a56066b
220 changed files with 4416 additions and 4196 deletions

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -22,7 +22,7 @@ import org.rometools.feed.module.activitystreams.types.Mood;
import org.rometools.feed.module.activitystreams.types.Verb;
/**
*
*
* @author robert.cooper
*/
public interface ActivityStreamModule {

View file

@ -21,7 +21,7 @@ import org.rometools.feed.module.activitystreams.types.Mood;
import org.rometools.feed.module.activitystreams.types.Verb;
/**
*
*
* @author robert.cooper
*/
public class ActivityStreamModuleImpl implements ActivityStreamModule {
@ -30,7 +30,7 @@ public class ActivityStreamModuleImpl implements ActivityStreamModule {
/**
* Set the value of object
*
*
* @param newobject new value of object
*/
@Override
@ -40,7 +40,7 @@ public class ActivityStreamModuleImpl implements ActivityStreamModule {
/**
* Get the value of object
*
*
* @return the value of object
*/
@Override
@ -50,7 +50,7 @@ public class ActivityStreamModuleImpl implements ActivityStreamModule {
/**
* Set the value of verb
*
*
* @param newverb new value of verb
*/
@Override
@ -60,7 +60,7 @@ public class ActivityStreamModuleImpl implements ActivityStreamModule {
/**
* Get the value of verb
*
*
* @return the value of verb
*/
@Override

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -23,11 +23,16 @@ import org.rometools.feed.module.portablecontacts.ContactModule;
import com.sun.syndication.feed.atom.Entry;
/**
*
*
* @author robert.cooper
*/
public abstract class ActivityObject extends Entry implements HasLocation {
/**
*
*/
private static final long serialVersionUID = 1L;
public abstract String getTypeIRI();
@Override

View file

@ -40,10 +40,15 @@ package org.rometools.feed.module.activitystreams.types;
* HTML that represents the content.</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class Article extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/article";

View file

@ -37,16 +37,20 @@ package org.rometools.feed.module.activitystreams.types;
* <dd>An HTML fragment that, when embedded in an HTML page, will provide an interactive player UI 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 {
/**
*
*/
private static final long serialVersionUID = 1L;
private String embedCode;
private String streamLink;
/**
* Set the value of embedCode
*
*
* @param newembedCode new value of embedCode
*/
public void setEmbedCode(final String newembedCode) {
@ -55,7 +59,7 @@ public class Audio extends ActivityObject {
/**
* Get the value of embedCode
*
*
* @return the value of embedCode
*/
public String getEmbedCode() {
@ -64,7 +68,7 @@ public class Audio extends ActivityObject {
/**
* Set the value of streamLink
*
*
* @param newstreamLink new value of streamLink
*/
public void setStreamLink(final String newstreamLink) {
@ -73,7 +77,7 @@ public class Audio extends ActivityObject {
/**
* Get the value of streamLink
*
*
* @return the value of streamLink
*/
public String getStreamLink() {

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -61,11 +61,16 @@ import com.sun.syndication.feed.atom.Link;
* ignore thumbnails that are of an inappropriate size for their user interface.</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class Bookmark extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/bookmark";
@ -73,7 +78,7 @@ public class Bookmark extends ActivityObject {
/**
* Get the value of thumbnail
*
*
* @return the value of thumbnail
*/
public Link getThumbnail() {
@ -82,7 +87,7 @@ public class Bookmark extends ActivityObject {
/**
* Set the value of thumbnail
*
*
* @param newthumbnail new value of thumbnail
*/
public void setThumbnail(final Link newthumbnail) {

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -44,11 +44,16 @@ package org.rometools.feed.module.activitystreams.types;
* any links that the service automatically adds. Processors MAY remove all HTML markup and consider the comment to be plain text.</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class Comment extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/comment";

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -39,11 +39,16 @@ package org.rometools.feed.module.activitystreams.types;
* timestamp. [TODO: Reference 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 {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/event";

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -43,11 +43,16 @@ package org.rometools.feed.module.activitystreams.types;
* containing the MIME type.</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class File extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/file";

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -37,11 +37,16 @@ package org.rometools.feed.module.activitystreams.types;
* the base Object Construct. 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 {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/folder";

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -26,7 +26,7 @@ package org.rometools.feed.module.activitystreams.types;
* </p>
* <p>
* A group has no additional components.
*
*
* @author robert.cooper
*/
public class Group {

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -38,7 +38,7 @@ import org.rometools.feed.module.portablecontacts.ContactModule;
* <a name="location-poco"></a>
* </p>
* <div style='display: table; width: 0; margin-left: 3em; margin-right: auto'>
*
*
* <pre>
* &lt;entry&gt;
* &lt;id&gt;tag:world:activity:1212121212121&lt;/id&gt;
@ -72,7 +72,7 @@ import org.rometools.feed.module.portablecontacts.ContactModule;
* &lt;activity:verb&gt;http://activitystrea.ms/schema/1.0/like&lt;/activity:verb&gt;
* &lt;/entry&gt;
* </pre>
*
*
* </div>
* <p>
* <table border="0" cellpadding="0" cellspacing="2" align="center">
@ -82,9 +82,9 @@ import org.rometools.feed.module.portablecontacts.ContactModule;
* </tr>
* </table>
* <hr class="insert" />
*
*
* </p>
*
*
* @author robert.cooper
*/
public interface HasLocation {

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -27,11 +27,16 @@ package org.rometools.feed.module.activitystreams.types;
* <p>
* A list has no additional components.
* </p>
*
*
* @author robert.cooper
*/
public class List extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/list";

View file

@ -17,7 +17,7 @@
package org.rometools.feed.module.activitystreams.types;
/**
*
*
* <p>
* Mood describes the mood of the user when the activity was performed. This is usually collected via an extra field in the user interface used to perform the
* activity. For the purpose of this schema, a mood is a freeform, short mood keyword or phrase along with an optional mood icon image.
@ -32,7 +32,7 @@ package org.rometools.feed.module.activitystreams.types;
* The mood element may have an optional <tt>icon</tt> attribute which contains the URL of a mood 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 {
@ -41,7 +41,7 @@ public class Mood {
/**
* Set the value of iconUrl
*
*
* @param newiconUrl new value of iconUrl
*/
public void setIconUrl(final String newiconUrl) {
@ -50,7 +50,7 @@ public class Mood {
/**
* Get the value of iconUrl
*
*
* @return the value of iconUrl
*/
public String getIconUrl() {
@ -59,7 +59,7 @@ public class Mood {
/**
* Set the value of text
*
*
* @param newtext new value of text
*/
public void setText(final String newtext) {
@ -68,7 +68,7 @@ public class Mood {
/**
* Get the value of text
*
*
* @return the value of text
*/
public String getText() {

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -42,11 +42,16 @@ package org.rometools.feed.module.activitystreams.types;
* any links that the service automatically adds. Processors MAY remove all HTML markup and consider the comment to be plain text.</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class Note extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/note";

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -41,11 +41,16 @@ import com.sun.syndication.feed.atom.Link;
* <dd>A link to an "avatar" or "userpic" image for the user. Represented by the Representative Image component of the base Object Construct.</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class Person extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/person";
@ -53,7 +58,7 @@ public class Person extends ActivityObject {
/**
* Get the value of avatar
*
*
* @return the value of avatar
*/
public Link getAvatar() {
@ -66,7 +71,7 @@ public class Person extends ActivityObject {
/**
* Set the value of avatar
*
*
* @param newavatar new value of avatar
*/
public void setAvatar(final Link newavatar) {

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -39,11 +39,16 @@ package org.rometools.feed.module.activitystreams.types;
* property named <tt>fullImage</tt> whose value is a JSON object with properties as defined in [TODO: xref the JSON serialization of a Media Link Construct].</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class Photo extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/photo";

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -36,11 +36,16 @@ package org.rometools.feed.module.activitystreams.types;
* the base Object Construct. Processors MAY ignore thumbnails that are of an inappropriate size for their user interface.</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class PhotoAlbum extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/photo-album";

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -39,11 +39,16 @@ package org.rometools.feed.module.activitystreams.types;
* decimal representation of the longitude in degrees.</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class Place extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/place";

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -18,7 +18,7 @@
package org.rometools.feed.module.activitystreams.types;
/**
*
*
* <p>
* The "playlist" object type represents an ordered list of time-based media items, such as video and audio objects.
* </p>
@ -28,11 +28,16 @@ package org.rometools.feed.module.activitystreams.types;
* <p>
* A playlist has no additional components.
* </p>
*
*
* @author robert.cooper
*/
public class Playlist extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/playlist";

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -39,11 +39,16 @@ package org.rometools.feed.module.activitystreams.types;
* <tt>fullImage</tt> whose value is a JSON object with properties as defined in [TODO: xref the JSON serialization of a Media Link Construct].</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class Product extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/product";

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -46,11 +46,16 @@ package org.rometools.feed.module.activitystreams.types;
* <tt>rating</tt> whose value is a JSON number giving the rating.</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class Review extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/review";

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -38,11 +38,16 @@ package org.rometools.feed.module.activitystreams.types;
* one (horizontal) to one (vertical) and SHOULD be suitable for presentation at a small size.</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class Service extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/service";

View file

@ -32,15 +32,19 @@ package org.rometools.feed.module.activitystreams.types;
* <p>
* A song has no additional components.
* </p>
*
*
* @author robert.cooper
*/
public class Song extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
private Audio audio;
/**
* Set the value of audio
*
*
* @param newaudio new value of audio
*/
public void setAudio(final Audio newaudio) {
@ -49,7 +53,7 @@ public class Song extends ActivityObject {
/**
* Get the value of audio
*
*
* @return the value of audio
*/
public Audio getAudio() {

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -35,11 +35,16 @@ package org.rometools.feed.module.activitystreams.types;
* <p>
* A status has the same components as a note.
* </p>
*
*
* @author robert.cooper
*/
public class Status extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override
public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/status";

View file

@ -17,7 +17,7 @@
package org.rometools.feed.module.activitystreams.types;
/**
*
*
* @author robert.cooper
*/
public enum Verb {
@ -31,49 +31,49 @@ public enum Verb {
/**
* The "start following" Verb indicates that the Subject began following the activity of the Object. In most cases, the Object of this Verb will be a user,
* but it can potentially be of any type that can sensibly generate activity.
*
*
* The verb URI for the "start following" Verb is http://activitystrea.ms/schema/1.0/follow.
*
*
* Processors MAY ignore (silently drop) successive identical "start following" activities regardless of whether they maintain state sufficient to determine
* (A), (B), or (C) above.
*/
START_FOLLOWING("http://activitystrea.ms/schema/1.0/follow"),
/**
* The "mark as liked" verb indicates that the actor indicated that it likes the object.
*
*
* The verb URI for the "mark as liked" Verb is http://activitystrea.ms/schema/1.0/like.
*/
MARK_AS_LIKED("http://activitystrea.ms/schema/1.0/like"),
/**
* The "make friend" Verb indicates the creation of a friendship that is reciprocated by the object.
*
*
* Since this verb implies an activity on the part of its object, processors MUST NOT accept activities with this Verb unless they are able to verify
* through some external means that there is in fact a reciprocated connection. For example, a processor MAY have received a guarantee from a particular
* publisher that the publisher will only use this Verb in cases where a reciprocal relationship exists.
*
*
* The verb URI for the "make friend" Verb is http://activitystrea.ms/schema/1.0/make-friend.
*/
MAKE_FRIEND("http://activitystrea.ms/schema/1.0/make-friend"),
/**
* The "join" Verb indicates that the actor has become a member of the Object. This specification only defines the meaning of this Verb when its Object is a
* Group, though implementors SHOULD be prepared to handle other Object types as meaning MAY be provided by extension specifications.
*
*
* Processors MAY ignore (silently drop) successive identical "join" activities regardless of whether they maintain state sufficient to determine (A) or (B)
* above.
*
*
* The "join" Verb is identified by the URI http://activitystrea.ms/schema/1.0/join.
*/
JOIN("http://activitystrea.ms/schema/1.0/join"),
/**
* The "play" verb indicates that the subject spent some time enjoying the object. For example, if the object is a video this indicates that the subject
* watched all or part of the video.
*
*
* The "play" Verb is identified by the URI http://activitystrea.ms/schema/1.0/play.
*/
PLAY("http://activitystrea.ms/schema/1.0/play"),
/**
* The "Post" Verb is described in section 8 of the AtomActivity specification. It is only referenced here for completeness.
*
*
* http://activitystrea.ms/schema/1.0/post
*/
POST("http://activitystrea.ms/schema/1.0/post"),
@ -81,38 +81,38 @@ public enum Verb {
* The "save" Verb indicates that the Subject has called out the Object as being of interest primarily to him- or herself. Though this action MAY be shared
* publicly, the implication is that the Object has been saved primarily for the actor's own benefit rather than to show it to others as would be indicated
* by the "share" Verb (Section 3.1.9).
*
*
* The "save" Verb is identified by the URI http://activitystrea.ms/schema/1.0/save.
*/
SAVE("http://activitystrea.ms/schema/1.0/save"),
/**
* The "share" Verb indicates that the Subject has called out the Object to readers. In most cases, the actor did not create the Object being shared, but is
* instead drawing attention to it.
*
*
* The "share" Verb is identified by the URI http://activitystrea.ms/schema/1.0/share.
*/
SHARE("http://activitystrea.ms/schema/1.0/share"),
/**
* The "tag" verb indicates that the actor has identified the presence of a target inside another object. For example, the actor may have specified that a
* particular user appears in a photo.
*
*
* The "tag" verb is identified by the URI http://activitystrea.ms/schema/1.0/tag.
*
*
* The target of the "tag" verb gives the object in which the tag has been added. For example, if a user appears in a photo, the activity:object is the user
* and the activity:target is the photo.
*/
TAG("http://activitystrea.ms/schema/1.0/tag"),
/**
* The "update" Verb indicates that the Subject has modified the referenced Object.
*
*
* Implementors SHOULD use verbs such as Section 3.1.7 where the Subject is adding new items to a Section 3.2.8 or similar. Update is reserved for
* modifications to existing Objects or data such as changing a user's profile information.
*
*
* The "update" Verb is identified by the URI http://activitystrea.ms/schema/1.0/update.
*/
UPDATE("http://activitystrea.ms/schema/1.0/update"),
/**
*
*
* <p>
* The "positive RSVP" verb indicates that the actor has made a positive RSVP for the object. This specification only defines the meaning of this verb when
* its object is an event (see <a class='info' href='#event'>Section&nbsp;4.2.1<span> (</span><span class='info'>Event</span><span>)</span></a>), though
@ -172,7 +172,7 @@ public enum Verb {
}
/**
*
*
* @param iri
* @return
*/

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -39,7 +39,7 @@ package org.rometools.feed.module.activitystreams.types;
* called <tt>embedCode</tt> whose value is a JSON string containing the fragment of HTML.</dd>
* </dl>
* </blockquote>
*
*
* @author robert.cooper
*/
public class Video {

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -18,7 +18,7 @@
package org.rometools.feed.module.atomthread;
/**
*
*
* @author robert.cooper
*/
public interface ThreadModule {

View file

@ -43,7 +43,7 @@ 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 $
*/
@ -51,34 +51,34 @@ public interface Article extends GlobalInterface {
/**
* Array of Author Names. Limit 10.
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> Author of the item.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:author&gt;John Steinbeck&lt;/g:author&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param authors Array of Author Names. Limit 10.
*/
public void setAuthors(String[] authors);
@ -86,283 +86,283 @@ public interface Article extends GlobalInterface {
/**
* Array of Author Names. Limit 10.
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> Author of the item.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:author&gt;John Steinbeck&lt;/g:author&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Array of author names.
*/
public String[] getAuthors();
/**
* Source for this article.
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="news_source"></a>news_source</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> The source of news content.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:news_source&gt;Journal&lt;/g:news_source&gt;</font></td>
*
*
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> News and Articles</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param newsSource Source for this article
*/
public void setNewsSource(String newsSource);
/**
* Source for this article.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="news_source"></a>news_source</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> The source of news content.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:news_source&gt;Journal&lt;/g:news_source&gt;</font></td>
*
*
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> News and Articles</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return source for this article.
*/
public String getNewsSource();
/**
* Number of pages in the article.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="pages"></a>pages</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1">
*
*
* The number of pages in the publication.</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:pages&gt;18&lt;/g:pages&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> integer</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param pages Number of pages in the article
*/
public void setPages(Integer pages);
/**
* Number of pages in the article.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="pages"></a>pages</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1">
*
*
* The number of pages in the publication.</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:pages&gt;18&lt;/g:pages&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> integer</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Number of pages in the article
*/
public Integer getPages();
/**
* Date article was published.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
* <td><font size="-1"> Date the item was published in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a> format:
* YYYY-MM-DD</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reference Items</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1">
*
*
* date</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param publishDate Date article was published
*/
public void setPublishDate(Date publishDate);
/**
* Date article was published.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
* <td><font size="-1"> Date the item was published in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a> format:
* YYYY-MM-DD</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reference Items</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1">
*
*
* date</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Date article was published
*/
public Date getPublishDate();

View file

@ -42,20 +42,20 @@ import org.rometools.feed.module.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 {
/**
* The timeframe a course is running.
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="course_date_range"></a>course_date_range</b></font></td>
* </tr>
* <tr valign="top">
@ -63,7 +63,7 @@ public interface Course extends GlobalInterface {
* <td><font size="-1">Date and time range a class is in session, in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO
* 8601</a>. Two sub-attributes are included in course_date_range attribute.
* <ul type="disc">
*
*
* <li>start = Start date and time of a trip in format YYYY-MM-DDThh:mm:ss</li>
* <li>end = End date and time of a trip in format YYYY-MM-DDThh:mm:ss</li>
* </ul>
@ -72,41 +72,41 @@ public interface Course extends GlobalInterface {
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:course_date_range&gt; <br>
*
*
* &lt;g:start&gt;2005-12-20T09:30:01&lt;/g:start&gt; <br>
* &lt;g:end&gt;2005-12-29T10:30:59&lt;/g:end&gt;<br>
* &lt;/g:course_date_range&gt;</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Attribute of</b></font></td>
* <td><font size="-1"> Course schedules</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
*
*
* <td><font size="-1"> dateTimeRange</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param courseDateRange The timeframe a course is running
*/
public void setCourseDateRange(DateTimeRange courseDateRange);
/**
* The timeframe a course is running.
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="course_date_range"></a>course_date_range</b></font></td>
* </tr>
* <tr valign="top">
@ -114,7 +114,7 @@ public interface Course extends GlobalInterface {
* <td><font size="-1">Date and time range a class is in session, in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO
* 8601</a>. Two sub-attributes are included in course_date_range attribute.
* <ul type="disc">
*
*
* <li>start = Start date and time of a trip in format YYYY-MM-DDThh:mm:ss</li>
* <li>end = End date and time of a trip in format YYYY-MM-DDThh:mm:ss</li>
* </ul>
@ -123,36 +123,36 @@ public interface Course extends GlobalInterface {
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:course_date_range&gt; <br>
*
*
* &lt;g:start&gt;2005-12-20T09:30:01&lt;/g:start&gt; <br>
* &lt;g:end&gt;2005-12-29T10:30:59&lt;/g:end&gt;<br>
* &lt;/g:course_date_range&gt;</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Attribute of</b></font></td>
* <td><font size="-1"> Course schedules</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
*
*
* <td><font size="-1"> dateTimeRange</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return The timeframe a course is running
*/
public DateTimeRange getCourseDateRange();
/**
* ID code associated with a course.
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -160,38 +160,38 @@ public interface Course extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1">ID code associated with a course</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1">&lt;g:course_number&gt;HIST-90A&lt;/g:course_number&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1">Course schedules</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1">string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @param courseNumber ID code associated with a course
*/
public void setCourseNumber(String courseNumber);
/**
* ID code associated with a course.
*
*
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -199,271 +199,271 @@ public interface Course extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1">ID code associated with a course</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1">&lt;g:course_number&gt;HIST-90A&lt;/g:course_number&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1">Course schedules</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1">string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @return ID code associated with a course
*/
public String getCourseNumber();
/**
* Time a class is in session.
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="course_times"></a>course_times</b></font></td>
*
*
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
* <td><font size="-1">Time a class is in session.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1">&lt;g:course_times&gt;MWF 08:30 - 09:45&lt;/g:course_times&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1">Course schedules</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1">string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param courseTimes Time a class is in session
*/
public void setCourseTimes(String courseTimes);
/**
* Time a class is in session.
*
*
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="course_times"></a>course_times</b></font></td>
*
*
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
* <td><font size="-1">Time a class is in session.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1">&lt;g:course_times&gt;MWF 08:30 - 09:45&lt;/g:course_times&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1">Course schedules</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1">string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Time a class is in session
*/
public String getCourseTimes();
/**
* Salary for this position.
*
*
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary"></a>salary</b></font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Salary for this position. Non-numeric values such as "$" symbols are not acceptable. </font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:salary&gt;55000&lt;/g:salary&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Jobs</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
*
*
* <td><font size="-1">
*
*
* float</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param salary Salary for this position
*/
public void setSalary(Float salary);
/**
* Salary for this position.
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary"></a>salary</b></font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Salary for this position. Non-numeric values such as "$" symbols are not acceptable. </font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:salary&gt;55000&lt;/g:salary&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Jobs</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
*
*
* <td><font size="-1">
*
*
* float</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Salary for this position
*/
public Float getSalary();
/**
* Topics of study for a course.
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="subject"></a>subject</b></font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
* <td><font size="-1"> Topic of study for a course.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:subject&gt;Trigonometry&lt;/g:subject&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1">
*
*
* Course schedules</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @param subject Topics of study for a course
*/
public void setSubjects(String[] subject);
/**
* Topics of study for a course.
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="subject"></a>subject</b></font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
* <td><font size="-1"> Topic of study for a course.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:subject&gt;Trigonometry&lt;/g:subject&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1">
*
*
* Course schedules</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @return Topics of study for a course
*/
public String[] getSubjects();
@ -474,35 +474,35 @@ public interface Course extends GlobalInterface {
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="university"></a>university</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Name of the school a class is offered at. </font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:university&gt;Stanford&lt;/g:university&gt;</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Attribute of</b></font></td>
* <td><font size="-1"> Course schedules</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
*
*
* <td><font size="-1">
*
*
* string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param university Name of the school at which a class is offered.
*/
public void setUniversity(String university);
@ -513,35 +513,35 @@ public interface Course extends GlobalInterface {
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="university"></a>university</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Name of the school a class is offered at. </font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:university&gt;Stanford&lt;/g:university&gt;</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Attribute of</b></font></td>
* <td><font size="-1"> Course schedules</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
*
*
* <td><font size="-1">
*
*
* string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Name of the school at which a class is offered.
*/
public String getUniversity();

View file

@ -22,7 +22,7 @@ package org.rometools.feed.module.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 $
*/
@ -30,7 +30,7 @@ public interface CustomTag {
/**
* Returns the tag name used.
*
*
* @return Returns the tag name used.
*/
public String getName();
@ -42,7 +42,7 @@ public interface CustomTag {
* <tbody>
* <tr valign="top">
* <td><strong><font size="-1">Type (JavaType)</font></strong></td>
*
*
* <td><strong><font size="-1">Description</font></strong></td>
* <td><strong><font size="-1">Examples</font></strong></td>
* </tr>
@ -50,7 +50,7 @@ public interface CustomTag {
* <td><font size="-1">string (String)</font></td>
* <td><font size="-1">Any string</font></td>
* <td><font size="-1">Blue</font></td>
*
*
* </tr>
* <tr valign="top">
* <td><font size="-1">int (Integer)</font></td>
@ -58,71 +58,71 @@ public interface CustomTag {
* <td><font size="-1">1000</font></td>
* </tr>
* <tr valign="top">
*
*
* <td><font size="-1">float (Float)</font></td>
* <td><font size="-1">Numbers with decimal digits</font></td>
* <td><font size="-1">3.5</font></td>
* </tr>
* <tr valign="top">
* <td><font size="-1">intUnit (IntUnit)</font></td>
*
*
* <td><font size="-1">Whole number value and a string</font></td>
*
*
* <td><font size="-1">10 km</font></td>
* </tr>
* <tr valign="top">
* <td><font size="-1">floatUnit (FloatUnit)</font></td>
* <td><font size="-1">Numbers with decimal digits and a string</font></td>
*
*
* <td><font size="-1">1.5 km</font></td>
* </tr>
*
*
* <tr valign="top">
* <td><font size="-1">date (ShortDate)</font></td>
* <td><font size="-1">Date of an event, in format YYYY-MM-DD</font></td>
* <td><font size="-1">2005-12-12</font></td>
* </tr>
*
*
* <tr valign="top">
* <td><font size="-1">dateTime (java.util.Date)</font></td>
*
*
* <td><font size="-1">Date and time for an event, in format YYYY-MM-DDThh:mm:ss</font></td>
* <td><font size="-1">2005-12-12T12:00:00 </font></td>
* </tr>
* <tr valign="top">
* <td><font size="-1">dateTimeRange (DateTimeRange)</font></td>
*
*
* <td><font size="-1">Start and end dates for an event. An attribute of this type will contain two sub-attributes, &lt;start&gt; and &lt;end&gt; in format
* YYYY-MM-DD</font></td>
*
*
* <td><font size="-1">&lt;start&gt;1975-09-25&lt;/start&gt;<br>
* &lt;end&gt;1975-09-25&lt;/end&gt;
*
*
* </font></td>
* </tr>
* <tr valign="top">
* <td><font size="-1">url (java.net.URL)</font></td>
* <td><font size="-1">HTTP URL </font></td>
*
*
* <td><font size="-1">http://www.google.com</font></td>
* </tr>
*
*
* <tr valign="top">
* <td><font size="-1">boolean (Boolean)</font></td>
* <td><font size="-1">Value may be either true or false.</font></td>
* <td><font size="-1">true</font></td>
* </tr>
*
*
* <tr valign="top">
* <td><font size="-1">location (CustomTagImpl.Location)</font></td>
*
*
* <td><font size="-1">Location</font></td>
* <td><font size="-1">921 W. Dana Street, Mtn View, CA-94103 </font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @return The value of the tag. The objects class is determined by the "type" attribute on the tag.
*/
public Object getValue();

View file

@ -148,23 +148,23 @@ public class CustomTagImpl implements CustomTag {
/**
* Creates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the object. The general intent is that, for any
* object <tt>x</tt>, the expression: <blockquote>
*
*
* <pre>
* x.clone() != x
* </pre>
*
*
* </blockquote> will be true, and that the expression: <blockquote>
*
*
* <pre>
* x.clone().getClass() == x.getClass()
* </pre>
*
*
* </blockquote> will be <tt>true</tt>, but these are not absolute requirements. While it is typically the case that: <blockquote>
*
*
* <pre>
* x.clone().equals(x)
* </pre>
*
*
* </blockquote> will be <tt>true</tt>, this is not an absolute requirement.
* <p>
* By convention, the returned object should be obtained by calling <tt>super.clone</tt>. If a class and all of its superclasses (except <tt>Object</tt>)
@ -184,7 +184,7 @@ public class CustomTagImpl implements CustomTag {
* <p>
* The class <tt>Object</tt> does not itself implement the interface <tt>Cloneable</tt>, so calling the <tt>clone</tt> method on an object whose class is
* <tt>Object</tt> will result in throwing an exception at run time.
*
*
* @return a clone of this instance.
* @exception CloneNotSupportedException if the object's class does not support the <code>Cloneable</code> interface. Subclasses that override the
* <code>clone</code> method can also throw this exception to indicate that an instance cannot be cloned.

View file

@ -31,6 +31,10 @@ import com.sun.syndication.feed.CopyFrom;
*/
public class CustomTagsImpl implements CustomTags {
/**
*
*/
private static final long serialVersionUID = 1L;
private List values;
/** Creates a new instance of CustomTagsImpl */

File diff suppressed because it is too large Load diff

View file

@ -45,14 +45,14 @@ 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 {
/**
* Expiration Date for this item. <br>
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -60,14 +60,14 @@ public interface GlobalInterface extends Serializable {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Date that the item expires in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a> format:
* YYYY-MM-DD</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1"> &lt;g:expiration_date&gt;2005-20-12&lt;/g:expiration_date&gt;
*
*
* </font></td>
* </tr>
* <tr valign="top">
@ -76,19 +76,19 @@ public interface GlobalInterface extends Serializable {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1"> date</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param expirationDate the date this entry will expire
*/
public void setExpirationDate(Date expirationDate);
/**
* Expiration Date for this item. <br>
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -96,14 +96,14 @@ public interface GlobalInterface extends Serializable {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Date that the item expires in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a> format:
* YYYY-MM-DD</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1"> &lt;g:expiration_date&gt;2005-20-12&lt;/g:expiration_date&gt;
*
*
* </font></td>
* </tr>
* <tr valign="top">
@ -112,88 +112,88 @@ public interface GlobalInterface extends Serializable {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1"> date</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return the date this entry will expire
*/
public Date getExpirationDate();
/**
* Date and time that the item expires.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="expiration_date_time"></a>expiration_date_time</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
* <td><font size="-1"> Date and time that the item expires in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a>
* format: YYYY-MM-DDThh:mm:ss</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:expiration_date_time&gt;12-20-05T11:59:59&lt;/g:expiration_date_time&gt; </font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reference Items, Events, Housing, Jobs, People profiles, Products, Services, Travel, Vehicles, Wanted Ads.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1"> dateTime</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @param expirationDateTime Date and time that the item expires.
*/
public void setExpirationDateTime(Date expirationDateTime);
/**
* Date and time that the item expires.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="expiration_date_time"></a>expiration_date_time</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
* <td><font size="-1"> Date and time that the item expires in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a>
* format: YYYY-MM-DDThh:mm:ss</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:expiration_date_time&gt;12-20-05T11:59:59&lt;/g:expiration_date_time&gt; </font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reference Items, Events, Housing, Jobs, People profiles, Products, Services, Travel, Vehicles, Wanted Ads.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1"> dateTime</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @return Date and time that the item expires.
*/
public Date getExpirationDateTime();
@ -207,7 +207,7 @@ public interface GlobalInterface extends Serializable {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Unique alphanumeric identifier for each item - e.g., your internal ID code.<br>
* IMPORTANT: Once you submit an item with a unique id, this identifier must not change when you send in a new bulk upload. Each item must retain the same
* id in subsequent bulk uploads.</font></td>
@ -215,23 +215,23 @@ public interface GlobalInterface extends Serializable {
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1">
*
*
* &lt;g:id&gt;01flx&lt;/g:id&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td>
*
*
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param id unique identifier for this entry
*/
public void setId(String id);
@ -245,7 +245,7 @@ public interface GlobalInterface extends Serializable {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Unique alphanumeric identifier for each item - e.g., your internal ID code.<br>
* IMPORTANT: Once you submit an item with a unique id, this identifier must not change when you send in a new bulk upload. Each item must retain the same
* id in subsequent bulk uploads.</font></td>
@ -253,178 +253,178 @@ public interface GlobalInterface extends Serializable {
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1">
*
*
* &lt;g:id&gt;01flx&lt;/g:id&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td>
*
*
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return unique identifier for this entry
*/
public String getId();
/**
* Images for this item. <br>
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="image_link"></a>image_link</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
* <td><font size="-1"> URL of an associated image if available online. Use your full-sized images; do not use thumbnail images. Up to ten image_links, all
* placed in between their own &lt;image_link&gt; and &lt;/image_link&gt; attributes, can be included with each item. If you do not have an image available,
* do not include this attribute. Please do not include an image that says "Image not available." Relative URLs and logo images are not acceptable.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1"> <em>Acceptable:</em><br>
* &lt;image_link&gt;http://example.com/images/1006.jpg&lt;/image_link&gt;<br>
*
*
* &lt;image_link&gt;http://example.com/i/6.jpg,http://example.com/i/9.jpg&lt;/image_link&gt;<br>
*
*
* <em>Not acceptable:</em><br>
* &lt;image_link&gt;/images/1006.jpg&lt;/image_link&gt;<br>
* &lt;image_link&gt;example.com/images/1006.jpg&lt;/image_link&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1"> url</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @param imageLinks URLs to images. Limit 10.
*/
public void setImageLinks(URL[] imageLinks);
/**
* Images for this item. <br>
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="image_link"></a>image_link</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
* <td><font size="-1"> URL of an associated image if available online. Use your full-sized images; do not use thumbnail images. Up to ten image_links, all
* placed in between their own &lt;image_link&gt; and &lt;/image_link&gt; attributes, can be included with each item. If you do not have an image available,
* do not include this attribute. Please do not include an image that says "Image not available." Relative URLs and logo images are not acceptable.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1"> <em>Acceptable:</em><br>
* &lt;image_link&gt;http://example.com/images/1006.jpg&lt;/image_link&gt;<br>
*
*
* &lt;image_link&gt;http://example.com/i/6.jpg,http://example.com/i/9.jpg&lt;/image_link&gt;<br>
*
*
* <em>Not acceptable:</em><br>
* &lt;image_link&gt;/images/1006.jpg&lt;/image_link&gt;<br>
* &lt;image_link&gt;example.com/images/1006.jpg&lt;/image_link&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1"> url</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @return URLs to images
*/
public URL[] getImageLinks();
/**
* Labels for this item. <br>
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top">
* <font size="-1"><b><a name="label"></a>label</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120">
*
*
* <font size="-1"><b>Details</b></font></td>
* <td>
* <font size="-1">A list of classifications the item may fall under. Up to ten user-selected label, each placed in between their own &lt;label&gt;
*
*
* and &lt;/label&gt; tags, can be included with each item. These attributes will be used to match your items to search queries. Each attribute value will
* be checked for policy compliance.</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120">
* <font size="-1"><b>Example</b></font></td>
* <td>
*
*
* <font size="-1"><em>Acceptable:<br>
* For an automobile in a Vehicles information type:</em><br>
* </font>
*
*
* <font size="-1">&lt;g:label&gt;Leather&lt;/g:label&gt;<br>
* </font> <font size="-1">&lt;g:label&gt;Power locks&lt;/g:label&gt;<br>
*
*
* </font> <font size="-1">&lt;g:label&gt;sunroof&lt;/g:label&gt;<br>
*
*
* </font> <font size="-1">&lt;g:label&gt;ABS&lt;/g:label&gt;<br>
* <br>
* </font> <font size="-1"><em>For a concert in an Events information type:</em></font><br>
*
*
* <font size="-1">&lt;g:label&gt;VIP&lt;/g:label&gt;<br>
*
*
* </font> <font size="-1">&lt;g:label&gt;front row&lt;/g:label&gt;<br>
* </font> <font size="-1">&lt;g:label&gt;backstage&lt;/g:label&gt;<br>
*
*
* </font>
*
*
* <font size="-1">&lt;g:label&gt;KROCK 101.5&lt;/g:label&gt;<br>
* </font> <font size="-1">&lt;g:label&gt;parking passes&lt;/g:label&gt;<br>
* <br>
* </font> <font size="-1"><em>Not acceptable:</em><br>
*
*
* </font> <font size="-1">&lt;g:label&gt; leater, power locks, sunroof, ABS &lt;/g:label&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120">
* <font size="-1"><b>Attribute of</b></font></td>
*
*
* <td>
* <font size="-1">Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td>
@ -433,74 +433,74 @@ public interface GlobalInterface extends Serializable {
* <td width="120">
* <font size="-1"><b>Content type</b></font></td>
* <td>
*
*
* <font size="-1">string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @param labels labels for this entry. Limit 10.
*/
public void setLabels(String[] labels);
/**
* Labels for this item. <br>
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top">
* <font size="-1"><b><a name="label"></a>label</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120">
*
*
* <font size="-1"><b>Details</b></font></td>
* <td>
* <font size="-1">A list of classifications the item may fall under. Up to ten user-selected label, each placed in between their own &lt;label&gt;
*
*
* and &lt;/label&gt; tags, can be included with each item. These attributes will be used to match your items to search queries. Each attribute value will
* be checked for policy compliance.</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120">
* <font size="-1"><b>Example</b></font></td>
* <td>
*
*
* <font size="-1"><em>Acceptable:<br>
* For an automobile in a Vehicles information type:</em><br>
* </font>
*
*
* <font size="-1">&lt;g:label&gt;Leather&lt;/g:label&gt;<br>
* </font> <font size="-1">&lt;g:label&gt;Power locks&lt;/g:label&gt;<br>
*
*
* </font> <font size="-1">&lt;g:label&gt;sunroof&lt;/g:label&gt;<br>
*
*
* </font> <font size="-1">&lt;g:label&gt;ABS&lt;/g:label&gt;<br>
* <br>
* </font> <font size="-1"><em>For a concert in an Events information type:</em></font><br>
*
*
* <font size="-1">&lt;g:label&gt;VIP&lt;/g:label&gt;<br>
*
*
* </font> <font size="-1">&lt;g:label&gt;front row&lt;/g:label&gt;<br>
* </font> <font size="-1">&lt;g:label&gt;backstage&lt;/g:label&gt;<br>
*
*
* </font>
*
*
* <font size="-1">&lt;g:label&gt;KROCK 101.5&lt;/g:label&gt;<br>
* </font> <font size="-1">&lt;g:label&gt;parking passes&lt;/g:label&gt;<br>
* <br>
* </font> <font size="-1"><em>Not acceptable:</em><br>
*
*
* </font> <font size="-1">&lt;g:label&gt; leater, power locks, sunroof, ABS &lt;/g:label&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120">
* <font size="-1"><b>Attribute of</b></font></td>
*
*
* <td>
* <font size="-1">Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td>
@ -509,13 +509,13 @@ public interface GlobalInterface extends Serializable {
* <td width="120">
* <font size="-1"><b>Content type</b></font></td>
* <td>
*
*
* <font size="-1">string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @return labels for this entry
*/
public String[] getLabels();

View file

@ -43,17 +43,17 @@ import com.sun.syndication.feed.module.Module;
/**
* This is the root interface for the Google Base module.
*
*
* <p>
* It supports all the individual data "types". If you want to work with, for instance, just the 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 {
Housing {
/** This is the URI for the Google Base Schema. */
public static final String URI = "http://base.google.com/ns/1.0";
}

View file

@ -60,11 +60,16 @@ import com.sun.syndication.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 {
/**
*
*/
private static final long serialVersionUID = 1L;
/** boolean:listing_type */
private Boolean listingType;
@ -343,7 +348,7 @@ public class GoogleBaseImpl implements GoogleBase {
/**
* DOCUMENT ME!
*
*
* @param actors
*/
@Override

File diff suppressed because it is too large Load diff

View file

@ -44,7 +44,7 @@ import org.rometools.feed.module.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 $
*/
@ -58,13 +58,13 @@ public interface Job extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Level of education required for an employment position.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1">&lt;g:education&gt;PhD&lt;/g:education&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -72,12 +72,12 @@ public interface Job extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param education Level of education required for an employment position.
*/
public void setEducation(String education);
@ -91,13 +91,13 @@ public interface Job extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Level of education required for an employment position.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1">&lt;g:education&gt;PhD&lt;/g:education&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -105,12 +105,12 @@ public interface Job extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Level of education required for an employment position.
*/
public String getEducation();
@ -121,7 +121,7 @@ public interface Job extends GlobalInterface {
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="employer"></a>employer</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
@ -129,13 +129,13 @@ public interface Job extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1">&lt;g:employer&gt;Google, Inc&lt;/g:employer&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
@ -143,7 +143,7 @@ public interface Job extends GlobalInterface {
* </tr>
* </tbody>
* </table>
*
*
* @param employer Company providing employment.
*/
public void setEmployer(String employer);
@ -154,7 +154,7 @@ public interface Job extends GlobalInterface {
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="employer"></a>employer</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
@ -162,13 +162,13 @@ public interface Job extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1">&lt;g:employer&gt;Google, Inc&lt;/g:employer&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
@ -176,163 +176,163 @@ public interface Job extends GlobalInterface {
* </tr>
* </tbody>
* </table>
*
*
* @return Company providing employment.
*/
public String getEmployer();
/**
* Legal residency requirements for an employment position.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="immigration_status"></a>immigration_status</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Legal residency requirements for an employment position.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1">&lt;g:immigration_status&gt;Permanent resident&lt;/g:immigration_status&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param immigrationStatus Legal residency requirements for an employment position.
*/
public void setImmigrationStatus(String immigrationStatus);
/**
* Legal residency requirements for an employment position.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="immigration_status"></a>immigration_status</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Legal residency requirements for an employment position.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1">&lt;g:immigration_status&gt;Permanent resident&lt;/g:immigration_status&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Legal residency requirements for an employment position.
*/
public String getImmigrationStatus();
/**
* The functions of an employment position.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="job_function"></a>job_function</b></font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> The function of an employment position.</font></td>
*
*
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:job_function&gt;Product Manager&lt;/g:job_function&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
*
*
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param function The functions of an employment position.
*/
public void setJobFunctions(String[] function);
/**
* The functions of an employment position.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="job_function"></a>job_function</b></font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> The function of an employment position.</font></td>
*
*
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:job_function&gt;Product Manager&lt;/g:job_function&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
*
*
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return The functions of an employment position.
*/
public String[] getJobFunctions();
@ -342,35 +342,35 @@ public interface Job extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
*
*
* <b><a name="job_industry"></a>job_industry</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> The industry of an employment position.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:job_industry&gt;Government&lt;/g:job_industry&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param jobIndustries The industry of an employment position.
*/
public void setJobIndustries(String[] jobIndustries);
@ -380,35 +380,35 @@ public interface Job extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
*
*
* <b><a name="job_industry"></a>job_industry</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> The industry of an employment position.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:job_industry&gt;Government&lt;/g:job_industry&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return The industry of an employment position.
*/
public String[] getJobIndustries();
@ -418,35 +418,35 @@ public interface Job extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="job_type"></a>job_type</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> Type of employment position. Example: Full-time, part-time, contractor, etc.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:job_type&gt;contractor&lt;/g:job_type&gt;</font></td>
*
*
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param jobTypes Type of employment position. Example: Full-time, part-time, contractor, etc.
*/
public void setJobTypes(String[] jobTypes);
@ -456,35 +456,35 @@ public interface Job extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="job_type"></a>job_type</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> Type of employment position. Example: Full-time, part-time, contractor, etc.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:job_type&gt;contractor&lt;/g:job_type&gt;</font></td>
*
*
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Type of employment position. Example: Full-time, part-time, contractor, etc.
*/
public String[] getJobTypes();
@ -494,43 +494,43 @@ public interface Job extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Location of a property. Should include street, city, state, postal code, and country, in that order. </font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> <em>Acceptable:</em><br>
* &lt;g:location&gt;<st1:place>123 Main St, <st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
*
*
* <em>Not acceptable:</em><br>
* &lt;g:location&gt;<st1:place><st1:city>123</st1:city> Main St,, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
* &lt;g:location&gt; <st1:place><st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> locationType</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param location Location of the position.
*/
public void setLocation(String location);
@ -540,43 +540,43 @@ public interface Job extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Location of a property. Should include street, city, state, postal code, and country, in that order. </font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> <em>Acceptable:</em><br>
* &lt;g:location&gt;<st1:place>123 Main St, <st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
*
*
* <em>Not acceptable:</em><br>
* &lt;g:location&gt;<st1:place><st1:city>123</st1:city> Main St,, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
* &lt;g:location&gt; <st1:place><st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> locationType</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Location of the position.
*/
public String getLocation();
@ -588,36 +588,36 @@ public interface Job extends GlobalInterface {
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary"></a>salary</b></font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Salary for this position. Non-numeric values such as "$" symbols are not acceptable. </font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:salary&gt;55000&lt;/g:salary&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Jobs</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
*
*
* <td><font size="-1">
*
*
* float</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param salary Salary for this position. Non-numeric values such as "$" symbols are not acceptable.
*/
public void setSalary(Float salary);
@ -629,36 +629,36 @@ public interface Job extends GlobalInterface {
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary"></a>salary</b></font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Salary for this position. Non-numeric values such as "$" symbols are not acceptable. </font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:salary&gt;55000&lt;/g:salary&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Jobs</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
*
*
* <td><font size="-1">
*
*
* float</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Salary for this position. Non-numeric values such as "$" symbols are not acceptable.
*/
public Float getSalary();
@ -669,37 +669,37 @@ public interface Job extends GlobalInterface {
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary_type"></a>salary_type</b></font></td>
*
*
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> The type of salary included. Accepted values are <EFBFBD>starting<EFBFBD> or <EFBFBD>negotiable;<EFBFBD> The default is <EFBFBD>starting at.<EFBFBD></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:salary_type&gt;negotiable&lt;/g:salary_type&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Jobs</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1">
*
*
* "starting" or "negotiable"</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param salaryType The type of salary included.
*/
public void setSalaryType(PriceTypeEnumeration salaryType);
@ -710,121 +710,121 @@ public interface Job extends GlobalInterface {
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary_type"></a>salary_type</b></font></td>
*
*
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> The type of salary included. Accepted values are <EFBFBD>starting<EFBFBD> or <EFBFBD>negotiable;<EFBFBD> The default is <EFBFBD>starting at.<EFBFBD></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:salary_type&gt;negotiable&lt;/g:salary_type&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Jobs</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1">
*
*
* "starting" or "negotiable"</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return The type of salary included.
*/
public PriceTypeEnumeration getSalaryType();
/**
* Currency of the price amount for an item.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="currency"></a>currency</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1">Currency of the price amount for an item. Values must be in <a
* href="http://www.iso.org/iso/en/prods-services/popstds/currencycodeslist.html">ISO 4217</a> currency code format.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1"><em>Acceptable:</em><br>
* &lt;g:currency&gt;USD&lt;/g:currency&gt;<br>
*
*
* <em>Not acceptable:</em><br>
* &lt;g:currency&gt;US Dollars&lt;/g:currency&gt;</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1">Events, Housing, Products, Services, Travel, Vehicles</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1">currencyEnumeration</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @param value Currency of the price amount for an item.
*/
public void setCurrency(CurrencyEnumeration value);
/**
* Currency of the price amount for an item.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="currency"></a>currency</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1">Currency of the price amount for an item. Values must be in <a
* href="http://www.iso.org/iso/en/prods-services/popstds/currencycodeslist.html">ISO 4217</a> currency code format.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1"><em>Acceptable:</em><br>
* &lt;g:currency&gt;USD&lt;/g:currency&gt;<br>
*
*
* <em>Not acceptable:</em><br>
* &lt;g:currency&gt;US Dollars&lt;/g:currency&gt;</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1">Events, Housing, Products, Services, Travel, Vehicles</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1">currencyEnumeration</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @return Currency of the price amount for an item.
*/
public CurrencyEnumeration getCurrency();

View file

@ -43,7 +43,7 @@ import org.rometools.feed.module.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 $
*/
@ -58,29 +58,29 @@ public interface Person extends GlobalInterface {
* <tr valign="top">
* <td width="120"><strong><font size="-1">Details</font></strong></td>
* <td><font size="-1">Minimum age requirement for the event or the age of the individual in a People profiles bulk upload entry.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td><strong><font size="-1">Example</font></strong></td>
* <td><font size="-1"><em>Acceptable:</em><br>
* &lt; g:age&gt;18&lt;/g:age&gt;<br>
* <em>Not acceptable:</em><br>
*
*
* &lt; g:age&gt;18 and over&lt;/g:age&gt;</font></td>
* </tr>
* <tr valign="top">
* <td><strong><font size="-1">Attribute of</font></strong></td>
* <td><font size="-1">Events, People profiles</font></td>
*
*
* </tr>
*
*
* <tr valign="top">
* <td><strong><font size="-1">Content type</font></strong></td>
* <td><font size="-1">integer</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param age Age of the individual.
*/
public void setAge(Integer age);
@ -95,29 +95,29 @@ public interface Person extends GlobalInterface {
* <tr valign="top">
* <td width="120"><strong><font size="-1">Details</font></strong></td>
* <td><font size="-1">Minimum age requirement for the event or the age of the individual in a People profiles bulk upload entry.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td><strong><font size="-1">Example</font></strong></td>
* <td><font size="-1"><em>Acceptable:</em><br>
* &lt; g:age&gt;18&lt;/g:age&gt;<br>
* <em>Not acceptable:</em><br>
*
*
* &lt; g:age&gt;18 and over&lt;/g:age&gt;</font></td>
* </tr>
* <tr valign="top">
* <td><strong><font size="-1">Attribute of</font></strong></td>
* <td><font size="-1">Events, People profiles</font></td>
*
*
* </tr>
*
*
* <tr valign="top">
* <td><strong><font size="-1">Content type</font></strong></td>
* <td><font size="-1">integer</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Age of the individual.
*/
public Integer getAge();
@ -131,13 +131,13 @@ public interface Person extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Level of education required for an employment position.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1">&lt;g:education&gt;PhD&lt;/g:education&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -145,12 +145,12 @@ public interface Person extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param education Education of the individual.
*/
public void setEducation(String education);
@ -164,13 +164,13 @@ public interface Person extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Level of education required for an employment position.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1">&lt;g:education&gt;PhD&lt;/g:education&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -178,24 +178,24 @@ public interface Person extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Education of the individual.
*/
public String getEducation();
/**
* Individuals employer.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="employer"></a>employer</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
@ -203,13 +203,13 @@ public interface Person extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1">&lt;g:employer&gt;Google, Inc&lt;/g:employer&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
@ -217,19 +217,19 @@ public interface Person extends GlobalInterface {
* </tr>
* </tbody>
* </table>
*
*
* @param employer Individuals employer.
*/
public void setEmployer(String employer);
/**
* Individuals employer.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="employer"></a>employer</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
@ -237,13 +237,13 @@ public interface Person extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1">&lt;g:employer&gt;Google, Inc&lt;/g:employer&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
@ -251,14 +251,14 @@ public interface Person extends GlobalInterface {
* </tr>
* </tbody>
* </table>
*
*
* @return Individuals employer.
*/
public String getEmployer();
/**
* Ethnicity of the individual in the People profiles bulk upload entry.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -266,36 +266,36 @@ public interface Person extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Ethnicity of the individual in the People profiles bulk upload entry.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1">&lt;g:ethnicity&gt;Latino&lt;/g:ethnicity&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> People profiles</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1"> string</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @param ethnicities Ethnicity of the individual in the People profiles bulk upload entry.
*/
public void setEthnicities(String[] ethnicities);
/**
* Ethnicity of the individual in the People profiles bulk upload entry.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -303,56 +303,56 @@ public interface Person extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Ethnicity of the individual in the People profiles bulk upload entry.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1">&lt;g:ethnicity&gt;Latino&lt;/g:ethnicity&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> People profiles</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1"> string</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @return Ethnicity of the individual in the People profiles bulk upload entry.
*/
public String[] getEthnicities();
/**
* Gender of an individual in a People profiles bulk upload.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="gender"></a>gender</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Gender of an individual in a People profiles bulk upload item. Acceptable values are <EFBFBD>Male<EFBFBD>, <EFBFBD>M<EFBFBD>, <EFBFBD>Female<EFBFBD>, or <EFBFBD>F<EFBFBD>.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;gender&gt;Female&lt;/gender&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> People profiles</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
@ -360,34 +360,34 @@ public interface Person extends GlobalInterface {
* </tr>
* </tbody>
* </table>
*
*
* @param gender Gender of an individual in a People profiles bulk upload.
*/
public void setGender(GenderEnumeration gender);
/**
* Gender of an individual in a People profiles bulk upload.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="gender"></a>gender</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1"> Gender of an individual in a People profiles bulk upload item. Acceptable values are <EFBFBD>Male<EFBFBD>, <EFBFBD>M<EFBFBD>, <EFBFBD>Female<EFBFBD>, or <EFBFBD>F<EFBFBD>.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;gender&gt;Female&lt;/gender&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> People profiles</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
@ -395,81 +395,81 @@ public interface Person extends GlobalInterface {
* </tr>
* </tbody>
* </table>
*
*
* @return Gender of an individual in a People profiles bulk upload.
*/
public GenderEnumeration getGender();
/**
* Interest of a person being profiled.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="interested_in"></a>interested_in</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
* <td><font size="-1"> Interest of a person being profiled.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:interested_in&gt;Long walks on the beach.&lt;/g:interested_in&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
*
*
* <td><font size="-1">People profiles</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @param interestedIn Interest of a person being profiled.
*/
public void setInterestedIn(String[] interestedIn);
/**
* Interest of a person being profiled.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="interested_in"></a>interested_in</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
* <td><font size="-1"> Interest of a person being profiled.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:interested_in&gt;Long walks on the beach.&lt;/g:interested_in&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
*
*
* <td><font size="-1">People profiles</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @return Interest of a person being profiled.
*/
public String[] getInterestedIn();
@ -479,43 +479,43 @@ public interface Person extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Location of a property. Should include street, city, state, postal code, and country, in that order. </font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> <em>Acceptable:</em><br>
* &lt;g:location&gt;<st1:place>123 Main St, <st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
*
*
* <em>Not acceptable:</em><br>
* &lt;g:location&gt;<st1:place><st1:city>123</st1:city> Main St,, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
* &lt;g:location&gt; <st1:place><st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> locationType</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param location Location of a person.
*/
public void setLocation(String location);
@ -525,224 +525,224 @@ public interface Person extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Location of a property. Should include street, city, state, postal code, and country, in that order. </font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> <em>Acceptable:</em><br>
* &lt;g:location&gt;<st1:place>123 Main St, <st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
*
*
* <em>Not acceptable:</em><br>
* &lt;g:location&gt;<st1:place><st1:city>123</st1:city> Main St,, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
* &lt;g:location&gt; <st1:place><st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> locationType</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Location of a person.
*/
public String getLocation();
/**
* Marital status of an individual.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="marital_status"></a>marital_status</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
* <td><font size="-1"> Marital status of an individual in a People profiles bulk upload entry. For example -single, divorced, separated, widowed, married,
* and <EFBFBD>in relationship.<EFBFBD></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:marital_status&gt;single&lt;/g:marital_status&gt;<br>
*
*
* </font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> People profiles</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1">
*
*
* string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param maritalStatus Marital status of an individual.
*/
public void setMaritalStatus(String maritalStatus);
/**
* Marital status of an individual.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="marital_status"></a>marital_status</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
* <td><font size="-1"> Marital status of an individual in a People profiles bulk upload entry. For example -single, divorced, separated, widowed, married,
* and <EFBFBD>in relationship.<EFBFBD></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:marital_status&gt;single&lt;/g:marital_status&gt;<br>
*
*
* </font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> People profiles</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1">
*
*
* string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Marital status of an individual.
*/
public String getMaritalStatus();
/**
* Occupation of an individual.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="occupation"></a>occupation</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
* <td><font size="-1"> Industry the individual in a People profiles bulk upload is employed in.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:occupation&gt;Sales&lt;/g:occupation&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1">
*
*
* People profiles</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @param occupation Occupation of an individual.
*/
public void setOccupation(String occupation);
/**
* Occupation of an individual.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="occupation"></a>occupation</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
* <td><font size="-1"> Industry the individual in a People profiles bulk upload is employed in.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:occupation&gt;Sales&lt;/g:occupation&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1">
*
*
* People profiles</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @return Occupation of an individual.
*/
public String getOccupation();
/**
* Individual's sexual orientation.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -750,39 +750,39 @@ public interface Person extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
*
*
* <td><font size="-1"> Sexual orientation of an individual in a People profiles information type..</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:sexual_orientation&gt;straight&lt;/g:sexual_orientation&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1">
*
*
* Personal</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @param sexualOrientation Individual's sexual orientation.
*/
public void setSexualOrientation(String sexualOrientation);
/**
* Individual's sexual orientation.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -790,32 +790,32 @@ public interface Person extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
*
*
* <td><font size="-1"> Sexual orientation of an individual in a People profiles information type..</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:sexual_orientation&gt;straight&lt;/g:sexual_orientation&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1">
*
*
* Personal</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @return Individual's sexual orientation.
*/
public String getSexualOrientation();

File diff suppressed because it is too large Load diff

View file

@ -46,88 +46,88 @@ import org.rometools.feed.module.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 {
/**
* Author of the item.
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> Author of the item.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:author&gt;John Steinbeck&lt;/g:author&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param authors Author of the item.
*/
public void setAuthors(String[] authors);
/**
* Author of the item.
*
*
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> Author of the item.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:author&gt;John Steinbeck&lt;/g:author&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Author of the item.
*/
public String[] getAuthors();
/**
* Additional instructions to explain the items delivery process.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -135,16 +135,16 @@ public interface Review extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1">Additional instructions to explain the items delivery process.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td>
* <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br>
*
*
* </font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -153,19 +153,19 @@ public interface Review extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1">string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param deliveryNotes Additional instructions to explain the items delivery process.
*/
public void setDeliveryNotes(String deliveryNotes);
/**
* Additional instructions to explain the items delivery process.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -173,16 +173,16 @@ public interface Review extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1">Additional instructions to explain the items delivery process.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td>
* <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br>
*
*
* </font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -191,12 +191,12 @@ public interface Review extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1">string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Additional instructions to explain the items delivery process.
*/
public String getDeliveryNotes();
@ -207,7 +207,7 @@ public interface Review extends GlobalInterface {
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
@ -215,14 +215,14 @@ public interface Review extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td>
* <font size="-1">&lt;g:delivery_radius&gt;10&lt;g:/delivery_radius&gt; </font> <br>
* <font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
*
*
* <td>
* <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. </font></td>
* </tr>
@ -230,10 +230,10 @@ public interface Review extends GlobalInterface {
* <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1">floatUnit</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @param deliveryRadius The maximum distance you will deliver an item in any direction.
*/
public void setDeliveryRadius(FloatUnit deliveryRadius);
@ -244,7 +244,7 @@ public interface Review extends GlobalInterface {
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
@ -252,14 +252,14 @@ public interface Review extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td>
* <font size="-1">&lt;g:delivery_radius&gt;10&lt;g:/delivery_radius&gt; </font> <br>
* <font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
*
*
* <td>
* <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. </font></td>
* </tr>
@ -267,168 +267,168 @@ public interface Review extends GlobalInterface {
* <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1">floatUnit</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @return The maximum distance you will deliver an item in any direction.
*/
public FloatUnit getDeliveryRadius();
/**
* The name of an item being reviewed.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="name_of_item_being_reviewed"></a>name_of_item_being_reviewed</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1">
*
*
* The name of an item being reviewed.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:name_of_item_being__reviewed&gt;Fleur de lys Restaurant&lt;/g:name_of_item_being_reviewed&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reviews</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param nameOfItemBeingReviewed The name of an item being reviewed.
*/
public void setNameOfItemBeingReviewed(String nameOfItemBeingReviewed);
/**
* The name of an item being reviewed.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="name_of_item_being_reviewed"></a>name_of_item_being_reviewed</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1">
*
*
* The name of an item being reviewed.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:name_of_item_being__reviewed&gt;Fleur de lys Restaurant&lt;/g:name_of_item_being_reviewed&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reviews</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return The name of an item being reviewed.
*/
public String getNameOfItemBeingReviewed();
/**
* Date the item was published.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> Date the item was published in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a> format:
* YYYY-MM-DD</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1">
*
*
* Reference Items</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> date</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @param publishDate Date the item was published.
*/
public void setPublishDate(Date publishDate);
/**
* Date the item was published.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> Date the item was published in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a> format:
* YYYY-MM-DD</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1">
*
*
* Reference Items</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> date</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @return Date the item was published.
*/
public Date getPublishDate();
@ -439,38 +439,38 @@ public interface Review extends GlobalInterface {
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="rating"></a>rating</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Rating of the product or service on a scale of 1-5, with 5 as the best. Numeric values only.</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> <em>Acceptable:</em><br>
* &lt;g:rating&gt;4&lt;/g:rating&gt;<br>
*
*
* <em>Not acceptable:</em><br>
*
*
* &lt;g:rating&gt;good&lt;/g:rating&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reviews</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1">
*
*
* string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param rating Rating of the product or service on a scale of 1-5, with 5 as the best.
*/
public void setRating(Float rating);
@ -481,45 +481,45 @@ public interface Review extends GlobalInterface {
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="rating"></a>rating</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Rating of the product or service on a scale of 1-5, with 5 as the best. Numeric values only.</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> <em>Acceptable:</em><br>
* &lt;g:rating&gt;4&lt;/g:rating&gt;<br>
*
*
* <em>Not acceptable:</em><br>
*
*
* &lt;g:rating&gt;good&lt;/g:rating&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reviews</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1">
*
*
* string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Rating of the product or service on a scale of 1-5, with 5 as the best.
*/
public Float getRating();
/**
* The category of the item being reviewed.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -527,41 +527,41 @@ public interface Review extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
*
*
* <td><font size="-1"> The category of the item being reviewed.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:review_type&gt;toy&lt;/g:review_type&gt;<br>
*
*
* &lt;g:review_type&gt;music&lt;/g:review_type&gt;<br>
* &lt;g:review_type&gt;restaraunt&lt;/g:review_type&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reviews</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @param reviewType The category of the item being reviewed.
*/
public void setReviewType(String reviewType);
/**
* The category of the item being reviewed.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -569,34 +569,34 @@ public interface Review extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
*
*
* <td><font size="-1"> The category of the item being reviewed.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:review_type&gt;toy&lt;/g:review_type&gt;<br>
*
*
* &lt;g:review_type&gt;music&lt;/g:review_type&gt;<br>
* &lt;g:review_type&gt;restaraunt&lt;/g:review_type&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reviews</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @return The category of the item being reviewed.
*/
public String getReviewType();
@ -609,33 +609,33 @@ public interface Review extends GlobalInterface {
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="reviewer_type"></a>reviewer_type</b></font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> The type of rating being provided: editorial (a review written by a member of your staff) or user ( a review written by a user of
* your site)</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:reviewer_type&gt;editorial&lt;/g:reviewer_type&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reviews</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @param reviewerType The type of rating being provided: editorial (a review written by a member of your staff) or user ( a review written by a user of
* your site).
*/
@ -649,117 +649,117 @@ public interface Review extends GlobalInterface {
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="reviewer_type"></a>reviewer_type</b></font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> The type of rating being provided: editorial (a review written by a member of your staff) or user ( a review written by a user of
* your site)</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:reviewer_type&gt;editorial&lt;/g:reviewer_type&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reviews</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
*
*
* </tr>
* </tbody>
* </table>
*
*
* @return The type of rating being provided: editorial (a review written by a member of your staff) or user ( a review written by a user of your site).
*/
public String getReviewerType();
/**
* The web page of an item being reviewed.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="url_of_item_being_reviewed"></a>url_of_item_being_reviewed</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
* <td><font size="-1"> The web page of an item being reviewed.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:url_of_item_being_reviewed&gt;http://www.fleurdelyssf.com/&lt;/g:url_of_item_being_reviewed&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1">
*
*
* Reviews</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> uri</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @param urlOfItemBeingReviewed The web page of an item being reviewed.
*/
public void setUrlOfItemBeingReviewed(URL urlOfItemBeingReviewed);
/**
* The web page of an item being reviewed.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="url_of_item_being_reviewed"></a>url_of_item_being_reviewed</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
* <td><font size="-1"> The web page of an item being reviewed.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> &lt;g:url_of_item_being_reviewed&gt;http://www.fleurdelyssf.com/&lt;/g:url_of_item_being_reviewed&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1">
*
*
* Reviews</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> uri</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @return The web page of an item being reviewed.
*/
public URL getUrlOfItemBeingReviewed();

View file

@ -43,7 +43,7 @@ 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 $
*/
@ -51,34 +51,34 @@ public interface ScholarlyArticle extends GlobalInterface {
/**
* Array of Author Names. Limit 10.
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> Author of the item.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:author&gt;John Steinbeck&lt;/g:author&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param authors Array of Author Names. Limit 10.
*/
public void setAuthors(String[] authors);
@ -86,198 +86,198 @@ public interface ScholarlyArticle extends GlobalInterface {
/**
* Array of Author Names. Limit 10.
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
*
*
* <td><font size="-1"> Author of the item.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:author&gt;John Steinbeck&lt;/g:author&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Array of author names.
*/
public String[] getAuthors();
/**
* Number of pages in the article.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="pages"></a>pages</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1">
*
*
* The number of pages in the publication.</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:pages&gt;18&lt;/g:pages&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> integer</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param pages Number of pages in the article
*/
public void setPages(Integer pages);
/**
* Number of pages in the article.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="pages"></a>pages</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1">
*
*
* The number of pages in the publication.</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:pages&gt;18&lt;/g:pages&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> integer</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Number of pages in the article
*/
public Integer getPages();
/**
* Name of the publication.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publication_name"></a>publication_name</b></font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1">
*
*
* Name of the publication.</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:publication_name&gt; Journal of Appropriate Technology&lt;/g:publication_name&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Research studies and publications</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param publicationName Name of the publication.
*/
public void setPublicationName(String publicationName);
/**
* Name of the publication.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
*
*
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publication_name"></a>publication_name</b></font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1">
*
*
* Name of the publication.</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:publication_name&gt; Journal of Appropriate Technology&lt;/g:publication_name&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Research studies and publications</font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Name of the publication.
*/
public String getPublicationName();
@ -287,35 +287,35 @@ public interface ScholarlyArticle extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publication_volume"></a>publication_volume</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1">
*
*
* Volume of the publication.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1">&lt;g:publication_volume&gt;VI&lt;/g:publication_volume&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
*
*
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param publicationVolume Volume of the publication.
*/
public void setPublicationVolume(String publicationVolume);
@ -325,123 +325,123 @@ public interface ScholarlyArticle extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publication_volume"></a>publication_volume</b></font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1">
*
*
* Volume of the publication.</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1">&lt;g:publication_volume&gt;VI&lt;/g:publication_volume&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
*
*
* <td><font size="-1"> string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Volume of the publication.
*/
public String getPublicationVolume();
/**
* Date article was published.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
* <td><font size="-1"> Date the item was published in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a> format:
* YYYY-MM-DD</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reference Items</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1">
*
*
* date</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param publishDate Date article was published
*/
public void setPublishDate(Date publishDate);
/**
* Date article was published.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Details</b></font></td>
* <td><font size="-1"> Date the item was published in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a> format:
* YYYY-MM-DD</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td>
* </tr>
*
*
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
*
*
* <td><font size="-1"> Reference Items</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1">
*
*
* <b>Content type</b></font></td>
* <td><font size="-1">
*
*
* date</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Date article was published
*/
public Date getPublishDate();

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -45,7 +45,7 @@ import org.rometools.feed.module.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 {

View file

@ -22,12 +22,17 @@ package org.rometools.feed.module.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 {
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates a new instance of ValidationException */
public ValidationException(final String message) {
super(message);

File diff suppressed because it is too large Load diff

View file

@ -43,14 +43,14 @@ import org.rometools.feed.module.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 {
/**
* Additional instructions to explain the items delivery process.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -58,16 +58,16 @@ public interface Wanted extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1">Additional instructions to explain the items delivery process.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td>
* <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br>
*
*
* </font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -76,19 +76,19 @@ public interface Wanted extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1">string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param deliveryNotes Additional instructions to explain the items delivery process.
*/
public void setDeliveryNotes(String deliveryNotes);
/**
* Additional instructions to explain the items delivery process.
*
*
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
@ -96,16 +96,16 @@ public interface Wanted extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
*
*
* <td><font size="-1">Additional instructions to explain the items delivery process.</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
* <td>
* <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br>
*
*
* </font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -114,12 +114,12 @@ public interface Wanted extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td>
*
*
* <td><font size="-1">string</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Additional instructions to explain the items delivery process.
*/
public String getDeliveryNotes();
@ -130,7 +130,7 @@ public interface Wanted extends GlobalInterface {
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
@ -138,14 +138,14 @@ public interface Wanted extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td>
* <font size="-1">&lt;g:delivery_radius&gt;10&lt;g:/delivery_radius&gt; </font> <br>
* <font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
*
*
* <td>
* <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. </font></td>
* </tr>
@ -153,10 +153,10 @@ public interface Wanted extends GlobalInterface {
* <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1">floatUnit</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @param deliveryRadius The maximum distance you will deliver an item in any direction.
*/
public void setDeliveryRadius(FloatUnit deliveryRadius);
@ -167,7 +167,7 @@ public interface Wanted extends GlobalInterface {
* <tbody>
* <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td>
@ -175,14 +175,14 @@ public interface Wanted extends GlobalInterface {
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td>
*
*
* <td>
* <font size="-1">&lt;g:delivery_radius&gt;10&lt;g:/delivery_radius&gt; </font> <br>
* <font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td>
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td>
*
*
* <td>
* <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. </font></td>
* </tr>
@ -190,10 +190,10 @@ public interface Wanted extends GlobalInterface {
* <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1">floatUnit</font></td>
* </tr>
*
*
* </tbody>
* </table>
*
*
* @return The maximum distance you will deliver an item in any direction.
*/
public FloatUnit getDeliveryRadius();
@ -203,43 +203,43 @@ public interface Wanted extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Location of a property. Should include street, city, state, postal code, and country, in that order. </font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> <em>Acceptable:</em><br>
* &lt;g:location&gt;<st1:place>123 Main St, <st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
*
*
* <em>Not acceptable:</em><br>
* &lt;g:location&gt;<st1:place><st1:city>123</st1:city> Main St,, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
* &lt;g:location&gt; <st1:place><st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> locationType</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @param location Location of the property.
*/
public void setLocation(String location);
@ -249,43 +249,43 @@ public interface Wanted extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody>
* <tr valign="top">
*
*
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td>
* </tr>
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> Location of a property. Should include street, city, state, postal code, and country, in that order. </font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td>
*
*
* <td><font size="-1"> <em>Acceptable:</em><br>
* &lt;g:location&gt;<st1:place>123 Main St, <st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
*
*
* <em>Not acceptable:</em><br>
* &lt;g:location&gt;<st1:place><st1:city>123</st1:city> Main St,, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
* &lt;g:location&gt; <st1:place><st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>,
* <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
*
*
* </tr>
* <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td>
* </tr>
*
*
* <tr valign="top">
*
*
* <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> locationType</font></td>
* </tr>
* </tbody>
* </table>
*
*
* @return Location of the property.
*/
public String getLocation();

View file

@ -95,7 +95,7 @@ public class CustomTagParser implements ModuleParser {
try {
tags.add(new CustomTagImpl(child.getName(), new DateTimeRange(GoogleBaseParser.LONG_DT_FMT.parse(child
.getChild("start", CustomTagParser.NS).getText().trim()), GoogleBaseParser.LONG_DT_FMT.parse(child
.getChild("end", CustomTagParser.NS).getText().trim()))));
.getChild("end", CustomTagParser.NS).getText().trim()))));
} catch (final Exception e) {
log.log(Level.WARNING, "Unable to parse date type on " + child.getName(), e);
}

View file

@ -66,7 +66,7 @@ import com.sun.syndication.feed.module.Module;
import com.sun.syndication.io.ModuleGenerator;
/**
*
*
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper
* @version $Revision: 1.1 $
*/

View file

@ -75,7 +75,7 @@ import com.sun.syndication.io.ModuleParser;
/**
* DOCUMENT ME!
*
*
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.3 $
*/

View file

@ -41,7 +41,7 @@ package org.rometools.feed.module.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 $
*/

View file

@ -43,7 +43,7 @@ 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 $
*/
@ -572,7 +572,7 @@ public class CurrencyEnumeration {
/**
* Creates a new instance of CurrencyEnumeration
*
*
* @param value DOCUMENT ME!
*/
private CurrencyEnumeration(final String value) {

View file

@ -43,7 +43,7 @@ import java.util.Date;
/**
* Represents a time range.
*
*
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.2 $
*/
@ -59,7 +59,7 @@ public class DateTimeRange implements CloneableType {
/**
* Creates a new instance of DateTimeRange
*
*
* @param start Beginning of the timeframe.
* @param end End of the Timeframe.
*/
@ -70,7 +70,7 @@ public class DateTimeRange implements CloneableType {
/**
* The end of the timeframe.
*
*
* @return The end of the timeframe.
*/
public Date getEnd() {
@ -79,7 +79,7 @@ public class DateTimeRange implements CloneableType {
/**
* The beginning of the timeframe.
*
*
* @return The beginning of the timeframe.
*/
public Date getStart() {
@ -88,7 +88,7 @@ public class DateTimeRange implements CloneableType {
/**
* Clones the object
*
*
* @return Duplicate of this object.
*/
@Override
@ -108,7 +108,7 @@ public class DateTimeRange implements CloneableType {
/**
* String representation of the object.
*
*
* @return String representation of the object.
*/
@Override

View file

@ -43,7 +43,7 @@ import org.rometools.feed.module.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 $
*/
@ -59,7 +59,7 @@ public class FloatUnit implements CloneableType {
/**
* Looks for a char in an array
*
*
* @param find char to search for
* @param array array to search
* @return boolean indicating presence.
@ -75,7 +75,7 @@ public class FloatUnit implements CloneableType {
/**
* Creates a new float unit by parsing a String value
*
*
* @param source String value to parse
*/
public FloatUnit(final String source) {
@ -101,7 +101,7 @@ public class FloatUnit implements CloneableType {
/**
* Creates a new instance of FloatUnit
*
*
* @param value float value
* @param units Units represented, or null.
*/
@ -112,7 +112,7 @@ public class FloatUnit implements CloneableType {
/**
* Returns the units.
*
*
* @return Returns the units.
*/
public String getUnits() {
@ -121,7 +121,7 @@ public class FloatUnit implements CloneableType {
/**
* Returns the float value.
*
*
* @return Returns the float value.
*/
public float getValue() {
@ -130,7 +130,7 @@ public class FloatUnit implements CloneableType {
/**
* Duplicates the object.
*
*
* @return Duplicate FloatUnit
*/
@Override
@ -140,7 +140,7 @@ public class FloatUnit implements CloneableType {
/**
* Returns a String representation of the object.
*
*
* @return Returns a String representation of the object.
*/
@Override

View file

@ -41,7 +41,7 @@ package org.rometools.feed.module.base.types;
/**
* Simple enumeration for Genders.
*
*
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $
*/

View file

@ -42,7 +42,7 @@ package org.rometools.feed.module.base.types;
import org.rometools.feed.module.base.io.GoogleBaseParser;
/**
*
*
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $
*/

View file

@ -42,7 +42,7 @@ package org.rometools.feed.module.base.types;
import java.util.HashMap;
/**
*
*
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $
*/

View file

@ -41,7 +41,7 @@ package org.rometools.feed.module.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 $
*/
@ -61,7 +61,7 @@ public class PriceTypeEnumeration implements CloneableType {
/**
* Creates a new instance of PriceTypeEnumeration
*
*
* @param value Value to encapsulate
*/
private PriceTypeEnumeration(final String value) {
@ -70,7 +70,7 @@ public class PriceTypeEnumeration implements CloneableType {
/**
* Returns the string value of this instance.
*
*
* @return Returns the string value of this instance.
*/
public String getValue() {
@ -79,7 +79,7 @@ public class PriceTypeEnumeration implements CloneableType {
/**
* Returns a PriceTypeEnumeration based on the String value or null.
*
*
* @param value Value to search for.
* @return PriceTypeEnumeration or null.
*/
@ -93,7 +93,7 @@ public class PriceTypeEnumeration implements CloneableType {
/**
* Returns a duplicate of this instance
*
*
* @return The same instance.
*/
@Override
@ -103,7 +103,7 @@ public class PriceTypeEnumeration implements CloneableType {
/**
* Returns the string value of this instance.
*
*
* @return Returns the string value of this instance.
*/
@Override

View file

@ -43,7 +43,7 @@ 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 $
*/
@ -63,7 +63,7 @@ public class ShippingType implements CloneableType {
/**
* Creates a new instance of ShippingType
*
*
* @param price The price of the shipping option
* @param service Shipping service used.
* @param country Country shipped to.
@ -76,7 +76,7 @@ public class ShippingType implements CloneableType {
/**
* Returns the destination country.
*
*
* @return Returns the destination country.
*/
public String getCountry() {
@ -85,7 +85,7 @@ public class ShippingType implements CloneableType {
/**
* Returns the price of this shipping option.
*
*
* @return Returns the price of this shipping option.
*/
public FloatUnit getPrice() {
@ -94,7 +94,7 @@ public class ShippingType implements CloneableType {
/**
* Returns the ServiceEnumeration instance for the shipping service used.
*
*
* @return Returns the ServiceEnumeration instance for the shipping service used.
*/
public ServiceEnumeration getService() {
@ -103,7 +103,7 @@ public class ShippingType implements CloneableType {
/**
* Clones this object.
*
*
* @return Duplicate ShippingType object.
*/
@Override
@ -113,7 +113,7 @@ public class ShippingType implements CloneableType {
/**
* Returns a String representation of this object.
*
*
* @return String representation of this object.
*/
@Override
@ -160,7 +160,7 @@ public class ShippingType implements CloneableType {
/**
* Creates a new instance of ServiceEnumeration.
*
*
* @param value String value to encapsulate.
*/
private ServiceEnumeration(final String value) {
@ -170,7 +170,7 @@ public class ShippingType implements CloneableType {
/**
* String value of this Service.
*
*
* @return String value of this Service.
*/
public String getValue() {
@ -179,7 +179,7 @@ public class ShippingType implements CloneableType {
/**
* Looks up a ServiceEnumeration based on the string value.
*
*
* @param value String value to search for.
* @return ServiceEnumeration or null.
*/
@ -189,7 +189,7 @@ public class ShippingType implements CloneableType {
/**
* String value of this Service.
*
*
* @return String value of this Service.
*/
@Override

View file

@ -44,13 +44,18 @@ import java.util.Date;
/**
* This is a simple wrapper for java.util.Date that indicates it should be formatted without time of 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 {
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates a new instance of ShortDate */
public ShortDate() {
super();
@ -58,7 +63,7 @@ public class ShortDate extends Date implements CloneableType {
/**
* Creates a new Short Date based on a Date value.
*
*
* @param date Date value to read from.
*/
public ShortDate(final Date date) {
@ -67,7 +72,7 @@ public class ShortDate extends Date implements CloneableType {
/**
* Creates a new ShortDate based on a millisecond time.
*
*
* @param time Millisecond time to start with.
*/
public ShortDate(final long time) {
@ -76,7 +81,7 @@ public class ShortDate extends Date implements CloneableType {
/**
* Returns a duplicate of this object.
*
*
* @return Duplicate of the object.
*/
@Override

View file

@ -43,7 +43,7 @@ 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 $
*/
@ -63,7 +63,7 @@ public class Size implements CloneableType {
/**
* Creates a new Size object parsing a string value.
*
*
* @param source String value to parse
*/
public Size(final String source) {
@ -78,7 +78,7 @@ public class Size implements CloneableType {
/**
* Creates a new instance of Size
*
*
* @param length lenght value
* @param width width value
*/
@ -89,7 +89,7 @@ public class Size implements CloneableType {
/**
* Creates a new instance of Size.
*
*
* @param length Length value.
* @param width Width value.
* @param height Height value.
@ -102,7 +102,7 @@ public class Size implements CloneableType {
/**
* Height value.
*
*
* @return Height value.
*/
public FloatUnit getHeight() {
@ -111,7 +111,7 @@ public class Size implements CloneableType {
/**
* Length value.
*
*
* @return Length value.
*/
public FloatUnit getLength() {
@ -120,7 +120,7 @@ public class Size implements CloneableType {
/**
* Width value.
*
*
* @return Width value.
*/
public FloatUnit getWidth() {
@ -129,7 +129,7 @@ public class Size implements CloneableType {
/**
* Duplicates this object.
*
*
* @return A duplicate Size object.
*/
@Override
@ -143,7 +143,7 @@ public class Size implements CloneableType {
/**
* Returns a string representation of this object.
*
*
* @return A string representation of this object.
*/
@Override

View file

@ -44,7 +44,7 @@ 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 $
*/
@ -56,7 +56,7 @@ public class YearType implements CloneableType {
/**
* Creates a new year from a string value.
*
*
* @param year String to parse.
*/
public YearType(final String year) {
@ -65,7 +65,7 @@ public class YearType implements CloneableType {
/**
* Creates a new instance of YearType
*
*
* @param date Date to get the year from.
*/
public YearType(final Date date) {
@ -76,7 +76,7 @@ public class YearType implements CloneableType {
/**
* Duplicates this object.
*
*
* @return Cloned Year.
*/
@Override
@ -86,7 +86,7 @@ public class YearType implements CloneableType {
/**
* Returns a String representation of this object.
*
*
* @return Returns a String representation of this object.
*/
@Override

View file

@ -3,7 +3,7 @@
*
* Created on November 20, 2005, 5:05 PM
*
* This library is provided under dual licenses.
* This library is provided under dual licenses.
* You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion.
*
@ -28,14 +28,14 @@
* 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.
* limitations under the License.
*/
package org.rometools.feed.module.cc;
@ -45,7 +45,7 @@ import org.rometools.feed.module.cc.types.License;
import com.sun.syndication.feed.module.Module;
/**
*
*
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
*/
public interface CreativeCommons extends Module {

View file

@ -3,7 +3,7 @@
*
* Created on November 20, 2005, 5:12 PM
*
* This library is provided under dual licenses.
* This library is provided under dual licenses.
* You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion.
*
@ -28,14 +28,14 @@
* 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.
* limitations under the License.
*/
package org.rometools.feed.module.cc;
@ -54,6 +54,10 @@ import com.sun.syndication.feed.impl.ToStringBean;
*/
public class CreativeCommonsImpl implements CreativeCommons {
/**
*
*/
private static final long serialVersionUID = 1L;
public static final String RDF_URI = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
public static final String RSS2_URI = "http://backend.userland.com/creativeCommonsRssModule";
public static final String RSS1_URI = "http://web.resource.org/cc/";

View file

@ -3,7 +3,7 @@
*
* Created on November 20, 2005, 5:23 PM
*
* This library is provided under dual licenses.
* This library is provided under dual licenses.
* You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion.
*
@ -28,14 +28,14 @@
* 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.
* limitations under the License.
*/
package org.rometools.feed.module.cc.io;

View file

@ -3,7 +3,7 @@
*
* Created on November 20, 2005, 5:23 PM
*
* This library is provided under dual licenses.
* This library is provided under dual licenses.
* You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion.
*
@ -28,14 +28,14 @@
* 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.
* limitations under the License.
*/
package org.rometools.feed.module.cc.io;

View file

@ -3,7 +3,7 @@
*
* Created on November 20, 2005, 6:15 PM
*
* This library is provided under dual licenses.
* This library is provided under dual licenses.
* You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion.
*
@ -28,14 +28,14 @@
* 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.
* limitations under the License.
*/
package org.rometools.feed.module.cc.io;
@ -54,7 +54,7 @@ import com.sun.syndication.feed.module.Module;
import com.sun.syndication.io.ModuleParser;
/**
*
*
* @version $Revision: 1.3 $
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
*/

View file

@ -3,7 +3,7 @@
*
* Created on November 20, 2005, 3:20 PM
*
* This library is provided under dual licenses.
* This library is provided under dual licenses.
* You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion.
*
@ -28,14 +28,14 @@
* 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.
* limitations under the License.
*/
package org.rometools.feed.module.cc.types;

View file

@ -45,7 +45,7 @@ import java.util.List;
/**
* 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>
*/

View file

@ -54,14 +54,14 @@ public interface ContentModule extends Module {
/**
* Returns a List of Strings containing the New Syntax Encoded values are in the element.
*
*
* @return List of content Strings
*/
public List getEncodeds();
/**
* Sets a List of Strings containing the New Syntax Encoded values are in the element.
*
*
* @return List of content Strings
*/
public void setEncodeds(List encodeds);
@ -73,7 +73,7 @@ public interface ContentModule extends Module {
/**
* Contains a list of ContentItems that represent the "Original Syntax" set.
*
*
* @see com.totsp.xml.syndication.content.ContentItem
* @return List of ContentItems.
*/
@ -81,7 +81,7 @@ public interface ContentModule extends Module {
/**
* Contains a list of ContentItems that represent the "Original Syntax" set.
*
*
* @see com.totsp.xml.syndication.content.ContentItem
* @param List of ContentItems.
*/
@ -89,14 +89,14 @@ public interface ContentModule extends Module {
/**
* Returns a List of Strings containing whatever new or original syntax items are in the element.
*
*
* @return List of content Strings
*/
public List getContents();
/**
* Sets a List of Strings containing whatever new or original syntax items are in the element.
*
*
* @return List of content Strings
*/
public void setContents(List contents);

View file

@ -53,6 +53,10 @@ import com.sun.syndication.feed.CopyFrom;
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
*/
public class ContentModuleImpl extends com.sun.syndication.feed.module.ModuleImpl implements ContentModule {
/**
*
*/
private static final long serialVersionUID = 1L;
private List encodeds;
private List contents;
private List contentItems;

View file

@ -1,12 +1,12 @@
/*
* Copyright 2011 robert.cooper.
*
*
* 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.
@ -23,10 +23,10 @@ import com.sun.syndication.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 {

View file

@ -21,10 +21,10 @@ import com.sun.syndication.feed.CopyFrom;
/**
* Implementation of the FeedBurner RSS extension.
*
*
* @version 1.0
* @author Georg Schmidl <georg.schmidl@scandio.de>
*
*
*/
public class FeedBurnerImpl implements FeedBurner {

View file

@ -28,10 +28,10 @@ import com.sun.syndication.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);

View file

@ -28,10 +28,10 @@ import com.sun.syndication.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);

View file

@ -38,10 +38,10 @@ import com.sun.syndication.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 {
@ -66,7 +66,6 @@ public class GMLGenerator implements ModuleGenerator {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#getNamespaceUri()
*/
@Override
@ -76,7 +75,6 @@ public class GMLGenerator implements ModuleGenerator {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#getNamespaces()
*/
@Override
@ -86,7 +84,6 @@ public class GMLGenerator implements ModuleGenerator {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#generate(com.sun.syndication.feed.module.Module, org.jdom2.Element)
*/
@Override

View file

@ -18,20 +18,24 @@ package org.rometools.feed.module.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 {
/**
*
*/
private static final long serialVersionUID = 1L;
public GMLModuleImpl() {
super(GeoRSSModule.class, GeoRSSModule.GEORSS_GML_URI);
}
/*
* (non-Javadoc)
*
* @see com.sun.syndication.feed.CopyFrom#getInterface()
*/
@Override

View file

@ -34,16 +34,15 @@ import com.sun.syndication.io.ModuleParser;
/**
* 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 {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleParser#getNamespaceUri()
*/
@Override
@ -53,7 +52,6 @@ public class GMLParser implements ModuleParser {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleParser#parse(org.jdom2.Element)
*/
@Override

View file

@ -26,11 +26,16 @@ import com.sun.syndication.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 {
/**
*
*/
private static final long serialVersionUID = 1L;
protected AbstractGeometry geometry;
public static final String version = "0.9.8";
@ -56,13 +61,13 @@ public abstract class GeoRSSModule extends ModuleImpl implements Cloneable {
public static final Namespace SIMPLE_NS = Namespace.getNamespace("georss", GeoRSSModule.GEORSS_GEORSS_URI);
/**
*
*
* Namespace for w3c georss : <i>xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"</i>
*/
public static final Namespace W3CGEO_NS = Namespace.getNamespace("geo", GeoRSSModule.GEORSS_W3CGEO_URI);
/**
*
*
* Namespace for gml georss : <i>xmlns:gml="http://www.opengis.net/gml"</i>
*/
public static final Namespace GML_NS = Namespace.getNamespace("gml", GeoRSSModule.GEORSS_GML_URI);
@ -73,7 +78,7 @@ public abstract class GeoRSSModule extends ModuleImpl implements Cloneable {
/**
* Set geometry of georss element
*
*
* @param geometry geometry
*/
public void setGeometry(final AbstractGeometry geometry) {
@ -82,7 +87,7 @@ public abstract class GeoRSSModule extends ModuleImpl implements Cloneable {
/**
* returns the geometry
*
*
* @return geometry
*/
public AbstractGeometry getGeometry() {
@ -91,7 +96,7 @@ public abstract class GeoRSSModule extends ModuleImpl implements Cloneable {
/**
* Convenience method to return point geometry. Returns null if the geometry is non-point.
*
*
* @return geometry
*/
public Position getPosition() {
@ -103,7 +108,7 @@ public abstract class GeoRSSModule extends ModuleImpl implements Cloneable {
/**
* Convenience method to set point geometry.
*
*
* @return geometry
*/
public void setPosition(final Position pos) {
@ -114,7 +119,6 @@ public abstract class GeoRSSModule extends ModuleImpl implements Cloneable {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.feed.CopyFrom#copyFrom(java.lang.Object)
*/
@Override

View file

@ -18,7 +18,7 @@ package org.rometools.feed.module.georss;
/**
* @author marc
*
*
*/
public class GeoRSSPoint implements Cloneable {
private double latitude;

View file

@ -21,10 +21,10 @@ import com.sun.syndication.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 {
@ -54,7 +54,7 @@ public class GeoRSSUtils {
/**
* This convenience method checks whether there is any geoRss Element and will return it (georss simple or W3GGeo).
*
*
* @param entry the element in the feed which might have a georss element
* @return a georssmodule or null if none is present
*/
@ -76,15 +76,13 @@ public class GeoRSSUtils {
/*
* if (geoRSSModule == null && w3cGeo != null) { geoRSSModule = w3cGeo; } else if (geoRSSModule == null && gml != null) { geoRSSModule = gml; } else if
* (geoRSSModule != null && w3cGeo != null) { // sanity check if (!geoRSSModule.getGeometry().equals(w3cGeo.getGeometry())) { throw new
* Error("geometry of simple and w3c do not match"); } }
*
* return geoRSSModule;
* Error("geometry of simple and w3c do not match"); } } return geoRSSModule;
*/
}
/**
* This convenience method checks whether there is any geoRss Element and will return it (georss simple or W3GGeo).
*
*
* @param feed the element in the feed which might have a georss element
* @return a georssmodule or null if none is present
*/
@ -107,9 +105,7 @@ public class GeoRSSUtils {
/*
* if (geoRSSModule == null && w3cGeo != null) { geoRSSModule = w3cGeo; } else if (geoRSSModule == null && gml != null) { geoRSSModule = gml; } else if
* (geoRSSModule != null && w3cGeo != null) { // sanity check if (!geoRSSModule.getGeometry().equals(w3cGeo.getGeometry())) { throw new
* Error("geometry of simple and w3c do not match"); } }
*
* return geoRSSModule;
* Error("geometry of simple and w3c do not match"); } } return geoRSSModule;
*/
}
}

View file

@ -36,10 +36,10 @@ import com.sun.syndication.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 {
@ -60,7 +60,6 @@ public class SimpleGenerator implements ModuleGenerator {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#getNamespaceUri()
*/
@Override
@ -70,7 +69,6 @@ public class SimpleGenerator implements ModuleGenerator {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#getNamespaces()
*/
@Override
@ -80,7 +78,6 @@ public class SimpleGenerator implements ModuleGenerator {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#generate(com.sun.syndication.feed.module.Module, org.jdom2.Element)
*/
@Override

View file

@ -18,19 +18,23 @@ package org.rometools.feed.module.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 {
/**
*
*/
private static final long serialVersionUID = 1L;
public SimpleModuleImpl() {
super(GeoRSSModule.class, GeoRSSModule.GEORSS_GEORSS_URI);
}
/*
* (non-Javadoc)
*
* @see com.sun.syndication.feed.CopyFrom#getInterface()
*/
@Override

View file

@ -32,16 +32,15 @@ import com.sun.syndication.io.ModuleParser;
/**
* 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 {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleParser#getNamespaceUri()
*/
@Override
@ -61,7 +60,6 @@ public class SimpleParser implements ModuleParser {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleParser#parse(org.jdom2.Element)
*/
@Override

View file

@ -30,10 +30,10 @@ import com.sun.syndication.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 {
@ -53,7 +53,6 @@ public class W3CGeoGenerator implements ModuleGenerator {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#getNamespaceUri()
*/
@Override
@ -63,7 +62,6 @@ public class W3CGeoGenerator implements ModuleGenerator {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#getNamespaces()
*/
@Override
@ -73,7 +71,6 @@ public class W3CGeoGenerator implements ModuleGenerator {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#generate(com.sun.syndication.feed.module.Module, org.jdom2.Element)
*/
@Override

View file

@ -18,20 +18,24 @@ package org.rometools.feed.module.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 {
/**
*
*/
private static final long serialVersionUID = 1L;
public W3CGeoModuleImpl() {
super(GeoRSSModule.class, GeoRSSModule.GEORSS_W3CGEO_URI);
}
/*
* (non-Javadoc)
*
* @see com.sun.syndication.feed.CopyFrom#getInterface()
*/
@Override

View file

@ -27,16 +27,15 @@ import com.sun.syndication.io.ModuleParser;
/**
* 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 {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleParser#getNamespaceUri()
*/
@Override
@ -71,7 +70,6 @@ public class W3CGeoParser implements ModuleParser {
/*
* (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleParser#parse(org.jdom2.Element)
*/
@Override

View file

@ -11,11 +11,16 @@ package org.rometools.feed.module.georss.geometries;
/**
* Abstract base class for Curves (linear objects)
*
*
* @author runaas
*/
public abstract class AbstractCurve extends AbstractGeometricPrimitive {
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates a new instance of Curve */
public AbstractCurve() {
}

View file

@ -11,11 +11,16 @@ package org.rometools.feed.module.georss.geometries;
/**
* Abstract base class for geometric primitives (non-composite geometric objects)
*
*
* @author runaas
*/
public abstract class AbstractGeometricPrimitive extends AbstractGeometry {
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates a new instance of GeometricPrimitive */
public AbstractGeometricPrimitive() {

View file

@ -13,18 +13,23 @@ import java.io.Serializable;
/**
* Abstract base class for geometries.
*
*
* @author runaas
*/
public abstract class AbstractGeometry implements Cloneable, Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates a new instance of Geometry */
public AbstractGeometry() {
}
/**
* Make a deep copy of the geometric object
*
*
* @return A copy of the object
*/
@Override

View file

@ -13,11 +13,16 @@ 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 {
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates a new instance of AbstractRing */
public AbstractRing() {
}

View file

@ -11,11 +11,16 @@ package org.rometools.feed.module.georss.geometries;
/**
* Abstract base class for surface (area) objects
*
*
* @author runaas
*/
public abstract class AbstractSurface extends AbstractGeometricPrimitive {
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates a new instance of Surface */
public AbstractSurface() {
}

View file

@ -12,10 +12,14 @@ package org.rometools.feed.module.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 {
/**
*
*/
private static final long serialVersionUID = 1L;
protected double minLatitude, minLongitude, maxLatitude, maxLongitude;
/** Creates a new instance of Envelope */
@ -25,7 +29,7 @@ public class Envelope extends AbstractGeometry {
/**
* Construct object from coordinate values
*
*
* @param minLatitude
* @param minLongitude
* @param maxLatitude

View file

@ -11,10 +11,14 @@ package org.rometools.feed.module.georss.geometries;
/**
* Linear object constructed by linear interpolation between points
*
*
* @author runaas
*/
public final class LineString extends AbstractCurve {
/**
*
*/
private static final long serialVersionUID = 1L;
private PositionList posList;
/** Creates a new instance of LineString */
@ -51,7 +55,7 @@ public final class LineString extends AbstractCurve {
/**
* Get the position list
*
*
* @return the positionlist
*/
public PositionList getPositionList() {
@ -63,7 +67,7 @@ public final class LineString extends AbstractCurve {
/**
* Set the position list
*
*
* @param posList the new position list
*/
public void setPositionList(final PositionList posList) {

View file

@ -11,10 +11,14 @@ package org.rometools.feed.module.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 {
/**
*
*/
private static final long serialVersionUID = 1L;
private PositionList posList;
/** Creates a new instance of LinearLing */
@ -47,7 +51,7 @@ public final class LinearRing extends AbstractRing {
/**
* Get the position list
*
*
* @return the positionlist
*/
public PositionList getPositionList() {
@ -59,7 +63,7 @@ public final class LinearRing extends AbstractRing {
/**
* Set the position list
*
*
* @param posList the new position list
*/
public void setPositionList(final PositionList posList) {

View file

@ -11,10 +11,14 @@ package org.rometools.feed.module.georss.geometries;
/**
* Point object, contains a position
*
*
* @author runaas
*/
public final class Point extends AbstractGeometricPrimitive {
/**
*
*/
private static final long serialVersionUID = 1L;
private Position pos;
/** Creates a new instance of Point */
@ -48,7 +52,7 @@ public final class Point extends AbstractGeometricPrimitive {
/**
* Get the position
*
*
* @return the position
*/
public Position getPosition() {
@ -60,7 +64,7 @@ public final class Point extends AbstractGeometricPrimitive {
/**
* Set the position
*
*
* @param pos the new position
*/
public void setPosition(final Position pos) {

View file

@ -15,10 +15,14 @@ import java.util.List;
/**
* Polygon, a surface object bounded by one external ring and zero or more internal rings
*
*
* @author runaas
*/
public final class Polygon extends AbstractSurface implements Cloneable {
/**
*
*/
private static final long serialVersionUID = 1L;
private AbstractRing exterior;
private List interior;
@ -79,7 +83,7 @@ public final class Polygon extends AbstractSurface implements Cloneable {
/**
* Retrieve the outer border
*
*
* @return the border ring
*/
public AbstractRing getExterior() {
@ -88,7 +92,7 @@ public final class Polygon extends AbstractSurface implements Cloneable {
/**
* Retrieve the inner border
*
*
* @return the list of border rings
*/
public List getInterior() {
@ -100,7 +104,7 @@ public final class Polygon extends AbstractSurface implements Cloneable {
/**
* Set the outer border
*
*
* @param exterior the outer ring
*/
public void setExterior(final AbstractRing exterior) {
@ -109,7 +113,7 @@ public final class Polygon extends AbstractSurface implements Cloneable {
/**
* Set the list of inner borders (holes)
*
*
* @param interior the list of inner rings
*/
public void setInterior(final List interior) {

View file

@ -13,10 +13,14 @@ import java.io.Serializable;
/**
* A two dimensional position represented by latitude and longitude decimal degrees in WGS84
*
*
* @author runaas
*/
public class Position implements Cloneable, Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private double latitude;
private double longitude;
@ -28,7 +32,7 @@ public class Position implements Cloneable, Serializable {
/**
* Create Position from a pair of coordinate values
*
*
* @param latitude
* @param longitude
*/
@ -64,7 +68,7 @@ public class Position implements Cloneable, Serializable {
/**
* Set the latitude
*
*
* @param latitude the new latitude
*/
public void setLatitude(final double latitude) {
@ -80,7 +84,7 @@ public class Position implements Cloneable, Serializable {
/**
* Set the longitude
*
*
* @param longitude the new longitude
*/
public void setLongitude(final double longitude) {

Some files were not shown because too many files have changed in this diff Show more