/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2002-2008, Open Source Geospatial Foundation (OSGeo)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotools.ows.bindings;
import net.opengis.ows10.ContactType;
import net.opengis.ows10.Ows10Factory;
import javax.xml.namespace.QName;
import org.geotools.ows.OWS;
import org.geotools.xml.*;
/**
* Binding object for the type http://www.opengis.net/ows:ContactType.
*
* <p>
* <pre>
* <code>
* <complexType name="ContactType">
* <annotation>
* <documentation>Information required to enable contact with the responsible person and/or organization. </documentation>
* <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>
* </annotation>
* <sequence>
* <element minOccurs="0" name="Phone" type="ows:TelephoneType">
* <annotation>
* <documentation>Telephone numbers at which the organization or individual may be contacted. </documentation>
* </annotation>
* </element>
* <element minOccurs="0" name="Address" type="ows:AddressType">
* <annotation>
* <documentation>Physical and email address at which the organization or individual may be contacted. </documentation>
* </annotation>
* </element>
* <element minOccurs="0" name="OnlineResource" type="ows:OnlineResourceType">
* <annotation>
* <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>
* </annotation>
* </element>
* <element minOccurs="0" name="HoursOfService" type="string">
* <annotation>
* <documentation>Time period (including time zone) when individuals can contact the organization or individual. </documentation>
* </annotation>
* </element>
* <element minOccurs="0" name="ContactInstructions" type="string">
* <annotation>
* <documentation>Supplemental instructions on how or when to contact the individual or organization. </documentation>
* </annotation>
* </element>
* </sequence>
* </complexType>
*
* </code>
* </pre>
* </p>
*
* @generated
*
*
* @source $URL$
*/
public class ContactTypeBinding extends AbstractComplexEMFBinding {
public ContactTypeBinding(Ows10Factory factory) {
super(factory);
}
/**
* @generated
*/
public QName getTarget() {
return OWS.ContactType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
public Class getType() {
return super.getType();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
public Object parse(ElementInstance instance, Node node, Object value)
throws Exception {
//TODO: implement and remove call to super
return super.parse(instance, node, value);
}
}