org.geotoolkit.xml
Class Namespaces

Object
  extended by Static
      extended by Namespaces

public final class Namespaces
extends Static

List some namespaces URLs used by JAXB when (un)marshalling.

Since:
3.00
Version:
3.07
Author:
Cédric Briançon (Geomatys)
Module:
utility/geotk-xml-base (download)    View source code for this class

Field Summary
static String CSW_202
          The "http://www.opengis.net/cat/csw/2.0.2" URL.
static String FRA
          The "http://www.cnig.gouv.fr/2005/fra" URL.
static String GCO
          The "http://www.isotc211.org/2005/gco" URL.
static String GFC
          The "http://www.isotc211.org/2005/gfc" URL.
static String GMD
          The "http://www.isotc211.org/2005/gmd" URL.
static String GMI
          The "http://www.isotc211.org/2005/gmi" URL.
static String GML
          The "http://www.opengis.net/gml" URL.
static String GMX
          The "http://www.isotc211.org/2005/gmx" URL.
static String XLINK
          The "http://www.w3.org/1999/xlink" URL.
static String XSI
          The "http://www.w3.org/2001/XMLSchema-instance" URL.
 
Method Summary
static String getPreferredPrefix(String namespace, String suggestion)
          Returns the preferred prefix for the given namespace URI.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GCO

public static final String GCO
The "http://www.isotc211.org/2005/gco" URL.

See Also:
Constant Field Values

GFC

public static final String GFC
The "http://www.isotc211.org/2005/gfc" URL.

Since:
3.02
See Also:
Constant Field Values

GMD

public static final String GMD
The "http://www.isotc211.org/2005/gmd" URL.

See Also:
Constant Field Values

GMI

public static final String GMI
The "http://www.isotc211.org/2005/gmi" URL.

Since:
3.07
See Also:
Constant Field Values

GMX

public static final String GMX
The "http://www.isotc211.org/2005/gmx" URL.

See Also:
Constant Field Values

GML

public static final String GML
The "http://www.opengis.net/gml" URL.

See Also:
Constant Field Values

CSW_202

public static final String CSW_202
The "http://www.opengis.net/cat/csw/2.0.2" URL.

Since:
3.02
See Also:
Constant Field Values

XSI

public static final String XSI
The "http://www.w3.org/2001/XMLSchema-instance" URL.

See Also:
Constant Field Values

XLINK

public static final String XLINK
The "http://www.w3.org/1999/xlink" URL.

See Also:
Constant Field Values

FRA

public static final String FRA
The "http://www.cnig.gouv.fr/2005/fra" URL.

See Also:
Constant Field Values
Method Detail

getPreferredPrefix

public static String getPreferredPrefix(String namespace,
                                        String suggestion)
Returns the preferred prefix for the given namespace URI.

Parameters:
namespace - The namespace URI for which the prefix needs to be found. Can not be null.
suggestion - The suggested prefix, returned if the given namespace is not recognized.
Returns:
The prefix inferred from the namespace URI.


Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.