001 // $HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/ogcbase/CommonNamespaces.java $ 002 /*---------------- FILE HEADER ------------------------------------------ 003 004 This file is part of deegree. 005 Copyright (C) 2001 by: 006 EXSE, Department of Geography, University of Bonn 007 http://www.giub.uni-bonn.de/exse/ 008 lat/lon Fitzke/Fretter/Poth GbR 009 http://www.lat-lon.de 010 011 This library is free software; you can redistribute it and/or 012 modify it under the terms of the GNU Lesser General Public 013 License as published by the Free Software Foundation; either 014 version 2.1 of the License, or (at your option) any later version. 015 016 This library is distributed in the hope that it will be useful, 017 but WITHOUT ANY WARRANTY; without even the implied warranty of 018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 019 Lesser General Public License for more details. 020 021 You should have received a copy of the GNU Lesser General Public 022 License along with this library; if not, write to the Free Software 023 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 024 025 Contact: 026 027 Andreas Poth 028 lat/lon Fitzke/Fretter/Poth GbR 029 Meckenheimer Allee 176 030 53115 Bonn 031 Germany 032 E-Mail: poth@lat-lon.de 033 034 Jens Fitzke 035 Department of Geography 036 University of Bonn 037 Meckenheimer Allee 166 038 53115 Bonn 039 Germany 040 E-Mail: jens.fitzke@uni-bonn.de 041 042 043 ---------------------------------------------------------------------------*/ 044 package org.deegree.ogcbase; 045 046 import java.net.URI; 047 import java.net.URISyntaxException; 048 049 import org.deegree.framework.util.BootLogger; 050 import org.deegree.framework.xml.NamespaceContext; 051 052 /** 053 * Definitions for all namespaces used within deegree. 054 * <p> 055 * NOTE: Only use namespaces defined here by referencing them. Don't introduce namespaces in other 056 * types. 057 * 058 * @author <a href="mailto:poth@lat-lon.de">Andreas Poth</a> 059 * @author <a href="mailto:schneider@lat-lon.de">Markus Schneider</a> 060 * @author <a href="mailto:tfriebe@sf.net">Torsten Friebe</a> 061 * @author last edited by: $Author: aschmitz $ 062 * 063 * @version $Revision: 7811 $, $Date: 2007-07-23 17:57:49 +0200 (Mo, 23 Jul 2007) $ 064 */ 065 066 // FIXME change ows namespace uri to http://www.opengeospatial.net/ows 067 // output bound to the current ows namesspace uri (http://www.opengis.net/ows) 068 // is not valid against up to date ogc schemas!!!! 069 public class CommonNamespaces { 070 071 // namespaces 072 /** 073 * The XMLNS namespace is currently bound to: "http://www.w3.org/2000/xmlns/" 074 */ 075 public static final URI XMLNS = buildNSURI( "http://www.w3.org/2000/xmlns/" ); 076 077 /** 078 * The SMLNS namespace is currently bound to: "http://www.opengis.net/sensorML" 079 */ 080 public static final URI SMLNS = buildNSURI( "http://www.opengis.net/sensorML" ); 081 082 /** 083 * The SOSNS namespace is currently bound to: "http://www.opengis.net/sos" 084 */ 085 public static final URI SOSNS = buildNSURI( "http://www.opengis.net/sos" ); 086 087 /** 088 * The CSWNS namespace is currently bound to: "http://www.opengis.net/cat/csw" 089 */ 090 public static final URI CSWNS = buildNSURI( "http://www.opengis.net/cat/csw" ); 091 092 /** 093 * The GMLNS namespace is currently bound to: "http://www.opengis.net/gml" 094 */ 095 public static final URI GMLNS = buildNSURI( "http://www.opengis.net/gml" ); 096 097 /** 098 * The CITYGMLNS namespace is currently bound to: "http://www.citygml.org/citygml/1/0/0". 099 */ 100 public static final URI CITYGMLNS = buildNSURI( "http://www.citygml.org/citygml/1/0/0" ); 101 102 /** 103 * The WFSNS namespace is currently bound to: "http://www.opengis.net/wfs" 104 */ 105 public static final URI WFSNS = buildNSURI( "http://www.opengis.net/wfs" ); 106 107 /** 108 * The WFSGNS namespace is currently bound to: "http://www.opengis.net/wfs-g" 109 */ 110 public static final URI WFSGNS = buildNSURI( "http://www.opengis.net/wfs-g" ); 111 112 /** 113 * The WCSNS namespace is currently bound to: "http://www.opengis.net/wcs" 114 */ 115 public static final URI WCSNS = buildNSURI( "http://www.opengis.net/wcs" ); 116 117 /** 118 * The WMSNS namespace is currently bound to: "http://www.opengis.net/wms" 119 */ 120 public static final URI WMSNS = buildNSURI( "http://www.opengis.net/wms" ); 121 122 /** 123 * The WMPSNS namespace is currently bound to: "http://www.opengis.net/wmps" 124 */ 125 public static final URI WMPSNS = buildNSURI( "http://www.opengis.net/wmps" ); 126 127 /** 128 * The WPVSNS namespace is currently bound to: "http://www.opengis.net/wpvs" 129 */ 130 public static final URI WPVSNS = buildNSURI( "http://www.opengis.net/wpvs" ); 131 132 /** 133 * The WPSNS namespace is currently bound to: "http://www.opengeospatial.net/wps" 134 */ 135 public static final URI WPSNS = buildNSURI( "http://www.opengeospatial.net/wps" ); 136 137 /** 138 * The OGCNS namespace is currently bound to: "http://www.opengis.net/ogc" 139 */ 140 public static final URI OGCNS = buildNSURI( "http://www.opengis.net/ogc" ); 141 142 /** 143 * The OWSNS namespace is currently bound to: "http://www.opengis.net/ows" 144 */ 145 public static final URI OWSNS = buildNSURI( "http://www.opengis.net/ows" ); 146 147 /** 148 * The SLDNS namespace is currently bound to: "http://www.opengis.net/sld" 149 */ 150 public static final URI SLDNS = buildNSURI( "http://www.opengis.net/sld" ); 151 152 /** 153 * The SENS namespace is currently bound to: "http://www.opengis.net/se" 154 */ 155 public static final URI SENS = buildNSURI( "http://www.opengis.net/se" ); 156 157 /** 158 * The OMNS namespace is currently bound to: "http://www.opengis.net/om" 159 */ 160 public static final URI OMNS = buildNSURI( "http://www.opengis.net/om" ); 161 162 /** 163 * The XLNNS namespace is currently bound to: "http://www.w3.org/1999/xlink" 164 */ 165 public static final URI XLNNS = buildNSURI( "http://www.w3.org/1999/xlink" ); 166 167 /** 168 * The CNTXTNS namespace is currently bound to: "http://www.opengis.net/context" 169 */ 170 public static final URI CNTXTNS = buildNSURI( "http://www.opengis.net/context" ); 171 172 /** 173 * The DGCNTXTNS namespace is currently bound to: "http://www.deegree.org/context" 174 */ 175 public static final URI DGCNTXTNS = buildNSURI( "http://www.deegree.org/context" ); 176 177 /** 178 * The DEEGREEWFS namespace is currently bound to: "http://www.deegree.org/wfs" 179 */ 180 public static final URI DEEGREEWFS = buildNSURI( "http://www.deegree.org/wfs" ); 181 182 /** 183 * The DEEGREEWMS namespace is currently bound to: "http://www.deegree.org/wms" 184 */ 185 public static final URI DEEGREEWMS = buildNSURI( "http://www.deegree.org/wms" ); 186 187 /** 188 * The DEEGREEWCS namespace is currently bound to: "http://www.deegree.org/wcs" 189 */ 190 public static final URI DEEGREEWCS = buildNSURI( "http://www.deegree.org/wcs" ); 191 192 /** 193 * The DEEGREECSW namespace is currently bound to: "http://www.deegree.org/csw" 194 */ 195 public static final URI DEEGREECSW = buildNSURI( "http://www.deegree.org/csw" ); 196 197 /** 198 * The DEEGREESOS namespace is currently bound to: "http://www.deegree.org/sos" 199 */ 200 public static final URI DEEGREESOS = buildNSURI( "http://www.deegree.org/sos" ); 201 202 /** 203 * The DEEGREEWAS namespace is currently bound to: "http://www.deegree.org/was" 204 */ 205 public static final URI DEEGREEWAS = buildNSURI( "http://www.deegree.org/was" ); 206 207 /** 208 * The DEEGREEWSS namespace is currently bound to: "http://www.deegree.org/wss" 209 */ 210 public static final URI DEEGREEWSS = buildNSURI( "http://www.deegree.org/wss" ); 211 212 /** 213 * The DEEGREEWMPS namespace is currently bound to: "http://www.deegree.org/wmps" 214 */ 215 public static final URI DEEGREEWMPS = buildNSURI( "http://www.deegree.org/wmps" ); 216 217 /** 218 * The DEEGREEWPVS namespace is currently bound to: "http://www.deegree.org/wpvs" 219 */ 220 public static final URI DEEGREEWPVS = buildNSURI( "http://www.deegree.org/wpvs" ); 221 222 /** 223 * The DEEGREEWPS namespace is currently bound to: "http://www.deegree.org/wps" 224 */ 225 public static final URI DEEGREEWPS = buildNSURI( "http://www.deegree.org/wps" ); 226 227 /** 228 * The DGJDBC namespace is currently bound to: "http://www.deegree.org/jdbc" 229 */ 230 public static final URI DGJDBC = buildNSURI( "http://www.deegree.org/jdbc" ); 231 232 /** 233 * The DGSECNS namespace is currently bound to: "http://www.deegree.org/security" 234 */ 235 public static final URI DGSECNS = buildNSURI( "http://www.deegree.org/security" ); 236 237 /** 238 * The ISO19112NS namespace is currently bound to: "http://www.opengis.net/iso19112" 239 */ 240 public static final URI ISO19112NS = buildNSURI( "http://www.opengis.net/iso19112" ); 241 242 /** 243 * The ISO19115NS namespace is currently bound to: "http://schemas.opengis.net/iso19115full" 244 */ 245 public static final URI ISO19115NS = buildNSURI( "http://schemas.opengis.net/iso19115full" ); 246 247 /** 248 * The ISO19115BRIEFNS namespace is currently bound to: 249 * "http://schemas.opengis.net/iso19115brief" 250 */ 251 public static final URI ISO19115BRIEFNS = buildNSURI( "http://schemas.opengis.net/iso19115brief" ); 252 253 /** 254 * The ISO19119NS namespace is currently bound to: "http://schemas.opengis.net/iso19119" 255 */ 256 public static final URI ISO19119NS = buildNSURI( "http://schemas.opengis.net/iso19119" ); 257 258 /** 259 * The DCNS namespace is currently bound to: "http://purl.org/dc/elements/1.1/" 260 */ 261 public static final URI DCNS = buildNSURI( "http://purl.org/dc/elements/1.1/" ); 262 263 /** 264 * The GDINRW_WSS namespace is currently bound to: "http://www.gdi-nrw.org/wss" 265 */ 266 public static final URI GDINRW_WSS = buildNSURI( "http://www.gdi-nrw.org/wss" ); 267 268 /** 269 * The GDINRW_WAS namespace is currently bound to: "http://www.gdi-nrw.org/was" 270 */ 271 public static final URI GDINRW_WAS = buildNSURI( "http://www.gdi-nrw.org/was" ); 272 273 /** 274 * The WSSSESSIONNS namespace is currently bound to: "http://www.gdi-nrw.org/session" 275 */ 276 public static final URI WSSSESSIONNS = buildNSURI( "http://www.gdi-nrw.org/session" ); 277 278 /** 279 * The XSNS namespace is currently bound to: "http://www.w3.org/2001/XMLSchema" 280 */ 281 public static final URI XSNS = buildNSURI( "http://www.w3.org/2001/XMLSchema" ); 282 283 /** 284 * The XSINS namespace is currently bound to: "http://www.w3.org/2001/XMLSchema-instance" 285 */ 286 public static final URI XSINS = buildNSURI( "http://www.w3.org/2001/XMLSchema-instance" ); 287 288 /** 289 * The SMXMLNS namespace is currently bound to: "http://metadata.dgiwg.org/smXML" 290 */ 291 public static final URI SMXMLNS = buildNSURI( "http://metadata.dgiwg.org/smXML" ); 292 293 /** 294 * THE CTL namespace is currently bound to: "http://www.occamlab.com/ctl". 295 */ 296 public static final URI CTLNS = buildNSURI( "http://www.occamlab.com/ctl" ); 297 298 /** 299 * The XSL namespace is currently bound to: "http://www.w3.org/1999/XSL/Transform". 300 */ 301 public static final URI XSLNS = buildNSURI( "http://www.w3.org/1999/XSL/Transform" ); 302 303 /** 304 * The PARSERS namespace is currently bound to: "http://www.occamlab.com/te/parsers". 305 */ 306 public static final URI PARSERSNS = buildNSURI( "http://www.occamlab.com/te/parsers" ); 307 308 /** 309 * The GDINRW_AUTH namespace is currently bound to: "http://www.gdi-nrw.org/authentication" 310 */ 311 public static final URI GDINRW_AUTH = buildNSURI( "http://www.gdi-nrw.org/authentication" ); 312 313 /** 314 * The GDINRW_SESSION namespace is currently bound to: "http://www.gdi-nrw.org/session" 315 */ 316 public static final URI GDINRW_SESSION = buildNSURI( "http://www.gdi-nrw.org/session" ); 317 318 /** 319 * The WRS namespace is currently bound to: "http://www.opengis.net/cat/wrs" 320 */ 321 public static final URI WRS_EBRIMNS = buildNSURI( "http://www.opengis.net/cat/wrs" ); 322 323 /** 324 * The OASIS namespace is currently bound to: "urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" 325 */ 326 public static final URI OASIS_EBRIMNS = buildNSURI( "urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" ); 327 328 /** 329 * The W3SOAP_ENVELOPE namespace is currently bound to: "http://www.w3.org/2003/05/soap-envelope" 330 */ 331 public static final URI W3SOAP_ENVELOPE = buildNSURI( "http://www.w3.org/2003/05/soap-envelope" ); 332 333 // prefixes 334 /** 335 * The SML prefix is currently assigned to: "sml" 336 */ 337 public static final String SML_PREFIX = "sml"; 338 339 /** 340 * The SOS prefix is currently assigned to: "sos" 341 */ 342 public static final String SOS_PREFIX = "sos"; 343 344 /** 345 * The CSW prefix is currently assigned to: "csw" 346 */ 347 public static final String CSW_PREFIX = "csw"; 348 349 /** 350 * The GML prefix is currently assigned to: "gml" 351 */ 352 public static final String GML_PREFIX = "gml"; 353 354 /** 355 * The CITYGML prefix is currently assigned to: "citygml". 356 */ 357 public static final String CITYGML_PREFIX = "citygml"; 358 359 /** 360 * The WFS prefix is currently assigned to: "wfs" 361 */ 362 public static final String WFS_PREFIX = "wfs"; 363 364 /** 365 * The WFSG prefix is currently assigned to: "wfsg" 366 */ 367 public static final String WFSG_PREFIX = "wfsg"; 368 369 /** 370 * The WCS prefix is currently assigned to: "wcs" 371 */ 372 public static final String WCS_PREFIX = "wcs"; 373 374 /** 375 * The WMS prefix is currently assigned to: "wms" 376 */ 377 public static final String WMS_PREFIX = "wms"; 378 379 /** 380 * The WPVS prefix is currently assigned to: "wpvs" 381 */ 382 public static final String WPVS_PREFIX = "wpvs"; 383 384 /** 385 * The WMPS prefix is currently assigned to: "wmps" 386 */ 387 public static final String WMPS_PREFIX = "wmps"; 388 389 /** 390 * The WPS prefix is currently assigned to: "wps" 391 */ 392 public static final String WPS_PREFIX = "wps"; 393 394 /** 395 * The OGC prefix is currently assigned to: "ogc" 396 */ 397 public static final String OGC_PREFIX = "ogc"; 398 399 /** 400 * The OWS prefix is currently assigned to: "ows" 401 */ 402 public static final String OWS_PREFIX = "ows"; 403 404 /** 405 * The SLD prefix is currently assigned to: "sld" 406 */ 407 public static final String SLD_PREFIX = "sld"; 408 409 /** 410 * The SE prefix is currently assigned to: "se". 411 */ 412 public static final String SE_PREFIX = "se"; 413 414 /** 415 * The XLINK prefix is currently assigned to: "xlink" 416 */ 417 public static final String XLINK_PREFIX = "xlink"; 418 419 /** 420 * The XMLNS prefix is currently assigned to: "xmlns" 421 */ 422 public static final String XMLNS_PREFIX = "xmlns"; 423 424 /** 425 * The XS prefix is currently assigned to: "xs" 426 */ 427 public static final String XS_PREFIX = "xs"; 428 429 /** 430 * The XSI prefix is currently assigned to: "xsi" 431 */ 432 public static final String XSI_PREFIX = "xsi"; 433 434 /** 435 * The CNTXT prefix is currently assigned to: "cntxt" 436 */ 437 public static final String CNTXT_PREFIX = "cntxt"; 438 439 /** 440 * The DGCNTXT prefix is currently assigned to: "dgcntxt" 441 */ 442 public static final String DGCNTXT_PREFIX = "dgcntxt"; 443 444 /** 445 * The DEEGREEWFS prefix is currently assigned to: "deegreewfs" 446 */ 447 public static final String DEEGREEWFS_PREFIX = "deegreewfs"; 448 449 /** 450 * The DEEGREEWMS prefix is currently assigned to: "deegreewms" 451 */ 452 public static final String DEEGREEWMS_PREFIX = "deegreewms"; 453 454 /** 455 * The DEEGREEWCS prefix is currently assigned to: "deegreewcs" 456 */ 457 public static final String DEEGREEWCS_PREFIX = "deegreewcs"; 458 459 /** 460 * The DEEGREECSW prefix is currently assigned to: "deegreecsw" 461 */ 462 public static final String DEEGREECSW_PREFIX = "deegreecsw"; 463 464 /** 465 * The DEEGREESOS prefix is currently assigned to: "deegreesos" 466 */ 467 public static final String DEEGREESOS_PREFIX = "deegreesos"; 468 469 /** 470 * The DEEGREEWAS prefix is currently assigned to: "deegreewas" 471 */ 472 public static final String DEEGREEWAS_PREFIX = "deegreewas"; 473 474 /** 475 * The DEEGREEWSS prefix is currently assigned to: "deegreewss" 476 */ 477 public static final String DEEGREEWSS_PREFIX = "deegreewss"; 478 479 /** 480 * The DEEGREEWMPS prefix is currently assigned to: "deegreewmps" 481 */ 482 public static final String DEEGREEWMPS_PREFIX = "deegreewmps"; 483 484 /** 485 * The DEEGREEWPS prefix is currently assigned to: "deegreewps" 486 */ 487 public static final String DEEGREEWPS_PREFIX = "deegreewps"; 488 489 /** 490 * The DEEGREEWPVS prefix is currently assigned to: "deegreewpvs" 491 */ 492 public static final String DEEGREEWPVS_PREFIX = "deegreewpvs"; 493 494 /** 495 * The DGJDBC prefix is currently assigned to: "dgjdbc" 496 */ 497 public static final String DGJDBC_PREFIX = "dgjdbc"; 498 499 /** 500 * The DGSEC prefix is currently assigned to: "dgsec" 501 */ 502 public static final String DGSEC_PREFIX = "dgsec"; 503 504 /** 505 * The ISO19112 prefix is currently assigned to: "iso19112" 506 */ 507 public static final String ISO19112_PREFIX = "iso19112"; 508 509 /** 510 * The ISO19115 prefix is currently assigned to: "iso19115" 511 */ 512 public static final String ISO19115_PREFIX = "iso19115"; 513 514 /** 515 * The ISO19115BRIEF prefix is currently assigned to: "iso19115brief" 516 */ 517 public static final String ISO19115BRIEF_PREFIX = "iso19115brief"; 518 519 /** 520 * The ISO19119 prefix is currently assigned to: "iso19119" 521 */ 522 public static final String ISO19119_PREFIX = "iso19119"; 523 524 /** 525 * The DC prefix is currently assigned to: "dc" 526 */ 527 public static final String DC_PREFIX = "dc"; 528 529 /** 530 * The GDINRWWSS prefix is currently assigned to: "wss" 531 */ 532 public static final String GDINRWWSS_PREFIX = "wss"; 533 534 /** 535 * The GDINRWWAS prefix is currently assigned to: "was" 536 */ 537 public static final String GDINRWWAS_PREFIX = "was"; 538 539 /** 540 * The WSSSESSION prefix is currently assigned to: "wsssession" 541 */ 542 public static final String WSSSESSION_PREFIX = "wsssession"; 543 544 /** 545 * The OMNS prefix is currently assigned to: "om" 546 */ 547 public static final String OMNS_PREFIX = "om"; 548 549 /** 550 * The SMXML prefix is currently assigned to: "smXML" 551 */ 552 public static final String SMXML_PREFIX = "smXML"; 553 554 /** 555 * The CTL prefix is currently assigned to: "ctl" 556 */ 557 public static final String CTL_PREFIX = "ctl"; 558 559 /** 560 * The CTL prefix is currently assigned to: "xsl" 561 */ 562 public static final String XSL_PREFIX = "xsl"; 563 564 /** 565 * The CTL prefix is currently assigned to: "parsers" 566 */ 567 public static final String PARSERS_PREFIX = "parsers"; 568 569 /** 570 * The GDINRW_AUTH prefix is currently assigned to: "authn" 571 */ 572 public static final String GDINRW_AUTH_PREFIX = "authn"; 573 574 /** 575 * The GDINRW_SESSION prefix is currently assigned to: "sessn" 576 */ 577 public static final String GDINRW_SESSION_PREFIX = "sessn"; 578 579 /** 580 * The GDINRW_SESSION prefix is currently assigned to: "wrs" 581 */ 582 public static final String WRS_EBRIM_PREFIX = "wrs"; 583 584 /** 585 * The OASIS_EBRIM prefix is currently assigned to: "rim" 586 */ 587 public static final String OASIS_EBRIM_PREFIX = "rim"; 588 589 /** 590 * The W3SOAP_ENVELOPE prefix is currently assigned to: "soap" 591 */ 592 public static final String W3SOAP_ENVELOPE_PREFIX = "soap"; 593 594 595 596 597 private static NamespaceContext nsContext = null; 598 599 /** 600 * @param namespace 601 * @return Returns the uri for the passed namespace. 602 */ 603 public static URI buildNSURI( String namespace ) { 604 URI uri = null; 605 try { 606 uri = new URI( namespace ); 607 } catch ( URISyntaxException e ) { 608 BootLogger.logError( "Invalid common namespace URI '" + namespace + "':" 609 + e.getMessage(), e ); 610 } 611 return uri; 612 } 613 614 /** 615 * Returns the <code>NamespaceContext</code> for common namespaces known be deegree. 616 * 617 * @return the NamespaceContext for all common namespaces 618 */ 619 public static NamespaceContext getNamespaceContext() { 620 if ( nsContext == null ) { 621 nsContext = new NamespaceContext(); 622 nsContext.addNamespace( SML_PREFIX, SMLNS ); 623 nsContext.addNamespace( SOS_PREFIX, SOSNS ); 624 nsContext.addNamespace( CSW_PREFIX, CSWNS ); 625 nsContext.addNamespace( GML_PREFIX, GMLNS ); 626 nsContext.addNamespace( CITYGML_PREFIX, CITYGMLNS ); 627 nsContext.addNamespace( WFS_PREFIX, WFSNS ); 628 nsContext.addNamespace( WFSG_PREFIX, WFSGNS ); 629 nsContext.addNamespace( WCS_PREFIX, WCSNS ); 630 nsContext.addNamespace( WMS_PREFIX, WMSNS ); 631 nsContext.addNamespace( WPVS_PREFIX, WMPSNS ); 632 nsContext.addNamespace( WPVS_PREFIX, WPVSNS ); 633 nsContext.addNamespace( WPS_PREFIX, WPSNS ); 634 nsContext.addNamespace( OGC_PREFIX, OGCNS ); 635 nsContext.addNamespace( OWS_PREFIX, OWSNS ); 636 nsContext.addNamespace( SLD_PREFIX, SLDNS ); 637 nsContext.addNamespace( SE_PREFIX, SENS ); 638 nsContext.addNamespace( XLINK_PREFIX, XLNNS ); 639 nsContext.addNamespace( XS_PREFIX, XSNS ); 640 nsContext.addNamespace( XSI_PREFIX, XSINS ); 641 nsContext.addNamespace( CNTXT_PREFIX, CNTXTNS ); 642 nsContext.addNamespace( DGCNTXT_PREFIX, DGCNTXTNS ); 643 nsContext.addNamespace( DEEGREEWFS_PREFIX, DEEGREEWFS ); 644 nsContext.addNamespace( DEEGREEWMS_PREFIX, DEEGREEWMS ); 645 nsContext.addNamespace( DEEGREEWCS_PREFIX, DEEGREEWCS ); 646 nsContext.addNamespace( DEEGREECSW_PREFIX, DEEGREECSW ); 647 nsContext.addNamespace( DEEGREESOS_PREFIX, DEEGREESOS ); 648 nsContext.addNamespace( DEEGREEWAS_PREFIX, DEEGREEWAS ); 649 nsContext.addNamespace( DEEGREEWSS_PREFIX, DEEGREEWSS ); 650 nsContext.addNamespace( DEEGREEWPVS_PREFIX, DEEGREEWPVS ); 651 nsContext.addNamespace( DEEGREEWMPS_PREFIX, DEEGREEWMPS ); 652 nsContext.addNamespace( DEEGREEWPS_PREFIX, DEEGREEWPS ); 653 nsContext.addNamespace( DGSEC_PREFIX, DGSECNS ); 654 nsContext.addNamespace( DGJDBC_PREFIX, DGJDBC ); 655 nsContext.addNamespace( ISO19112_PREFIX, ISO19112NS ); 656 nsContext.addNamespace( ISO19115_PREFIX, ISO19115NS ); 657 nsContext.addNamespace( ISO19115BRIEF_PREFIX, ISO19115BRIEFNS ); 658 nsContext.addNamespace( ISO19119_PREFIX, ISO19119NS ); 659 nsContext.addNamespace( DC_PREFIX, DCNS ); 660 nsContext.addNamespace( WSSSESSION_PREFIX, WSSSESSIONNS ); 661 nsContext.addNamespace( GDINRWWAS_PREFIX, GDINRW_WAS ); 662 nsContext.addNamespace( GDINRWWSS_PREFIX, GDINRW_WSS ); 663 nsContext.addNamespace( OMNS_PREFIX, OMNS ); 664 nsContext.addNamespace( SMXML_PREFIX, SMXMLNS ); 665 nsContext.addNamespace( GDINRW_AUTH_PREFIX, GDINRW_AUTH); 666 nsContext.addNamespace( CTL_PREFIX, CTLNS ); 667 nsContext.addNamespace( XSL_PREFIX, XSLNS ); 668 nsContext.addNamespace( PARSERS_PREFIX, PARSERSNS ); 669 nsContext.addNamespace( WRS_EBRIM_PREFIX, WRS_EBRIMNS ); 670 nsContext.addNamespace( OASIS_EBRIM_PREFIX, OASIS_EBRIMNS ); 671 nsContext.addNamespace( W3SOAP_ENVELOPE_PREFIX, W3SOAP_ENVELOPE ); 672 } 673 return nsContext; 674 } 675 676 @Override 677 public String toString() { 678 return nsContext.getURI( WPS_PREFIX ).toString(); 679 } 680 681 }