Revision 36208 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/spi/BaseFeatureStoreProviderFactory.java
BaseFeatureStoreProviderFactory.java | ||
---|---|---|
48 | 48 |
} |
49 | 49 |
} |
50 | 50 |
|
51 |
public List getGeomtriesSupporteds() { |
|
52 |
return null; |
|
53 |
} |
|
54 |
|
|
55 | 51 |
protected Constructor findConstructor(Class clazz, Class[] types) |
56 | 52 |
throws SecurityException, NoSuchMethodException { |
57 | 53 |
try { |
... | ... | |
97 | 93 |
if (current == null) { |
98 | 94 |
return !defined.isPrimitive(); |
99 | 95 |
} else { |
100 |
return defined.isAssignableFrom(current);
|
|
96 |
return current.isAssignableFrom(defined);
|
|
101 | 97 |
} |
102 | 98 |
} |
103 | 99 |
|
100 |
public List getSupportedGeometries() { |
|
101 |
return null; |
|
102 |
} |
|
103 |
|
|
104 |
public int allowMultipleGeometryTypes() { |
|
105 |
return UNKNOWN; |
|
106 |
} |
|
107 |
|
|
104 | 108 |
} |
Also available in: Unified diff