01: /**
02: *
03: */package net.refractions.udig.project.internal.ui.wizard;
04:
05: import java.io.Serializable;
06: import java.net.URL;
07: import java.util.Map;
08:
09: import net.refractions.udig.catalog.ui.UDIGConnectionFactory;
10:
11: /**
12: * @author jeichar
13: *
14: */
15: public class URLConnectionFactory extends UDIGConnectionFactory {
16:
17: /**
18: * @see net.refractions.udig.catalog.ui.UDIGConnectionFactory#canProcess(java.lang.Object)
19: */
20: @Override
21: public boolean canProcess(Object context) {
22: // TODO Auto-generated method stub
23: return false;
24: }
25:
26: /**
27: * @see net.refractions.udig.catalog.ui.UDIGConnectionFactory#createConnectionParameters(java.lang.Object)
28: */
29: @Override
30: public Map<String, Serializable> createConnectionParameters(
31: Object context) {
32: // TODO Auto-generated method stub
33: return null;
34: }
35:
36: /**
37: * @see net.refractions.udig.catalog.ui.UDIGConnectionFactory#createConnectionURL(java.lang.Object)
38: */
39: @Override
40: public URL createConnectionURL(Object context) {
41: if (context instanceof URL)
42: return (URL) context;
43: return null;
44: }
45:
46: }
|