Source Code Cross Referenced for DemoData.java in  » GIS » GeoTools-2.4.1 » org » geotools » demo » introduction » 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 » GeoTools 2.4.1 » org.geotools.demo.introduction 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         *    GeoTools - OpenSource mapping toolkit
003:         *    http://geotools.org
004:         *    (C) 2006, GeoTools Project Managment Committee (PMC)
005:         *    (C) 2006, Adrian Custer, assigned to the PMC.
006:         *
007:         *    This file is hereby placed into the Public Domain. This means anyone is
008:         *    free to do whatever they wish with this file. Use it well and enjoy!
009:         */
010:
011:        package org.geotools.demo.introduction;
012:
013:        import java.util.HashMap;
014:        import java.util.LinkedList;
015:        import java.util.List;
016:        import java.util.Map;
017:
018:        import org.geotools.catalog.Catalog;
019:        import org.geotools.catalog.defaults.DefaultCatalog;
020:
021:        /**
022:         * A demo class illustrating some of the various parts of the geotools api.
023:         * 
024:         * @author Adrian Custer, gnuGIS
025:         * 
026:         * @version 0.03
027:         * @since   2.3-M0
028:         *
029:         */
030:        public class DemoData {
031:
032:            /**
033:             * The List of Features used to store data outside the localCatalog.
034:             */
035:            List theFeatureList;
036:            //    List <Feature> theFeatureList;
037:
038:            /**
039:             * The List of FeatureCollections used to store data outside the localCatalog.
040:             */
041:            List theFeatureCollectionList;
042:            //    List <FeatureCollection> theFeatureCollectionList;
043:
044:            /**
045:             * The List of DataStores used to store data outside the localCatalog.
046:             */
047:            List theDataStoreList;
048:            //    List <DataStore> theDataStoreList;
049:
050:            /**
051:             * The local Catalog used to store the services pointing to data in data stores.
052:             */
053:            Catalog localCatalog;
054:
055:            /**
056:             * A Network Catalog used to store the services pointing to data on the network.
057:             */
058:            Catalog aNetworkCatalog;
059:
060:            /**
061:             * The Map of Styles used to render the different layers stored as:
062:             *   String name, Style s.
063:             */
064:            Map theStyleMap;
065:
066:            /**
067:             * Creates the demo class and an underlying catalog for storing data.
068:             */
069:            public DemoData() {
070:                theFeatureList = new LinkedList();
071:                theFeatureCollectionList = new LinkedList();
072:                theDataStoreList = new LinkedList();
073:                localCatalog = new DefaultCatalog();
074:                aNetworkCatalog = new DefaultCatalog();//TODO: How is this done?
075:                theStyleMap = new HashMap();
076:            }
077:
078:            /**
079:             * @return The List used to store data as Features.
080:             */
081:            public List getFeaturenList() {
082:                return theFeatureList;
083:            }
084:
085:            /**
086:             * @return The List used to store data in FeatureCollections.
087:             */
088:            public List getFeatureCollectionList() {
089:                return theFeatureCollectionList;
090:            }
091:
092:            /**
093:             * @return The List used to store data in DataStores.
094:             */
095:            public List getDataStoreList() {
096:                return theDataStoreList;
097:            }
098:
099:            /**
100:             * @return The catalog used to store data.
101:             */
102:            public Catalog getLocalCatalog() {
103:                return localCatalog;
104:            }
105:
106:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.