public class DatasetInfo extends Object
| Constructor and Description |
|---|
DatasetInfo(File dataFile) |
| Modifier and Type | Method and Description |
|---|---|
(package private) org.opengis.geometry.Envelope |
calculateTotalExtent(File file)
Calculates the total extent of the records in the sample data.
|
net.sf.saxon.s9api.XdmValue |
findItems(String xpath,
Map<String,String> nsBindings)
Finds the (infoset) items in the sample data that satisfy the given XPath
(2.0) expression.
|
File |
getDataFile()
Returns the file containing the sample data.
|
org.opengis.geometry.Envelope |
getGeographicExtent()
Returns an Envelope representing the total geographic extent of the
sample data.
|
List<String> |
getRecordIdentifiers()
Returns a sequence of record identifiers (dc:identifier) found in the
sample data.
|
List<String> |
getRecordTitles()
Returns a sequence of record titles (dc:title) found in the sample data.
|
List<String> |
getRecordTopics()
Returns a sequence of topic (dc:subject) values found in the sample data.
|
public DatasetInfo(File dataFile)
public File getDataFile()
public org.opengis.geometry.Envelope getGeographicExtent()
public List<String> getRecordIdentifiers()
public List<String> getRecordTitles()
public List<String> getRecordTopics()
public net.sf.saxon.s9api.XdmValue findItems(String xpath, Map<String,String> nsBindings) throws net.sf.saxon.s9api.SaxonApiException
xpath - The XPath expression to be evaluated.nsBindings - A collection of namespace bindings required to evaluate
the XPath expression, where each entry maps a namespace URI (key) to a
prefix (value); bindings for the standard namespaces are not required.net.sf.saxon.s9api.SaxonApiException - If the expression cannot be evaluated (this
always wraps some other underlying exception).org.opengis.geometry.Envelope calculateTotalExtent(File file)
file - A File containing catalog data (csw:GetRecordsResponse).Copyright © 2018 Open Geospatial Consortium. All rights reserved.