Class PortrayalExtension
- java.lang.Object
-
- mil.nga.geopackage.extension.BaseExtension
-
- mil.nga.geopackage.extension.im.portrayal.PortrayalExtension
-
public class PortrayalExtension extends BaseExtension
Portrayal Extensionhttps://gitlab.com/imagemattersllc/ogc-vtp2/-/blob/master/extensions/5-portrayal.adoc
- Since:
- 4.0.0
- Author:
- jyutzler
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXTENSION_AUTHOR
static String
EXTENSION_DEFINITION
static String
EXTENSION_NAME
static String
EXTENSION_NAME_NO_AUTHOR
-
Fields inherited from class mil.nga.geopackage.extension.BaseExtension
extensionsDao, geoPackage
-
-
Constructor Summary
Constructors Constructor Description PortrayalExtension(GeoPackageCore geoPackage)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
createPortrayalTables()
Create the Portrayal Extension tables if they do not existList<Extensions>
getOrCreate()
Get or create the extensionStylesDao
getStylesDao()
Get the Styles DAOstatic StylesDao
getStylesDao(GeoPackageCoreConnection db)
Get the Styles DAOstatic StylesDao
getStylesDao(GeoPackageCore geoPackage)
Get the Styles DAOStylesheetsDao
getStylesheetsDao()
Get the Stylesheets DAOstatic StylesheetsDao
getStylesheetsDao(GeoPackageCoreConnection db)
Get the Stylesheets DAOstatic StylesheetsDao
getStylesheetsDao(GeoPackageCore geoPackage)
Get the Stylesheets DAOSymbolContentDao
getSymbolContentDao()
Get the Symbol Content DAOstatic SymbolContentDao
getSymbolContentDao(GeoPackageCoreConnection db)
Get the Symbol Content DAOstatic SymbolContentDao
getSymbolContentDao(GeoPackageCore geoPackage)
Get the Symbol Content DAOSymbolImagesDao
getSymbolImagesDao()
Get the Symbol Images DAOstatic SymbolImagesDao
getSymbolImagesDao(GeoPackageCoreConnection db)
Get the Symbol Images DAOstatic SymbolImagesDao
getSymbolImagesDao(GeoPackageCore geoPackage)
Get the Symbol Images DAOSymbolsDao
getSymbolsDao()
Get the Symbols DAOstatic SymbolsDao
getSymbolsDao(GeoPackageCoreConnection db)
Get the Symbols DAOstatic SymbolsDao
getSymbolsDao(GeoPackageCore geoPackage)
Get the Symbols DAOboolean
has()
void
removeExtension()
-
Methods inherited from class mil.nga.geopackage.extension.BaseExtension
createDao, get, getExtensions, getExtensions, getExtensionsDao, getGeoPackage, getOrCreate, has, has, has, verifyWritable
-
-
-
-
Field Detail
-
EXTENSION_AUTHOR
public static final String EXTENSION_AUTHOR
- See Also:
- Constant Field Values
-
EXTENSION_NAME_NO_AUTHOR
public static final String EXTENSION_NAME_NO_AUTHOR
- See Also:
- Constant Field Values
-
EXTENSION_NAME
public static final String EXTENSION_NAME
-
EXTENSION_DEFINITION
public static final String EXTENSION_DEFINITION
-
-
Constructor Detail
-
PortrayalExtension
public PortrayalExtension(GeoPackageCore geoPackage)
Constructor- Parameters:
geoPackage
- GeoPackage
-
-
Method Detail
-
has
public boolean has()
-
getOrCreate
public List<Extensions> getOrCreate()
Get or create the extension- Returns:
- extensions
-
removeExtension
public void removeExtension()
-
getStylesDao
public StylesDao getStylesDao()
Get the Styles DAO- Returns:
- styles dao
-
getStylesDao
public static StylesDao getStylesDao(GeoPackageCore geoPackage)
Get the Styles DAO- Parameters:
geoPackage
- GeoPackage- Returns:
- styles dao
-
getStylesDao
public static StylesDao getStylesDao(GeoPackageCoreConnection db)
Get the Styles DAO- Parameters:
db
- database connection- Returns:
- styles dao
-
getStylesheetsDao
public StylesheetsDao getStylesheetsDao()
Get the Stylesheets DAO- Returns:
- stylesheets dao
-
getStylesheetsDao
public static StylesheetsDao getStylesheetsDao(GeoPackageCore geoPackage)
Get the Stylesheets DAO- Parameters:
geoPackage
- GeoPackage- Returns:
- stylesheets dao
-
getStylesheetsDao
public static StylesheetsDao getStylesheetsDao(GeoPackageCoreConnection db)
Get the Stylesheets DAO- Parameters:
db
- database connection- Returns:
- stylesheets dao
-
getSymbolContentDao
public SymbolContentDao getSymbolContentDao()
Get the Symbol Content DAO- Returns:
- symbol content dao
-
getSymbolContentDao
public static SymbolContentDao getSymbolContentDao(GeoPackageCore geoPackage)
Get the Symbol Content DAO- Parameters:
geoPackage
- GeoPackage- Returns:
- symbol content dao
-
getSymbolContentDao
public static SymbolContentDao getSymbolContentDao(GeoPackageCoreConnection db)
Get the Symbol Content DAO- Parameters:
db
- database connection- Returns:
- symbol content dao
-
getSymbolImagesDao
public SymbolImagesDao getSymbolImagesDao()
Get the Symbol Images DAO- Returns:
- symbol images dao
-
getSymbolImagesDao
public static SymbolImagesDao getSymbolImagesDao(GeoPackageCore geoPackage)
Get the Symbol Images DAO- Parameters:
geoPackage
- GeoPackage- Returns:
- symbol images dao
-
getSymbolImagesDao
public static SymbolImagesDao getSymbolImagesDao(GeoPackageCoreConnection db)
Get the Symbol Images DAO- Parameters:
db
- database connection- Returns:
- symbol images dao
-
getSymbolsDao
public SymbolsDao getSymbolsDao()
Get the Symbols DAO- Returns:
- symbols dao
-
getSymbolsDao
public static SymbolsDao getSymbolsDao(GeoPackageCore geoPackage)
Get the Symbols DAO- Parameters:
geoPackage
- GeoPackage- Returns:
- symbols dao
-
getSymbolsDao
public static SymbolsDao getSymbolsDao(GeoPackageCoreConnection db)
Get the Symbols DAO- Parameters:
db
- database connection- Returns:
- symbols dao
-
createPortrayalTables
public boolean createPortrayalTables()
Create the Portrayal Extension tables if they do not exist- Returns:
- true if any table is created
-
-