Package org.geotools.geopkg
Class GeoPkgSchemaExtension.Factory
- Object
-
- Factory
-
- All Implemented Interfaces:
GeoPkgExtensionFactory
- Enclosing class:
- GeoPkgSchemaExtension
public static class GeoPkgSchemaExtension.Factory extends Object implements GeoPkgExtensionFactory
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoPkgExtension
getExtension(Class extensionClass, GeoPackage geoPackage)
Builds an extension object by classGeoPkgExtension
getExtension(String name, GeoPackage geoPackage)
Builds an extension object by name
-
-
-
Method Detail
-
getExtension
public GeoPkgExtension getExtension(String name, GeoPackage geoPackage)
Description copied from interface:GeoPkgExtensionFactory
Builds an extension object by name- Specified by:
getExtension
in interfaceGeoPkgExtensionFactory
- Parameters:
name
- The extension namegeoPackage
- The GeoPackage the extension will work on- Returns:
- The extension object, or null if this factory does not implement the given extension
-
getExtension
public GeoPkgExtension getExtension(Class extensionClass, GeoPackage geoPackage)
Description copied from interface:GeoPkgExtensionFactory
Builds an extension object by class- Specified by:
getExtension
in interfaceGeoPkgExtensionFactory
- Parameters:
extensionClass
- The extension classgeoPackage
- The GeoPackage the extension will work on- Returns:
- The extension object, or null if this factory does not implement the given extension
-
-