001: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
002: * This code is licensed under the GPL 2.0 license, availible at the root
003: * application directory.
004: */
005: package org.geoserver.ows.xml.v1_0;
006:
007: import net.opengis.ows.OwsFactory;
008: import org.geotools.xml.AbstractComplexBinding;
009: import org.geotools.xml.ElementInstance;
010: import org.geotools.xml.Node;
011: import javax.xml.namespace.QName;
012:
013: /**
014: * Binding object for the type http://www.opengis.net/ows:AddressType.
015: *
016: * <p>
017: * <pre>
018: * <code>
019: * <complexType name="AddressType">
020: * <annotation>
021: * <documentation>Location of the responsible individual or organization. </documentation>
022: * </annotation>
023: * <sequence>
024: * <element maxOccurs="unbounded" minOccurs="0"
025: * name="DeliveryPoint" type="string">
026: * <annotation>
027: * <documentation>Address line for the location. </documentation>
028: * </annotation>
029: * </element>
030: * <element minOccurs="0" name="City" type="string">
031: * <annotation>
032: * <documentation>City of the location. </documentation>
033: * </annotation>
034: * </element>
035: * <element minOccurs="0" name="AdministrativeArea" type="string">
036: * <annotation>
037: * <documentation>State or province of the location. </documentation>
038: * </annotation>
039: * </element>
040: * <element minOccurs="0" name="PostalCode" type="string">
041: * <annotation>
042: * <documentation>ZIP or other postal code. </documentation>
043: * </annotation>
044: * </element>
045: * <element minOccurs="0" name="Country" type="string">
046: * <annotation>
047: * <documentation>Country of the physical address. </documentation>
048: * </annotation>
049: * </element>
050: * <element maxOccurs="unbounded" minOccurs="0"
051: * name="ElectronicMailAddress" type="string">
052: * <annotation>
053: * <documentation>Address of the electronic mailbox of the responsible organization or individual. </documentation>
054: * </annotation>
055: * </element>
056: * </sequence>
057: * </complexType>
058: *
059: * </code>
060: * </pre>
061: * </p>
062: *
063: * @generated
064: */
065: public class AddressTypeBinding extends AbstractComplexBinding {
066: OwsFactory owsfactory;
067:
068: public AddressTypeBinding(OwsFactory owsfactory) {
069: this .owsfactory = owsfactory;
070: }
071:
072: /**
073: * @generated
074: */
075: public QName getTarget() {
076: return OWS.ADDRESSTYPE;
077: }
078:
079: /**
080: * <!-- begin-user-doc -->
081: * <!-- end-user-doc -->
082: *
083: * @generated modifiable
084: */
085: public Class getType() {
086: return null;
087: }
088:
089: /**
090: * <!-- begin-user-doc -->
091: * <!-- end-user-doc -->
092: *
093: * @generated modifiable
094: */
095: public Object parse(ElementInstance instance, Node node,
096: Object value) throws Exception {
097: //TODO: implement
098: return null;
099: }
100: }
|