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 StringEXTENSION_AUTHORstatic StringEXTENSION_DEFINITIONstatic StringEXTENSION_NAMEstatic StringEXTENSION_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 booleancreatePortrayalTables()Create the Portrayal Extension tables if they do not existList<Extensions>getOrCreate()Get or create the extensionStylesDaogetStylesDao()Get the Styles DAOstatic StylesDaogetStylesDao(GeoPackageCoreConnection db)Get the Styles DAOstatic StylesDaogetStylesDao(GeoPackageCore geoPackage)Get the Styles DAOStylesheetsDaogetStylesheetsDao()Get the Stylesheets DAOstatic StylesheetsDaogetStylesheetsDao(GeoPackageCoreConnection db)Get the Stylesheets DAOstatic StylesheetsDaogetStylesheetsDao(GeoPackageCore geoPackage)Get the Stylesheets DAOSymbolContentDaogetSymbolContentDao()Get the Symbol Content DAOstatic SymbolContentDaogetSymbolContentDao(GeoPackageCoreConnection db)Get the Symbol Content DAOstatic SymbolContentDaogetSymbolContentDao(GeoPackageCore geoPackage)Get the Symbol Content DAOSymbolImagesDaogetSymbolImagesDao()Get the Symbol Images DAOstatic SymbolImagesDaogetSymbolImagesDao(GeoPackageCoreConnection db)Get the Symbol Images DAOstatic SymbolImagesDaogetSymbolImagesDao(GeoPackageCore geoPackage)Get the Symbol Images DAOSymbolsDaogetSymbolsDao()Get the Symbols DAOstatic SymbolsDaogetSymbolsDao(GeoPackageCoreConnection db)Get the Symbols DAOstatic SymbolsDaogetSymbolsDao(GeoPackageCore geoPackage)Get the Symbols DAObooleanhas()voidremoveExtension()-
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
-
-