Source Code Cross Referenced for WfsvAdapterFactory.java in  » GIS » GeoServer » net » opengis » wfsv » util » 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 » net.opengis.wfsv.util 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * <copyright>
003:         * </copyright>
004:         *
005:         * $Id: WfsvAdapterFactory.java 7988 2007-12-12 20:29:15Z aaime $
006:         */package net.opengis.wfsv.util;
007:
008:        import net.opengis.wfs.BaseRequestType;
009:        import net.opengis.wfs.DeleteElementType;
010:        import net.opengis.wfs.DescribeFeatureTypeType;
011:        import net.opengis.wfs.FeatureCollectionType;
012:        import net.opengis.wfs.GetFeatureType;
013:        import net.opengis.wfs.NativeType;
014:        import net.opengis.wfs.UpdateElementType;
015:
016:        import net.opengis.wfsv.*;
017:
018:        import org.eclipse.emf.common.notify.Adapter;
019:        import org.eclipse.emf.common.notify.Notifier;
020:
021:        import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
022:
023:        import org.eclipse.emf.ecore.EObject;
024:
025:        /**
026:         * <!-- begin-user-doc -->
027:         * The <b>Adapter Factory</b> for the model.
028:         * It provides an adapter <code>createXXX</code> method for each class of the model.
029:         * <!-- end-user-doc -->
030:         * @see net.opengis.wfsv.WfsvPackage
031:         * @generated
032:         */
033:        public class WfsvAdapterFactory extends AdapterFactoryImpl {
034:            /**
035:             * The cached model package.
036:             * <!-- begin-user-doc -->
037:             * <!-- end-user-doc -->
038:             * @generated
039:             */
040:            protected static WfsvPackage modelPackage;
041:
042:            /**
043:             * Creates an instance of the adapter factory.
044:             * <!-- begin-user-doc -->
045:             * <!-- end-user-doc -->
046:             * @generated
047:             */
048:            public WfsvAdapterFactory() {
049:                if (modelPackage == null) {
050:                    modelPackage = WfsvPackage.eINSTANCE;
051:                }
052:            }
053:
054:            /**
055:             * Returns whether this factory is applicable for the type of the object.
056:             * <!-- begin-user-doc -->
057:             * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
058:             * <!-- end-user-doc -->
059:             * @return whether this factory is applicable for the type of the object.
060:             * @generated
061:             */
062:            public boolean isFactoryForType(Object object) {
063:                if (object == modelPackage) {
064:                    return true;
065:                }
066:                if (object instanceof  EObject) {
067:                    return ((EObject) object).eClass().getEPackage() == modelPackage;
068:                }
069:                return false;
070:            }
071:
072:            /**
073:             * The switch the delegates to the <code>createXXX</code> methods.
074:             * <!-- begin-user-doc -->
075:             * <!-- end-user-doc -->
076:             * @generated
077:             */
078:            protected WfsvSwitch modelSwitch = new WfsvSwitch() {
079:                public Object caseAbstractVersionedFeatureType(
080:                        AbstractVersionedFeatureType object) {
081:                    return createAbstractVersionedFeatureTypeAdapter();
082:                }
083:
084:                public Object caseDescribeVersionedFeatureTypeType(
085:                        DescribeVersionedFeatureTypeType object) {
086:                    return createDescribeVersionedFeatureTypeTypeAdapter();
087:                }
088:
089:                public Object caseDifferenceQueryType(DifferenceQueryType object) {
090:                    return createDifferenceQueryTypeAdapter();
091:                }
092:
093:                public Object caseDocumentRoot(DocumentRoot object) {
094:                    return createDocumentRootAdapter();
095:                }
096:
097:                public Object caseGetDiffType(GetDiffType object) {
098:                    return createGetDiffTypeAdapter();
099:                }
100:
101:                public Object caseGetLogType(GetLogType object) {
102:                    return createGetLogTypeAdapter();
103:                }
104:
105:                public Object caseGetVersionedFeatureType(
106:                        GetVersionedFeatureType object) {
107:                    return createGetVersionedFeatureTypeAdapter();
108:                }
109:
110:                public Object caseRollbackType(RollbackType object) {
111:                    return createRollbackTypeAdapter();
112:                }
113:
114:                public Object caseVersionedDeleteElementType(
115:                        VersionedDeleteElementType object) {
116:                    return createVersionedDeleteElementTypeAdapter();
117:                }
118:
119:                public Object caseVersionedFeatureCollectionType(
120:                        VersionedFeatureCollectionType object) {
121:                    return createVersionedFeatureCollectionTypeAdapter();
122:                }
123:
124:                public Object caseVersionedUpdateElementType(
125:                        VersionedUpdateElementType object) {
126:                    return createVersionedUpdateElementTypeAdapter();
127:                }
128:
129:                public Object caseBaseRequestType(BaseRequestType object) {
130:                    return createBaseRequestTypeAdapter();
131:                }
132:
133:                public Object caseDescribeFeatureTypeType(
134:                        DescribeFeatureTypeType object) {
135:                    return createDescribeFeatureTypeTypeAdapter();
136:                }
137:
138:                public Object caseGetFeatureType(GetFeatureType object) {
139:                    return createGetFeatureTypeAdapter();
140:                }
141:
142:                public Object caseNativeType(NativeType object) {
143:                    return createNativeTypeAdapter();
144:                }
145:
146:                public Object caseDeleteElementType(DeleteElementType object) {
147:                    return createDeleteElementTypeAdapter();
148:                }
149:
150:                public Object caseFeatureCollectionType(
151:                        FeatureCollectionType object) {
152:                    return createFeatureCollectionTypeAdapter();
153:                }
154:
155:                public Object caseUpdateElementType(UpdateElementType object) {
156:                    return createUpdateElementTypeAdapter();
157:                }
158:
159:                public Object defaultCase(EObject object) {
160:                    return createEObjectAdapter();
161:                }
162:            };
163:
164:            /**
165:             * Creates an adapter for the <code>target</code>.
166:             * <!-- begin-user-doc -->
167:             * <!-- end-user-doc -->
168:             * @param target the object to adapt.
169:             * @return the adapter for the <code>target</code>.
170:             * @generated
171:             */
172:            public Adapter createAdapter(Notifier target) {
173:                return (Adapter) modelSwitch.doSwitch((EObject) target);
174:            }
175:
176:            /**
177:             * Creates a new adapter for an object of class '{@link net.opengis.wfsv.AbstractVersionedFeatureType <em>Abstract Versioned Feature Type</em>}'.
178:             * <!-- begin-user-doc -->
179:             * This default implementation returns null so that we can easily ignore cases;
180:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
181:             * <!-- end-user-doc -->
182:             * @return the new adapter.
183:             * @see net.opengis.wfsv.AbstractVersionedFeatureType
184:             * @generated
185:             */
186:            public Adapter createAbstractVersionedFeatureTypeAdapter() {
187:                return null;
188:            }
189:
190:            /**
191:             * Creates a new adapter for an object of class '{@link net.opengis.wfsv.DescribeVersionedFeatureTypeType <em>Describe Versioned Feature Type Type</em>}'.
192:             * <!-- begin-user-doc -->
193:             * This default implementation returns null so that we can easily ignore cases;
194:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
195:             * <!-- end-user-doc -->
196:             * @return the new adapter.
197:             * @see net.opengis.wfsv.DescribeVersionedFeatureTypeType
198:             * @generated
199:             */
200:            public Adapter createDescribeVersionedFeatureTypeTypeAdapter() {
201:                return null;
202:            }
203:
204:            /**
205:             * Creates a new adapter for an object of class '{@link net.opengis.wfsv.DifferenceQueryType <em>Difference Query Type</em>}'.
206:             * <!-- begin-user-doc -->
207:             * This default implementation returns null so that we can easily ignore cases;
208:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
209:             * <!-- end-user-doc -->
210:             * @return the new adapter.
211:             * @see net.opengis.wfsv.DifferenceQueryType
212:             * @generated
213:             */
214:            public Adapter createDifferenceQueryTypeAdapter() {
215:                return null;
216:            }
217:
218:            /**
219:             * Creates a new adapter for an object of class '{@link net.opengis.wfsv.DocumentRoot <em>Document Root</em>}'.
220:             * <!-- begin-user-doc -->
221:             * This default implementation returns null so that we can easily ignore cases;
222:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
223:             * <!-- end-user-doc -->
224:             * @return the new adapter.
225:             * @see net.opengis.wfsv.DocumentRoot
226:             * @generated
227:             */
228:            public Adapter createDocumentRootAdapter() {
229:                return null;
230:            }
231:
232:            /**
233:             * Creates a new adapter for an object of class '{@link net.opengis.wfsv.GetDiffType <em>Get Diff Type</em>}'.
234:             * <!-- begin-user-doc -->
235:             * This default implementation returns null so that we can easily ignore cases;
236:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
237:             * <!-- end-user-doc -->
238:             * @return the new adapter.
239:             * @see net.opengis.wfsv.GetDiffType
240:             * @generated
241:             */
242:            public Adapter createGetDiffTypeAdapter() {
243:                return null;
244:            }
245:
246:            /**
247:             * Creates a new adapter for an object of class '{@link net.opengis.wfsv.GetLogType <em>Get Log Type</em>}'.
248:             * <!-- begin-user-doc -->
249:             * This default implementation returns null so that we can easily ignore cases;
250:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
251:             * <!-- end-user-doc -->
252:             * @return the new adapter.
253:             * @see net.opengis.wfsv.GetLogType
254:             * @generated
255:             */
256:            public Adapter createGetLogTypeAdapter() {
257:                return null;
258:            }
259:
260:            /**
261:             * Creates a new adapter for an object of class '{@link net.opengis.wfsv.GetVersionedFeatureType <em>Get Versioned Feature Type</em>}'.
262:             * <!-- begin-user-doc -->
263:             * This default implementation returns null so that we can easily ignore cases;
264:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
265:             * <!-- end-user-doc -->
266:             * @return the new adapter.
267:             * @see net.opengis.wfsv.GetVersionedFeatureType
268:             * @generated
269:             */
270:            public Adapter createGetVersionedFeatureTypeAdapter() {
271:                return null;
272:            }
273:
274:            /**
275:             * Creates a new adapter for an object of class '{@link net.opengis.wfsv.RollbackType <em>Rollback Type</em>}'.
276:             * <!-- begin-user-doc -->
277:             * This default implementation returns null so that we can easily ignore cases;
278:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
279:             * <!-- end-user-doc -->
280:             * @return the new adapter.
281:             * @see net.opengis.wfsv.RollbackType
282:             * @generated
283:             */
284:            public Adapter createRollbackTypeAdapter() {
285:                return null;
286:            }
287:
288:            /**
289:             * Creates a new adapter for an object of class '{@link net.opengis.wfsv.VersionedDeleteElementType <em>Versioned Delete Element Type</em>}'.
290:             * <!-- begin-user-doc -->
291:             * This default implementation returns null so that we can easily ignore cases;
292:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
293:             * <!-- end-user-doc -->
294:             * @return the new adapter.
295:             * @see net.opengis.wfsv.VersionedDeleteElementType
296:             * @generated
297:             */
298:            public Adapter createVersionedDeleteElementTypeAdapter() {
299:                return null;
300:            }
301:
302:            /**
303:             * Creates a new adapter for an object of class '{@link net.opengis.wfsv.VersionedFeatureCollectionType <em>Versioned Feature Collection Type</em>}'.
304:             * <!-- begin-user-doc -->
305:             * This default implementation returns null so that we can easily ignore cases;
306:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
307:             * <!-- end-user-doc -->
308:             * @return the new adapter.
309:             * @see net.opengis.wfsv.VersionedFeatureCollectionType
310:             * @generated
311:             */
312:            public Adapter createVersionedFeatureCollectionTypeAdapter() {
313:                return null;
314:            }
315:
316:            /**
317:             * Creates a new adapter for an object of class '{@link net.opengis.wfsv.VersionedUpdateElementType <em>Versioned Update Element Type</em>}'.
318:             * <!-- begin-user-doc -->
319:             * This default implementation returns null so that we can easily ignore cases;
320:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
321:             * <!-- end-user-doc -->
322:             * @return the new adapter.
323:             * @see net.opengis.wfsv.VersionedUpdateElementType
324:             * @generated
325:             */
326:            public Adapter createVersionedUpdateElementTypeAdapter() {
327:                return null;
328:            }
329:
330:            /**
331:             * Creates a new adapter for an object of class '{@link net.opengis.wfs.BaseRequestType <em>Base Request Type</em>}'.
332:             * <!-- begin-user-doc -->
333:             * This default implementation returns null so that we can easily ignore cases;
334:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
335:             * <!-- end-user-doc -->
336:             * @return the new adapter.
337:             * @see net.opengis.wfs.BaseRequestType
338:             * @generated
339:             */
340:            public Adapter createBaseRequestTypeAdapter() {
341:                return null;
342:            }
343:
344:            /**
345:             * Creates a new adapter for an object of class '{@link net.opengis.wfs.DescribeFeatureTypeType <em>Describe Feature Type Type</em>}'.
346:             * <!-- begin-user-doc -->
347:             * This default implementation returns null so that we can easily ignore cases;
348:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
349:             * <!-- end-user-doc -->
350:             * @return the new adapter.
351:             * @see net.opengis.wfs.DescribeFeatureTypeType
352:             * @generated
353:             */
354:            public Adapter createDescribeFeatureTypeTypeAdapter() {
355:                return null;
356:            }
357:
358:            /**
359:             * Creates a new adapter for an object of class '{@link net.opengis.wfs.GetFeatureType <em>Get Feature Type</em>}'.
360:             * <!-- begin-user-doc -->
361:             * This default implementation returns null so that we can easily ignore cases;
362:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
363:             * <!-- end-user-doc -->
364:             * @return the new adapter.
365:             * @see net.opengis.wfs.GetFeatureType
366:             * @generated
367:             */
368:            public Adapter createGetFeatureTypeAdapter() {
369:                return null;
370:            }
371:
372:            /**
373:             * Creates a new adapter for an object of class '{@link net.opengis.wfs.NativeType <em>Native Type</em>}'.
374:             * <!-- begin-user-doc -->
375:             * This default implementation returns null so that we can easily ignore cases;
376:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
377:             * <!-- end-user-doc -->
378:             * @return the new adapter.
379:             * @see net.opengis.wfs.NativeType
380:             * @generated
381:             */
382:            public Adapter createNativeTypeAdapter() {
383:                return null;
384:            }
385:
386:            /**
387:             * Creates a new adapter for an object of class '{@link net.opengis.wfs.DeleteElementType <em>Delete Element Type</em>}'.
388:             * <!-- begin-user-doc -->
389:             * This default implementation returns null so that we can easily ignore cases;
390:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
391:             * <!-- end-user-doc -->
392:             * @return the new adapter.
393:             * @see net.opengis.wfs.DeleteElementType
394:             * @generated
395:             */
396:            public Adapter createDeleteElementTypeAdapter() {
397:                return null;
398:            }
399:
400:            /**
401:             * Creates a new adapter for an object of class '{@link net.opengis.wfs.FeatureCollectionType <em>Feature Collection Type</em>}'.
402:             * <!-- begin-user-doc -->
403:             * This default implementation returns null so that we can easily ignore cases;
404:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
405:             * <!-- end-user-doc -->
406:             * @return the new adapter.
407:             * @see net.opengis.wfs.FeatureCollectionType
408:             * @generated
409:             */
410:            public Adapter createFeatureCollectionTypeAdapter() {
411:                return null;
412:            }
413:
414:            /**
415:             * Creates a new adapter for an object of class '{@link net.opengis.wfs.UpdateElementType <em>Update Element Type</em>}'.
416:             * <!-- begin-user-doc -->
417:             * This default implementation returns null so that we can easily ignore cases;
418:             * it's useful to ignore a case when inheritance will catch all the cases anyway.
419:             * <!-- end-user-doc -->
420:             * @return the new adapter.
421:             * @see net.opengis.wfs.UpdateElementType
422:             * @generated
423:             */
424:            public Adapter createUpdateElementTypeAdapter() {
425:                return null;
426:            }
427:
428:            /**
429:             * Creates a new adapter for the default case.
430:             * <!-- begin-user-doc -->
431:             * This default implementation returns null.
432:             * <!-- end-user-doc -->
433:             * @return the new adapter.
434:             * @generated
435:             */
436:            public Adapter createEObjectAdapter() {
437:                return null;
438:            }
439:
440:        } //WfsvAdapterFactory
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.