svn-gvsig-desktop / tmp / trunk / servidor / WorkSpace_Servidor / ows-parsers / src / org / tigris / frogs / parser / ows / impl0_3_20 / OWSXmlParser.java @ 26481
History | View | Annotate | Download (1.75 KB)
1 |
/*
|
---|---|
2 |
* ============================================================================
|
3 |
* Copyright 2006 Government of Canada
|
4 |
*
|
5 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
6 |
* you may not use this file except in compliance with the License.
|
7 |
* You may obtain a copy of the License at
|
8 |
*
|
9 |
* http://www.apache.org/licenses/LICENSE-2.0
|
10 |
*
|
11 |
* Unless required by applicable law or agreed to in writing, software
|
12 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
13 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14 |
* See the License for the specific language governing permissions and
|
15 |
* limitations under the License.
|
16 |
* ============================================================================
|
17 |
*/
|
18 |
/*
|
19 |
$Id: WMSXmlParser.java 4976 2006-07-25 12:45:38Z caronr $
|
20 |
$HeadURL: http://nlwis-ms.agr.gc.ca/data/SVN/RESEARCH/sandbox/frogs/wps-plugin-0.4.0/src/org/tigris/frogs/parser/wpsint/WMSXmlParser.java $
|
21 |
*/
|
22 |
|
23 |
|
24 |
package org.tigris.frogs.parser.ows.impl0_3_20; |
25 |
|
26 |
import javax.xml.bind.JAXBException; |
27 |
|
28 |
import org.tigris.frogs.jaxb.NamespacePrefixMapperImpl; |
29 |
import org.tigris.frogs.jaxb.Parser; |
30 |
|
31 |
import com.sun.xml.bind.marshaller.NamespacePrefixMapper; |
32 |
|
33 |
/**
|
34 |
* To be documented
|
35 |
*
|
36 |
*/
|
37 |
public class OWSXmlParser extends Parser { |
38 |
|
39 |
private final static String netParser = "net.schema.ows.impl0_3_20"; |
40 |
|
41 |
/**
|
42 |
* Contruct the new GDAS Analyse
|
43 |
*
|
44 |
* @throws JAXBException
|
45 |
*/
|
46 |
public OWSXmlParser() throws JAXBException { |
47 |
super(netParser);
|
48 |
} |
49 |
|
50 |
/**
|
51 |
* Add this namespace to the curent namespace checking
|
52 |
*
|
53 |
* @return NamespacePrefixMapper
|
54 |
*/
|
55 |
public NamespacePrefixMapper getNamespacePrefixMapper() {
|
56 |
return new OWSNamespacePrefixMapperImpl(); |
57 |
} |
58 |
|
59 |
} |