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.wfs.xml.v1_1_0;
006:
007: import net.opengis.wfs.WfsFactory;
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/wfs:FeatureTypeType.
015: *
016: * <p>
017: * <pre>
018: * <code>
019: * <xsd:complexType name="FeatureTypeType">
020: * <xsd:annotation>
021: * <xsd:documentation>
022: * An element of this type that describes a feature in an application
023: * namespace shall have an xml xmlns specifier, e.g.
024: * xmlns:bo="http://www.BlueOx.org/BlueOx"
025: * </xsd:documentation>
026: * </xsd:annotation>
027: * <xsd:sequence>
028: * <xsd:element name="Name" type="xsd:QName">
029: * <xsd:annotation>
030: * <xsd:documentation>
031: * Name of this feature type, including any namespace prefix
032: * </xsd:documentation>
033: * </xsd:annotation>
034: * </xsd:element>
035: * <xsd:element name="Title" type="xsd:string">
036: * <xsd:annotation>
037: * <xsd:documentation>
038: * Title of this feature type, normally used for display
039: * to a human.
040: * </xsd:documentation>
041: * </xsd:annotation>
042: * </xsd:element>
043: * <xsd:element minOccurs="0" name="Abstract" type="xsd:string">
044: * <xsd:annotation>
045: * <xsd:documentation>
046: * Brief narrative description of this feature type, normally
047: * used for display to a human.
048: * </xsd:documentation>
049: * </xsd:annotation>
050: * </xsd:element>
051: * <xsd:element maxOccurs="unbounded" minOccurs="0" ref="ows:Keywords"/>
052: * <xsd:choice>
053: * <xsd:sequence>
054: * <xsd:element name="DefaultSRS" type="xsd:anyURI">
055: * <xsd:annotation>
056: * <xsd:documentation>
057: * The DefaultSRS element indicated which spatial
058: * reference system shall be used by a WFS to
059: * express the state of a spatial feature if not
060: * otherwise explicitly identified within a query
061: * or transaction request. The SRS may be indicated
062: * using either the EPSG form (EPSG:posc code) or
063: * the URL form defined in subclause 4.3.2 of
064: * refernce[2].
065: * </xsd:documentation>
066: * </xsd:annotation>
067: * </xsd:element>
068: * <xsd:element maxOccurs="unbounded" minOccurs="0"
069: * name="OtherSRS" type="xsd:anyURI">
070: * <xsd:annotation>
071: * <xsd:documentation>
072: * The OtherSRS element is used to indicate other
073: * supported SRSs within query and transaction
074: * operations. A supported SRS means that the
075: * WFS supports the transformation of spatial
076: * properties between the OtherSRS and the internal
077: * storage SRS. The effects of such transformations
078: * must be considered when determining and declaring
079: * the guaranteed data accuracy.
080: * </xsd:documentation>
081: * </xsd:annotation>
082: * </xsd:element>
083: * </xsd:sequence>
084: * <xsd:element name="NoSRS">
085: * <xsd:complexType/>
086: * </xsd:element>
087: * </xsd:choice>
088: * <xsd:element minOccurs="0" name="Operations" type="wfs:OperationsType"/>
089: * <xsd:element minOccurs="0" name="OutputFormats" type="wfs:OutputFormatListType"/>
090: * <xsd:element maxOccurs="unbounded" minOccurs="1" ref="ows:WGS84BoundingBox"/>
091: * <xsd:element maxOccurs="unbounded" minOccurs="0"
092: * name="MetadataURL" type="wfs:MetadataURLType"/>
093: * </xsd:sequence>
094: * </xsd:complexType>
095: *
096: * </code>
097: * </pre>
098: * </p>
099: *
100: * @generated
101: */
102: public class FeatureTypeTypeBinding extends AbstractComplexBinding {
103: WfsFactory wfsfactory;
104:
105: public FeatureTypeTypeBinding(WfsFactory wfsfactory) {
106: this .wfsfactory = wfsfactory;
107: }
108:
109: /**
110: * @generated
111: */
112: public QName getTarget() {
113: return WFS.FEATURETYPETYPE;
114: }
115:
116: /**
117: * <!-- begin-user-doc -->
118: * <!-- end-user-doc -->
119: *
120: * @generated modifiable
121: */
122: public Class getType() {
123: return null;
124: }
125:
126: /**
127: * <!-- begin-user-doc -->
128: * <!-- end-user-doc -->
129: *
130: * @generated modifiable
131: */
132: public Object parse(ElementInstance instance, Node node,
133: Object value) throws Exception {
134: //TODO: implement
135: return null;
136: }
137: }
|