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:ContactType.
15: *
16: * <p>
17: * <pre>
18: * <code>
19: * <complexType name="ContactType">
20: * <annotation>
21: * <documentation>Information required to enable contact with the responsible person and/or organization. </documentation>
22: * <documentation>For OWS use in the service metadata document, the optional hoursOfService and contactInstructions elements were retained, as possibly being useful in the ServiceProvider section. </documentation>
23: * </annotation>
24: * <sequence>
25: * <element minOccurs="0" name="Phone" type="ows:TelephoneType">
26: * <annotation>
27: * <documentation>Telephone numbers at which the organization or individual may be contacted. </documentation>
28: * </annotation>
29: * </element>
30: * <element minOccurs="0" name="Address" type="ows:AddressType">
31: * <annotation>
32: * <documentation>Physical and email address at which the organization or individual may be contacted. </documentation>
33: * </annotation>
34: * </element>
35: * <element minOccurs="0" name="OnlineResource" type="ows:OnlineResourceType">
36: * <annotation>
37: * <documentation>On-line information that can be used to contact the individual or organization. OWS specifics: The xlink:href attribute in the xlink:simpleLink attribute group shall be used to reference this resource. Whenever practical, the xlink:href attribute with type anyURI should be a URL from which more contact information can be electronically retrieved. The xlink:title attribute with type "string" can be used to name this set of information. The other attributes in the xlink:simpleLink attribute group should not be used. </documentation>
38: * </annotation>
39: * </element>
40: * <element minOccurs="0" name="HoursOfService" type="string">
41: * <annotation>
42: * <documentation>Time period (including time zone) when individuals can contact the organization or individual. </documentation>
43: * </annotation>
44: * </element>
45: * <element minOccurs="0" name="ContactInstructions" type="string">
46: * <annotation>
47: * <documentation>Supplemental instructions on how or when to contact the individual or organization. </documentation>
48: * </annotation>
49: * </element>
50: * </sequence>
51: * </complexType>
52: *
53: * </code>
54: * </pre>
55: * </p>
56: *
57: * @generated
58: */
59: public class ContactTypeBinding extends AbstractComplexBinding {
60: OwsFactory owsfactory;
61:
62: public ContactTypeBinding(OwsFactory owsfactory) {
63: this .owsfactory = owsfactory;
64: }
65:
66: /**
67: * @generated
68: */
69: public QName getTarget() {
70: return OWS.CONTACTTYPE;
71: }
72:
73: /**
74: * <!-- begin-user-doc -->
75: * <!-- end-user-doc -->
76: *
77: * @generated modifiable
78: */
79: public Class getType() {
80: return null;
81: }
82:
83: /**
84: * <!-- begin-user-doc -->
85: * <!-- end-user-doc -->
86: *
87: * @generated modifiable
88: */
89: public Object parse(ElementInstance instance, Node node,
90: Object value) throws Exception {
91: //TODO: implement
92: return null;
93: }
94: }
|