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. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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; import org.rometools.feed.module.activitystreams.types.Verb;
/** /**
* *
* @author robert.cooper * @author robert.cooper
*/ */
public interface ActivityStreamModule { 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; import org.rometools.feed.module.activitystreams.types.Verb;
/** /**
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class ActivityStreamModuleImpl implements ActivityStreamModule { public class ActivityStreamModuleImpl implements ActivityStreamModule {
@ -30,7 +30,7 @@ public class ActivityStreamModuleImpl implements ActivityStreamModule {
/** /**
* Set the value of object * Set the value of object
* *
* @param newobject new value of object * @param newobject new value of object
*/ */
@Override @Override
@ -40,7 +40,7 @@ public class ActivityStreamModuleImpl implements ActivityStreamModule {
/** /**
* Get the value of object * Get the value of object
* *
* @return the value of object * @return the value of object
*/ */
@Override @Override
@ -50,7 +50,7 @@ public class ActivityStreamModuleImpl implements ActivityStreamModule {
/** /**
* Set the value of verb * Set the value of verb
* *
* @param newverb new value of verb * @param newverb new value of verb
*/ */
@Override @Override
@ -60,7 +60,7 @@ public class ActivityStreamModuleImpl implements ActivityStreamModule {
/** /**
* Get the value of verb * Get the value of verb
* *
* @return the value of verb * @return the value of verb
*/ */
@Override @Override

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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; import com.sun.syndication.feed.atom.Entry;
/** /**
* *
* @author robert.cooper * @author robert.cooper
*/ */
public abstract class ActivityObject extends Entry implements HasLocation { public abstract class ActivityObject extends Entry implements HasLocation {
/**
*
*/
private static final long serialVersionUID = 1L;
public abstract String getTypeIRI(); public abstract String getTypeIRI();
@Override @Override

View file

@ -40,10 +40,15 @@ package org.rometools.feed.module.activitystreams.types;
* HTML that represents the content.</dd> * HTML that represents the content.</dd>
* </dl> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Article extends ActivityObject { public class Article extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/article"; 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 * <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> * called <tt>embedCode</tt> whose value is a JSON string containing the fragment of HTML.</dd>
* </dl> * </dl>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Audio extends ActivityObject { public class Audio extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
private String embedCode; private String embedCode;
private String streamLink; private String streamLink;
/** /**
* Set the value of embedCode * Set the value of embedCode
* *
* @param newembedCode new value of embedCode * @param newembedCode new value of embedCode
*/ */
public void setEmbedCode(final String newembedCode) { public void setEmbedCode(final String newembedCode) {
@ -55,7 +59,7 @@ public class Audio extends ActivityObject {
/** /**
* Get the value of embedCode * Get the value of embedCode
* *
* @return the value of embedCode * @return the value of embedCode
*/ */
public String getEmbedCode() { public String getEmbedCode() {
@ -64,7 +68,7 @@ public class Audio extends ActivityObject {
/** /**
* Set the value of streamLink * Set the value of streamLink
* *
* @param newstreamLink new value of streamLink * @param newstreamLink new value of streamLink
*/ */
public void setStreamLink(final String newstreamLink) { public void setStreamLink(final String newstreamLink) {
@ -73,7 +77,7 @@ public class Audio extends ActivityObject {
/** /**
* Get the value of streamLink * Get the value of streamLink
* *
* @return the value of streamLink * @return the value of streamLink
*/ */
public String getStreamLink() { public String getStreamLink() {

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * ignore thumbnails that are of an inappropriate size for their user interface.</dd>
* </dl> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Bookmark extends ActivityObject { public class Bookmark extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/bookmark"; return "http://activitystrea.ms/schema/1.0/bookmark";
@ -73,7 +78,7 @@ public class Bookmark extends ActivityObject {
/** /**
* Get the value of thumbnail * Get the value of thumbnail
* *
* @return the value of thumbnail * @return the value of thumbnail
*/ */
public Link getThumbnail() { public Link getThumbnail() {
@ -82,7 +87,7 @@ public class Bookmark extends ActivityObject {
/** /**
* Set the value of thumbnail * Set the value of thumbnail
* *
* @param newthumbnail new value of thumbnail * @param newthumbnail new value of thumbnail
*/ */
public void setThumbnail(final Link newthumbnail) { public void setThumbnail(final Link newthumbnail) {

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * any links that the service automatically adds. Processors MAY remove all HTML markup and consider the comment to be plain text.</dd>
* </dl> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Comment extends ActivityObject { public class Comment extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/comment"; return "http://activitystrea.ms/schema/1.0/comment";

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * timestamp. [TODO: Reference W3CDTF spec.] [TODO: Include prose describing how to represent just a date vs. a date and time.]</dd>
* </dl> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Event extends ActivityObject { public class Event extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/event"; return "http://activitystrea.ms/schema/1.0/event";

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * containing the MIME type.</dd>
* </dl> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class File extends ActivityObject { public class File extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/file"; return "http://activitystrea.ms/schema/1.0/file";

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * the base Object Construct. Processors MAY ignore thumbnails that are of an inappropriate size for their user interface.</dd>
* </dl> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Folder extends ActivityObject { public class Folder extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/folder"; return "http://activitystrea.ms/schema/1.0/folder";

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -26,7 +26,7 @@ package org.rometools.feed.module.activitystreams.types;
* </p> * </p>
* <p> * <p>
* A group has no additional components. * A group has no additional components.
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Group { public class Group {

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * <a name="location-poco"></a>
* </p> * </p>
* <div style='display: table; width: 0; margin-left: 3em; margin-right: auto'> * <div style='display: table; width: 0; margin-left: 3em; margin-right: auto'>
* *
* <pre> * <pre>
* &lt;entry&gt; * &lt;entry&gt;
* &lt;id&gt;tag:world:activity:1212121212121&lt;/id&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;activity:verb&gt;http://activitystrea.ms/schema/1.0/like&lt;/activity:verb&gt;
* &lt;/entry&gt; * &lt;/entry&gt;
* </pre> * </pre>
* *
* </div> * </div>
* <p> * <p>
* <table border="0" cellpadding="0" cellspacing="2" align="center"> * <table border="0" cellpadding="0" cellspacing="2" align="center">
@ -82,9 +82,9 @@ import org.rometools.feed.module.portablecontacts.ContactModule;
* </tr> * </tr>
* </table> * </table>
* <hr class="insert" /> * <hr class="insert" />
* *
* </p> * </p>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public interface HasLocation { public interface HasLocation {

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -27,11 +27,16 @@ package org.rometools.feed.module.activitystreams.types;
* <p> * <p>
* A list has no additional components. * A list has no additional components.
* </p> * </p>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class List extends ActivityObject { public class List extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/list"; return "http://activitystrea.ms/schema/1.0/list";

View file

@ -17,7 +17,7 @@
package org.rometools.feed.module.activitystreams.types; package org.rometools.feed.module.activitystreams.types;
/** /**
* *
* <p> * <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 * 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. * 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 * 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. * appropriate to be displayed alongside the mood keyword at a normal text size.
* </p> * </p>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Mood { public class Mood {
@ -41,7 +41,7 @@ public class Mood {
/** /**
* Set the value of iconUrl * Set the value of iconUrl
* *
* @param newiconUrl new value of iconUrl * @param newiconUrl new value of iconUrl
*/ */
public void setIconUrl(final String newiconUrl) { public void setIconUrl(final String newiconUrl) {
@ -50,7 +50,7 @@ public class Mood {
/** /**
* Get the value of iconUrl * Get the value of iconUrl
* *
* @return the value of iconUrl * @return the value of iconUrl
*/ */
public String getIconUrl() { public String getIconUrl() {
@ -59,7 +59,7 @@ public class Mood {
/** /**
* Set the value of text * Set the value of text
* *
* @param newtext new value of text * @param newtext new value of text
*/ */
public void setText(final String newtext) { public void setText(final String newtext) {
@ -68,7 +68,7 @@ public class Mood {
/** /**
* Get the value of text * Get the value of text
* *
* @return the value of text * @return the value of text
*/ */
public String getText() { public String getText() {

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * any links that the service automatically adds. Processors MAY remove all HTML markup and consider the comment to be plain text.</dd>
* </dl> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Note extends ActivityObject { public class Note extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/note"; return "http://activitystrea.ms/schema/1.0/note";

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * <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> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Person extends ActivityObject { public class Person extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/person"; return "http://activitystrea.ms/schema/1.0/person";
@ -53,7 +58,7 @@ public class Person extends ActivityObject {
/** /**
* Get the value of avatar * Get the value of avatar
* *
* @return the value of avatar * @return the value of avatar
*/ */
public Link getAvatar() { public Link getAvatar() {
@ -66,7 +71,7 @@ public class Person extends ActivityObject {
/** /**
* Set the value of avatar * Set the value of avatar
* *
* @param newavatar new value of avatar * @param newavatar new value of avatar
*/ */
public void setAvatar(final Link newavatar) { public void setAvatar(final Link newavatar) {

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * 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> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Photo extends ActivityObject { public class Photo extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/photo"; return "http://activitystrea.ms/schema/1.0/photo";

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * the base Object Construct. Processors MAY ignore thumbnails that are of an inappropriate size for their user interface.</dd>
* </dl> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class PhotoAlbum extends ActivityObject { public class PhotoAlbum extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/photo-album"; return "http://activitystrea.ms/schema/1.0/photo-album";

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * decimal representation of the longitude in degrees.</dd>
* </dl> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Place extends ActivityObject { public class Place extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/place"; return "http://activitystrea.ms/schema/1.0/place";

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -18,7 +18,7 @@
package org.rometools.feed.module.activitystreams.types; package org.rometools.feed.module.activitystreams.types;
/** /**
* *
* <p> * <p>
* The "playlist" object type represents an ordered list of time-based media items, such as video and audio objects. * The "playlist" object type represents an ordered list of time-based media items, such as video and audio objects.
* </p> * </p>
@ -28,11 +28,16 @@ package org.rometools.feed.module.activitystreams.types;
* <p> * <p>
* A playlist has no additional components. * A playlist has no additional components.
* </p> * </p>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Playlist extends ActivityObject { public class Playlist extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/playlist"; return "http://activitystrea.ms/schema/1.0/playlist";

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * <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> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Product extends ActivityObject { public class Product extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/product"; return "http://activitystrea.ms/schema/1.0/product";

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * <tt>rating</tt> whose value is a JSON number giving the rating.</dd>
* </dl> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Review extends ActivityObject { public class Review extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/review"; return "http://activitystrea.ms/schema/1.0/review";

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * one (horizontal) to one (vertical) and SHOULD be suitable for presentation at a small size.</dd>
* </dl> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Service extends ActivityObject { public class Service extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/service"; return "http://activitystrea.ms/schema/1.0/service";

View file

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

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -35,11 +35,16 @@ package org.rometools.feed.module.activitystreams.types;
* <p> * <p>
* A status has the same components as a note. * A status has the same components as a note.
* </p> * </p>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Status extends ActivityObject { public class Status extends ActivityObject {
/**
*
*/
private static final long serialVersionUID = 1L;
@Override @Override
public String getTypeIRI() { public String getTypeIRI() {
return "http://activitystrea.ms/schema/1.0/status"; return "http://activitystrea.ms/schema/1.0/status";

View file

@ -17,7 +17,7 @@
package org.rometools.feed.module.activitystreams.types; package org.rometools.feed.module.activitystreams.types;
/** /**
* *
* @author robert.cooper * @author robert.cooper
*/ */
public enum Verb { 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, * 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. * 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. * 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 * Processors MAY ignore (silently drop) successive identical "start following" activities regardless of whether they maintain state sufficient to determine
* (A), (B), or (C) above. * (A), (B), or (C) above.
*/ */
START_FOLLOWING("http://activitystrea.ms/schema/1.0/follow"), 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 "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. * 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"), 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. * 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 * 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 * 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. * 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. * 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"), 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 * 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. * 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) * Processors MAY ignore (silently drop) successive identical "join" activities regardless of whether they maintain state sufficient to determine (A) or (B)
* above. * above.
* *
* The "join" Verb is identified by the URI http://activitystrea.ms/schema/1.0/join. * The "join" Verb is identified by the URI http://activitystrea.ms/schema/1.0/join.
*/ */
JOIN("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 * 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. * watched all or part of the video.
* *
* The "play" Verb is identified by the URI http://activitystrea.ms/schema/1.0/play. * The "play" Verb is identified by the URI http://activitystrea.ms/schema/1.0/play.
*/ */
PLAY("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. * 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 * http://activitystrea.ms/schema/1.0/post
*/ */
POST("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 * 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 * 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). * by the "share" Verb (Section 3.1.9).
* *
* The "save" Verb is identified by the URI http://activitystrea.ms/schema/1.0/save. * The "save" Verb is identified by the URI http://activitystrea.ms/schema/1.0/save.
*/ */
SAVE("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 * 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. * instead drawing attention to it.
* *
* The "share" Verb is identified by the URI http://activitystrea.ms/schema/1.0/share. * The "share" Verb is identified by the URI http://activitystrea.ms/schema/1.0/share.
*/ */
SHARE("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 * 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. * particular user appears in a photo.
* *
* The "tag" verb is identified by the URI http://activitystrea.ms/schema/1.0/tag. * 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 * 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. * and the activity:target is the photo.
*/ */
TAG("http://activitystrea.ms/schema/1.0/tag"), TAG("http://activitystrea.ms/schema/1.0/tag"),
/** /**
* The "update" Verb indicates that the Subject has modified the referenced Object. * 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 * 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. * 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. * The "update" Verb is identified by the URI http://activitystrea.ms/schema/1.0/update.
*/ */
UPDATE("http://activitystrea.ms/schema/1.0/update"), UPDATE("http://activitystrea.ms/schema/1.0/update"),
/** /**
* *
* <p> * <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 * 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 * 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 * @param iri
* @return * @return
*/ */

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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> * called <tt>embedCode</tt> whose value is a JSON string containing the fragment of HTML.</dd>
* </dl> * </dl>
* </blockquote> * </blockquote>
* *
* @author robert.cooper * @author robert.cooper
*/ */
public class Video { public class Video {

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@ -18,7 +18,7 @@
package org.rometools.feed.module.atomthread; package org.rometools.feed.module.atomthread;
/** /**
* *
* @author robert.cooper * @author robert.cooper
*/ */
public interface ThreadModule { 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. * 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> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.2 $ * @version $Revision: 1.2 $
*/ */
@ -51,34 +51,34 @@ public interface Article extends GlobalInterface {
/** /**
* Array of Author Names. Limit 10. * Array of Author Names. Limit 10.
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* *
* <td><font size="-1"> Author of the item.</font></td> * <td><font size="-1"> Author of the item.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:author&gt;John Steinbeck&lt;/g:author&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td> * <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param authors Array of Author Names. Limit 10. * @param authors Array of Author Names. Limit 10.
*/ */
public void setAuthors(String[] authors); public void setAuthors(String[] authors);
@ -86,283 +86,283 @@ public interface Article extends GlobalInterface {
/** /**
* Array of Author Names. Limit 10. * Array of Author Names. Limit 10.
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* *
* <td><font size="-1"> Author of the item.</font></td> * <td><font size="-1"> Author of the item.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:author&gt;John Steinbeck&lt;/g:author&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td> * <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Array of author names. * @return Array of author names.
*/ */
public String[] getAuthors(); public String[] getAuthors();
/** /**
* Source for this article. * Source for this article.
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="news_source"></a>news_source</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="news_source"></a>news_source</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* *
* <td><font size="-1"> The source of news content.</font></td> * <td><font size="-1"> The source of news content.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:news_source&gt;Journal&lt;/g:news_source&gt;</font></td>
* *
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> News and Articles</font></td> * <td><font size="-1"> News and Articles</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param newsSource Source for this article * @param newsSource Source for this article
*/ */
public void setNewsSource(String newsSource); public void setNewsSource(String newsSource);
/** /**
* Source for this article. * Source for this article.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="news_source"></a>news_source</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="news_source"></a>news_source</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* *
* <td><font size="-1"> The source of news content.</font></td> * <td><font size="-1"> The source of news content.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:news_source&gt;Journal&lt;/g:news_source&gt;</font></td>
* *
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> News and Articles</font></td> * <td><font size="-1"> News and Articles</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return source for this article. * @return source for this article.
*/ */
public String getNewsSource(); public String getNewsSource();
/** /**
* Number of pages in the article. * Number of pages in the article.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="pages"></a>pages</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="pages"></a>pages</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* The number of pages in the publication.</font></td> * The number of pages in the publication.</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:pages&gt;18&lt;/g:pages&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td> * <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> integer</font></td> * <td><font size="-1"> integer</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param pages Number of pages in the article * @param pages Number of pages in the article
*/ */
public void setPages(Integer pages); public void setPages(Integer pages);
/** /**
* Number of pages in the article. * Number of pages in the article.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="pages"></a>pages</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="pages"></a>pages</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* The number of pages in the publication.</font></td> * The number of pages in the publication.</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:pages&gt;18&lt;/g:pages&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td> * <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> integer</font></td> * <td><font size="-1"> integer</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Number of pages in the article * @return Number of pages in the article
*/ */
public Integer getPages(); public Integer getPages();
/** /**
* Date article was published. * Date article was published.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <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: * <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> * YYYY-MM-DD</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Example</b></font></td> * <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td> * <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Reference Items</font></td> * <td><font size="-1"> Reference Items</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* date</font></td> * date</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param publishDate Date article was published * @param publishDate Date article was published
*/ */
public void setPublishDate(Date publishDate); public void setPublishDate(Date publishDate);
/** /**
* Date article was published. * Date article was published.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <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: * <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> * YYYY-MM-DD</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Example</b></font></td> * <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td> * <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Reference Items</font></td> * <td><font size="-1"> Reference Items</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* date</font></td> * date</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Date article was published * @return Date article was published
*/ */
public Date getPublishDate(); 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. * 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> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.2 $ * @version $Revision: 1.2 $
*/ */
public interface Course extends GlobalInterface { public interface Course extends GlobalInterface {
/** /**
* The timeframe a course is running. * The timeframe a course is running.
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="course_date_range"></a>course_date_range</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="course_date_range"></a>course_date_range</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <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 * <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. * 8601</a>. Two sub-attributes are included in course_date_range attribute.
* <ul type="disc"> * <ul type="disc">
* *
* <li>start = Start date and time of a trip in format YYYY-MM-DDThh:mm:ss</li> * <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> * <li>end = End date and time of a trip in format YYYY-MM-DDThh:mm:ss</li>
* </ul> * </ul>
@ -72,41 +72,41 @@ public interface Course extends GlobalInterface {
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:course_date_range&gt; <br> * <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: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:end&gt;2005-12-29T10:30:59&lt;/g:end&gt;<br>
* &lt;/g:course_date_range&gt;</font></td> * &lt;/g:course_date_range&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Attribute of</b></font></td> * <b>Attribute of</b></font></td>
* <td><font size="-1"> Course schedules</font></td> * <td><font size="-1"> Course schedules</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* *
* <td><font size="-1"> dateTimeRange</font></td> * <td><font size="-1"> dateTimeRange</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param courseDateRange The timeframe a course is running * @param courseDateRange The timeframe a course is running
*/ */
public void setCourseDateRange(DateTimeRange courseDateRange); public void setCourseDateRange(DateTimeRange courseDateRange);
/** /**
* The timeframe a course is running. * The timeframe a course is running.
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="course_date_range"></a>course_date_range</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="course_date_range"></a>course_date_range</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <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 * <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. * 8601</a>. Two sub-attributes are included in course_date_range attribute.
* <ul type="disc"> * <ul type="disc">
* *
* <li>start = Start date and time of a trip in format YYYY-MM-DDThh:mm:ss</li> * <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> * <li>end = End date and time of a trip in format YYYY-MM-DDThh:mm:ss</li>
* </ul> * </ul>
@ -123,36 +123,36 @@ public interface Course extends GlobalInterface {
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:course_date_range&gt; <br> * <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: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:end&gt;2005-12-29T10:30:59&lt;/g:end&gt;<br>
* &lt;/g:course_date_range&gt;</font></td> * &lt;/g:course_date_range&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Attribute of</b></font></td> * <b>Attribute of</b></font></td>
* <td><font size="-1"> Course schedules</font></td> * <td><font size="-1"> Course schedules</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* *
* <td><font size="-1"> dateTimeRange</font></td> * <td><font size="-1"> dateTimeRange</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return The timeframe a course is running * @return The timeframe a course is running
*/ */
public DateTimeRange getCourseDateRange(); public DateTimeRange getCourseDateRange();
/** /**
* ID code associated with a course. * ID code associated with a course.
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -160,38 +160,38 @@ public interface Course extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
* *
* <td><font size="-1">ID code associated with a course</font></td> * <td><font size="-1">ID code associated with a course</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:course_number&gt;HIST-90A&lt;/g:course_number&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1">Course schedules</font></td> * <td><font size="-1">Course schedules</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1">string</font></td> * <td><font size="-1">string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param courseNumber ID code associated with a course * @param courseNumber ID code associated with a course
*/ */
public void setCourseNumber(String courseNumber); public void setCourseNumber(String courseNumber);
/** /**
* ID code associated with a course. * ID code associated with a course.
* *
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -199,271 +199,271 @@ public interface Course extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
* *
* <td><font size="-1">ID code associated with a course</font></td> * <td><font size="-1">ID code associated with a course</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:course_number&gt;HIST-90A&lt;/g:course_number&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1">Course schedules</font></td> * <td><font size="-1">Course schedules</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1">string</font></td> * <td><font size="-1">string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return ID code associated with a course * @return ID code associated with a course
*/ */
public String getCourseNumber(); public String getCourseNumber();
/** /**
* Time a class is in session. * Time a class is in session.
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="course_times"></a>course_times</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="course_times"></a>course_times</b></font></td>
* *
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
* <td><font size="-1">Time a class is in session.</font></td> * <td><font size="-1">Time a class is in session.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:course_times&gt;MWF 08:30 - 09:45&lt;/g:course_times&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1">Course schedules</font></td> * <td><font size="-1">Course schedules</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1">string</font></td> * <td><font size="-1">string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param courseTimes Time a class is in session * @param courseTimes Time a class is in session
*/ */
public void setCourseTimes(String courseTimes); public void setCourseTimes(String courseTimes);
/** /**
* Time a class is in session. * Time a class is in session.
* *
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="course_times"></a>course_times</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="course_times"></a>course_times</b></font></td>
* *
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
* <td><font size="-1">Time a class is in session.</font></td> * <td><font size="-1">Time a class is in session.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:course_times&gt;MWF 08:30 - 09:45&lt;/g:course_times&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1">Course schedules</font></td> * <td><font size="-1">Course schedules</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1">string</font></td> * <td><font size="-1">string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Time a class is in session * @return Time a class is in session
*/ */
public String getCourseTimes(); public String getCourseTimes();
/** /**
* Salary for this position. * Salary for this position.
* *
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary"></a>salary</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary"></a>salary</b></font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Salary for this position. Non-numeric values such as "$" symbols are not acceptable. </font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Example</b></font></td> * <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:salary&gt;55000&lt;/g:salary&gt;</font></td> * <td><font size="-1"> &lt;g:salary&gt;55000&lt;/g:salary&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Attribute of</b></font></td> * <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* *
* <td><font size="-1"> * <td><font size="-1">
* *
* float</font></td> * float</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param salary Salary for this position * @param salary Salary for this position
*/ */
public void setSalary(Float salary); public void setSalary(Float salary);
/** /**
* Salary for this position. * Salary for this position.
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary"></a>salary</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary"></a>salary</b></font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Salary for this position. Non-numeric values such as "$" symbols are not acceptable. </font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Example</b></font></td> * <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:salary&gt;55000&lt;/g:salary&gt;</font></td> * <td><font size="-1"> &lt;g:salary&gt;55000&lt;/g:salary&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Attribute of</b></font></td> * <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* *
* <td><font size="-1"> * <td><font size="-1">
* *
* float</font></td> * float</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Salary for this position * @return Salary for this position
*/ */
public Float getSalary(); public Float getSalary();
/** /**
* Topics of study for a course. * Topics of study for a course.
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="subject"></a>subject</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="subject"></a>subject</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <b>Details</b></font></td>
* <td><font size="-1"> Topic of study for a course.</font></td> * <td><font size="-1"> Topic of study for a course.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:subject&gt;Trigonometry&lt;/g:subject&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* Course schedules</font></td> * Course schedules</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param subject Topics of study for a course * @param subject Topics of study for a course
*/ */
public void setSubjects(String[] subject); public void setSubjects(String[] subject);
/** /**
* Topics of study for a course. * Topics of study for a course.
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="subject"></a>subject</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="subject"></a>subject</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <b>Details</b></font></td>
* <td><font size="-1"> Topic of study for a course.</font></td> * <td><font size="-1"> Topic of study for a course.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:subject&gt;Trigonometry&lt;/g:subject&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* Course schedules</font></td> * Course schedules</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Topics of study for a course * @return Topics of study for a course
*/ */
public String[] getSubjects(); public String[] getSubjects();
@ -474,35 +474,35 @@ public interface Course extends GlobalInterface {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="university"></a>university</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="university"></a>university</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Name of the school a class is offered at. </font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:university&gt;Stanford&lt;/g:university&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Attribute of</b></font></td> * <b>Attribute of</b></font></td>
* <td><font size="-1"> Course schedules</font></td> * <td><font size="-1"> Course schedules</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* *
* <td><font size="-1"> * <td><font size="-1">
* *
* string</font></td> * string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param university Name of the school at which a class is offered. * @param university Name of the school at which a class is offered.
*/ */
public void setUniversity(String university); public void setUniversity(String university);
@ -513,35 +513,35 @@ public interface Course extends GlobalInterface {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="university"></a>university</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="university"></a>university</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Name of the school a class is offered at. </font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:university&gt;Stanford&lt;/g:university&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Attribute of</b></font></td> * <b>Attribute of</b></font></td>
* <td><font size="-1"> Course schedules</font></td> * <td><font size="-1"> Course schedules</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* *
* <td><font size="-1"> * <td><font size="-1">
* *
* string</font></td> * string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Name of the school at which a class is offered. * @return Name of the school at which a class is offered.
*/ */
public String getUniversity(); public String getUniversity();

View file

@ -22,7 +22,7 @@ package org.rometools.feed.module.base;
/** /**
* This class represents a custom tag name and value. * This class represents a custom tag name and value.
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.2 $ * @version $Revision: 1.2 $
*/ */
@ -30,7 +30,7 @@ public interface CustomTag {
/** /**
* Returns the tag name used. * Returns the tag name used.
* *
* @return Returns the tag name used. * @return Returns the tag name used.
*/ */
public String getName(); public String getName();
@ -42,7 +42,7 @@ public interface CustomTag {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td><strong><font size="-1">Type (JavaType)</font></strong></td> * <td><strong><font size="-1">Type (JavaType)</font></strong></td>
* *
* <td><strong><font size="-1">Description</font></strong></td> * <td><strong><font size="-1">Description</font></strong></td>
* <td><strong><font size="-1">Examples</font></strong></td> * <td><strong><font size="-1">Examples</font></strong></td>
* </tr> * </tr>
@ -50,7 +50,7 @@ public interface CustomTag {
* <td><font size="-1">string (String)</font></td> * <td><font size="-1">string (String)</font></td>
* <td><font size="-1">Any string</font></td> * <td><font size="-1">Any string</font></td>
* <td><font size="-1">Blue</font></td> * <td><font size="-1">Blue</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td><font size="-1">int (Integer)</font></td> * <td><font size="-1">int (Integer)</font></td>
@ -58,71 +58,71 @@ public interface CustomTag {
* <td><font size="-1">1000</font></td> * <td><font size="-1">1000</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td><font size="-1">float (Float)</font></td> * <td><font size="-1">float (Float)</font></td>
* <td><font size="-1">Numbers with decimal digits</font></td> * <td><font size="-1">Numbers with decimal digits</font></td>
* <td><font size="-1">3.5</font></td> * <td><font size="-1">3.5</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td><font size="-1">intUnit (IntUnit)</font></td> * <td><font size="-1">intUnit (IntUnit)</font></td>
* *
* <td><font size="-1">Whole number value and a string</font></td> * <td><font size="-1">Whole number value and a string</font></td>
* *
* <td><font size="-1">10 km</font></td> * <td><font size="-1">10 km</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td><font size="-1">floatUnit (FloatUnit)</font></td> * <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">Numbers with decimal digits and a string</font></td>
* *
* <td><font size="-1">1.5 km</font></td> * <td><font size="-1">1.5 km</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td><font size="-1">date (ShortDate)</font></td> * <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">Date of an event, in format YYYY-MM-DD</font></td>
* <td><font size="-1">2005-12-12</font></td> * <td><font size="-1">2005-12-12</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td><font size="-1">dateTime (java.util.Date)</font></td> * <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">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> * <td><font size="-1">2005-12-12T12:00:00 </font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td><font size="-1">dateTimeRange (DateTimeRange)</font></td> * <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 * <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> * YYYY-MM-DD</font></td>
* *
* <td><font size="-1">&lt;start&gt;1975-09-25&lt;/start&gt;<br> * <td><font size="-1">&lt;start&gt;1975-09-25&lt;/start&gt;<br>
* &lt;end&gt;1975-09-25&lt;/end&gt; * &lt;end&gt;1975-09-25&lt;/end&gt;
* *
* </font></td> * </font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td><font size="-1">url (java.net.URL)</font></td> * <td><font size="-1">url (java.net.URL)</font></td>
* <td><font size="-1">HTTP URL </font></td> * <td><font size="-1">HTTP URL </font></td>
* *
* <td><font size="-1">http://www.google.com</font></td> * <td><font size="-1">http://www.google.com</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td><font size="-1">boolean (Boolean)</font></td> * <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">Value may be either true or false.</font></td>
* <td><font size="-1">true</font></td> * <td><font size="-1">true</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td><font size="-1">location (CustomTagImpl.Location)</font></td> * <td><font size="-1">location (CustomTagImpl.Location)</font></td>
* *
* <td><font size="-1">Location</font></td> * <td><font size="-1">Location</font></td>
* <td><font size="-1">921 W. Dana Street, Mtn View, CA-94103 </font></td> * <td><font size="-1">921 W. Dana Street, Mtn View, CA-94103 </font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @return The value of the tag. The objects class is determined by the "type" attribute on the tag. * @return The value of the tag. The objects class is determined by the "type" attribute on the tag.
*/ */
public Object getValue(); 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 * 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> * object <tt>x</tt>, the expression: <blockquote>
* *
* <pre> * <pre>
* x.clone() != x * x.clone() != x
* </pre> * </pre>
* *
* </blockquote> will be true, and that the expression: <blockquote> * </blockquote> will be true, and that the expression: <blockquote>
* *
* <pre> * <pre>
* x.clone().getClass() == x.getClass() * x.clone().getClass() == x.getClass()
* </pre> * </pre>
* *
* </blockquote> will be <tt>true</tt>, but these are not absolute requirements. While it is typically the case that: <blockquote> * </blockquote> will be <tt>true</tt>, but these are not absolute requirements. While it is typically the case that: <blockquote>
* *
* <pre> * <pre>
* x.clone().equals(x) * x.clone().equals(x)
* </pre> * </pre>
* *
* </blockquote> will be <tt>true</tt>, this is not an absolute requirement. * </blockquote> will be <tt>true</tt>, this is not an absolute requirement.
* <p> * <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>) * 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> * <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 * 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. * <tt>Object</tt> will result in throwing an exception at run time.
* *
* @return a clone of this instance. * @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 * @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. * <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 { public class CustomTagsImpl implements CustomTags {
/**
*
*/
private static final long serialVersionUID = 1L;
private List values; private List values;
/** Creates a new instance of CustomTagsImpl */ /** 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. * This is an interface representing the universals.
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.2 $ * @version $Revision: 1.2 $
*/ */
public interface GlobalInterface extends Serializable { public interface GlobalInterface extends Serializable {
/** /**
* Expiration Date for this item. <br> * Expiration Date for this item. <br>
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -60,14 +60,14 @@ public interface GlobalInterface extends Serializable {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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: * <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> * YYYY-MM-DD</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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; * <td><font size="-1"> &lt;g:expiration_date&gt;2005-20-12&lt;/g:expiration_date&gt;
* *
* </font></td> * </font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
@ -76,19 +76,19 @@ public interface GlobalInterface extends Serializable {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1"> date</font></td> * <td><font size="-1"> date</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param expirationDate the date this entry will expire * @param expirationDate the date this entry will expire
*/ */
public void setExpirationDate(Date expirationDate); public void setExpirationDate(Date expirationDate);
/** /**
* Expiration Date for this item. <br> * Expiration Date for this item. <br>
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -96,14 +96,14 @@ public interface GlobalInterface extends Serializable {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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: * <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> * YYYY-MM-DD</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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; * <td><font size="-1"> &lt;g:expiration_date&gt;2005-20-12&lt;/g:expiration_date&gt;
* *
* </font></td> * </font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
@ -112,88 +112,88 @@ public interface GlobalInterface extends Serializable {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1"> date</font></td> * <td><font size="-1"> date</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return the date this entry will expire * @return the date this entry will expire
*/ */
public Date getExpirationDate(); public Date getExpirationDate();
/** /**
* Date and time that the item expires. * Date and time that the item expires.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <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> * format: YYYY-MM-DDThh:mm:ss</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <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> * <td><font size="-1"> Reference Items, Events, Housing, Jobs, People profiles, Products, Services, Travel, Vehicles, Wanted Ads.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1"> dateTime</font></td> * <td><font size="-1"> dateTime</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @param expirationDateTime Date and time that the item expires. * @param expirationDateTime Date and time that the item expires.
*/ */
public void setExpirationDateTime(Date expirationDateTime); public void setExpirationDateTime(Date expirationDateTime);
/** /**
* Date and time that the item expires. * Date and time that the item expires.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <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> * format: YYYY-MM-DDThh:mm:ss</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <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> * <td><font size="-1"> Reference Items, Events, Housing, Jobs, People profiles, Products, Services, Travel, Vehicles, Wanted Ads.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1"> dateTime</font></td> * <td><font size="-1"> dateTime</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Date and time that the item expires. * @return Date and time that the item expires.
*/ */
public Date getExpirationDateTime(); public Date getExpirationDateTime();
@ -207,7 +207,7 @@ public interface GlobalInterface extends Serializable {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <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 * 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> * id in subsequent bulk uploads.</font></td>
@ -215,23 +215,23 @@ public interface GlobalInterface extends Serializable {
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* &lt;g:id&gt;01flx&lt;/g:id&gt;</font></td> * &lt;g:id&gt;01flx&lt;/g:id&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <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 * <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td> * Ads.</font></td>
* *
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param id unique identifier for this entry * @param id unique identifier for this entry
*/ */
public void setId(String id); public void setId(String id);
@ -245,7 +245,7 @@ public interface GlobalInterface extends Serializable {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <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 * 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> * id in subsequent bulk uploads.</font></td>
@ -253,178 +253,178 @@ public interface GlobalInterface extends Serializable {
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* &lt;g:id&gt;01flx&lt;/g:id&gt;</font></td> * &lt;g:id&gt;01flx&lt;/g:id&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <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 * <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td> * Ads.</font></td>
* *
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return unique identifier for this entry * @return unique identifier for this entry
*/ */
public String getId(); public String getId();
/** /**
* Images for this item. <br> * Images for this item. <br>
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="image_link"></a>image_link</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="image_link"></a>image_link</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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 * <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, * 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> * 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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1"> <em>Acceptable:</em><br> * <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/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> * &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> * <em>Not acceptable:</em><br>
* &lt;image_link&gt;/images/1006.jpg&lt;/image_link&gt;<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> * &lt;image_link&gt;example.com/images/1006.jpg&lt;/image_link&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <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 * <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td> * Ads.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1"> url</font></td> * <td><font size="-1"> url</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @param imageLinks URLs to images. Limit 10. * @param imageLinks URLs to images. Limit 10.
*/ */
public void setImageLinks(URL[] imageLinks); public void setImageLinks(URL[] imageLinks);
/** /**
* Images for this item. <br> * Images for this item. <br>
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="image_link"></a>image_link</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="image_link"></a>image_link</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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 * <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, * 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> * 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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* <td><font size="-1"> <em>Acceptable:</em><br> * <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/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> * &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> * <em>Not acceptable:</em><br>
* &lt;image_link&gt;/images/1006.jpg&lt;/image_link&gt;<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> * &lt;image_link&gt;example.com/images/1006.jpg&lt;/image_link&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <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 * <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td> * Ads.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1"> url</font></td> * <td><font size="-1"> url</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @return URLs to images * @return URLs to images
*/ */
public URL[] getImageLinks(); public URL[] getImageLinks();
/** /**
* Labels for this item. <br> * Labels for this item. <br>
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"> * <td colspan="2" bgcolor="#dddddd" valign="top">
* <font size="-1"><b><a name="label"></a>label</b></font></td> * <font size="-1"><b><a name="label"></a>label</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"> * <td width="120">
* *
* <font size="-1"><b>Details</b></font></td> * <font size="-1"><b>Details</b></font></td>
* <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; * <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 * 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> * be checked for policy compliance.</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"> * <td width="120">
* <font size="-1"><b>Example</b></font></td> * <font size="-1"><b>Example</b></font></td>
* <td> * <td>
* *
* <font size="-1"><em>Acceptable:<br> * <font size="-1"><em>Acceptable:<br>
* For an automobile in a Vehicles information type:</em><br> * For an automobile in a Vehicles information type:</em><br>
* </font> * </font>
* *
* <font size="-1">&lt;g:label&gt;Leather&lt;/g:label&gt;<br> * <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;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;sunroof&lt;/g:label&gt;<br>
* *
* </font> <font size="-1">&lt;g:label&gt;ABS&lt;/g:label&gt;<br> * </font> <font size="-1">&lt;g:label&gt;ABS&lt;/g:label&gt;<br>
* <br> * <br>
* </font> <font size="-1"><em>For a concert in an Events information type:</em></font><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 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;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;backstage&lt;/g:label&gt;<br>
* *
* </font> * </font>
* *
* <font size="-1">&lt;g:label&gt;KROCK 101.5&lt;/g:label&gt;<br> * <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> * </font> <font size="-1">&lt;g:label&gt;parking passes&lt;/g:label&gt;<br>
* <br> * <br>
* </font> <font size="-1"><em>Not acceptable:</em><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> * </font> <font size="-1">&lt;g:label&gt; leater, power locks, sunroof, ABS &lt;/g:label&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"> * <td width="120">
* <font size="-1"><b>Attribute of</b></font></td> * <font size="-1"><b>Attribute of</b></font></td>
* *
* <td> * <td>
* <font size="-1">Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted * <font size="-1">Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td> * Ads.</font></td>
@ -433,74 +433,74 @@ public interface GlobalInterface extends Serializable {
* <td width="120"> * <td width="120">
* <font size="-1"><b>Content type</b></font></td> * <font size="-1"><b>Content type</b></font></td>
* <td> * <td>
* *
* <font size="-1">string</font></td> * <font size="-1">string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param labels labels for this entry. Limit 10. * @param labels labels for this entry. Limit 10.
*/ */
public void setLabels(String[] labels); public void setLabels(String[] labels);
/** /**
* Labels for this item. <br> * Labels for this item. <br>
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"> * <td colspan="2" bgcolor="#dddddd" valign="top">
* <font size="-1"><b><a name="label"></a>label</b></font></td> * <font size="-1"><b><a name="label"></a>label</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"> * <td width="120">
* *
* <font size="-1"><b>Details</b></font></td> * <font size="-1"><b>Details</b></font></td>
* <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; * <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 * 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> * be checked for policy compliance.</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"> * <td width="120">
* <font size="-1"><b>Example</b></font></td> * <font size="-1"><b>Example</b></font></td>
* <td> * <td>
* *
* <font size="-1"><em>Acceptable:<br> * <font size="-1"><em>Acceptable:<br>
* For an automobile in a Vehicles information type:</em><br> * For an automobile in a Vehicles information type:</em><br>
* </font> * </font>
* *
* <font size="-1">&lt;g:label&gt;Leather&lt;/g:label&gt;<br> * <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;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;sunroof&lt;/g:label&gt;<br>
* *
* </font> <font size="-1">&lt;g:label&gt;ABS&lt;/g:label&gt;<br> * </font> <font size="-1">&lt;g:label&gt;ABS&lt;/g:label&gt;<br>
* <br> * <br>
* </font> <font size="-1"><em>For a concert in an Events information type:</em></font><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 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;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;backstage&lt;/g:label&gt;<br>
* *
* </font> * </font>
* *
* <font size="-1">&lt;g:label&gt;KROCK 101.5&lt;/g:label&gt;<br> * <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> * </font> <font size="-1">&lt;g:label&gt;parking passes&lt;/g:label&gt;<br>
* <br> * <br>
* </font> <font size="-1"><em>Not acceptable:</em><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> * </font> <font size="-1">&lt;g:label&gt; leater, power locks, sunroof, ABS &lt;/g:label&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"> * <td width="120">
* <font size="-1"><b>Attribute of</b></font></td> * <font size="-1"><b>Attribute of</b></font></td>
* *
* <td> * <td>
* <font size="-1">Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted * <font size="-1">Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td> * Ads.</font></td>
@ -509,13 +509,13 @@ public interface GlobalInterface extends Serializable {
* <td width="120"> * <td width="120">
* <font size="-1"><b>Content type</b></font></td> * <font size="-1"><b>Content type</b></font></td>
* <td> * <td>
* *
* <font size="-1">string</font></td> * <font size="-1">string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return labels for this entry * @return labels for this entry
*/ */
public String[] getLabels(); 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. * This is the root interface for the Google Base module.
* *
* <p> * <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 * 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. * interface and see only methods related to a particular entry type.
* </p> * </p>
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
*/ */
public interface GoogleBase extends Module, Article, Course, Event, Job, Person, Product, Review, ScholarlyArticle, Service, Travel, Unknown, Vehicle, Wanted, 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. */ /** This is the URI for the Google Base Schema. */
public static final String URI = "http://base.google.com/ns/1.0"; 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. * This is the implementation class for the GoogleBase module interface.
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.2 $ * @version $Revision: 1.2 $
*/ */
public class GoogleBaseImpl implements GoogleBase { public class GoogleBaseImpl implements GoogleBase {
/**
*
*/
private static final long serialVersionUID = 1L;
/** boolean:listing_type */ /** boolean:listing_type */
private Boolean listingType; private Boolean listingType;
@ -343,7 +348,7 @@ public class GoogleBaseImpl implements GoogleBase {
/** /**
* DOCUMENT ME! * DOCUMENT ME!
* *
* @param actors * @param actors
*/ */
@Override @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. * 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> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
*/ */
@ -58,13 +58,13 @@ public interface Job extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <td><font size="-1"> Level of education required for an employment position.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:education&gt;PhD&lt;/g:education&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -72,12 +72,12 @@ public interface Job extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param education Level of education required for an employment position. * @param education Level of education required for an employment position.
*/ */
public void setEducation(String education); public void setEducation(String education);
@ -91,13 +91,13 @@ public interface Job extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <td><font size="-1"> Level of education required for an employment position.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:education&gt;PhD&lt;/g:education&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -105,12 +105,12 @@ public interface Job extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Level of education required for an employment position. * @return Level of education required for an employment position.
*/ */
public String getEducation(); public String getEducation();
@ -121,7 +121,7 @@ public interface Job extends GlobalInterface {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="employer"></a>employer</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="employer"></a>employer</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
@ -129,13 +129,13 @@ public interface Job extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:employer&gt;Google, Inc&lt;/g:employer&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
@ -143,7 +143,7 @@ public interface Job extends GlobalInterface {
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param employer Company providing employment. * @param employer Company providing employment.
*/ */
public void setEmployer(String employer); public void setEmployer(String employer);
@ -154,7 +154,7 @@ public interface Job extends GlobalInterface {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="employer"></a>employer</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="employer"></a>employer</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
@ -162,13 +162,13 @@ public interface Job extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:employer&gt;Google, Inc&lt;/g:employer&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
@ -176,163 +176,163 @@ public interface Job extends GlobalInterface {
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Company providing employment. * @return Company providing employment.
*/ */
public String getEmployer(); public String getEmployer();
/** /**
* Legal residency requirements for an employment position. * Legal residency requirements for an employment position.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="immigration_status"></a>immigration_status</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="immigration_status"></a>immigration_status</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
* *
* <td><font size="-1"> Legal residency requirements for an employment position.</font></td> * <td><font size="-1"> Legal residency requirements for an employment position.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:immigration_status&gt;Permanent resident&lt;/g:immigration_status&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param immigrationStatus Legal residency requirements for an employment position. * @param immigrationStatus Legal residency requirements for an employment position.
*/ */
public void setImmigrationStatus(String immigrationStatus); public void setImmigrationStatus(String immigrationStatus);
/** /**
* Legal residency requirements for an employment position. * Legal residency requirements for an employment position.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="immigration_status"></a>immigration_status</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="immigration_status"></a>immigration_status</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
* *
* <td><font size="-1"> Legal residency requirements for an employment position.</font></td> * <td><font size="-1"> Legal residency requirements for an employment position.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:immigration_status&gt;Permanent resident&lt;/g:immigration_status&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Legal residency requirements for an employment position. * @return Legal residency requirements for an employment position.
*/ */
public String getImmigrationStatus(); public String getImmigrationStatus();
/** /**
* The functions of an employment position. * The functions of an employment position.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="job_function"></a>job_function</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="job_function"></a>job_function</b></font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> The function of an employment position.</font></td> * <td><font size="-1"> The function of an employment position.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:job_function&gt;Product Manager&lt;/g:job_function&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Attribute of</b></font></td> * <b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* *
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param function The functions of an employment position. * @param function The functions of an employment position.
*/ */
public void setJobFunctions(String[] function); public void setJobFunctions(String[] function);
/** /**
* The functions of an employment position. * The functions of an employment position.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="job_function"></a>job_function</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="job_function"></a>job_function</b></font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> The function of an employment position.</font></td> * <td><font size="-1"> The function of an employment position.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:job_function&gt;Product Manager&lt;/g:job_function&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Attribute of</b></font></td> * <b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* *
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return The functions of an employment position. * @return The functions of an employment position.
*/ */
public String[] getJobFunctions(); public String[] getJobFunctions();
@ -342,35 +342,35 @@ public interface Job extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
* *
* <b><a name="job_industry"></a>job_industry</b></font></td> * <b><a name="job_industry"></a>job_industry</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> The industry of an employment position.</font></td> * <td><font size="-1"> The industry of an employment position.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:job_industry&gt;Government&lt;/g:job_industry&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param jobIndustries The industry of an employment position. * @param jobIndustries The industry of an employment position.
*/ */
public void setJobIndustries(String[] jobIndustries); public void setJobIndustries(String[] jobIndustries);
@ -380,35 +380,35 @@ public interface Job extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
* *
* <b><a name="job_industry"></a>job_industry</b></font></td> * <b><a name="job_industry"></a>job_industry</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> The industry of an employment position.</font></td> * <td><font size="-1"> The industry of an employment position.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:job_industry&gt;Government&lt;/g:job_industry&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return The industry of an employment position. * @return The industry of an employment position.
*/ */
public String[] getJobIndustries(); public String[] getJobIndustries();
@ -418,35 +418,35 @@ public interface Job extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="job_type"></a>job_type</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="job_type"></a>job_type</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Type of employment position. Example: Full-time, part-time, contractor, etc.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:job_type&gt;contractor&lt;/g:job_type&gt;</font></td>
* *
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param jobTypes Type of employment position. Example: Full-time, part-time, contractor, etc. * @param jobTypes Type of employment position. Example: Full-time, part-time, contractor, etc.
*/ */
public void setJobTypes(String[] jobTypes); public void setJobTypes(String[] jobTypes);
@ -456,35 +456,35 @@ public interface Job extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="job_type"></a>job_type</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="job_type"></a>job_type</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Type of employment position. Example: Full-time, part-time, contractor, etc.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:job_type&gt;contractor&lt;/g:job_type&gt;</font></td>
* *
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Type of employment position. Example: Full-time, part-time, contractor, etc. * @return Type of employment position. Example: Full-time, part-time, contractor, etc.
*/ */
public String[] getJobTypes(); public String[] getJobTypes();
@ -494,43 +494,43 @@ public interface Job extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Location of a property. Should include street, city, state, postal code, and country, in that order. </font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <td width="120"><font size="-1"> <b>Example</b></font></td>
* *
* <td><font size="-1"> <em>Acceptable:</em><br> * <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>, * &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> * <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
* *
* <em>Not acceptable:</em><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>, * &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> * <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>, * &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> * <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <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 * <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td> * Ads.</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> locationType</font></td> * <td><font size="-1"> locationType</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param location Location of the position. * @param location Location of the position.
*/ */
public void setLocation(String location); public void setLocation(String location);
@ -540,43 +540,43 @@ public interface Job extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Location of a property. Should include street, city, state, postal code, and country, in that order. </font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <td width="120"><font size="-1"> <b>Example</b></font></td>
* *
* <td><font size="-1"> <em>Acceptable:</em><br> * <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>, * &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> * <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
* *
* <em>Not acceptable:</em><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>, * &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> * <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>, * &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> * <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <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 * <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td> * Ads.</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> locationType</font></td> * <td><font size="-1"> locationType</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Location of the position. * @return Location of the position.
*/ */
public String getLocation(); public String getLocation();
@ -588,36 +588,36 @@ public interface Job extends GlobalInterface {
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary"></a>salary</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary"></a>salary</b></font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Salary for this position. Non-numeric values such as "$" symbols are not acceptable. </font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Example</b></font></td> * <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:salary&gt;55000&lt;/g:salary&gt;</font></td> * <td><font size="-1"> &lt;g:salary&gt;55000&lt;/g:salary&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Attribute of</b></font></td> * <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* *
* <td><font size="-1"> * <td><font size="-1">
* *
* float</font></td> * float</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param salary Salary for this position. Non-numeric values such as "$" symbols are not acceptable. * @param salary Salary for this position. Non-numeric values such as "$" symbols are not acceptable.
*/ */
public void setSalary(Float salary); public void setSalary(Float salary);
@ -629,36 +629,36 @@ public interface Job extends GlobalInterface {
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary"></a>salary</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary"></a>salary</b></font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Salary for this position. Non-numeric values such as "$" symbols are not acceptable. </font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Example</b></font></td> * <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:salary&gt;55000&lt;/g:salary&gt;</font></td> * <td><font size="-1"> &lt;g:salary&gt;55000&lt;/g:salary&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Attribute of</b></font></td> * <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* *
* <td><font size="-1"> * <td><font size="-1">
* *
* float</font></td> * float</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Salary for this position. Non-numeric values such as "$" symbols are not acceptable. * @return Salary for this position. Non-numeric values such as "$" symbols are not acceptable.
*/ */
public Float getSalary(); public Float getSalary();
@ -669,37 +669,37 @@ public interface Job extends GlobalInterface {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary_type"></a>salary_type</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary_type"></a>salary_type</b></font></td>
* *
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Example</b></font></td> * <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:salary_type&gt;negotiable&lt;/g:salary_type&gt;</font></td> * <td><font size="-1"> &lt;g:salary_type&gt;negotiable&lt;/g:salary_type&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* "starting" or "negotiable"</font></td> * "starting" or "negotiable"</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param salaryType The type of salary included. * @param salaryType The type of salary included.
*/ */
public void setSalaryType(PriceTypeEnumeration salaryType); public void setSalaryType(PriceTypeEnumeration salaryType);
@ -710,121 +710,121 @@ public interface Job extends GlobalInterface {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary_type"></a>salary_type</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="salary_type"></a>salary_type</b></font></td>
* *
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Example</b></font></td> * <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:salary_type&gt;negotiable&lt;/g:salary_type&gt;</font></td> * <td><font size="-1"> &lt;g:salary_type&gt;negotiable&lt;/g:salary_type&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* "starting" or "negotiable"</font></td> * "starting" or "negotiable"</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return The type of salary included. * @return The type of salary included.
*/ */
public PriceTypeEnumeration getSalaryType(); public PriceTypeEnumeration getSalaryType();
/** /**
* Currency of the price amount for an item. * Currency of the price amount for an item.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="currency"></a>currency</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="currency"></a>currency</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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 * <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> * href="http://www.iso.org/iso/en/prods-services/popstds/currencycodeslist.html">ISO 4217</a> currency code format.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* *
* <td><font size="-1"><em>Acceptable:</em><br> * <td><font size="-1"><em>Acceptable:</em><br>
* &lt;g:currency&gt;USD&lt;/g:currency&gt;<br> * &lt;g:currency&gt;USD&lt;/g:currency&gt;<br>
* *
* <em>Not acceptable:</em><br> * <em>Not acceptable:</em><br>
* &lt;g:currency&gt;US Dollars&lt;/g:currency&gt;</font></td> * &lt;g:currency&gt;US Dollars&lt;/g:currency&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1">Events, Housing, Products, Services, Travel, Vehicles</font></td> * <td><font size="-1">Events, Housing, Products, Services, Travel, Vehicles</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1">currencyEnumeration</font></td> * <td><font size="-1">currencyEnumeration</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param value Currency of the price amount for an item. * @param value Currency of the price amount for an item.
*/ */
public void setCurrency(CurrencyEnumeration value); public void setCurrency(CurrencyEnumeration value);
/** /**
* Currency of the price amount for an item. * Currency of the price amount for an item.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="currency"></a>currency</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="currency"></a>currency</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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 * <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> * href="http://www.iso.org/iso/en/prods-services/popstds/currencycodeslist.html">ISO 4217</a> currency code format.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* *
* <td><font size="-1"><em>Acceptable:</em><br> * <td><font size="-1"><em>Acceptable:</em><br>
* &lt;g:currency&gt;USD&lt;/g:currency&gt;<br> * &lt;g:currency&gt;USD&lt;/g:currency&gt;<br>
* *
* <em>Not acceptable:</em><br> * <em>Not acceptable:</em><br>
* &lt;g:currency&gt;US Dollars&lt;/g:currency&gt;</font></td> * &lt;g:currency&gt;US Dollars&lt;/g:currency&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1">Events, Housing, Products, Services, Travel, Vehicles</font></td> * <td><font size="-1">Events, Housing, Products, Services, Travel, Vehicles</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1">currencyEnumeration</font></td> * <td><font size="-1">currencyEnumeration</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Currency of the price amount for an item. * @return Currency of the price amount for an item.
*/ */
public CurrencyEnumeration getCurrency(); 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. * 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> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.2 $ * @version $Revision: 1.2 $
*/ */
@ -58,29 +58,29 @@ public interface Person extends GlobalInterface {
* <tr valign="top"> * <tr valign="top">
* <td width="120"><strong><font size="-1">Details</font></strong></td> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td><strong><font size="-1">Example</font></strong></td> * <td><strong><font size="-1">Example</font></strong></td>
* <td><font size="-1"><em>Acceptable:</em><br> * <td><font size="-1"><em>Acceptable:</em><br>
* &lt; g:age&gt;18&lt;/g:age&gt;<br> * &lt; g:age&gt;18&lt;/g:age&gt;<br>
* <em>Not acceptable:</em><br> * <em>Not acceptable:</em><br>
* *
* &lt; g:age&gt;18 and over&lt;/g:age&gt;</font></td> * &lt; g:age&gt;18 and over&lt;/g:age&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td><strong><font size="-1">Attribute of</font></strong></td> * <td><strong><font size="-1">Attribute of</font></strong></td>
* <td><font size="-1">Events, People profiles</font></td> * <td><font size="-1">Events, People profiles</font></td>
* *
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td><strong><font size="-1">Content type</font></strong></td> * <td><strong><font size="-1">Content type</font></strong></td>
* <td><font size="-1">integer</font></td> * <td><font size="-1">integer</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param age Age of the individual. * @param age Age of the individual.
*/ */
public void setAge(Integer age); public void setAge(Integer age);
@ -95,29 +95,29 @@ public interface Person extends GlobalInterface {
* <tr valign="top"> * <tr valign="top">
* <td width="120"><strong><font size="-1">Details</font></strong></td> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td><strong><font size="-1">Example</font></strong></td> * <td><strong><font size="-1">Example</font></strong></td>
* <td><font size="-1"><em>Acceptable:</em><br> * <td><font size="-1"><em>Acceptable:</em><br>
* &lt; g:age&gt;18&lt;/g:age&gt;<br> * &lt; g:age&gt;18&lt;/g:age&gt;<br>
* <em>Not acceptable:</em><br> * <em>Not acceptable:</em><br>
* *
* &lt; g:age&gt;18 and over&lt;/g:age&gt;</font></td> * &lt; g:age&gt;18 and over&lt;/g:age&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td><strong><font size="-1">Attribute of</font></strong></td> * <td><strong><font size="-1">Attribute of</font></strong></td>
* <td><font size="-1">Events, People profiles</font></td> * <td><font size="-1">Events, People profiles</font></td>
* *
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td><strong><font size="-1">Content type</font></strong></td> * <td><strong><font size="-1">Content type</font></strong></td>
* <td><font size="-1">integer</font></td> * <td><font size="-1">integer</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Age of the individual. * @return Age of the individual.
*/ */
public Integer getAge(); public Integer getAge();
@ -131,13 +131,13 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <td><font size="-1"> Level of education required for an employment position.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:education&gt;PhD&lt;/g:education&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -145,12 +145,12 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param education Education of the individual. * @param education Education of the individual.
*/ */
public void setEducation(String education); public void setEducation(String education);
@ -164,13 +164,13 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <td><font size="-1"> Level of education required for an employment position.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:education&gt;PhD&lt;/g:education&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -178,24 +178,24 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Education of the individual. * @return Education of the individual.
*/ */
public String getEducation(); public String getEducation();
/** /**
* Individuals employer. * Individuals employer.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="employer"></a>employer</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="employer"></a>employer</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
@ -203,13 +203,13 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:employer&gt;Google, Inc&lt;/g:employer&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
@ -217,19 +217,19 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param employer Individuals employer. * @param employer Individuals employer.
*/ */
public void setEmployer(String employer); public void setEmployer(String employer);
/** /**
* Individuals employer. * Individuals employer.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="employer"></a>employer</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="employer"></a>employer</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
@ -237,13 +237,13 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:employer&gt;Google, Inc&lt;/g:employer&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> Jobs</font></td> * <td><font size="-1"> Jobs</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
@ -251,14 +251,14 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Individuals employer. * @return Individuals employer.
*/ */
public String getEmployer(); public String getEmployer();
/** /**
* Ethnicity of the individual in the People profiles bulk upload entry. * Ethnicity of the individual in the People profiles bulk upload entry.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -266,36 +266,36 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <td><font size="-1"> Ethnicity of the individual in the People profiles bulk upload entry.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:ethnicity&gt;Latino&lt;/g:ethnicity&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* *
* <td><font size="-1"> People profiles</font></td> * <td><font size="-1"> People profiles</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @param ethnicities Ethnicity of the individual in the People profiles bulk upload entry. * @param ethnicities Ethnicity of the individual in the People profiles bulk upload entry.
*/ */
public void setEthnicities(String[] ethnicities); public void setEthnicities(String[] ethnicities);
/** /**
* Ethnicity of the individual in the People profiles bulk upload entry. * Ethnicity of the individual in the People profiles bulk upload entry.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -303,56 +303,56 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <td><font size="-1"> Ethnicity of the individual in the People profiles bulk upload entry.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:ethnicity&gt;Latino&lt;/g:ethnicity&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* *
* <td><font size="-1"> People profiles</font></td> * <td><font size="-1"> People profiles</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Ethnicity of the individual in the People profiles bulk upload entry. * @return Ethnicity of the individual in the People profiles bulk upload entry.
*/ */
public String[] getEthnicities(); public String[] getEthnicities();
/** /**
* Gender of an individual in a People profiles bulk upload. * Gender of an individual in a People profiles bulk upload.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="gender"></a>gender</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="gender"></a>gender</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* *
* <td><font size="-1"> &lt;gender&gt;Female&lt;/gender&gt;</font></td> * <td><font size="-1"> &lt;gender&gt;Female&lt;/gender&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> People profiles</font></td> * <td><font size="-1"> People profiles</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
@ -360,34 +360,34 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param gender Gender of an individual in a People profiles bulk upload. * @param gender Gender of an individual in a People profiles bulk upload.
*/ */
public void setGender(GenderEnumeration gender); public void setGender(GenderEnumeration gender);
/** /**
* Gender of an individual in a People profiles bulk upload. * Gender of an individual in a People profiles bulk upload.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="gender"></a>gender</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="gender"></a>gender</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* *
* <td><font size="-1"> &lt;gender&gt;Female&lt;/gender&gt;</font></td> * <td><font size="-1"> &lt;gender&gt;Female&lt;/gender&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* <td><font size="-1"> People profiles</font></td> * <td><font size="-1"> People profiles</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
@ -395,81 +395,81 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Gender of an individual in a People profiles bulk upload. * @return Gender of an individual in a People profiles bulk upload.
*/ */
public GenderEnumeration getGender(); public GenderEnumeration getGender();
/** /**
* Interest of a person being profiled. * Interest of a person being profiled.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="interested_in"></a>interested_in</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="interested_in"></a>interested_in</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
* <td><font size="-1"> Interest of a person being profiled.</font></td> * <td><font size="-1"> Interest of a person being profiled.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:interested_in&gt;Long walks on the beach.&lt;/g:interested_in&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* *
* <td><font size="-1">People profiles</font></td> * <td><font size="-1">People profiles</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @param interestedIn Interest of a person being profiled. * @param interestedIn Interest of a person being profiled.
*/ */
public void setInterestedIn(String[] interestedIn); public void setInterestedIn(String[] interestedIn);
/** /**
* Interest of a person being profiled. * Interest of a person being profiled.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="interested_in"></a>interested_in</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="interested_in"></a>interested_in</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
* <td><font size="-1"> Interest of a person being profiled.</font></td> * <td><font size="-1"> Interest of a person being profiled.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:interested_in&gt;Long walks on the beach.&lt;/g:interested_in&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* *
* <td><font size="-1">People profiles</font></td> * <td><font size="-1">People profiles</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Interest of a person being profiled. * @return Interest of a person being profiled.
*/ */
public String[] getInterestedIn(); public String[] getInterestedIn();
@ -479,43 +479,43 @@ public interface Person extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Location of a property. Should include street, city, state, postal code, and country, in that order. </font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <td width="120"><font size="-1"> <b>Example</b></font></td>
* *
* <td><font size="-1"> <em>Acceptable:</em><br> * <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>, * &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> * <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
* *
* <em>Not acceptable:</em><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>, * &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> * <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>, * &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> * <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <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 * <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td> * Ads.</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> locationType</font></td> * <td><font size="-1"> locationType</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param location Location of a person. * @param location Location of a person.
*/ */
public void setLocation(String location); public void setLocation(String location);
@ -525,224 +525,224 @@ public interface Person extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Location of a property. Should include street, city, state, postal code, and country, in that order. </font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <td width="120"><font size="-1"> <b>Example</b></font></td>
* *
* <td><font size="-1"> <em>Acceptable:</em><br> * <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>, * &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> * <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
* *
* <em>Not acceptable:</em><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>, * &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> * <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>, * &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> * <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <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 * <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td> * Ads.</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> locationType</font></td> * <td><font size="-1"> locationType</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Location of a person. * @return Location of a person.
*/ */
public String getLocation(); public String getLocation();
/** /**
* Marital status of an individual. * Marital status of an individual.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="marital_status"></a>marital_status</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="marital_status"></a>marital_status</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <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, * <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> * and <EFBFBD>in relationship.<EFBFBD></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:marital_status&gt;single&lt;/g:marital_status&gt;<br>
* *
* </font></td> * </font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> People profiles</font></td> * <td><font size="-1"> People profiles</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* string</font></td> * string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param maritalStatus Marital status of an individual. * @param maritalStatus Marital status of an individual.
*/ */
public void setMaritalStatus(String maritalStatus); public void setMaritalStatus(String maritalStatus);
/** /**
* Marital status of an individual. * Marital status of an individual.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="marital_status"></a>marital_status</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="marital_status"></a>marital_status</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <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, * <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> * and <EFBFBD>in relationship.<EFBFBD></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:marital_status&gt;single&lt;/g:marital_status&gt;<br>
* *
* </font></td> * </font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> People profiles</font></td> * <td><font size="-1"> People profiles</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* string</font></td> * string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Marital status of an individual. * @return Marital status of an individual.
*/ */
public String getMaritalStatus(); public String getMaritalStatus();
/** /**
* Occupation of an individual. * Occupation of an individual.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="occupation"></a>occupation</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="occupation"></a>occupation</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <b>Details</b></font></td>
* <td><font size="-1"> Industry the individual in a People profiles bulk upload is employed in.</font></td> * <td><font size="-1"> Industry the individual in a People profiles bulk upload is employed in.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:occupation&gt;Sales&lt;/g:occupation&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* People profiles</font></td> * People profiles</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param occupation Occupation of an individual. * @param occupation Occupation of an individual.
*/ */
public void setOccupation(String occupation); public void setOccupation(String occupation);
/** /**
* Occupation of an individual. * Occupation of an individual.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="occupation"></a>occupation</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="occupation"></a>occupation</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <b>Details</b></font></td>
* <td><font size="-1"> Industry the individual in a People profiles bulk upload is employed in.</font></td> * <td><font size="-1"> Industry the individual in a People profiles bulk upload is employed in.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:occupation&gt;Sales&lt;/g:occupation&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* People profiles</font></td> * People profiles</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Occupation of an individual. * @return Occupation of an individual.
*/ */
public String getOccupation(); public String getOccupation();
/** /**
* Individual's sexual orientation. * Individual's sexual orientation.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -750,39 +750,39 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <b>Details</b></font></td>
* *
* <td><font size="-1"> Sexual orientation of an individual in a People profiles information type..</font></td> * <td><font size="-1"> Sexual orientation of an individual in a People profiles information type..</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:sexual_orientation&gt;straight&lt;/g:sexual_orientation&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* Personal</font></td> * Personal</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param sexualOrientation Individual's sexual orientation. * @param sexualOrientation Individual's sexual orientation.
*/ */
public void setSexualOrientation(String sexualOrientation); public void setSexualOrientation(String sexualOrientation);
/** /**
* Individual's sexual orientation. * Individual's sexual orientation.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -790,32 +790,32 @@ public interface Person extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <b>Details</b></font></td>
* *
* <td><font size="-1"> Sexual orientation of an individual in a People profiles information type..</font></td> * <td><font size="-1"> Sexual orientation of an individual in a People profiles information type..</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:sexual_orientation&gt;straight&lt;/g:sexual_orientation&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* Personal</font></td> * Personal</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Individual's sexual orientation. * @return Individual's sexual orientation.
*/ */
public String getSexualOrientation(); 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. * 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> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
*/ */
public interface Review extends GlobalInterface { public interface Review extends GlobalInterface {
/** /**
* Author of the item. * Author of the item.
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* *
* <td><font size="-1"> Author of the item.</font></td> * <td><font size="-1"> Author of the item.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:author&gt;John Steinbeck&lt;/g:author&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td> * <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param authors Author of the item. * @param authors Author of the item.
*/ */
public void setAuthors(String[] authors); public void setAuthors(String[] authors);
/** /**
* Author of the item. * Author of the item.
* *
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* *
* <td><font size="-1"> Author of the item.</font></td> * <td><font size="-1"> Author of the item.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:author&gt;John Steinbeck&lt;/g:author&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td> * <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Author of the item. * @return Author of the item.
*/ */
public String[] getAuthors(); public String[] getAuthors();
/** /**
* Additional instructions to explain the items delivery process. * Additional instructions to explain the items delivery process.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -135,16 +135,16 @@ public interface Review extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <td><font size="-1">Additional instructions to explain the items delivery process.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* <td> * <td>
* <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br> * <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br>
* *
* </font></td> * </font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -153,19 +153,19 @@ public interface Review extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1">string</font></td> * <td><font size="-1">string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param deliveryNotes Additional instructions to explain the items delivery process. * @param deliveryNotes Additional instructions to explain the items delivery process.
*/ */
public void setDeliveryNotes(String deliveryNotes); public void setDeliveryNotes(String deliveryNotes);
/** /**
* Additional instructions to explain the items delivery process. * Additional instructions to explain the items delivery process.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -173,16 +173,16 @@ public interface Review extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <td><font size="-1">Additional instructions to explain the items delivery process.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* <td> * <td>
* <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br> * <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br>
* *
* </font></td> * </font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -191,12 +191,12 @@ public interface Review extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1">string</font></td> * <td><font size="-1">string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Additional instructions to explain the items delivery process. * @return Additional instructions to explain the items delivery process.
*/ */
public String getDeliveryNotes(); public String getDeliveryNotes();
@ -207,7 +207,7 @@ public interface Review extends GlobalInterface {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
@ -215,14 +215,14 @@ public interface Review extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* *
* <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;10&lt;g:/delivery_radius&gt; </font> <br>
* <font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td> * <font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* *
* <td> * <td>
* <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. </font></td> * <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. </font></td>
* </tr> * </tr>
@ -230,10 +230,10 @@ public interface Review extends GlobalInterface {
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1">floatUnit</font></td> * <td><font size="-1">floatUnit</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @param deliveryRadius The maximum distance you will deliver an item in any direction. * @param deliveryRadius The maximum distance you will deliver an item in any direction.
*/ */
public void setDeliveryRadius(FloatUnit deliveryRadius); public void setDeliveryRadius(FloatUnit deliveryRadius);
@ -244,7 +244,7 @@ public interface Review extends GlobalInterface {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
@ -252,14 +252,14 @@ public interface Review extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* *
* <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;10&lt;g:/delivery_radius&gt; </font> <br>
* <font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td> * <font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* *
* <td> * <td>
* <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. </font></td> * <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. </font></td>
* </tr> * </tr>
@ -267,168 +267,168 @@ public interface Review extends GlobalInterface {
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1">floatUnit</font></td> * <td><font size="-1">floatUnit</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @return The maximum distance you will deliver an item in any direction. * @return The maximum distance you will deliver an item in any direction.
*/ */
public FloatUnit getDeliveryRadius(); public FloatUnit getDeliveryRadius();
/** /**
* The name of an item being reviewed. * The name of an item being reviewed.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* *
* <td><font size="-1"> * <td><font size="-1">
* *
* The name of an item being reviewed.</font></td> * The name of an item being reviewed.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reviews</font></td> * <td><font size="-1"> Reviews</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param nameOfItemBeingReviewed The name of an item being reviewed. * @param nameOfItemBeingReviewed The name of an item being reviewed.
*/ */
public void setNameOfItemBeingReviewed(String nameOfItemBeingReviewed); public void setNameOfItemBeingReviewed(String nameOfItemBeingReviewed);
/** /**
* The name of an item being reviewed. * The name of an item being reviewed.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* *
* <td><font size="-1"> * <td><font size="-1">
* *
* The name of an item being reviewed.</font></td> * The name of an item being reviewed.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reviews</font></td> * <td><font size="-1"> Reviews</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return The name of an item being reviewed. * @return The name of an item being reviewed.
*/ */
public String getNameOfItemBeingReviewed(); public String getNameOfItemBeingReviewed();
/** /**
* Date the item was published. * Date the item was published.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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: * <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> * YYYY-MM-DD</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* Reference Items</font></td> * Reference Items</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> date</font></td> * <td><font size="-1"> date</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param publishDate Date the item was published. * @param publishDate Date the item was published.
*/ */
public void setPublishDate(Date publishDate); public void setPublishDate(Date publishDate);
/** /**
* Date the item was published. * Date the item was published.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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: * <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> * YYYY-MM-DD</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* Reference Items</font></td> * Reference Items</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> date</font></td> * <td><font size="-1"> date</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Date the item was published. * @return Date the item was published.
*/ */
public Date getPublishDate(); public Date getPublishDate();
@ -439,38 +439,38 @@ public interface Review extends GlobalInterface {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="rating"></a>rating</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="rating"></a>rating</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <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>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> <em>Acceptable:</em><br> * <td><font size="-1"> <em>Acceptable:</em><br>
* &lt;g:rating&gt;4&lt;/g:rating&gt;<br> * &lt;g:rating&gt;4&lt;/g:rating&gt;<br>
* *
* <em>Not acceptable:</em><br> * <em>Not acceptable:</em><br>
* *
* &lt;g:rating&gt;good&lt;/g:rating&gt;</font></td> * &lt;g:rating&gt;good&lt;/g:rating&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Reviews</font></td> * <td><font size="-1"> Reviews</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* string</font></td> * string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param rating Rating of the product or service on a scale of 1-5, with 5 as the best. * @param rating Rating of the product or service on a scale of 1-5, with 5 as the best.
*/ */
public void setRating(Float rating); public void setRating(Float rating);
@ -481,45 +481,45 @@ public interface Review extends GlobalInterface {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="rating"></a>rating</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="rating"></a>rating</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <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>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <td width="120"><font size="-1"> <b>Example</b></font></td>
* <td><font size="-1"> <em>Acceptable:</em><br> * <td><font size="-1"> <em>Acceptable:</em><br>
* &lt;g:rating&gt;4&lt;/g:rating&gt;<br> * &lt;g:rating&gt;4&lt;/g:rating&gt;<br>
* *
* <em>Not acceptable:</em><br> * <em>Not acceptable:</em><br>
* *
* &lt;g:rating&gt;good&lt;/g:rating&gt;</font></td> * &lt;g:rating&gt;good&lt;/g:rating&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Reviews</font></td> * <td><font size="-1"> Reviews</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* string</font></td> * string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Rating of the product or service on a scale of 1-5, with 5 as the best. * @return Rating of the product or service on a scale of 1-5, with 5 as the best.
*/ */
public Float getRating(); public Float getRating();
/** /**
* The category of the item being reviewed. * The category of the item being reviewed.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -527,41 +527,41 @@ public interface Review extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <b>Details</b></font></td>
* *
* <td><font size="-1"> The category of the item being reviewed.</font></td> * <td><font size="-1"> The category of the item being reviewed.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <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;music&lt;/g:review_type&gt;<br>
* &lt;g:review_type&gt;restaraunt&lt;/g:review_type&gt;</font></td> * &lt;g:review_type&gt;restaraunt&lt;/g:review_type&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Reviews</font></td> * <td><font size="-1"> Reviews</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param reviewType The category of the item being reviewed. * @param reviewType The category of the item being reviewed.
*/ */
public void setReviewType(String reviewType); public void setReviewType(String reviewType);
/** /**
* The category of the item being reviewed. * The category of the item being reviewed.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -569,34 +569,34 @@ public interface Review extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <b>Details</b></font></td>
* *
* <td><font size="-1"> The category of the item being reviewed.</font></td> * <td><font size="-1"> The category of the item being reviewed.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <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;music&lt;/g:review_type&gt;<br>
* &lt;g:review_type&gt;restaraunt&lt;/g:review_type&gt;</font></td> * &lt;g:review_type&gt;restaraunt&lt;/g:review_type&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Reviews</font></td> * <td><font size="-1"> Reviews</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return The category of the item being reviewed. * @return The category of the item being reviewed.
*/ */
public String getReviewType(); 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> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="reviewer_type"></a>reviewer_type</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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 * <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> * your site)</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Example</b></font></td> * <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:reviewer_type&gt;editorial&lt;/g:reviewer_type&gt;</font></td> * <td><font size="-1"> &lt;g:reviewer_type&gt;editorial&lt;/g:reviewer_type&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Reviews</font></td> * <td><font size="-1"> Reviews</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </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 * @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). * 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> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="reviewer_type"></a>reviewer_type</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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 * <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> * your site)</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Example</b></font></td> * <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:reviewer_type&gt;editorial&lt;/g:reviewer_type&gt;</font></td> * <td><font size="-1"> &lt;g:reviewer_type&gt;editorial&lt;/g:reviewer_type&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Reviews</font></td> * <td><font size="-1"> Reviews</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* *
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </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). * @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(); public String getReviewerType();
/** /**
* The web page of an item being reviewed. * The web page of an item being reviewed.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <b>Details</b></font></td>
* <td><font size="-1"> The web page of an item being reviewed.</font></td> * <td><font size="-1"> The web page of an item being reviewed.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <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>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* Reviews</font></td> * Reviews</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> uri</font></td> * <td><font size="-1"> uri</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @param urlOfItemBeingReviewed The web page of an item being reviewed. * @param urlOfItemBeingReviewed The web page of an item being reviewed.
*/ */
public void setUrlOfItemBeingReviewed(URL urlOfItemBeingReviewed); public void setUrlOfItemBeingReviewed(URL urlOfItemBeingReviewed);
/** /**
* The web page of an item being reviewed. * The web page of an item being reviewed.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <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> * <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>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <b>Details</b></font></td>
* <td><font size="-1"> The web page of an item being reviewed.</font></td> * <td><font size="-1"> The web page of an item being reviewed.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <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>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* Reviews</font></td> * Reviews</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> uri</font></td> * <td><font size="-1"> uri</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @return The web page of an item being reviewed. * @return The web page of an item being reviewed.
*/ */
public URL getUrlOfItemBeingReviewed(); 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. * 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> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.2 $ * @version $Revision: 1.2 $
*/ */
@ -51,34 +51,34 @@ public interface ScholarlyArticle extends GlobalInterface {
/** /**
* Array of Author Names. Limit 10. * Array of Author Names. Limit 10.
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* *
* <td><font size="-1"> Author of the item.</font></td> * <td><font size="-1"> Author of the item.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:author&gt;John Steinbeck&lt;/g:author&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td> * <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param authors Array of Author Names. Limit 10. * @param authors Array of Author Names. Limit 10.
*/ */
public void setAuthors(String[] authors); public void setAuthors(String[] authors);
@ -86,198 +86,198 @@ public interface ScholarlyArticle extends GlobalInterface {
/** /**
* Array of Author Names. Limit 10. * Array of Author Names. Limit 10.
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="author"></a>author</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* *
* <td><font size="-1"> Author of the item.</font></td> * <td><font size="-1"> Author of the item.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:author&gt;John Steinbeck&lt;/g:author&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td> * <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Array of author names. * @return Array of author names.
*/ */
public String[] getAuthors(); public String[] getAuthors();
/** /**
* Number of pages in the article. * Number of pages in the article.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="pages"></a>pages</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="pages"></a>pages</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* The number of pages in the publication.</font></td> * The number of pages in the publication.</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:pages&gt;18&lt;/g:pages&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td> * <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> integer</font></td> * <td><font size="-1"> integer</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param pages Number of pages in the article * @param pages Number of pages in the article
*/ */
public void setPages(Integer pages); public void setPages(Integer pages);
/** /**
* Number of pages in the article. * Number of pages in the article.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="pages"></a>pages</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="pages"></a>pages</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* The number of pages in the publication.</font></td> * The number of pages in the publication.</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:pages&gt;18&lt;/g:pages&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items, News and Articles</font></td> * <td><font size="-1"> Reference Items, News and Articles</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> integer</font></td> * <td><font size="-1"> integer</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Number of pages in the article * @return Number of pages in the article
*/ */
public Integer getPages(); public Integer getPages();
/** /**
* Name of the publication. * Name of the publication.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publication_name"></a>publication_name</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publication_name"></a>publication_name</b></font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* Name of the publication.</font></td> * Name of the publication.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:publication_name&gt; Journal of Appropriate Technology&lt;/g:publication_name&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Research studies and publications</font></td> * <td><font size="-1"> Research studies and publications</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param publicationName Name of the publication. * @param publicationName Name of the publication.
*/ */
public void setPublicationName(String publicationName); public void setPublicationName(String publicationName);
/** /**
* Name of the publication. * Name of the publication.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* *
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publication_name"></a>publication_name</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publication_name"></a>publication_name</b></font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* Name of the publication.</font></td> * Name of the publication.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1"> &lt;g:publication_name&gt; Journal of Appropriate Technology&lt;/g:publication_name&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Research studies and publications</font></td> * <td><font size="-1"> Research studies and publications</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Name of the publication. * @return Name of the publication.
*/ */
public String getPublicationName(); public String getPublicationName();
@ -287,35 +287,35 @@ public interface ScholarlyArticle extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publication_volume"></a>publication_volume</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publication_volume"></a>publication_volume</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* Volume of the publication.</font></td> * Volume of the publication.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:publication_volume&gt;VI&lt;/g:publication_volume&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items</font></td> * <td><font size="-1"> Reference Items</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* *
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param publicationVolume Volume of the publication. * @param publicationVolume Volume of the publication.
*/ */
public void setPublicationVolume(String publicationVolume); public void setPublicationVolume(String publicationVolume);
@ -325,123 +325,123 @@ public interface ScholarlyArticle extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publication_volume"></a>publication_volume</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publication_volume"></a>publication_volume</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <td width="120"><font size="-1"> <b>Details</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* Volume of the publication.</font></td> * Volume of the publication.</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <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> * <td><font size="-1">&lt;g:publication_volume&gt;VI&lt;/g:publication_volume&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* <td><font size="-1"> Reference Items</font></td> * <td><font size="-1"> Reference Items</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* *
* <td><font size="-1"> string</font></td> * <td><font size="-1"> string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Volume of the publication. * @return Volume of the publication.
*/ */
public String getPublicationVolume(); public String getPublicationVolume();
/** /**
* Date article was published. * Date article was published.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <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: * <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> * YYYY-MM-DD</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Example</b></font></td> * <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td> * <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Reference Items</font></td> * <td><font size="-1"> Reference Items</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* date</font></td> * date</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param publishDate Date article was published * @param publishDate Date article was published
*/ */
public void setPublishDate(Date publishDate); public void setPublishDate(Date publishDate);
/** /**
* Date article was published. * Date article was published.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td> * <td colspan="2" bgcolor="#dddddd"><font size="-1"> <b><a name="publish_date"></a>publish_date</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Details</b></font></td> * <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: * <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> * YYYY-MM-DD</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Example</b></font></td> * <b>Example</b></font></td>
* <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td> * <td><font size="-1"> &lt;g:publish_date&gt;2005-12-20&lt;/g:publish_date&gt;</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <td width="120"><font size="-1"> <b>Attribute of</b></font></td>
* *
* <td><font size="-1"> Reference Items</font></td> * <td><font size="-1"> Reference Items</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> * <td width="120"><font size="-1">
* *
* <b>Content type</b></font></td> * <b>Content type</b></font></td>
* <td><font size="-1"> * <td><font size="-1">
* *
* date</font></td> * date</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Date article was published * @return Date article was published
*/ */
public Date getPublishDate(); 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. * 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> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
*/ */
public interface Unknown extends GlobalInterface { 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. * This is an unchecked exception that is thrown when a data value violates the Google Schema limits.
* *
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
*/ */
public class ValidationException extends RuntimeException { public class ValidationException extends RuntimeException {
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates a new instance of ValidationException */ /** Creates a new instance of ValidationException */
public ValidationException(final String message) { public ValidationException(final String message) {
super(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. * 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> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
*/ */
public interface Wanted extends GlobalInterface { public interface Wanted extends GlobalInterface {
/** /**
* Additional instructions to explain the items delivery process. * Additional instructions to explain the items delivery process.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -58,16 +58,16 @@ public interface Wanted extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <td><font size="-1">Additional instructions to explain the items delivery process.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* <td> * <td>
* <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br> * <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br>
* *
* </font></td> * </font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -76,19 +76,19 @@ public interface Wanted extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1">string</font></td> * <td><font size="-1">string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param deliveryNotes Additional instructions to explain the items delivery process. * @param deliveryNotes Additional instructions to explain the items delivery process.
*/ */
public void setDeliveryNotes(String deliveryNotes); public void setDeliveryNotes(String deliveryNotes);
/** /**
* Additional instructions to explain the items delivery process. * Additional instructions to explain the items delivery process.
* *
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
@ -96,16 +96,16 @@ public interface Wanted extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <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> * <td><font size="-1">Additional instructions to explain the items delivery process.</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* <td> * <td>
* <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br> * <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br>
* *
* </font></td> * </font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
@ -114,12 +114,12 @@ public interface Wanted extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* *
* <td><font size="-1">string</font></td> * <td><font size="-1">string</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Additional instructions to explain the items delivery process. * @return Additional instructions to explain the items delivery process.
*/ */
public String getDeliveryNotes(); public String getDeliveryNotes();
@ -130,7 +130,7 @@ public interface Wanted extends GlobalInterface {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
@ -138,14 +138,14 @@ public interface Wanted extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* *
* <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;10&lt;g:/delivery_radius&gt; </font> <br>
* <font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td> * <font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* *
* <td> * <td>
* <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. </font></td> * <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. </font></td>
* </tr> * </tr>
@ -153,10 +153,10 @@ public interface Wanted extends GlobalInterface {
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1">floatUnit</font></td> * <td><font size="-1">floatUnit</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @param deliveryRadius The maximum distance you will deliver an item in any direction. * @param deliveryRadius The maximum distance you will deliver an item in any direction.
*/ */
public void setDeliveryRadius(FloatUnit deliveryRadius); public void setDeliveryRadius(FloatUnit deliveryRadius);
@ -167,7 +167,7 @@ public interface Wanted extends GlobalInterface {
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Details</b></font></td> * <td width="120"><font size="-1"><b>Details</b></font></td>
@ -175,14 +175,14 @@ public interface Wanted extends GlobalInterface {
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Example</b></font></td> * <td width="120"><font size="-1"><b>Example</b></font></td>
* *
* <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;10&lt;g:/delivery_radius&gt; </font> <br>
* <font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td> * <font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"><b>Attribute of</b></font></td> * <td width="120"><font size="-1"><b>Attribute of</b></font></td>
* *
* <td> * <td>
* <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. </font></td> * <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted Ads. </font></td>
* </tr> * </tr>
@ -190,10 +190,10 @@ public interface Wanted extends GlobalInterface {
* <td width="120"><font size="-1"><b>Content type</b></font></td> * <td width="120"><font size="-1"><b>Content type</b></font></td>
* <td><font size="-1">floatUnit</font></td> * <td><font size="-1">floatUnit</font></td>
* </tr> * </tr>
* *
* </tbody> * </tbody>
* </table> * </table>
* *
* @return The maximum distance you will deliver an item in any direction. * @return The maximum distance you will deliver an item in any direction.
*/ */
public FloatUnit getDeliveryRadius(); public FloatUnit getDeliveryRadius();
@ -203,43 +203,43 @@ public interface Wanted extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Location of a property. Should include street, city, state, postal code, and country, in that order. </font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <td width="120"><font size="-1"> <b>Example</b></font></td>
* *
* <td><font size="-1"> <em>Acceptable:</em><br> * <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>, * &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> * <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
* *
* <em>Not acceptable:</em><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>, * &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> * <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>, * &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> * <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <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 * <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td> * Ads.</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> locationType</font></td> * <td><font size="-1"> locationType</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @param location Location of the property. * @param location Location of the property.
*/ */
public void setLocation(String location); public void setLocation(String location);
@ -249,43 +249,43 @@ public interface Wanted extends GlobalInterface {
* <table border="1" cellpadding="5" cellspacing="0" width="640"> * <table border="1" cellpadding="5" cellspacing="0" width="640">
* <tbody> * <tbody>
* <tr valign="top"> * <tr valign="top">
* *
* <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td> * <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"> <b><a name="location"></a>location</b></font></td>
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Details</b></font></td> * <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> * <td><font size="-1"> Location of a property. Should include street, city, state, postal code, and country, in that order. </font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Example</b></font></td> * <td width="120"><font size="-1"> <b>Example</b></font></td>
* *
* <td><font size="-1"> <em>Acceptable:</em><br> * <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>, * &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> * <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
* *
* <em>Not acceptable:</em><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>, * &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> * <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>, * &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> * <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
* *
* </tr> * </tr>
* <tr valign="top"> * <tr valign="top">
* <td width="120"><font size="-1"> <b>Attribute of</b></font></td> * <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 * <td><font size="-1"> Reference Items, Events, Housing, Jobs, News and Articles, People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted
* Ads.</font></td> * Ads.</font></td>
* </tr> * </tr>
* *
* <tr valign="top"> * <tr valign="top">
* *
* <td width="120"><font size="-1"> <b>Content type</b></font></td> * <td width="120"><font size="-1"> <b>Content type</b></font></td>
* <td><font size="-1"> locationType</font></td> * <td><font size="-1"> locationType</font></td>
* </tr> * </tr>
* </tbody> * </tbody>
* </table> * </table>
* *
* @return Location of the property. * @return Location of the property.
*/ */
public String getLocation(); public String getLocation();

View file

@ -95,7 +95,7 @@ public class CustomTagParser implements ModuleParser {
try { try {
tags.add(new CustomTagImpl(child.getName(), new DateTimeRange(GoogleBaseParser.LONG_DT_FMT.parse(child 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("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) { } catch (final Exception e) {
log.log(Level.WARNING, "Unable to parse date type on " + child.getName(), 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; import com.sun.syndication.io.ModuleGenerator;
/** /**
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
*/ */

View file

@ -75,7 +75,7 @@ import com.sun.syndication.io.ModuleParser;
/** /**
* DOCUMENT ME! * DOCUMENT ME!
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.3 $ * @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. * This is just a holder interface for cloneable elements.
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
*/ */

View file

@ -43,7 +43,7 @@ import java.util.HashMap;
/** /**
* An Enumeration of valid currency types. * An Enumeration of valid currency types.
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
*/ */
@ -572,7 +572,7 @@ public class CurrencyEnumeration {
/** /**
* Creates a new instance of CurrencyEnumeration * Creates a new instance of CurrencyEnumeration
* *
* @param value DOCUMENT ME! * @param value DOCUMENT ME!
*/ */
private CurrencyEnumeration(final String value) { private CurrencyEnumeration(final String value) {

View file

@ -43,7 +43,7 @@ import java.util.Date;
/** /**
* Represents a time range. * Represents a time range.
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.2 $ * @version $Revision: 1.2 $
*/ */
@ -59,7 +59,7 @@ public class DateTimeRange implements CloneableType {
/** /**
* Creates a new instance of DateTimeRange * Creates a new instance of DateTimeRange
* *
* @param start Beginning of the timeframe. * @param start Beginning of the timeframe.
* @param end End of the Timeframe. * @param end End of the Timeframe.
*/ */
@ -70,7 +70,7 @@ public class DateTimeRange implements CloneableType {
/** /**
* The end of the timeframe. * The end of the timeframe.
* *
* @return The end of the timeframe. * @return The end of the timeframe.
*/ */
public Date getEnd() { public Date getEnd() {
@ -79,7 +79,7 @@ public class DateTimeRange implements CloneableType {
/** /**
* The beginning of the timeframe. * The beginning of the timeframe.
* *
* @return The beginning of the timeframe. * @return The beginning of the timeframe.
*/ */
public Date getStart() { public Date getStart() {
@ -88,7 +88,7 @@ public class DateTimeRange implements CloneableType {
/** /**
* Clones the object * Clones the object
* *
* @return Duplicate of this object. * @return Duplicate of this object.
*/ */
@Override @Override
@ -108,7 +108,7 @@ public class DateTimeRange implements CloneableType {
/** /**
* String representation of the object. * String representation of the object.
* *
* @return String representation of the object. * @return String representation of the object.
*/ */
@Override @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. * 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> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
*/ */
@ -59,7 +59,7 @@ public class FloatUnit implements CloneableType {
/** /**
* Looks for a char in an array * Looks for a char in an array
* *
* @param find char to search for * @param find char to search for
* @param array array to search * @param array array to search
* @return boolean indicating presence. * @return boolean indicating presence.
@ -75,7 +75,7 @@ public class FloatUnit implements CloneableType {
/** /**
* Creates a new float unit by parsing a String value * Creates a new float unit by parsing a String value
* *
* @param source String value to parse * @param source String value to parse
*/ */
public FloatUnit(final String source) { public FloatUnit(final String source) {
@ -101,7 +101,7 @@ public class FloatUnit implements CloneableType {
/** /**
* Creates a new instance of FloatUnit * Creates a new instance of FloatUnit
* *
* @param value float value * @param value float value
* @param units Units represented, or null. * @param units Units represented, or null.
*/ */
@ -112,7 +112,7 @@ public class FloatUnit implements CloneableType {
/** /**
* Returns the units. * Returns the units.
* *
* @return Returns the units. * @return Returns the units.
*/ */
public String getUnits() { public String getUnits() {
@ -121,7 +121,7 @@ public class FloatUnit implements CloneableType {
/** /**
* Returns the float value. * Returns the float value.
* *
* @return Returns the float value. * @return Returns the float value.
*/ */
public float getValue() { public float getValue() {
@ -130,7 +130,7 @@ public class FloatUnit implements CloneableType {
/** /**
* Duplicates the object. * Duplicates the object.
* *
* @return Duplicate FloatUnit * @return Duplicate FloatUnit
*/ */
@Override @Override
@ -140,7 +140,7 @@ public class FloatUnit implements CloneableType {
/** /**
* Returns a String representation of the object. * Returns a String representation of the object.
* *
* @return Returns a String representation of the object. * @return Returns a String representation of the object.
*/ */
@Override @Override

View file

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

View file

@ -42,7 +42,7 @@ package org.rometools.feed.module.base.types;
import java.util.HashMap; import java.util.HashMap;
/** /**
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $ * @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". * Enumeration of values suitable for "price_type" or "salary_type".
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
*/ */
@ -61,7 +61,7 @@ public class PriceTypeEnumeration implements CloneableType {
/** /**
* Creates a new instance of PriceTypeEnumeration * Creates a new instance of PriceTypeEnumeration
* *
* @param value Value to encapsulate * @param value Value to encapsulate
*/ */
private PriceTypeEnumeration(final String value) { private PriceTypeEnumeration(final String value) {
@ -70,7 +70,7 @@ public class PriceTypeEnumeration implements CloneableType {
/** /**
* Returns the string value of this instance. * Returns the string value of this instance.
* *
* @return Returns the string value of this instance. * @return Returns the string value of this instance.
*/ */
public String getValue() { public String getValue() {
@ -79,7 +79,7 @@ public class PriceTypeEnumeration implements CloneableType {
/** /**
* Returns a PriceTypeEnumeration based on the String value or null. * Returns a PriceTypeEnumeration based on the String value or null.
* *
* @param value Value to search for. * @param value Value to search for.
* @return PriceTypeEnumeration or null. * @return PriceTypeEnumeration or null.
*/ */
@ -93,7 +93,7 @@ public class PriceTypeEnumeration implements CloneableType {
/** /**
* Returns a duplicate of this instance * Returns a duplicate of this instance
* *
* @return The same instance. * @return The same instance.
*/ */
@Override @Override
@ -103,7 +103,7 @@ public class PriceTypeEnumeration implements CloneableType {
/** /**
* Returns the string value of this instance. * Returns the string value of this instance.
* *
* @return Returns the string value of this instance. * @return Returns the string value of this instance.
*/ */
@Override @Override

View file

@ -43,7 +43,7 @@ import java.util.HashMap;
/** /**
* This class represents a specific shipping option for an item. * This class represents a specific shipping option for an item.
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
*/ */
@ -63,7 +63,7 @@ public class ShippingType implements CloneableType {
/** /**
* Creates a new instance of ShippingType * Creates a new instance of ShippingType
* *
* @param price The price of the shipping option * @param price The price of the shipping option
* @param service Shipping service used. * @param service Shipping service used.
* @param country Country shipped to. * @param country Country shipped to.
@ -76,7 +76,7 @@ public class ShippingType implements CloneableType {
/** /**
* Returns the destination country. * Returns the destination country.
* *
* @return Returns the destination country. * @return Returns the destination country.
*/ */
public String getCountry() { public String getCountry() {
@ -85,7 +85,7 @@ public class ShippingType implements CloneableType {
/** /**
* Returns the price of this shipping option. * Returns the price of this shipping option.
* *
* @return Returns the price of this shipping option. * @return Returns the price of this shipping option.
*/ */
public FloatUnit getPrice() { public FloatUnit getPrice() {
@ -94,7 +94,7 @@ public class ShippingType implements CloneableType {
/** /**
* Returns the ServiceEnumeration instance for the shipping service used. * Returns the ServiceEnumeration instance for the shipping service used.
* *
* @return Returns the ServiceEnumeration instance for the shipping service used. * @return Returns the ServiceEnumeration instance for the shipping service used.
*/ */
public ServiceEnumeration getService() { public ServiceEnumeration getService() {
@ -103,7 +103,7 @@ public class ShippingType implements CloneableType {
/** /**
* Clones this object. * Clones this object.
* *
* @return Duplicate ShippingType object. * @return Duplicate ShippingType object.
*/ */
@Override @Override
@ -113,7 +113,7 @@ public class ShippingType implements CloneableType {
/** /**
* Returns a String representation of this object. * Returns a String representation of this object.
* *
* @return String representation of this object. * @return String representation of this object.
*/ */
@Override @Override
@ -160,7 +160,7 @@ public class ShippingType implements CloneableType {
/** /**
* Creates a new instance of ServiceEnumeration. * Creates a new instance of ServiceEnumeration.
* *
* @param value String value to encapsulate. * @param value String value to encapsulate.
*/ */
private ServiceEnumeration(final String value) { private ServiceEnumeration(final String value) {
@ -170,7 +170,7 @@ public class ShippingType implements CloneableType {
/** /**
* String value of this Service. * String value of this Service.
* *
* @return String value of this Service. * @return String value of this Service.
*/ */
public String getValue() { public String getValue() {
@ -179,7 +179,7 @@ public class ShippingType implements CloneableType {
/** /**
* Looks up a ServiceEnumeration based on the string value. * Looks up a ServiceEnumeration based on the string value.
* *
* @param value String value to search for. * @param value String value to search for.
* @return ServiceEnumeration or null. * @return ServiceEnumeration or null.
*/ */
@ -189,7 +189,7 @@ public class ShippingType implements CloneableType {
/** /**
* String value of this Service. * String value of this Service.
* *
* @return String value of this Service. * @return String value of this Service.
*/ */
@Override @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 * 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. * developers.
* *
* Move along. Nothing to see here. * Move along. Nothing to see here.
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
*/ */
public class ShortDate extends Date implements CloneableType { public class ShortDate extends Date implements CloneableType {
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates a new instance of ShortDate */ /** Creates a new instance of ShortDate */
public ShortDate() { public ShortDate() {
super(); super();
@ -58,7 +63,7 @@ public class ShortDate extends Date implements CloneableType {
/** /**
* Creates a new Short Date based on a Date value. * Creates a new Short Date based on a Date value.
* *
* @param date Date value to read from. * @param date Date value to read from.
*/ */
public ShortDate(final Date date) { 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. * Creates a new ShortDate based on a millisecond time.
* *
* @param time Millisecond time to start with. * @param time Millisecond time to start with.
*/ */
public ShortDate(final long time) { public ShortDate(final long time) {
@ -76,7 +81,7 @@ public class ShortDate extends Date implements CloneableType {
/** /**
* Returns a duplicate of this object. * Returns a duplicate of this object.
* *
* @return Duplicate of the object. * @return Duplicate of the object.
*/ */
@Override @Override

View file

@ -43,7 +43,7 @@ import java.util.StringTokenizer;
/** /**
* Represents the size on an item in 2 or 3 dimensions. * Represents the size on an item in 2 or 3 dimensions.
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.2 $ * @version $Revision: 1.2 $
*/ */
@ -63,7 +63,7 @@ public class Size implements CloneableType {
/** /**
* Creates a new Size object parsing a string value. * Creates a new Size object parsing a string value.
* *
* @param source String value to parse * @param source String value to parse
*/ */
public Size(final String source) { public Size(final String source) {
@ -78,7 +78,7 @@ public class Size implements CloneableType {
/** /**
* Creates a new instance of Size * Creates a new instance of Size
* *
* @param length lenght value * @param length lenght value
* @param width width value * @param width width value
*/ */
@ -89,7 +89,7 @@ public class Size implements CloneableType {
/** /**
* Creates a new instance of Size. * Creates a new instance of Size.
* *
* @param length Length value. * @param length Length value.
* @param width Width value. * @param width Width value.
* @param height Height value. * @param height Height value.
@ -102,7 +102,7 @@ public class Size implements CloneableType {
/** /**
* Height value. * Height value.
* *
* @return Height value. * @return Height value.
*/ */
public FloatUnit getHeight() { public FloatUnit getHeight() {
@ -111,7 +111,7 @@ public class Size implements CloneableType {
/** /**
* Length value. * Length value.
* *
* @return Length value. * @return Length value.
*/ */
public FloatUnit getLength() { public FloatUnit getLength() {
@ -120,7 +120,7 @@ public class Size implements CloneableType {
/** /**
* Width value. * Width value.
* *
* @return Width value. * @return Width value.
*/ */
public FloatUnit getWidth() { public FloatUnit getWidth() {
@ -129,7 +129,7 @@ public class Size implements CloneableType {
/** /**
* Duplicates this object. * Duplicates this object.
* *
* @return A duplicate Size object. * @return A duplicate Size object.
*/ */
@Override @Override
@ -143,7 +143,7 @@ public class Size implements CloneableType {
/** /**
* Returns a string representation of this object. * Returns a string representation of this object.
* *
* @return A string representation of this object. * @return A string representation of this object.
*/ */
@Override @Override

View file

@ -44,7 +44,7 @@ import java.util.Date;
/** /**
* This class represents a simple 4 digit year. * This class represents a simple 4 digit year.
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
*/ */
@ -56,7 +56,7 @@ public class YearType implements CloneableType {
/** /**
* Creates a new year from a string value. * Creates a new year from a string value.
* *
* @param year String to parse. * @param year String to parse.
*/ */
public YearType(final String year) { public YearType(final String year) {
@ -65,7 +65,7 @@ public class YearType implements CloneableType {
/** /**
* Creates a new instance of YearType * Creates a new instance of YearType
* *
* @param date Date to get the year from. * @param date Date to get the year from.
*/ */
public YearType(final Date date) { public YearType(final Date date) {
@ -76,7 +76,7 @@ public class YearType implements CloneableType {
/** /**
* Duplicates this object. * Duplicates this object.
* *
* @return Cloned Year. * @return Cloned Year.
*/ */
@Override @Override
@ -86,7 +86,7 @@ public class YearType implements CloneableType {
/** /**
* Returns a String representation of this object. * Returns a String representation of this object.
* *
* @return Returns a String representation of this object. * @return Returns a String representation of this object.
*/ */
@Override @Override

View file

@ -3,7 +3,7 @@
* *
* Created on November 20, 2005, 5:05 PM * 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 * You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion. * License at your discretion.
* *
@ -28,14 +28,14 @@
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.rometools.feed.module.cc; 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; import com.sun.syndication.feed.module.Module;
/** /**
* *
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
*/ */
public interface CreativeCommons extends Module { public interface CreativeCommons extends Module {

View file

@ -3,7 +3,7 @@
* *
* Created on November 20, 2005, 5:12 PM * 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 * You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion. * License at your discretion.
* *
@ -28,14 +28,14 @@
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.rometools.feed.module.cc; package org.rometools.feed.module.cc;
@ -54,6 +54,10 @@ import com.sun.syndication.feed.impl.ToStringBean;
*/ */
public class CreativeCommonsImpl implements CreativeCommons { 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 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 RSS2_URI = "http://backend.userland.com/creativeCommonsRssModule";
public static final String RSS1_URI = "http://web.resource.org/cc/"; 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 * 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 * You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion. * License at your discretion.
* *
@ -28,14 +28,14 @@
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * 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; package org.rometools.feed.module.cc.io;

View file

@ -3,7 +3,7 @@
* *
* Created on November 20, 2005, 5:23 PM * 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 * You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion. * License at your discretion.
* *
@ -28,14 +28,14 @@
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * 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; package org.rometools.feed.module.cc.io;

View file

@ -3,7 +3,7 @@
* *
* Created on November 20, 2005, 6:15 PM * 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 * You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion. * License at your discretion.
* *
@ -28,14 +28,14 @@
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * 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; package org.rometools.feed.module.cc.io;
@ -54,7 +54,7 @@ import com.sun.syndication.feed.module.Module;
import com.sun.syndication.io.ModuleParser; import com.sun.syndication.io.ModuleParser;
/** /**
* *
* @version $Revision: 1.3 $ * @version $Revision: 1.3 $
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @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 * 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 * You may choose the terms of the Lesser General Public License or the Apache
* License at your discretion. * License at your discretion.
* *
@ -28,14 +28,14 @@
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and * 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; 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/ * This class represents a content item per the "Original Syntax". http://purl.org/rss/1.0/modules/content/
* *
* @version $Revision: 1.1 $ * @version $Revision: 1.1 $
* @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a> * @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. * Returns a List of Strings containing the New Syntax Encoded values are in the element.
* *
* @return List of content Strings * @return List of content Strings
*/ */
public List getEncodeds(); public List getEncodeds();
/** /**
* Sets a List of Strings containing the New Syntax Encoded values are in the element. * Sets a List of Strings containing the New Syntax Encoded values are in the element.
* *
* @return List of content Strings * @return List of content Strings
*/ */
public void setEncodeds(List encodeds); 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. * Contains a list of ContentItems that represent the "Original Syntax" set.
* *
* @see com.totsp.xml.syndication.content.ContentItem * @see com.totsp.xml.syndication.content.ContentItem
* @return List of ContentItems. * @return List of ContentItems.
*/ */
@ -81,7 +81,7 @@ public interface ContentModule extends Module {
/** /**
* Contains a list of ContentItems that represent the "Original Syntax" set. * Contains a list of ContentItems that represent the "Original Syntax" set.
* *
* @see com.totsp.xml.syndication.content.ContentItem * @see com.totsp.xml.syndication.content.ContentItem
* @param List of ContentItems. * @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. * Returns a List of Strings containing whatever new or original syntax items are in the element.
* *
* @return List of content Strings * @return List of content Strings
*/ */
public List getContents(); public List getContents();
/** /**
* Sets a List of Strings containing whatever new or original syntax items are in the element. * Sets a List of Strings containing whatever new or original syntax items are in the element.
* *
* @return List of content Strings * @return List of content Strings
*/ */
public void setContents(List contents); 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> * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
*/ */
public class ContentModuleImpl extends com.sun.syndication.feed.module.ModuleImpl implements ContentModule { public class ContentModuleImpl extends com.sun.syndication.feed.module.ModuleImpl implements ContentModule {
/**
*
*/
private static final long serialVersionUID = 1L;
private List encodeds; private List encodeds;
private List contents; private List contents;
private List contentItems; private List contentItems;

View file

@ -1,12 +1,12 @@
/* /*
* Copyright 2011 robert.cooper. * Copyright 2011 robert.cooper.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
* *
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Unless required by applicable law or agreed to in writing, software * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, * distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 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. * Interface for the FeedBurner RSS extension.
* *
* @version 1.0 * @version 1.0
* @author Georg Schmidl <georg.schmidl@scandio.de> * @author Georg Schmidl <georg.schmidl@scandio.de>
* *
*/ */
public interface FeedBurner extends Module, Serializable, Cloneable { 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. * Implementation of the FeedBurner RSS extension.
* *
* @version 1.0 * @version 1.0
* @author Georg Schmidl <georg.schmidl@scandio.de> * @author Georg Schmidl <georg.schmidl@scandio.de>
* *
*/ */
public class FeedBurnerImpl implements FeedBurner { public class FeedBurnerImpl implements FeedBurner {

View file

@ -28,10 +28,10 @@ import com.sun.syndication.io.ModuleGenerator;
/** /**
* ModuleGenerator implementation for the FeedBurner RSS extension. * ModuleGenerator implementation for the FeedBurner RSS extension.
* *
* @version 1.0 * @version 1.0
* @author Georg Schmidl <georg.schmidl@scandio.de> * @author Georg Schmidl <georg.schmidl@scandio.de>
* *
*/ */
public class FeedBurnerModuleGenerator implements ModuleGenerator { public class FeedBurnerModuleGenerator implements ModuleGenerator {
private static final Namespace NS = Namespace.getNamespace("feedburner", FeedBurner.URI); 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. * ModuleParser implementation for the FeedBurner RSS extension.
* *
* @version 1.0 * @version 1.0
* @author Georg Schmidl <georg.schmidl@scandio.de> * @author Georg Schmidl <georg.schmidl@scandio.de>
* *
*/ */
public class FeedBurnerModuleParser implements ModuleParser { public class FeedBurnerModuleParser implements ModuleParser {
private static final Namespace NS = Namespace.getNamespace(FeedBurner.URI); 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. * GMLGenerator produces georss elements in georss GML format.
* *
* @author Marc Wick * @author Marc Wick
* @version $Id: GMLGenerator.java,v 1.1 2007/04/18 09:59:29 marcwick Exp $ * @version $Id: GMLGenerator.java,v 1.1 2007/04/18 09:59:29 marcwick Exp $
* *
*/ */
public class GMLGenerator implements ModuleGenerator { public class GMLGenerator implements ModuleGenerator {
@ -66,7 +66,6 @@ public class GMLGenerator implements ModuleGenerator {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#getNamespaceUri() * @see com.sun.syndication.io.ModuleGenerator#getNamespaceUri()
*/ */
@Override @Override
@ -76,7 +75,6 @@ public class GMLGenerator implements ModuleGenerator {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#getNamespaces() * @see com.sun.syndication.io.ModuleGenerator#getNamespaces()
*/ */
@Override @Override
@ -86,7 +84,6 @@ public class GMLGenerator implements ModuleGenerator {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#generate(com.sun.syndication.feed.module.Module, org.jdom2.Element) * @see com.sun.syndication.io.ModuleGenerator#generate(com.sun.syndication.feed.module.Module, org.jdom2.Element)
*/ */
@Override @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. * GMLModuleImpl is the implementation of the {@link GeoRSSModule} Interface for the gml GeoRSS format.
* *
* @author Marc Wick * @author Marc Wick
* @version $Id: GMLModuleImpl.java,v 1.1 2007/04/18 09:59:29 marcwick Exp $ * @version $Id: GMLModuleImpl.java,v 1.1 2007/04/18 09:59:29 marcwick Exp $
* *
*/ */
public class GMLModuleImpl extends GeoRSSModule { public class GMLModuleImpl extends GeoRSSModule {
/**
*
*/
private static final long serialVersionUID = 1L;
public GMLModuleImpl() { public GMLModuleImpl() {
super(GeoRSSModule.class, GeoRSSModule.GEORSS_GML_URI); super(GeoRSSModule.class, GeoRSSModule.GEORSS_GML_URI);
} }
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.feed.CopyFrom#getInterface() * @see com.sun.syndication.feed.CopyFrom#getInterface()
*/ */
@Override @Override

View file

@ -34,16 +34,15 @@ import com.sun.syndication.io.ModuleParser;
/** /**
* GMLParser is a parser for the GML georss format. * GMLParser is a parser for the GML georss format.
* *
* @author Marc Wick * @author Marc Wick
* @version $Id: GMLParser.java,v 1.2 2007/06/05 20:44:53 marcwick Exp $ * @version $Id: GMLParser.java,v 1.2 2007/06/05 20:44:53 marcwick Exp $
* *
*/ */
public class GMLParser implements ModuleParser { public class GMLParser implements ModuleParser {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleParser#getNamespaceUri() * @see com.sun.syndication.io.ModuleParser#getNamespaceUri()
*/ */
@Override @Override
@ -53,7 +52,6 @@ public class GMLParser implements ModuleParser {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleParser#parse(org.jdom2.Element) * @see com.sun.syndication.io.ModuleParser#parse(org.jdom2.Element)
*/ */
@Override @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. * GeoRSSModule is the main georss interface defining the methods to produce and consume georss elements.
* *
* @author Marc Wick * @author Marc Wick
* @version $Id: GeoRSSModule.java,v 1.8 2007/06/06 09:47:32 marcwick Exp $ * @version $Id: GeoRSSModule.java,v 1.8 2007/06/06 09:47:32 marcwick Exp $
*/ */
public abstract class GeoRSSModule extends ModuleImpl implements Cloneable { public abstract class GeoRSSModule extends ModuleImpl implements Cloneable {
/**
*
*/
private static final long serialVersionUID = 1L;
protected AbstractGeometry geometry; protected AbstractGeometry geometry;
public static final String version = "0.9.8"; 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); 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> * 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); 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> * 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); 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 * Set geometry of georss element
* *
* @param geometry geometry * @param geometry geometry
*/ */
public void setGeometry(final AbstractGeometry geometry) { public void setGeometry(final AbstractGeometry geometry) {
@ -82,7 +87,7 @@ public abstract class GeoRSSModule extends ModuleImpl implements Cloneable {
/** /**
* returns the geometry * returns the geometry
* *
* @return geometry * @return geometry
*/ */
public AbstractGeometry getGeometry() { 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. * Convenience method to return point geometry. Returns null if the geometry is non-point.
* *
* @return geometry * @return geometry
*/ */
public Position getPosition() { public Position getPosition() {
@ -103,7 +108,7 @@ public abstract class GeoRSSModule extends ModuleImpl implements Cloneable {
/** /**
* Convenience method to set point geometry. * Convenience method to set point geometry.
* *
* @return geometry * @return geometry
*/ */
public void setPosition(final Position pos) { public void setPosition(final Position pos) {
@ -114,7 +119,6 @@ public abstract class GeoRSSModule extends ModuleImpl implements Cloneable {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.feed.CopyFrom#copyFrom(java.lang.Object) * @see com.sun.syndication.feed.CopyFrom#copyFrom(java.lang.Object)
*/ */
@Override @Override

View file

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

View file

@ -21,10 +21,10 @@ import com.sun.syndication.feed.synd.SyndFeed;
/** /**
* static utility methods for georss. * static utility methods for georss.
* *
* @author Marc Wick * @author Marc Wick
* @version $Id: GeoRSSUtils.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $ * @version $Id: GeoRSSUtils.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $
* *
*/ */
public class GeoRSSUtils { 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). * 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 * @param entry the element in the feed which might have a georss element
* @return a georssmodule or null if none is present * @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 * 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 * (geoRSSModule != null && w3cGeo != null) { // sanity check if (!geoRSSModule.getGeometry().equals(w3cGeo.getGeometry())) { throw new
* Error("geometry of simple and w3c do not match"); } } * Error("geometry of simple and w3c do not match"); } } return geoRSSModule;
*
* return geoRSSModule;
*/ */
} }
/** /**
* This convenience method checks whether there is any geoRss Element and will return it (georss simple or W3GGeo). * 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 * @param feed the element in the feed which might have a georss element
* @return a georssmodule or null if none is present * @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 * 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 * (geoRSSModule != null && w3cGeo != null) { // sanity check if (!geoRSSModule.getGeometry().equals(w3cGeo.getGeometry())) { throw new
* Error("geometry of simple and w3c do not match"); } } * Error("geometry of simple and w3c do not match"); } } return geoRSSModule;
*
* return geoRSSModule;
*/ */
} }
} }

View file

@ -36,10 +36,10 @@ import com.sun.syndication.io.ModuleGenerator;
/** /**
* SimpleGenerator produces georss elements in georss simple format. * SimpleGenerator produces georss elements in georss simple format.
* *
* @author Marc Wick * @author Marc Wick
* @version $Id: SimpleGenerator.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $ * @version $Id: SimpleGenerator.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $
* *
*/ */
public class SimpleGenerator implements ModuleGenerator { public class SimpleGenerator implements ModuleGenerator {
@ -60,7 +60,6 @@ public class SimpleGenerator implements ModuleGenerator {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#getNamespaceUri() * @see com.sun.syndication.io.ModuleGenerator#getNamespaceUri()
*/ */
@Override @Override
@ -70,7 +69,6 @@ public class SimpleGenerator implements ModuleGenerator {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#getNamespaces() * @see com.sun.syndication.io.ModuleGenerator#getNamespaces()
*/ */
@Override @Override
@ -80,7 +78,6 @@ public class SimpleGenerator implements ModuleGenerator {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#generate(com.sun.syndication.feed.module.Module, org.jdom2.Element) * @see com.sun.syndication.io.ModuleGenerator#generate(com.sun.syndication.feed.module.Module, org.jdom2.Element)
*/ */
@Override @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. * SimpleModuleImpl is the implementation of the {@link GeoRSSModule} Interface for the GeoRSS Simple format.
* *
* @author Marc Wick * @author Marc Wick
* @version $Id: SimpleModuleImpl.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $ * @version $Id: SimpleModuleImpl.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $
* *
*/ */
public class SimpleModuleImpl extends GeoRSSModule { public class SimpleModuleImpl extends GeoRSSModule {
/**
*
*/
private static final long serialVersionUID = 1L;
public SimpleModuleImpl() { public SimpleModuleImpl() {
super(GeoRSSModule.class, GeoRSSModule.GEORSS_GEORSS_URI); super(GeoRSSModule.class, GeoRSSModule.GEORSS_GEORSS_URI);
} }
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.feed.CopyFrom#getInterface() * @see com.sun.syndication.feed.CopyFrom#getInterface()
*/ */
@Override @Override

View file

@ -32,16 +32,15 @@ import com.sun.syndication.io.ModuleParser;
/** /**
* SimpleParser is a parser for the GeoRSS Simple format. * SimpleParser is a parser for the GeoRSS Simple format.
* *
* @author Marc Wick * @author Marc Wick
* @version $Id: SimpleParser.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $ * @version $Id: SimpleParser.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $
* *
*/ */
public class SimpleParser implements ModuleParser { public class SimpleParser implements ModuleParser {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleParser#getNamespaceUri() * @see com.sun.syndication.io.ModuleParser#getNamespaceUri()
*/ */
@Override @Override
@ -61,7 +60,6 @@ public class SimpleParser implements ModuleParser {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleParser#parse(org.jdom2.Element) * @see com.sun.syndication.io.ModuleParser#parse(org.jdom2.Element)
*/ */
@Override @Override

View file

@ -30,10 +30,10 @@ import com.sun.syndication.io.ModuleGenerator;
/** /**
* W3CGeoGenerator produces georss elements in georss W3C geo format. * W3CGeoGenerator produces georss elements in georss W3C geo format.
* *
* @author Marc Wick * @author Marc Wick
* @version $Id: W3CGeoGenerator.java,v 1.3 2007/04/18 09:59:30 marcwick Exp $ * @version $Id: W3CGeoGenerator.java,v 1.3 2007/04/18 09:59:30 marcwick Exp $
* *
*/ */
public class W3CGeoGenerator implements ModuleGenerator { public class W3CGeoGenerator implements ModuleGenerator {
@ -53,7 +53,6 @@ public class W3CGeoGenerator implements ModuleGenerator {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#getNamespaceUri() * @see com.sun.syndication.io.ModuleGenerator#getNamespaceUri()
*/ */
@Override @Override
@ -63,7 +62,6 @@ public class W3CGeoGenerator implements ModuleGenerator {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#getNamespaces() * @see com.sun.syndication.io.ModuleGenerator#getNamespaces()
*/ */
@Override @Override
@ -73,7 +71,6 @@ public class W3CGeoGenerator implements ModuleGenerator {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleGenerator#generate(com.sun.syndication.feed.module.Module, org.jdom2.Element) * @see com.sun.syndication.io.ModuleGenerator#generate(com.sun.syndication.feed.module.Module, org.jdom2.Element)
*/ */
@Override @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. * W3CGeoModuleImpl is the implementation of the {@link GeoRSSModule} Interface for the W3C geo format.
* *
* @author Marc Wick * @author Marc Wick
* @version $Id: W3CGeoModuleImpl.java,v 1.2 2007/04/18 09:59:29 marcwick Exp $ * @version $Id: W3CGeoModuleImpl.java,v 1.2 2007/04/18 09:59:29 marcwick Exp $
* *
*/ */
public class W3CGeoModuleImpl extends GeoRSSModule { public class W3CGeoModuleImpl extends GeoRSSModule {
/**
*
*/
private static final long serialVersionUID = 1L;
public W3CGeoModuleImpl() { public W3CGeoModuleImpl() {
super(GeoRSSModule.class, GeoRSSModule.GEORSS_W3CGEO_URI); super(GeoRSSModule.class, GeoRSSModule.GEORSS_W3CGEO_URI);
} }
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.feed.CopyFrom#getInterface() * @see com.sun.syndication.feed.CopyFrom#getInterface()
*/ */
@Override @Override

View file

@ -27,16 +27,15 @@ import com.sun.syndication.io.ModuleParser;
/** /**
* W3CGeoParser is a parser for the W3C geo format. * W3CGeoParser is a parser for the W3C geo format.
* *
* @author Marc Wick * @author Marc Wick
* @version $Id: W3CGeoParser.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $ * @version $Id: W3CGeoParser.java,v 1.4 2007/04/18 09:59:29 marcwick Exp $
* *
*/ */
public class W3CGeoParser implements ModuleParser { public class W3CGeoParser implements ModuleParser {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleParser#getNamespaceUri() * @see com.sun.syndication.io.ModuleParser#getNamespaceUri()
*/ */
@Override @Override
@ -71,7 +70,6 @@ public class W3CGeoParser implements ModuleParser {
/* /*
* (non-Javadoc) * (non-Javadoc)
*
* @see com.sun.syndication.io.ModuleParser#parse(org.jdom2.Element) * @see com.sun.syndication.io.ModuleParser#parse(org.jdom2.Element)
*/ */
@Override @Override

View file

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

View file

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

View file

@ -13,11 +13,16 @@ import java.io.Serializable;
/** /**
* Abstract base class for rings (closed linear objects used for polygon borders) * Abstract base class for rings (closed linear objects used for polygon borders)
* *
* @author runaas * @author runaas
*/ */
public abstract class AbstractRing implements Cloneable, Serializable { public abstract class AbstractRing implements Cloneable, Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates a new instance of AbstractRing */ /** Creates a new instance of AbstractRing */
public AbstractRing() { public AbstractRing() {
} }

View file

@ -11,11 +11,16 @@ package org.rometools.feed.module.georss.geometries;
/** /**
* Abstract base class for surface (area) objects * Abstract base class for surface (area) objects
* *
* @author runaas * @author runaas
*/ */
public abstract class AbstractSurface extends AbstractGeometricPrimitive { public abstract class AbstractSurface extends AbstractGeometricPrimitive {
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates a new instance of Surface */ /** Creates a new instance of Surface */
public AbstractSurface() { 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 * 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. * of the minLongitude may be greater than the maxLongitude.
* *
* @author runaas * @author runaas
*/ */
public class Envelope extends AbstractGeometry { public class Envelope extends AbstractGeometry {
/**
*
*/
private static final long serialVersionUID = 1L;
protected double minLatitude, minLongitude, maxLatitude, maxLongitude; protected double minLatitude, minLongitude, maxLatitude, maxLongitude;
/** Creates a new instance of Envelope */ /** Creates a new instance of Envelope */
@ -25,7 +29,7 @@ public class Envelope extends AbstractGeometry {
/** /**
* Construct object from coordinate values * Construct object from coordinate values
* *
* @param minLatitude * @param minLatitude
* @param minLongitude * @param minLongitude
* @param maxLatitude * @param maxLatitude

View file

@ -11,10 +11,14 @@ package org.rometools.feed.module.georss.geometries;
/** /**
* Linear object constructed by linear interpolation between points * Linear object constructed by linear interpolation between points
* *
* @author runaas * @author runaas
*/ */
public final class LineString extends AbstractCurve { public final class LineString extends AbstractCurve {
/**
*
*/
private static final long serialVersionUID = 1L;
private PositionList posList; private PositionList posList;
/** Creates a new instance of LineString */ /** Creates a new instance of LineString */
@ -51,7 +55,7 @@ public final class LineString extends AbstractCurve {
/** /**
* Get the position list * Get the position list
* *
* @return the positionlist * @return the positionlist
*/ */
public PositionList getPositionList() { public PositionList getPositionList() {
@ -63,7 +67,7 @@ public final class LineString extends AbstractCurve {
/** /**
* Set the position list * Set the position list
* *
* @param posList the new position list * @param posList the new position list
*/ */
public void setPositionList(final PositionList posList) { 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. * Linear boundary object constructed by linear interpolation between points. Start and end point should be identical.
* *
* @author runaas * @author runaas
*/ */
public final class LinearRing extends AbstractRing { public final class LinearRing extends AbstractRing {
/**
*
*/
private static final long serialVersionUID = 1L;
private PositionList posList; private PositionList posList;
/** Creates a new instance of LinearLing */ /** Creates a new instance of LinearLing */
@ -47,7 +51,7 @@ public final class LinearRing extends AbstractRing {
/** /**
* Get the position list * Get the position list
* *
* @return the positionlist * @return the positionlist
*/ */
public PositionList getPositionList() { public PositionList getPositionList() {
@ -59,7 +63,7 @@ public final class LinearRing extends AbstractRing {
/** /**
* Set the position list * Set the position list
* *
* @param posList the new position list * @param posList the new position list
*/ */
public void setPositionList(final PositionList posList) { public void setPositionList(final PositionList posList) {

View file

@ -11,10 +11,14 @@ package org.rometools.feed.module.georss.geometries;
/** /**
* Point object, contains a position * Point object, contains a position
* *
* @author runaas * @author runaas
*/ */
public final class Point extends AbstractGeometricPrimitive { public final class Point extends AbstractGeometricPrimitive {
/**
*
*/
private static final long serialVersionUID = 1L;
private Position pos; private Position pos;
/** Creates a new instance of Point */ /** Creates a new instance of Point */
@ -48,7 +52,7 @@ public final class Point extends AbstractGeometricPrimitive {
/** /**
* Get the position * Get the position
* *
* @return the position * @return the position
*/ */
public Position getPosition() { public Position getPosition() {
@ -60,7 +64,7 @@ public final class Point extends AbstractGeometricPrimitive {
/** /**
* Set the position * Set the position
* *
* @param pos the new position * @param pos the new position
*/ */
public void setPosition(final Position pos) { 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 * Polygon, a surface object bounded by one external ring and zero or more internal rings
* *
* @author runaas * @author runaas
*/ */
public final class Polygon extends AbstractSurface implements Cloneable { public final class Polygon extends AbstractSurface implements Cloneable {
/**
*
*/
private static final long serialVersionUID = 1L;
private AbstractRing exterior; private AbstractRing exterior;
private List interior; private List interior;
@ -79,7 +83,7 @@ public final class Polygon extends AbstractSurface implements Cloneable {
/** /**
* Retrieve the outer border * Retrieve the outer border
* *
* @return the border ring * @return the border ring
*/ */
public AbstractRing getExterior() { public AbstractRing getExterior() {
@ -88,7 +92,7 @@ public final class Polygon extends AbstractSurface implements Cloneable {
/** /**
* Retrieve the inner border * Retrieve the inner border
* *
* @return the list of border rings * @return the list of border rings
*/ */
public List getInterior() { public List getInterior() {
@ -100,7 +104,7 @@ public final class Polygon extends AbstractSurface implements Cloneable {
/** /**
* Set the outer border * Set the outer border
* *
* @param exterior the outer ring * @param exterior the outer ring
*/ */
public void setExterior(final AbstractRing exterior) { 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) * Set the list of inner borders (holes)
* *
* @param interior the list of inner rings * @param interior the list of inner rings
*/ */
public void setInterior(final List interior) { 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 * A two dimensional position represented by latitude and longitude decimal degrees in WGS84
* *
* @author runaas * @author runaas
*/ */
public class Position implements Cloneable, Serializable { public class Position implements Cloneable, Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private double latitude; private double latitude;
private double longitude; private double longitude;
@ -28,7 +32,7 @@ public class Position implements Cloneable, Serializable {
/** /**
* Create Position from a pair of coordinate values * Create Position from a pair of coordinate values
* *
* @param latitude * @param latitude
* @param longitude * @param longitude
*/ */
@ -64,7 +68,7 @@ public class Position implements Cloneable, Serializable {
/** /**
* Set the latitude * Set the latitude
* *
* @param latitude the new latitude * @param latitude the new latitude
*/ */
public void setLatitude(final double latitude) { public void setLatitude(final double latitude) {
@ -80,7 +84,7 @@ public class Position implements Cloneable, Serializable {
/** /**
* Set the longitude * Set the longitude
* *
* @param longitude the new longitude * @param longitude the new longitude
*/ */
public void setLongitude(final double longitude) { public void setLongitude(final double longitude) {

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