public final class Namespaces extends Static
Defined in the sis-utility module
Modifier and Type | Field and Description |
---|---|
static String |
CSW
The
"http://www.opengis.net/cat/csw/2.0.2" 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 |
GTS
The
"http://www.isotc211.org/2005/gts" URL. |
static String |
SRV
The
"http://www.isotc211.org/2005/srv" URL. |
static String |
XLINK
The
"http://www.w3.org/1999/xlink" URL. |
static String |
XSI
The
"http://www.w3.org/2001/XMLSchema-instance" URL. |
Modifier and Type | Method and Description |
---|---|
static String |
getPreferredPrefix(String namespace,
String defaultValue)
Returns the preferred prefix for the given namespace URI.
|
public static final String GCO
"http://www.isotc211.org/2005/gco"
URL.
The usual prefix for this namespace is "gco"
.public static final String GFC
"http://www.isotc211.org/2005/gfc"
URL.
The usual prefix for this namespace is "gfc"
.public static final String GMD
"http://www.isotc211.org/2005/gmd"
URL.
The usual prefix for this namespace is "gmd"
.public static final String GMI
"http://www.isotc211.org/2005/gmi"
URL.
The usual prefix for this namespace is "gmi"
.public static final String SRV
"http://www.isotc211.org/2005/srv"
URL.
The usual prefix for this namespace is "srv"
.public static final String GTS
"http://www.isotc211.org/2005/gts"
URL.
The usual prefix for this namespace is "gts"
.public static final String GMX
"http://www.isotc211.org/2005/gmx"
URL.
The usual prefix for this namespace is "gmx"
.public static final String GML
"http://www.opengis.net/gml"
URL.
The usual prefix for this namespace is "gml"
.public static final String CSW
"http://www.opengis.net/cat/csw/2.0.2"
URL.
The usual prefix for this namespace is "csw"
.public static final String XSI
"http://www.w3.org/2001/XMLSchema-instance"
URL.
This is also defined by XMLConstants.W3C_XML_SCHEMA_INSTANCE_NS_URI
.public static final String XLINK
"http://www.w3.org/1999/xlink"
URL.
The usual prefix for this namespace is "xlink"
.public static String getPreferredPrefix(String namespace, String defaultValue)
namespace
- The namespace URI for which the prefix needs to be found.
Can not be null
.defaultValue
- The default prefix to returned if the given namespace
is not recognized, or null
.null
if the given namespace
is unrecognized and the defaultValue
is null.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.