org.deegree.commons.xml
Class CommonNamespaces

java.lang.Object
  extended by org.deegree.commons.xml.CommonNamespaces

public class CommonNamespaces
extends Object

Common XML/OGC namespace bindings. TODO refactor into Enum with method for retrieving the common namespace prefix

Version:
$Revision: 32145 $, $Date: 2011-10-14 19:13:51 +0200 (Fri, 14 Oct 2011) $
Author:
Andreas Poth, Markus Schneider, last edited by: $Author: mschneider $

Field Summary
static String APISO
          The APISO namespace is bound to: "http://www.opengis.net/cat/csw/apiso/1.0"
static String APISO_PREFIX
          The APISO_PREFIX is currently assigned to: "apiso"
static String CRS_PREFIX
          The CRS_PREFIX is currently assigned to: "crs"
static String CRSNS
          The CRSNS namespace --used for the crs package-- is bound to: "http://www.deegree.org/crs"
static String DC_PREFIX
          The DC prefix is currently assigned to: "dc"
static String DCNS
          The DCNS namespace is bound to: "http://purl.org/dc/elements/1.1/"
static String FES_20_NS
          The FES_20_NS namespace is bound to: "http://www.opengis.net/fes/2.0"
static String FES_PREFIX
           
static String GML_PREFIX
          The GML prefix is currently assigned to: "gml"
static String GML3_2_NS
          The GML3_2_NS namespace is bound to: "http://www.opengis.net/gml/3.2"
static String GML3_2_PREFIX
          The GML3_2 prefix is currently assigned to: "gml3_2"
static String GMLNS
          The GMLNS namespace is bound to: "http://www.opengis.net/gml"
static String ISO_2005_GCO_NS
           
static String ISO_2005_GSR_NS
           
static String ISO_2005_GSS_NS
           
static String ISO_2005_GTS_NS
           
static String ISO19115_PREFIX
          The ISO19115 prefix is currently assigned to: "iso19115"
static String ISO19115BRIEF_PREFIX
          The ISO19115BRIEF prefix is currently assigned to: "iso19115brief"
static String ISO19115BRIEFNS
          The ISO19115BRIEFNS namespace is bound to: "http://schemas.opengis.net/iso19115brief"
static String ISO19115NS
          The ISO19115NS namespace is bound to: "http://schemas.opengis.net/iso19115full"
static String ISO19119_PREFIX
          The ISO19119 prefix is currently assigned to: "iso19119"
static String ISO19119NS
          The ISO19119NS namespace is bound to: "http://schemas.opengis.net/iso19119"
static String ISOAP10GCO_PREFIX
          The ISOAP10GCO_PREFIX is currently assigned to: "gco"
static String ISOAP10GCONS
          The ISOAP10GCONS namespace is bound to: "http://www.isotc211.org/2005/gco"
static String ISOAP10GMD_PREFIX
          The ISOAP10GMD_PREFIX is currently assigned to: "gmd"
static String ISOAP10GMDNS
          The ISOAP10GMDNS namespace is bound to: "http://www.isotc211.org/2005/gmd"
static String OGC_PREFIX
          The OGC prefix is currently assigned to: "ogc"
static String OGCNS
          The OGCNS namespace is bound to: "http://www.opengis.net/ogc"
static String OWS_11_NS
          The OWS_11_NS namespace is bound to: "http://www.opengis.net/ows/1.1"
static String OWS_NS
          The OWS_NS namespace is bound to: "http://www.opengis.net/ows"
static String SE_PREFIX
          The SE_PREFIX is currently assigned to: "se"
static String SENS
          The SE namespace --used for the 2d rendering-- is bound to: "http://www.opengis.net/se"
static String SLD_PREFIX
          The SLD_PREFIX is currently assigned to: "sld"
static String SLDNS
          The SLD namespace is bound to "http://www.opengis.net/sld"
static String SMXML_PREFIX
          The SMXML prefix is currently assigned to: "smXML"
static String SMXMLNS
          The SMXMLNS namespace is bound to: "http://metadata.dgiwg.org/smXML"
static String WMS_PREFIX
          The WMS_PREFIX is currently assigned to: "wms"
static String WMSNS
          The WMS namespace is bound to: "http://www.opengis.net/wms"
static String XLINK_PREFIX
          The XLINK prefix is currently assigned to: "xlink"
static String XLNNS
          http://www.w3.org/1999/xlink
static String XMLNS
          http://www.w3.org/2000/xmlns/
static String XMLNS_PREFIX
          The XMLNS prefix is currently assigned to: "xmlns"
static String XMLNSNS
          http://www.w3.org/XML/1998/namespace
static String XS_PREFIX
          The XS prefix is currently assigned to: "xs"
static String XSI_PREFIX
          The XSI prefix is currently assigned to: "xsi"
static String XSINS
          http://www.w3.org/2001/XMLSchema-instance
static String XSNS
          http://www.w3.org/2001/XMLSchema
 
Constructor Summary
CommonNamespaces()
           
 
Method Summary
static NamespaceBindings getNamespaceContext()
          Returns the NamespaceContext for common namespaces known be deegree.
static boolean isCoreNamespace(String ns)
          Returns whether the given namespace is either a XML core namespace or a GML core namespace.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XMLNS

public static final String XMLNS
http://www.w3.org/2000/xmlns/

See Also:
Constant Field Values

XMLNSNS

public static final String XMLNSNS
http://www.w3.org/XML/1998/namespace

See Also:
Constant Field Values

XSNS

public static final String XSNS
http://www.w3.org/2001/XMLSchema

See Also:
Constant Field Values

XSINS

public static final String XSINS
http://www.w3.org/2001/XMLSchema-instance

See Also:
Constant Field Values

XLNNS

public static final String XLNNS
http://www.w3.org/1999/xlink

See Also:
Constant Field Values

FES_20_NS

public static final String FES_20_NS
The FES_20_NS namespace is bound to: "http://www.opengis.net/fes/2.0"

See Also:
Constant Field Values

FES_PREFIX

public static final String FES_PREFIX
See Also:
Constant Field Values

GMLNS

public static final String GMLNS
The GMLNS namespace is bound to: "http://www.opengis.net/gml"

See Also:
Constant Field Values

OGCNS

public static final String OGCNS
The OGCNS namespace is bound to: "http://www.opengis.net/ogc"

See Also:
Constant Field Values

OWS_NS

public static final String OWS_NS
The OWS_NS namespace is bound to: "http://www.opengis.net/ows"

See Also:
Constant Field Values

OWS_11_NS

public static final String OWS_11_NS
The OWS_11_NS namespace is bound to: "http://www.opengis.net/ows/1.1"

See Also:
Constant Field Values

ISO19115NS

public static final String ISO19115NS
The ISO19115NS namespace is bound to: "http://schemas.opengis.net/iso19115full"

See Also:
Constant Field Values

ISO19115BRIEFNS

public static final String ISO19115BRIEFNS
The ISO19115BRIEFNS namespace is bound to: "http://schemas.opengis.net/iso19115brief"

See Also:
Constant Field Values

ISO19119NS

public static final String ISO19119NS
The ISO19119NS namespace is bound to: "http://schemas.opengis.net/iso19119"

See Also:
Constant Field Values

DCNS

public static final String DCNS
The DCNS namespace is bound to: "http://purl.org/dc/elements/1.1/"

See Also:
Constant Field Values

SMXMLNS

public static final String SMXMLNS
The SMXMLNS namespace is bound to: "http://metadata.dgiwg.org/smXML"

See Also:
Constant Field Values

ISOAP10GMDNS

public static final String ISOAP10GMDNS
The ISOAP10GMDNS namespace is bound to: "http://www.isotc211.org/2005/gmd"

See Also:
Constant Field Values

ISOAP10GCONS

public static final String ISOAP10GCONS
The ISOAP10GCONS namespace is bound to: "http://www.isotc211.org/2005/gco"

See Also:
Constant Field Values

ISO_2005_GCO_NS

public static final String ISO_2005_GCO_NS
See Also:
Constant Field Values

ISO_2005_GSR_NS

public static final String ISO_2005_GSR_NS
See Also:
Constant Field Values

ISO_2005_GSS_NS

public static final String ISO_2005_GSS_NS
See Also:
Constant Field Values

ISO_2005_GTS_NS

public static final String ISO_2005_GTS_NS
See Also:
Constant Field Values

APISO

public static final String APISO
The APISO namespace is bound to: "http://www.opengis.net/cat/csw/apiso/1.0"

See Also:
Constant Field Values

GML3_2_NS

public static final String GML3_2_NS
The GML3_2_NS namespace is bound to: "http://www.opengis.net/gml/3.2"

See Also:
Constant Field Values

CRSNS

public static final String CRSNS
The CRSNS namespace --used for the crs package-- is bound to: "http://www.deegree.org/crs"

See Also:
Constant Field Values

SENS

public static final String SENS
The SE namespace --used for the 2d rendering-- is bound to: "http://www.opengis.net/se"

See Also:
Constant Field Values

SLDNS

public static final String SLDNS
The SLD namespace is bound to "http://www.opengis.net/sld"

See Also:
Constant Field Values

WMSNS

public static final String WMSNS
The WMS namespace is bound to: "http://www.opengis.net/wms"

See Also:
Constant Field Values

GML3_2_PREFIX

public static final String GML3_2_PREFIX
The GML3_2 prefix is currently assigned to: "gml3_2"

See Also:
Constant Field Values

GML_PREFIX

public static final String GML_PREFIX
The GML prefix is currently assigned to: "gml"

See Also:
Constant Field Values

OGC_PREFIX

public static final String OGC_PREFIX
The OGC prefix is currently assigned to: "ogc"

See Also:
Constant Field Values

XLINK_PREFIX

public static final String XLINK_PREFIX
The XLINK prefix is currently assigned to: "xlink"

See Also:
Constant Field Values

XMLNS_PREFIX

public static final String XMLNS_PREFIX
The XMLNS prefix is currently assigned to: "xmlns"

See Also:
Constant Field Values

XS_PREFIX

public static final String XS_PREFIX
The XS prefix is currently assigned to: "xs"

See Also:
Constant Field Values

XSI_PREFIX

public static final String XSI_PREFIX
The XSI prefix is currently assigned to: "xsi"

See Also:
Constant Field Values

ISO19115_PREFIX

public static final String ISO19115_PREFIX
The ISO19115 prefix is currently assigned to: "iso19115"

See Also:
Constant Field Values

ISO19115BRIEF_PREFIX

public static final String ISO19115BRIEF_PREFIX
The ISO19115BRIEF prefix is currently assigned to: "iso19115brief"

See Also:
Constant Field Values

ISO19119_PREFIX

public static final String ISO19119_PREFIX
The ISO19119 prefix is currently assigned to: "iso19119"

See Also:
Constant Field Values

DC_PREFIX

public static final String DC_PREFIX
The DC prefix is currently assigned to: "dc"

See Also:
Constant Field Values

SMXML_PREFIX

public static final String SMXML_PREFIX
The SMXML prefix is currently assigned to: "smXML"

See Also:
Constant Field Values

ISOAP10GMD_PREFIX

public static final String ISOAP10GMD_PREFIX
The ISOAP10GMD_PREFIX is currently assigned to: "gmd"

See Also:
Constant Field Values

ISOAP10GCO_PREFIX

public static final String ISOAP10GCO_PREFIX
The ISOAP10GCO_PREFIX is currently assigned to: "gco"

See Also:
Constant Field Values

APISO_PREFIX

public static final String APISO_PREFIX
The APISO_PREFIX is currently assigned to: "apiso"

See Also:
Constant Field Values

CRS_PREFIX

public static final String CRS_PREFIX
The CRS_PREFIX is currently assigned to: "crs"

See Also:
Constant Field Values

SE_PREFIX

public static final String SE_PREFIX
The SE_PREFIX is currently assigned to: "se"

See Also:
Constant Field Values

SLD_PREFIX

public static final String SLD_PREFIX
The SLD_PREFIX is currently assigned to: "sld"

See Also:
Constant Field Values

WMS_PREFIX

public static final String WMS_PREFIX
The WMS_PREFIX is currently assigned to: "wms"

See Also:
Constant Field Values
Constructor Detail

CommonNamespaces

public CommonNamespaces()
Method Detail

getNamespaceContext

public static NamespaceBindings getNamespaceContext()
Returns the NamespaceContext for common namespaces known be deegree.

Returns:
the NamespaceContext for all common namespaces

isCoreNamespace

public static boolean isCoreNamespace(String ns)
Returns whether the given namespace is either a XML core namespace or a GML core namespace.

Parameters:
ns - namespace to check, may be null
Returns:
true, if it is a core namespace, false otherwise

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.