01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.geoserver.ows.xml.v1_0;
06:
07: import net.opengis.ows.ExceptionReportType;
08: import org.geotools.xml.AbstractComplexEMFBinding;
09: import org.geotools.xml.ElementInstance;
10: import org.geotools.xml.Node;
11: import javax.xml.namespace.QName;
12:
13: /**
14: * Binding object for the element http://www.opengis.net/ows:ExceptionReport.
15: *
16: * <p>
17: * <pre>
18: * <code>
19: * <element name="ExceptionReport">
20: * <annotation>
21: * <documentation>Report message returned to the client that requested any OWS operation when the server detects an error while processing that operation request. </documentation>
22: * </annotation>
23: * <complexType>
24: * <sequence>
25: * <element maxOccurs="unbounded" ref="ows:Exception">
26: * <annotation>
27: * <documentation>Unordered list of one or more Exception elements that each describes an error. These Exception elements shall be interpreted by clients as being independent of one another (not hierarchical). </documentation>
28: * </annotation>
29: * </element>
30: * </sequence>
31: * <attribute name="version" type="string" use="required">
32: * <annotation>
33: * <documentation>Specification version for OWS operation. The string value shall contain one x.y.z "version" value (e.g., "2.1.3"). A version number shall contain three non-negative integers separated by decimal points, in the form "x.y.z". The integers y and z shall not exceed 99. Each version shall be for the Implementation Specification (document) and the associated XML Schemas to which requested operations will conform. An Implementation Specification version normally specifies XML Schemas against which an XML encoded operation response must conform and should be validated. See Version negotiation subclause for more information. </documentation>
34: * </annotation>
35: * </attribute>
36: * <attribute name="language" type="language" use="optional">
37: * <annotation>
38: * <documentation>Identifier of the language used by all included exception text values. These language identifiers shall be as specified in IETF RFC 1766. When this attribute is omitted, the language used is not identified. </documentation>
39: * </annotation>
40: * </attribute>
41: * </complexType>
42: * </element>
43: *
44: * </code>
45: * </pre>
46: * </p>
47: *
48: * @generated
49: */
50: public class ExceptionReportBinding extends AbstractComplexEMFBinding {
51: /**
52: * @generated
53: */
54: public QName getTarget() {
55: return OWS.EXCEPTIONREPORT;
56: }
57:
58: /**
59: * <!-- begin-user-doc -->
60: * <!-- end-user-doc -->
61: *
62: * @generated modifiable
63: */
64: public Class getType() {
65: return ExceptionReportType.class;
66: }
67:
68: /**
69: * <!-- begin-user-doc -->
70: * <!-- end-user-doc -->
71: *
72: * @generated modifiable
73: */
74: public Object parse(ElementInstance instance, Node node,
75: Object value) throws Exception {
76: //TODO: implement
77: return null;
78: }
79: }
|