You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ja...@apache.org on 2014/01/08 16:25:45 UTC

[29/51] [abbrv] [partial] MARMOTTA-397: Reorganized and renamed Marmotta Sesame Tools

http://git-wip-us.apache.org/repos/asf/marmotta/blob/00c22e7c/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Travel.java
----------------------------------------------------------------------
diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Travel.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Travel.java
new file mode 100644
index 0000000..5d647a9
--- /dev/null
+++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Travel.java
@@ -0,0 +1,1384 @@
+/*
+ * Travel.java
+ *
+ * Created on November 16, 2005, 3:15 PM
+ *
+ * This library is provided under dual licenses.
+ * You may choose the terms of the Lesser General Public License or the Apache
+ * License at your discretion.
+ *
+ *  Copyright (C) 2005  Robert Cooper, Temple of the Screaming Penguin
+ *
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.rometools.feed.module.base;
+
+import org.rometools.feed.module.base.types.CurrencyEnumeration;
+import org.rometools.feed.module.base.types.DateTimeRange;
+import org.rometools.feed.module.base.types.FloatUnit;
+import org.rometools.feed.module.base.types.PaymentTypeEnumeration;
+import org.rometools.feed.module.base.types.PriceTypeEnumeration;
+import org.rometools.feed.module.base.types.ShippingType;
+
+
+/**This is an interface for the GoogleBase plug in that exposes methods used for
+ * travel items.
+ *
+ * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
+ * @version $Revision: 1.1 $
+ */
+public interface Travel extends GlobalInterface {
+    /**
+     * Currency  of the price amount for an item.
+     *
+     *        <table border="1" cellpadding="5" cellspacing="0" width="640">
+     *          <tbody><tr valign="top">
+     *            <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="currency"></a>currency</b></font></td>
+     *
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Details</b></font></td>
+     *
+     *            <td> <font size="-1">Currency
+     *                of the price amount for an item. Values must be in <a href="http://www.iso.org/iso/en/prods-services/popstds/currencycodeslist.html">ISO
+     *                4217</a> currency code format.</font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Example</b></font></td>
+     *
+     *            <td> <font size="-1"><em>Acceptable:</em><br>&lt;g:currency&gt;USD&lt;/g:currency&gt;<br>
+     *
+     *            <em>Not acceptable:</em><br>&lt;g:currency&gt;US Dollars&lt;/g:currency&gt;</font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *
+     *            <td width="120"> <font size="-1"><b>Attribute
+     *                of</b></font></td>
+     *            <td> <font size="-1">Events,
+     *                Housing, Products, Services, Travel, Vehicles</font></td>
+     *
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Content
+     *                type</b></font></td>
+     *            <td> <font size="-1">currencyEnumeration</font></td>
+     *
+     *          </tr>
+     *        </tbody></table>
+     * @param value Currency  of the price amount for an item.
+     */
+    public void setCurrency(CurrencyEnumeration value);
+
+    /**
+     * Currency  of the price amount for an item.
+     *
+     *        <table border="1" cellpadding="5" cellspacing="0" width="640">
+     *          <tbody><tr valign="top">
+     *            <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="currency"></a>currency</b></font></td>
+     *
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Details</b></font></td>
+     *
+     *            <td> <font size="-1">Currency
+     *                of the price amount for an item. Values must be in <a href="http://www.iso.org/iso/en/prods-services/popstds/currencycodeslist.html">ISO
+     *                4217</a> currency code format.</font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Example</b></font></td>
+     *
+     *            <td> <font size="-1"><em>Acceptable:</em><br>&lt;g:currency&gt;USD&lt;/g:currency&gt;<br>
+     *
+     *            <em>Not acceptable:</em><br>&lt;g:currency&gt;US Dollars&lt;/g:currency&gt;</font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *
+     *            <td width="120"> <font size="-1"><b>Attribute
+     *                of</b></font></td>
+     *            <td> <font size="-1">Events,
+     *                Housing, Products, Services, Travel, Vehicles</font></td>
+     *
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Content
+     *                type</b></font></td>
+     *            <td> <font size="-1">currencyEnumeration</font></td>
+     *
+     *          </tr>
+     *        </tbody></table>
+     * @return Currency  of the price amount for an item.
+     */
+    public CurrencyEnumeration getCurrency();
+
+    /**
+     * Additional instructions to explain the item’s delivery process.
+     *
+     *    <table border="1" cellpadding="5" cellspacing="0" width="640">
+     *          <tbody><tr valign="top">
+     *            <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="delivery_notes"></a>delivery_notes</b></font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Details</b></font></td>
+     *
+     *            <td> <font size="-1">Additional instructions to explain the item’s delivery process.</font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"><font size="-1"><b>Example</b></font></td>
+     *            <td>
+     *              <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br>
+     *
+     *              </font></td>
+     *
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Attribute
+     *                of</b></font></td>
+     *            <td>
+     *                         <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted
+     *                Ads. </font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Content
+     *                type</b></font></td>
+     *
+     *            <td>  <font size="-1">string</font></td>
+     *          </tr>
+     *        </tbody></table>
+     * @param deliveryNotes Additional instructions to explain the item’s delivery process.
+     */
+    public void setDeliveryNotes(String deliveryNotes);
+
+    /**
+     * Additional instructions to explain the item’s delivery process.
+     *
+     *    <table border="1" cellpadding="5" cellspacing="0" width="640">
+     *          <tbody><tr valign="top">
+     *            <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="delivery_notes"></a>delivery_notes</b></font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Details</b></font></td>
+     *
+     *            <td> <font size="-1">Additional instructions to explain the item’s delivery process.</font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"><font size="-1"><b>Example</b></font></td>
+     *            <td>
+     *              <font size="-1">&lt;g:delivery_notes&gt;Items usually shipped within 24 hours.&lt;g:/delivery_notes&gt;<br>
+     *
+     *              </font></td>
+     *
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Attribute
+     *                of</b></font></td>
+     *            <td>
+     *                         <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted
+     *                Ads. </font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Content
+     *                type</b></font></td>
+     *
+     *            <td>  <font size="-1">string</font></td>
+     *          </tr>
+     *        </tbody></table>
+     * @return Additional instructions to explain the item’s delivery process.
+     */
+    public String getDeliveryNotes();
+
+    /**
+     * The maximum distance you will deliver an item in any direction.
+     *        <table border="1" cellpadding="5" cellspacing="0" width="640">
+     *          <tbody><tr valign="top">
+     *            <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td>
+     *
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Details</b></font></td>
+     *            <td> <font size="-1">The maximum
+     *                distance you will deliver an item in any direction. </font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"><font size="-1"><b>Example</b></font></td>
+     *
+     *            <td>
+     *              <font size="-1">&lt;g:delivery_radius&gt;10&lt;g:/delivery_radius&gt;
+     *              </font>
+     *        <br><font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Attribute
+     *                of</b></font></td>
+     *
+     *            <td>
+     *                         <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted
+     *                Ads. </font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Content
+     *                type</b></font></td>
+     *            <td>  <font size="-1">floatUnit</font></td>
+     *          </tr>
+     *
+     *        </tbody></table>
+     * @param deliveryRadius The maximum distance you will deliver an item in any direction.
+     */
+    public void setDeliveryRadius(FloatUnit deliveryRadius);
+
+    /**
+     * The maximum distance you will deliver an item in any direction.
+     *        <table border="1" cellpadding="5" cellspacing="0" width="640">
+     *          <tbody><tr valign="top">
+     *            <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="delivery_radius"></a>delivery_radius</b></font></td>
+     *
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Details</b></font></td>
+     *            <td> <font size="-1">The maximum
+     *                distance you will deliver an item in any direction. </font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"><font size="-1"><b>Example</b></font></td>
+     *
+     *            <td>
+     *              <font size="-1">&lt;g:delivery_radius&gt;10&lt;g:/delivery_radius&gt;
+     *              </font>
+     *        <br><font size="-1">&lt;g:delivery_radius&gt;10km&lt;/g:delivery_radius&gt;</font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Attribute
+     *                of</b></font></td>
+     *
+     *            <td>
+     *                         <font size="-1">Events, Products, Reviews, Services, Travel, Vehicles, Wanted
+     *                Ads. </font></td>
+     *          </tr>
+     *          <tr valign="top">
+     *            <td width="120"> <font size="-1"><b>Content
+     *                type</b></font></td>
+     *            <td>  <font size="-1">floatUnit</font></td>
+     *          </tr>
+     *
+     *        </tbody></table>
+     * @return The maximum distance you will deliver an item in any direction.
+     */
+    public FloatUnit getDeliveryRadius();
+
+    /**
+     * Starting city and state/country of the trip.
+     * 
+     *        <table border="1" cellpadding="5" cellspacing="0" width="640">
+     *          <tbody><tr valign="top"> 
+     *            <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="from_location"></a>from_location</b></font></td>
+     * 
+     *          </tr>
+     *          <tr valign="top"> 
+     *            <td width="120"> <font size="-1"><b>Details</b></font></td>
+     * 
+     *            <td><font size="-1"> Starting city and state/country of the trip.</font></td>
+     *          </tr>
+     *          <tr valign="top"> 
+     *            <td width="120"> <font size="-1"><b>Example</b></font></td>
+     * 
+     *            <td><font size="-1"> <em>Acceptable:</em><br>
+     *              &lt;g:from_location&gt;<st1:city>San Francisco</st1:city>, <st1:state>CA</st1:state>&lt;/g:from_location&gt;<br>
+     * 
+     *              &lt;g:from_location&gt;<st1:place><st1:city>Paris</st1:city>, <st1:country-region>France</st1:country-region></st1:place>&lt;/g:from_location&gt;<br>
+     * 
+     *              <em>Not acceptable:</em><br>
+     *              &lt;g:from_location&gt; <st1:place><st1:placename>San Francisco</st1:placename> 
+     *              <st1:placename>International</st1:placename> <st1:placetype>Airport</st1:placetype></st1:place>&lt;/g:from_location&gt;</font></td>
+     * 
+     *          </tr>
+     *          <tr valign="top"> 
+     *            <td width="120"> <font size="-1"><b>Attribute of</b></font></td>
+     * 
+     *            <td><font size="-1"> Travel</font></td>
+     *          </tr>
+     *          <tr valign="top"> 
+     *            <td width="120"> <font size="-1"><b>Content type</b></font></td>
+     * 
+     *            <td><font size="-1"> location</font></td>
+     *          </tr>
+     * 
+     *        </tbody></table>
+     * @param fromLocation Starting city and state/country of the trip.
+     */
+    public void setFromLocation(String fromLocation);
+
+    /**
+     * Starting city and state/country of the trip.
+     * 
+     *        <table border="1" cellpadding="5" cellspacing="0" width="640">
+     *          <tbody><tr valign="top"> 
+     *            <td colspan="2" bgcolor="#dddddd" valign="top"> <font size="-1"><b><a name="from_location"></a>from_location</b></font></td>
+     * 
+     *          </tr>
+     *          <tr valign="top"> 
+     *            <td width="120"> <font size="-1"><b>Details</b></font></td>
+     * 
+     *            <td><font size="-1"> Starting city and state/country of the trip.</font></td>
+     *          </tr>
+     *          <tr valign="top"> 
+     *            <td width="120"> <font size="-1"><b>Example</b></font></td>
+     * 
+     *            <td><font size="-1"> <em>Acceptable:</em><br>
+     *              &lt;g:from_location&gt;<st1:city>San Francisco</st1:city>, <st1:state>CA</st1:state>&lt;/g:from_location&gt;<br>
+     * 
+     *              &lt;g:from_location&gt;<st1:place><st1:city>Paris</st1:city>, <st1:country-region>France</st1:country-region></st1:place>&lt;/g:from_location&gt;<br>
+     * 
+     *              <em>Not acceptable:</em><br>
+     *              &lt;g:from_location&gt; <st1:place><st1:placename>San Francisco</st1:placename> 
+     *              <st1:placename>International</st1:placename> <st1:placetype>Airport</st1:placetype></st1:place>&lt;/g:from_location&gt;</font></td>
+     * 
+     *          </tr>
+     *          <tr valign="top"> 
+     *            <td width="120"> <font size="-1"><b>Attribute of</b></font></td>
+     * 
+     *            <td><font size="-1"> Travel</font></td>
+     *          </tr>
+     *          <tr valign="top"> 
+     *            <td width="120"> <font size="-1"><b>Content type</b></font></td>
+     * 
+     *            <td><font size="-1"> location</font></td>
+     *          </tr>
+     * 
+     *        </tbody></table>
+     * @return Starting city and state/country of the trip.
+     */
+    public String getFromLocation();
+
+    /**
+     * Acceptable payment methods for item purchases.
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     *
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *  <b><a name="payment_accepted"></a>payment_accepted</b></font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1"> Acceptable payment methods for item purchases. Acceptable
+     *  values are “Cash,” “Check,” “Traveler’s Check,” “Visa,” “MasterCard,”
+     *
+     *  “American Express,” “Discover,” or “Wire
+     *  transfer.”
+     *  If you accept more than one method, include multiple instances of the
+     *  &lt;payment_accepted&gt; attribute
+     *  for each acceptable method.</font></td>
+     *
+     * </tr>
+     *
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Example</b></font></td>
+     *  <td><font size="-1">
+     * <em>Acceptable:</em><br>
+     * &lt;g:payment_accepted&gt;Cash&lt;/g:payment_accepted&gt;<br>
+     *
+     * &lt;g:payment_accepted&gt;Check&lt;/g:payment_accepted&gt;<br>
+     * <em>Not acceptable:</em><br>
+     * &lt;g:payment_accepted&gt;Cash
+     *  Check&lt;/g:payment_accepted&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Attribute of</b></font></td>
+     *
+     *  <td><font size="-1">
+     *  Events, Housing,
+     *  Products, Services, Travel, Vehicles</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     *  <td><font size="-1">
+     *
+     *  paymentMethodEnumeration</font></td>
+     *
+     * </tr>
+     * </tbody></table>
+     * @param paymentAccepted Acceptable payment methods for item purchases.
+     */
+    public void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted);
+
+    /**
+     * Acceptable payment methods for item purchases.
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     *
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *  <b><a name="payment_accepted"></a>payment_accepted</b></font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1"> Acceptable payment methods for item purchases. Acceptable
+     *  values are “Cash,” “Check,” “Traveler’s Check,” “Visa,” “MasterCard,”
+     *
+     *  “American Express,” “Discover,” or “Wire
+     *  transfer.”
+     *  If you accept more than one method, include multiple instances of the
+     *  &lt;payment_accepted&gt; attribute
+     *  for each acceptable method.</font></td>
+     *
+     * </tr>
+     *
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Example</b></font></td>
+     *  <td><font size="-1">
+     * <em>Acceptable:</em><br>
+     * &lt;g:payment_accepted&gt;Cash&lt;/g:payment_accepted&gt;<br>
+     *
+     * &lt;g:payment_accepted&gt;Check&lt;/g:payment_accepted&gt;<br>
+     * <em>Not acceptable:</em><br>
+     * &lt;g:payment_accepted&gt;Cash
+     *  Check&lt;/g:payment_accepted&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Attribute of</b></font></td>
+     *
+     *  <td><font size="-1">
+     *  Events, Housing,
+     *  Products, Services, Travel, Vehicles</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     *  <td><font size="-1">
+     *
+     *  paymentMethodEnumeration</font></td>
+     *
+     * </tr>
+     * </tbody></table>
+     * @return Acceptable payment methods for item purchases.
+     */
+    public PaymentTypeEnumeration[] getPaymentAccepted();
+
+    /**
+     * Additional instructions to explain a payment policy.
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *  <b><a name="payment_notes"></a>payment_notes</b></font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1">
+     *  Additional instructions to explain
+     *  a payment policy.</font></td>
+     * </tr>
+     *
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Example</b></font></td>
+     *
+     *  <td><font size="-1"> &lt;g:payment_notes&gt;Cash only for local orders.&lt;/g:payment_notes&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Attribute of</b></font></td>
+     *  <td><font size="-1">
+     *
+     *  Events,
+     *  Housing, Products, Services, Travel, Vehicles</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *
+     *  <b>Content type</b></font></td>
+     *  <td><font size="-1">
+     *  string</font></td>
+     *
+     * </tr>
+     * </tbody></table>
+     * @param paymentNotes Additional instructions to explain a payment policy.
+     */
+    public void setPaymentNotes(String paymentNotes);
+
+    /**
+     * Additional instructions to explain a payment policy.
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *  <b><a name="payment_notes"></a>payment_notes</b></font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1">
+     *  Additional instructions to explain
+     *  a payment policy.</font></td>
+     * </tr>
+     *
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Example</b></font></td>
+     *
+     *  <td><font size="-1"> &lt;g:payment_notes&gt;Cash only for local orders.&lt;/g:payment_notes&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Attribute of</b></font></td>
+     *  <td><font size="-1">
+     *
+     *  Events,
+     *  Housing, Products, Services, Travel, Vehicles</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *
+     *  <b>Content type</b></font></td>
+     *  <td><font size="-1">
+     *  string</font></td>
+     *
+     * </tr>
+     * </tbody></table>
+     * @return Additional instructions to explain a payment policy.
+     */
+    public String getPaymentNotes();
+
+    /**
+     * Price of the item.
+     *
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *  <b><a name="price"></a>price</b></font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1"> Prices can be a single price, 0
+     *  (free), or blank if not applicable.  Numerice values only. When used
+     *  as a sub-attribute of &lt;shipping&gt;, the value included reflects the price
+     *  of shipping.</font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Example</b></font></td>
+     *  <td><font size="-1">
+     * <em>Acceptable:</em><br>
+     * &lt;g:price&gt;5.95&lt;/g:price&gt;<br>
+     *
+     * &lt;g:price&gt;0&lt;/g:price&gt;<br>
+     *  <em>Not acceptable:</em><br>
+     * &lt;g:price&gt;5,95&lt;/g:price&gt;<br>
+     * &lt;g:price&gt;5.00 – 10.00&lt;/g:price&gt;<br>
+     *
+     * &lt;g:price&gt;100 or best offer&lt;/g:price&gt;<br>
+     * &lt;g:price&gt;free&lt;/g:price&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Attribute of</b></font></td>
+     *
+     *  <td><font size="-1">
+     *  Events,
+     *  Housing, Products, Services, Travel, Vehicles</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     *  <td valign="top"><font size="-1">floatUnit</font></td>
+     *
+     * </tr>
+     * </tbody></table>
+     * @return Price of the item.
+     */
+    public FloatUnit getPrice();
+
+    /**
+     * The type of pricing for the item.
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="price_type"></a>price_type</b></font></td>
+     * </tr>
+     *
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1"><b>Details</b></font></td>
+     *  <td><font size="-1">The type of pricing for the
+     *  item. Acceptable values are “negotiable,” or “starting.” The default is
+     *  “starting”</font></td>
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1"><b>Example</b></font></td>
+     *
+     *  <td><font size="-1"><em>Acceptable:</em><br>
+     * &lt;g:price_type&gt;starting&lt;/g:price_type&gt;<br>
+     * <em>Not acceptable:</em><br>
+     * &lt;g:price_type&gt;100 OBO&lt;/g:price_type&gt;</font></td>
+     *
+     * </tr>
+     *
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Attribute of</b></font></td>
+     *  <td><font size="-1">
+     *  Events,
+     *  Housing, Products, Services, Travel, Vehicles</font></td>
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     *  <td><font size="-1">
+     *  priceTypeEnumeration</font></td>
+     * </tr>
+     * </tbody></table>
+     * @param priceType The type of pricing for the item.
+     */
+    public void setPriceType(PriceTypeEnumeration priceType);
+
+    /**
+     * The type of pricing for the item.
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1"><b><a name="price_type"></a>price_type</b></font></td>
+     * </tr>
+     *
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1"><b>Details</b></font></td>
+     *  <td><font size="-1">The type of pricing for the
+     *  item. Acceptable values are “negotiable,” or “starting.” The default is
+     *  “starting”</font></td>
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1"><b>Example</b></font></td>
+     *
+     *  <td><font size="-1"><em>Acceptable:</em><br>
+     * &lt;g:price_type&gt;starting&lt;/g:price_type&gt;<br>
+     * <em>Not acceptable:</em><br>
+     * &lt;g:price_type&gt;100 OBO&lt;/g:price_type&gt;</font></td>
+     *
+     * </tr>
+     *
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Attribute of</b></font></td>
+     *  <td><font size="-1">
+     *  Events,
+     *  Housing, Products, Services, Travel, Vehicles</font></td>
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     *  <td><font size="-1">
+     *  priceTypeEnumeration</font></td>
+     * </tr>
+     * </tbody></table>
+     * @return The type of pricing for the item.
+     */
+    public PriceTypeEnumeration getPriceType();
+
+
+    /**
+     * Quantity available.
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *  <b><a name="quantity"></a>quantity</b></font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1"> The number of units available for purchase. This
+     *  attribute can be left blank if you have a large quantity or if it is not
+     *  applicable. </font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Example</b></font></td>
+     *  <td><font size="-1">
+     *  <em>Acceptable:</em><br>
+     * &lt;g:quantity&gt;18&lt;/g:quantity&gt;<br>
+     *
+     * &lt;g:quantity&gt;0&lt;/g:quantity&gt;<br>
+     *
+     *  <em>Not acceptable:</em><br>
+     * &lt;g:quantity&gt;out
+     *  of stock&lt;/g:quantity&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *
+     *  <b>Attribute of</b></font></td>
+     *
+     *  <td><font size="-1">
+     *  Events, Products,
+     *  Services, Travel, Vehicles</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     *
+     *  <td><font size="-1">
+     *
+     *  integer</font></td>
+     * </tr>
+     * </tbody></table>
+     * @param quantity Quantity available.
+     */
+    public void setQuantity(Integer quantity);
+
+    /**
+     * Quantity available.
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *  <b><a name="quantity"></a>quantity</b></font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1"> The number of units available for purchase. This
+     *  attribute can be left blank if you have a large quantity or if it is not
+     *  applicable. </font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Example</b></font></td>
+     *  <td><font size="-1">
+     *  <em>Acceptable:</em><br>
+     * &lt;g:quantity&gt;18&lt;/g:quantity&gt;<br>
+     *
+     * &lt;g:quantity&gt;0&lt;/g:quantity&gt;<br>
+     *
+     *  <em>Not acceptable:</em><br>
+     * &lt;g:quantity&gt;out
+     *  of stock&lt;/g:quantity&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *
+     *  <b>Attribute of</b></font></td>
+     *
+     *  <td><font size="-1">
+     *  Events, Products,
+     *  Services, Travel, Vehicles</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     *
+     *  <td><font size="-1">
+     *
+     *  integer</font></td>
+     * </tr>
+     * </tbody></table>
+     * @return Quantity available.
+     */
+    public Integer getQuantity();
+
+    
+    /**
+     * Tax rate associated with the event.
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *  <b><a name="tax_percent"></a>tax_percent</b></font></td>
+     * </tr>
+     *
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1">
+     *  Tax rate as a percentage.</font></td>
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Example</b></font></td>
+     *
+     *  <td><font size="-1"> &lt;g:tax_percent&gt;8.2&lt;g:/tax_percent&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *
+     *  <b>Attribute of</b></font></td>
+     *  <td><font size="-1">
+     *
+     *  Products, Events</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     *
+     *  <td><font size="-1">
+     *  percentType</font></td>
+     *
+     * </tr>
+     * </tbody></table>
+     * @param taxPercent Tax rate associated with the event.
+     */
+    public void setTaxPercent(Float taxPercent);
+
+    /**
+    * Tax rate associated with the service.
+    *
+    * <table border="1" cellpadding="5" cellspacing="0" width="640">
+    * <tbody><tr valign="top">
+    *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+    *  <b><a name="tax_percent"></a>tax_percent</b></font></td>
+    * </tr>
+    *
+    * <tr valign="top">
+    *  <td width="120"><font size="-1">
+    *
+    *  <b>Details</b></font></td>
+    *  <td><font size="-1">
+    *  Tax rate as a percentage.</font></td>
+    * </tr>
+    * <tr valign="top">
+    *
+    *  <td width="120"><font size="-1">
+    *  <b>Example</b></font></td>
+    *
+    *  <td><font size="-1"> &lt;g:tax_percent&gt;8.2&lt;g:/tax_percent&gt;</font></td>
+    * </tr>
+    * <tr valign="top">
+    *  <td width="120"><font size="-1">
+    *
+    *  <b>Attribute of</b></font></td>
+    *  <td><font size="-1">
+    *
+    *  Products, Events</font></td>
+    * </tr>
+    * <tr valign="top">
+    *  <td width="120"><font size="-1">
+    *  <b>Content type</b></font></td>
+    *
+    *  <td><font size="-1">
+    *  percentType</font></td>
+    *
+    * </tr>
+    * </tbody></table>
+    * @return Tax rate associated with the event.
+    */
+    public Float getTaxPercent();
+
+    /**
+     * Region where tax applies.
+     *
+     *
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *
+     *  <b><a name="tax_region"></a>tax_region</b></font></td>
+     * </tr>
+     *
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1">
+     *  Geographical region a tax rate
+     *  applies to.</font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *
+     *  <b>Example</b></font></td>
+     *  <td><font size="-1"> &lt;g:tax_region&gt;California&lt;/g:tax_region&gt;</font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Attribute of</b></font></td>
+     *
+     *  <td><font size="-1">
+     *  Product,
+     *  Events,</font></td>
+     * </tr>
+     *
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     *  <td><font size="-1">string</font></td>
+     *
+     * </tr>
+     * </tbody></table>
+     * @param taxRegion Region where tax applies.
+     */
+    public void setTaxRegion(String taxRegion);
+
+    /**
+     * Region where tax applies.
+     *
+     *
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *
+     *  <b><a name="tax_region"></a>tax_region</b></font></td>
+     * </tr>
+     *
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1">
+     *  Geographical region a tax rate
+     *  applies to.</font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *
+     *  <b>Example</b></font></td>
+     *  <td><font size="-1"> &lt;g:tax_region&gt;California&lt;/g:tax_region&gt;</font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Attribute of</b></font></td>
+     *
+     *  <td><font size="-1">
+     *  Product,
+     *  Events,</font></td>
+     * </tr>
+     *
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     *  <td><font size="-1">string</font></td>
+     *
+     * </tr>
+     * </tbody></table>
+     * @return Region where tax applies.
+     */
+    public String getTaxRegion();
+    
+    /**
+     * Destination city and state/country of the trip.
+     * 
+     * 
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *  <b><a name="to_location"></a>to_location</b></font></td>
+     * </tr>
+     * 
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     * 
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1">
+     *  Destination city and state/country
+     *  of the trip.</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     * 
+     *  <b>Example</b></font></td>
+     * 
+     *  <td><font size="-1">
+     *  <em>Acceptable:</em><br>
+     * &lt;g:to_location&gt;<st1:city>San
+     *    Francisco</st1:city>, <st1:state>CA</st1:state>&lt;/g:to_location&gt;<br>
+     * &lt;g:to_location&gt;<st1:place><st1:city>Paris</st1:city>, <st1:country-region>France</st1:country-region></st1:place>&lt;/g:to_location&gt;<br>
+     * 
+     *  <em>Not acceptable:</em><br>
+     * &lt;g:to_location&gt;<st1:place><st1:placename>San
+     *    Francisco</st1:placename> <st1:placename>International</st1:placename> <st1:placetype>Airport</st1:placetype></st1:place>&lt;/g:to_location&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     * 
+     *  <b>Attribute of</b></font></td>
+     *  <td><font size="-1">
+     *  Travel</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     * 
+     *  <td><font size="-1">
+     *  locationyTpe</font></td>
+     * </tr>
+     * </tbody></table>
+     * @param toLocation Destination city and state/country of the trip.
+     */
+    public void setToLocation(String toLocation);
+
+    /**
+     * Destination city and state/country of the trip.
+     * 
+     * 
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *  <b><a name="to_location"></a>to_location</b></font></td>
+     * </tr>
+     * 
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     * 
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1">
+     *  Destination city and state/country
+     *  of the trip.</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     * 
+     *  <b>Example</b></font></td>
+     * 
+     *  <td><font size="-1">
+     *  <em>Acceptable:</em><br>
+     * &lt;g:to_location&gt;<st1:city>San
+     *    Francisco</st1:city>, <st1:state>CA</st1:state>&lt;/g:to_location&gt;<br>
+     * &lt;g:to_location&gt;<st1:place><st1:city>Paris</st1:city>, <st1:country-region>France</st1:country-region></st1:place>&lt;/g:to_location&gt;<br>
+     * 
+     *  <em>Not acceptable:</em><br>
+     * &lt;g:to_location&gt;<st1:place><st1:placename>San
+     *    Francisco</st1:placename> <st1:placename>International</st1:placename> <st1:placetype>Airport</st1:placetype></st1:place>&lt;/g:to_location&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     * 
+     *  <b>Attribute of</b></font></td>
+     *  <td><font size="-1">
+     *  Travel</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     * 
+     *  <td><font size="-1">
+     *  locationyTpe</font></td>
+     * </tr>
+     * </tbody></table>
+     * @return Destination city and state/country of the trip.
+     */
+    public String getToLocation();
+
+    /**
+     * Departure date and time of the trip.
+     * 
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd"><font size="-1">
+     *  <b><a name="travel_date_range"></a>travel_date_range</b></font></td>
+     * 
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1">
+     *  Departure date and time of the trip in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a> format: YYYY-MM-DD,hh:mmAM (12 hour
+     *  clock) or YYYY-MM-DD,hh:mm (24 hour clock). Two  sub-attributes
+     *  are included in travel_date_range attribute.<ul type="disc">
+     * 
+     *  <li>start = Start date and time of a trip in
+     *  format YYYY-MM-DDThh:mm:ss</li>
+     *  <li>end = End date and time of a trip in
+     *  format YYYY-MM-DDThh:mm:ss</li></ul></font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Example</b></font></td>
+     *  <td><font size="-1"> &lt;g:travel_date_range&gt; <br>
+     * 
+     * &lt;g:start&gt;2005-12-20T06:00:00&lt;/g:start&gt;
+     *  <br>
+     * &lt;g:end&gt;2005-12-29T13:00:00&lt;/g:end&gt;<br>
+     * &lt;/g:travel_date_range&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     * 
+     *  <td width="120"><font size="-1">
+     * 
+     *  <b>Attribute of</b></font></td>
+     *  <td><font size="-1">
+     *  Travel</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     * 
+     *  <b>Content type</b></font></td>
+     * 
+     *  <td><font size="-1">
+     *  dateTimeRange</font></td>
+     * </tr>
+     * </tbody></table>
+     * @param travelDateRange Departure date and time of the trip.
+     */
+    public void setTravelDateRange(DateTimeRange travelDateRange);
+
+    /**
+     * Departure date and time of the trip.
+     * 
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd"><font size="-1">
+     *  <b><a name="travel_date_range"></a>travel_date_range</b></font></td>
+     * 
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1">
+     *  Departure date and time of the trip in <a href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">ISO 8601</a> format: YYYY-MM-DD,hh:mmAM (12 hour
+     *  clock) or YYYY-MM-DD,hh:mm (24 hour clock). Two  sub-attributes
+     *  are included in travel_date_range attribute.<ul type="disc">
+     * 
+     *  <li>start = Start date and time of a trip in
+     *  format YYYY-MM-DDThh:mm:ss</li>
+     *  <li>end = End date and time of a trip in
+     *  format YYYY-MM-DDThh:mm:ss</li></ul></font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Example</b></font></td>
+     *  <td><font size="-1"> &lt;g:travel_date_range&gt; <br>
+     * 
+     * &lt;g:start&gt;2005-12-20T06:00:00&lt;/g:start&gt;
+     *  <br>
+     * &lt;g:end&gt;2005-12-29T13:00:00&lt;/g:end&gt;<br>
+     * &lt;/g:travel_date_range&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     * 
+     *  <td width="120"><font size="-1">
+     * 
+     *  <b>Attribute of</b></font></td>
+     *  <td><font size="-1">
+     *  Travel</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     * 
+     *  <b>Content type</b></font></td>
+     * 
+     *  <td><font size="-1">
+     *  dateTimeRange</font></td>
+     * </tr>
+     * </tbody></table>
+     * @return Departure date and time of the trip.
+     */
+    public DateTimeRange getTravelDateRange();
+    /**
+     * Location of the property.
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *  <b><a name="location"></a>location</b></font></td>
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1"> Location of a property. Should
+     *  include street, city, state, postal code, and country, in that order. </font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Example</b></font></td>
+     *
+     *  <td><font size="-1">
+     *  <em>Acceptable:</em><br>
+     * &lt;g:location&gt;<st1:place>123 Main St, <st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>, <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
+     *
+     * <em>Not acceptable:</em><br>
+     * &lt;g:location&gt;<st1:place><st1:city>123</st1:city> Main St,, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>, <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
+     * &lt;g:location&gt;
+     *  <st1:place><st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>, <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Attribute of</b></font></td>
+     *  <td><font size="-1">
+     *  Reference Items, Events, Housing, Jobs, News and Articles,
+     *  People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted Ads.</font></td>
+     * </tr>
+     *
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     *  <td><font size="-1">
+     *  locationType</font></td>
+     * </tr>
+     * </tbody></table>
+     * @param location Location of the property.
+     */
+    public void setLocation(String location);
+
+    /**
+     * Location of the property.
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *  <b><a name="location"></a>location</b></font></td>
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *  <td><font size="-1"> Location of a property. Should
+     *  include street, city, state, postal code, and country, in that order. </font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Example</b></font></td>
+     *
+     *  <td><font size="-1">
+     *  <em>Acceptable:</em><br>
+     * &lt;g:location&gt;<st1:place>123 Main St, <st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>, <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
+     *
+     * <em>Not acceptable:</em><br>
+     * &lt;g:location&gt;<st1:place><st1:city>123</st1:city> Main St,, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>, <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;<br>
+     * &lt;g:location&gt;
+     *  <st1:place><st1:city>Anytown</st1:city>, <st1:state>CA</st1:state>, <st1:postalcode>12345</st1:postalcode>, <st1:country-region>USA</st1:country-region></st1:place>&lt;/g:location&gt;</font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Attribute of</b></font></td>
+     *  <td><font size="-1">
+     *  Reference Items, Events, Housing, Jobs, News and Articles,
+     *  People profiles, Products, Reviews, Services, Travel, Vehicles, Wanted Ads.</font></td>
+     * </tr>
+     *
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Content type</b></font></td>
+     *  <td><font size="-1">
+     *  locationType</font></td>
+     * </tr>
+     * </tbody></table>
+     * @return Location of the property.
+     */
+    public String getLocation();
+    
+    
+    /**
+     * Shipping options available for an item.
+     *
+     * <table border="1" cellpadding="5" cellspacing="0" width="640">
+     * <tbody><tr valign="top">
+     *  <td colspan="2" bgcolor="#dddddd" valign="top"><font size="-1">
+     *
+     *  <b><a name="shipping"></a>shipping</b></font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *  <b>Details</b></font></td>
+     *
+     *  <td><font size="-1">
+     *  Shipping options available for an item. Up to 10
+     *  shipping options can be included for each item. Three sub-attributes are
+     *  included in the shipping attribute:<ul type="disc">
+     *
+     *  <li>service = The type of service used to ship an item. Acceptable values are 'FedEx', 'UPS', 'DHL', 'Mail', and 'Other'</li>
+     *  <li>country = The country an item will ship to. Only acceptable values are<b> </b>ISO 3166 country codes.</li>
+     *  <li>price =
+     *  the price of shipping.</li></ul></font></td>
+     *
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *
+     *  <b>Example</b></font></td>
+     *  <td><font size="-1"> &lt;g:shipping&gt;<br>
+     *      &lt;g:country&gt;US&lt;/g:country&gt;<br>
+     *
+     *      &lt;g:service&gt;UPS&lt;/g:shipping&gt;<br>
+     *
+     *      &lt;g:price&gt;35.95&lt;/g:price&gt;<br>
+     * &lt;/g:shipping&gt;</font></td>
+     * </tr>
+     * <tr valign="top">
+     *
+     *  <td width="120"><font size="-1">
+     *  <b>Attribute of</b></font></td>
+     *
+     *  <td><font size="-1">
+     *  Products</font></td>
+     * </tr>
+     * <tr valign="top">
+     *  <td width="120"><font size="-1">
+     *
+     *  <b>Content type</b></font></td>
+     *  <td><font size="-1">
+     *  shippingType</font></td>
+     *
+     * </tr>
+     * </tbody></table>
+     * @return Shipping options available for an item.
+     */
+    public ShippingType[] getShipping();
+
+
+}

http://git-wip-us.apache.org/repos/asf/marmotta/blob/00c22e7c/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Unknown.java
----------------------------------------------------------------------
diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Unknown.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Unknown.java
new file mode 100644
index 0000000..6a095b1
--- /dev/null
+++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Unknown.java
@@ -0,0 +1,78 @@
+/*
+ * Unknown.java
+ *
+ * Created on November 18, 2005, 1:34 PM
+ *
+ * This library is provided under dual licenses.
+ * You may choose the terms of the Lesser General Public License or the Apache
+ * License at your discretion.
+ *
+ *  Copyright (C) 2005  Robert Cooper, Temple of the Screaming Penguin
+ *
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.rometools.feed.module.base;
+
+import java.net.URL;
+
+import org.rometools.feed.module.base.types.IntUnit;
+
+
+/**
+ * This interface contains all the other schema elements that the document
+ * doesn't associate with a particular type.
+ *
+ * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet"
+ *         Cooper</a>
+ */
+public interface Unknown extends GlobalInterface {
+    public void setLicenses(String[] licenses);
+
+    public String[] getLicenses();
+
+    public void setOperatingSystems(String systems);
+
+    public String getOperatingSystems();
+
+    public void setProgrammingLanguages(String[] languages);
+
+    public String[] getProgrammingLanguages();
+
+    public void setRelatedLinks(URL[] links);
+
+    public URL[] getRelatedLinks();
+
+    public void setSquareFootages(IntUnit[] squareFootages);
+
+    public IntUnit[] getSquareFootages();
+
+    public void setSubjectAreas(String[] subjectAreas);
+
+    public String[] getSubjectAreas();
+}

http://git-wip-us.apache.org/repos/asf/marmotta/blob/00c22e7c/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/ValidationException.java
----------------------------------------------------------------------
diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/ValidationException.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/ValidationException.java
new file mode 100644
index 0000000..faaafdc
--- /dev/null
+++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/ValidationException.java
@@ -0,0 +1,35 @@
+/*
+ * ValidationException.java
+ *
+ * Created on November 20, 2005, 3:14 PM
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+package org.rometools.feed.module.base;
+
+/** This is an unchecked exception that is thrown when a data value violates 
+ * the Google Schema limits.
+ * @version $Revision: 1.1 $
+ * @author <a href="mailto:cooper@screaming-penguin.com">Robert "kebernet" Cooper</a>
+ */
+public class ValidationException extends RuntimeException{
+    
+    /** Creates a new instance of ValidationException */
+    public ValidationException(String message) {
+	super( message );
+    }
+    
+}