Class MetadataTests
java.lang.Object
org.opengis.cite.gpkg12.CommonFixture
org.opengis.cite.gpkg12.nsg.metadata.MetadataTests
public class MetadataTests
extends org.opengis.cite.gpkg12.CommonFixture
-
Field Summary
Fields inherited from class org.opengis.cite.gpkg12.CommonFixture
databaseConnection, dataSource, geopackageVersion, gpkgFile, ROOT_PKG_PATH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindXmlEntries
(ResultSet resultSet) void
void
void
Validate metadata against NMIS xsd https://nsgreg.nga.mil/doc/view?(package private) void
validateXmlEntries
(List<String> xmlEntries) Methods inherited from class org.opengis.cite.gpkg12.CommonFixture
checkPrimaryKey, close, getGeopackageVersion, getPrimaryKeyColumn, getTestName, initCommonFixture, isExtendedType, setTestName, validateClassEnabled
-
Constructor Details
-
MetadataTests
public MetadataTests()
-
-
Method Details
-
initSchema
- Throws:
SAXException
-
initDocumentBuilder
- Throws:
ParserConfigurationException
-
metadataSchemaValidation
Validate metadata against NMIS xsd https://nsgreg.nga.mil/doc/view?i=2491- Throws:
SQLException
- if access to gpkg failed
-
validateXmlEntries
-
findXmlEntries
- Throws:
SQLException
-