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.OwsFactory;
08: import org.geotools.xml.AbstractComplexBinding;
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 type http://www.opengis.net/ows:CodeType.
15: *
16: * <p>
17: * <pre>
18: * <code>
19: * <complexType name="CodeType">
20: * <annotation>
21: * <documentation>Name or code with an (optional) authority. If the codeSpace attribute is present, its value should reference a dictionary, thesaurus, or authority for the name or code, such as the organisation who assigned the value, or the dictionary from which it is taken. </documentation>
22: * <documentation>Type copied from basicTypes.xsd of GML 3 with documentation edited, for possible use outside the ServiceIdentification section of a service metadata document. </documentation>
23: * </annotation>
24: * <simpleContent>
25: * <extension base="string">
26: * <attribute name="codeSpace" type="anyURI" use="optional"/>
27: * </extension>
28: * </simpleContent>
29: * </complexType>
30: *
31: * </code>
32: * </pre>
33: * </p>
34: *
35: * @generated
36: */
37: public class CodeTypeBinding extends AbstractComplexBinding {
38: OwsFactory owsfactory;
39:
40: public CodeTypeBinding(OwsFactory owsfactory) {
41: this .owsfactory = owsfactory;
42: }
43:
44: /**
45: * @generated
46: */
47: public QName getTarget() {
48: return OWS.CODETYPE;
49: }
50:
51: /**
52: * <!-- begin-user-doc -->
53: * <!-- end-user-doc -->
54: *
55: * @generated modifiable
56: */
57: public Class getType() {
58: return null;
59: }
60:
61: /**
62: * <!-- begin-user-doc -->
63: * <!-- end-user-doc -->
64: *
65: * @generated modifiable
66: */
67: public Object parse(ElementInstance instance, Node node,
68: Object value) throws Exception {
69: //TODO: implement
70: return null;
71: }
72: }
|