Package org.geotools.geopkg
Class GeoPkgSchemaExtension.Factory
Object
Factory
- All Implemented Interfaces:
GeoPkgExtensionFactory
- Enclosing class:
- GeoPkgSchemaExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExtension
(Class extensionClass, GeoPackage geoPackage) Builds an extension object by classgetExtension
(String name, GeoPackage geoPackage) Builds an extension object by name
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
getExtension
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
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
-