Source Code Cross Referenced for DescribeFeatureTypeTypeBinding.java in  » GIS » GeoServer » org » geoserver » wfs » xml » v1_0_0 » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoServer » org.geoserver.wfs.xml.v1_0_0 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


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_0_0;
006:
007:        import net.opengis.wfs.DescribeFeatureTypeType;
008:        import net.opengis.wfs.WfsFactory;
009:        import org.geotools.xml.AbstractComplexBinding;
010:        import org.geotools.xml.ElementInstance;
011:        import org.geotools.xml.Node;
012:        import javax.xml.namespace.QName;
013:
014:        /**
015:         * Binding object for the type http://www.opengis.net/wfs:DescribeFeatureTypeType.
016:         *
017:         * <p>
018:         *        <pre>
019:         *         <code>
020:         *  &lt;xsd:complexType name="DescribeFeatureTypeType"&gt;
021:         *                  &lt;xsd:annotation&gt;
022:         *              &lt;xsd:documentation&gt;             The DescribeFeatureType
023:         *              operation allows a client application             to request
024:         *              that a Web Feature Service describe one or more
025:         *              feature types.   A Web Feature Service must be able to
026:         *              generate             feature descriptions as valid GML2
027:         *              application schemas.              The schemas generated by
028:         *              the DescribeFeatureType operation can             be used by
029:         *              a client application to validate the output.
030:         *              Feature instances within the WFS interface must be specified
031:         *              using GML2.  The schema of feature instances specified
032:         *              within             the WFS interface must validate against
033:         *              the feature schemas              generated by the
034:         *              DescribeFeatureType request.          &lt;/xsd:documentation&gt;
035:         *      &lt;/xsd:annotation&gt;       &lt;xsd:sequence&gt;          &lt;xsd:element
036:         *              maxOccurs="unbounded" minOccurs="0" name="TypeName"
037:         *              type="xsd:QName"&gt;             &lt;xsd:annotation&gt;
038:         *                      &lt;xsd:documentation&gt;                   The TypeName
039:         *                      element is used to enumerate the feature types
040:         *                      to be described.  If no TypeName elements are
041:         *                      specified                   then all features should
042:         *                      be described.                &lt;/xsd:documentation&gt;
043:         *              &lt;/xsd:annotation&gt;          &lt;/xsd:element&gt;
044:         *      &lt;/xsd:sequence&gt;       &lt;xsd:attribute fixed="1.0.0" name="version"
045:         *          type="xsd:string" use="required"/&gt;       &lt;xsd:attribute
046:         *          fixed="WFS" name="service" type="xsd:string" use="required"/&gt;
047:         *          &lt;xsd:attribute default="XMLSCHEMA" name="outputFormat"
048:         *          type="xsd:string" use="optional"&gt;          &lt;xsd:annotation&gt;
049:         *                  &lt;xsd:documentation&gt;                The outputFormat
050:         *                  attribute is used to specify what schema
051:         *                  description language should be used to describe
052:         *                  features.                The default value of XMLSCHEMA
053:         *                  means that the Web Feature                Service must
054:         *                  generate a GML2 application schema that can
055:         *                  be used to validate the GML2 output of a GetFeature
056:         *                  request                or feature instances specified in
057:         *                  Transaction operations.             &lt;/xsd:documentation&gt;
058:         *          &lt;/xsd:annotation&gt;       &lt;/xsd:attribute&gt;    &lt;/xsd:complexType&gt;
059:         *
060:         *          </code>
061:         *         </pre>
062:         * </p>
063:         *
064:         * @generated
065:         */
066:        public class DescribeFeatureTypeTypeBinding extends
067:                AbstractComplexBinding {
068:            WfsFactory wfsfactory;
069:
070:            public DescribeFeatureTypeTypeBinding(WfsFactory wfsfactory) {
071:                this .wfsfactory = wfsfactory;
072:            }
073:
074:            /**
075:             * @generated
076:             */
077:            public QName getTarget() {
078:                return WFS.DESCRIBEFEATURETYPETYPE;
079:            }
080:
081:            /**
082:             * <!-- begin-user-doc -->
083:             * <!-- end-user-doc -->
084:             *
085:             * @generated modifiable
086:             */
087:            public Class getType() {
088:                return DescribeFeatureTypeType.class;
089:            }
090:
091:            /**
092:             * <!-- begin-user-doc -->
093:             * <!-- end-user-doc -->
094:             *
095:             * @generated modifiable
096:             */
097:            public Object parse(ElementInstance instance, Node node,
098:                    Object value) throws Exception {
099:                DescribeFeatureTypeType describeFeatureType = wfsfactory
100:                        .createDescribeFeatureTypeType();
101:
102:                WFSBindingUtils.service(describeFeatureType, node);
103:                WFSBindingUtils.version(describeFeatureType, node);
104:                WFSBindingUtils.outputFormat(describeFeatureType, node,
105:                        "XMLSCHEMA");
106:
107:                describeFeatureType.getTypeName().addAll(
108:                        node.getChildValues(QName.class));
109:
110:                return describeFeatureType;
111:            }
112:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.