All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.gdata.data.geo.Namespaces Maven / Gradle / Ivy

Go to download

The Google Data Java client library is written by Google. It supports the latest major version of the following Google Data API's.

The newest version!
/* Copyright (c) 2008 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


package com.google.gdata.data.geo;

import com.google.gdata.util.common.xml.XmlNamespace;

/**
 * Geo namespaces for the various schemas available to geo-information.
 *
 * 
 */
public class Namespaces {

  /**
   * Namespace for W3C's proposal for specifying geo-information. Please see the
   * W3C document http://www.w3.org/2003/01/geo
   * for more information.
   */
  public static final String W3C_GEO
      = "http://www.w3.org/2003/01/geo/wgs84_pos#";
  public static final String W3C_GEO_ALIAS = "geo";

  public static final XmlNamespace W3C_GEO_NAMESPACE
      = new XmlNamespace(W3C_GEO_ALIAS, W3C_GEO);

  /**
   * Namespace for the Geo RSS proposal for encoding geo information.  Please
   * see http://www.georss.org/
   * for more information.
   */
  public static final String GEO_RSS = "http://www.georss.org/georss";
  public static final String GEO_RSS_ALIAS = "georss";

  public static final XmlNamespace GEO_RSS_NAMESPACE
      = new XmlNamespace(GEO_RSS_ALIAS, GEO_RSS);

  /**
   * Namespace for the GML Geography markup language.  Please see the document
   * http://georss.org/gml.html for
   * more information on the georss-supported version of GML.
   */
  public static final String GML = "http://www.opengis.net/gml";
  public static final String GML_ALIAS = "gml";

  public static final XmlNamespace GML_NAMESPACE
      = new XmlNamespace(GML_ALIAS, GML);

  private Namespaces() {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy