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


001:        /*
002:         *    GeoTools - OpenSource mapping toolkit
003:         *    http://geotools.org
004:         *    (C) 2003-2006, Geotools Project Managment Committee (PMC)
005:         *
006:         *    This library is free software; you can redistribute it and/or
007:         *    modify it under the terms of the GNU Lesser General Public
008:         *    License as published by the Free Software Foundation; either
009:         *    version 2.1 of the License, or (at your option) any later version.
010:         *
011:         *    This library is distributed in the hope that it will be useful,
012:         *    but WITHOUT ANY WARRANTY; without even the implied warranty of
013:         *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
014:         *    Lesser General Public License for more details.
015:         *
016:         *    Created on August 12, 2003, 7:29 PM
017:         */
018:        package org.geotools.feature;
019:
020:        import java.io.IOException;
021:        import java.util.Iterator;
022:
023:        import org.geotools.data.FeatureReader;
024:        import org.geotools.feature.visitor.FeatureVisitor;
025:        import org.geotools.geometry.jts.ReferencedEnvelope;
026:        import org.opengis.filter.Filter;
027:        import org.opengis.filter.sort.SortBy;
028:        import org.geotools.util.ProgressListener;
029:
030:        import com.vividsolutions.jts.geom.Geometry;
031:
032:        /**
033:         *
034:         * @author  jamesm
035:         * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/main/src/test/java/org/geotools/feature/MockFeatureCollection.java $
036:         */
037:        public class MockFeatureCollection implements 
038:                org.geotools.feature.FeatureCollection {
039:
040:            /** Creates a new instance of MockFeatureCollection */
041:            public MockFeatureCollection() {
042:            }
043:
044:            public void addListener(CollectionListener listener) {
045:            }
046:
047:            public FeatureIterator features() {
048:                return null;
049:            }
050:
051:            public ReferencedEnvelope getBounds() {
052:                return null;
053:            }
054:
055:            public void removeListener(CollectionListener listener) {
056:
057:            }
058:
059:            public boolean add(Object o) {
060:                return false;
061:            }
062:
063:            public boolean addAll(java.util.Collection c) {
064:                return false;
065:            }
066:
067:            public void clear() {
068:            }
069:
070:            public boolean contains(Object o) {
071:                return false;
072:            }
073:
074:            public boolean containsAll(java.util.Collection c) {
075:                return false;
076:            }
077:
078:            public boolean equals(Object o) {
079:                return false;
080:            }
081:
082:            public int hashCode() {
083:                return 0;
084:            }
085:
086:            public boolean isEmpty() {
087:                return false;
088:            }
089:
090:            public java.util.Iterator iterator() {
091:                return null;
092:            }
093:
094:            public boolean remove(Object o) {
095:                return false;
096:            }
097:
098:            public boolean removeAll(java.util.Collection c) {
099:                return false;
100:            }
101:
102:            public boolean retainAll(java.util.Collection c) {
103:                return false;
104:            }
105:
106:            public int size() {
107:                return 0;
108:            }
109:
110:            public Object[] toArray() {
111:                return null;
112:            }
113:
114:            public Object[] toArray(Object[] a) {
115:                return null;
116:            }
117:
118:            /* (non-Javadoc)
119:             * @see org.geotools.feature.FeatureCollection#getFeatureType()
120:             */
121:            public FeatureType getFeatureType() {
122:                // TODO Auto-generated method stub
123:                return null;
124:            }
125:
126:            /* (non-Javadoc)
127:             * @see org.geotools.feature.Feature#getParent()
128:             */
129:            public FeatureCollection getParent() {
130:                // TODO Auto-generated method stub
131:                return null;
132:            }
133:
134:            /* (non-Javadoc)
135:             * @see org.geotools.feature.Feature#setParent(org.geotools.feature.FeatureCollection)
136:             */
137:            public void setParent(FeatureCollection collection) {
138:                // TODO Auto-generated method stub
139:
140:            }
141:
142:            /* (non-Javadoc)
143:             * @see org.geotools.feature.Feature#getID()
144:             */
145:            public String getID() {
146:                // TODO Auto-generated method stub
147:                return null;
148:            }
149:
150:            /* (non-Javadoc)
151:             * @see org.geotools.feature.Feature#getAttributes(java.lang.Object[])
152:             */
153:            public Object[] getAttributes(Object[] attributes) {
154:                // TODO Auto-generated method stub
155:                return null;
156:            }
157:
158:            /* (non-Javadoc)
159:             * @see org.geotools.feature.Feature#getAttribute(java.lang.String)
160:             */
161:            public Object getAttribute(String xPath) {
162:                // TODO Auto-generated method stub
163:                return null;
164:            }
165:
166:            /* (non-Javadoc)
167:             * @see org.geotools.feature.Feature#getAttribute(int)
168:             */
169:            public Object getAttribute(int index) {
170:                // TODO Auto-generated method stub
171:                return null;
172:            }
173:
174:            /* (non-Javadoc)
175:             * @see org.geotools.feature.Feature#setAttribute(int, java.lang.Object)
176:             */
177:            public void setAttribute(int position, Object val)
178:                    throws IllegalAttributeException,
179:                    ArrayIndexOutOfBoundsException {
180:                // TODO Auto-generated method stub
181:
182:            }
183:
184:            /* (non-Javadoc)
185:             * @see org.geotools.feature.Feature#getNumberOfAttributes()
186:             */
187:            public int getNumberOfAttributes() {
188:                // TODO Auto-generated method stub
189:                return 0;
190:            }
191:
192:            /* (non-Javadoc)
193:             * @see org.geotools.feature.Feature#setAttribute(java.lang.String, java.lang.Object)
194:             */
195:            public void setAttribute(String xPath, Object attribute)
196:                    throws IllegalAttributeException {
197:                // TODO Auto-generated method stub
198:
199:            }
200:
201:            /* (non-Javadoc)
202:             * @see org.geotools.feature.Feature#getDefaultGeometry()
203:             */
204:            public Geometry getDefaultGeometry() {
205:                // TODO Auto-generated method stub
206:                return null;
207:            }
208:
209:            /* (non-Javadoc)
210:             * @see org.geotools.feature.Feature#setDefaultGeometry(com.vividsolutions.jts.geom.Geometry)
211:             */
212:            public void setDefaultGeometry(Geometry geometry)
213:                    throws IllegalAttributeException {
214:                // TODO Auto-generated method stub
215:
216:            }
217:
218:            public FeatureType getSchema() {
219:                return null;
220:            }
221:
222:            public FeatureReader reader() throws IOException {
223:                return null;
224:            }
225:
226:            public int getCount() throws IOException {
227:                return 0;
228:            }
229:
230:            public FeatureCollection collection() throws IOException {
231:                return null;
232:            }
233:
234:            public void close(Iterator iterator) {
235:            }
236:
237:            public void close(FeatureIterator iterator) {
238:            }
239:
240:            public void accepts(FeatureVisitor visitor,
241:                    ProgressListener progress) throws IOException {
242:            }
243:
244:            public FeatureCollection subCollection(Filter filter) {
245:                // TODO Auto-generated method stub
246:                return null;
247:            }
248:
249:            public FeatureList sort(SortBy order) {
250:                // TODO Auto-generated method stub
251:                return null;
252:            }
253:
254:            public void purge() {
255:                // TODO Auto-generated method stub
256:
257:            }
258:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.