public class IlvDAFIFDataSource extends IlvDefaultTilableDataSource
IlvHierarchicalDataSource.CriterionFilter, IlvHierarchicalDataSource.SingleAttributeFilter
Modifier and Type | Field and Description |
---|---|
static String |
CODE_PROPERTY_NAME
Name of the property that contains the table identifier.
|
GeometryClassInformation
featureIterator, filename, nameMap, styleMap
renderer, usingGeodeticComputation
Constructor and Description |
---|
IlvDAFIFDataSource(IlvInputStream stream)
Creates a new
IlvDAFIFDataSource . |
IlvDAFIFDataSource(String filename)
Constructs an
IlvDAFIFDataSource from the specified file name. |
IlvDAFIFDataSource(URL url)
Constructs an
IlvS57DataSource from the specified URL. |
Modifier and Type | Method and Description |
---|---|
protected IlvDefaultFeatureFilter |
createDefaultFilter()
Creates a filter on
CODE_PROPERTY_NAME property. |
protected IlvMapReusableFeatureIterator |
createFeatureIterator(String fileName)
Method used in
IlvDefaultTilableDataSource.IlvDefaultTilableDataSource(String) constructor to build the data source reader. |
protected IlvMapReusableFeatureIterator |
createFeatureIterator(URL url)
Method used in the
IlvDefaultTilableDataSource.IlvDefaultTilableDataSource(URL) constructor to build the data source reader. |
protected IlvMapRegionOfInterestIterator |
createTiledIterator(IlvFeatureClassInformation featureValue,
IlvGeometryClassFilter geometryClass)
Creates an iterator that iterates through the map features for a specific area of interest.
|
protected void |
initFeatureList()
Specific initialization done when data source is created.
|
String |
makeLayerName(String name,
IlvGeometryClassFilter d)
Creates a layer name from a feature name and a geometry class.
|
void |
start()
Starts this data source.
|
acceptsCode, addLayer, createGenericTiles, createTiledLayers, getColumnCount, getFeatureFilterPropertyName, getFeatureIterator, getFeatureName, getGeometryClassFilters, getGeometryClassInformation, getLatMax, getLatMin, getLayerOrder, getLonMax, getLonMin, getMonitoringData, getRowCount, getURL, isMultiThreaded, isSourceDataAvailable, isUsingTiling, readInfo, reset, setAcceptedCodeList, setAreaOfinterest, setLayerOrder, setMonitoringData, setMultiThreaded, setTilingParameters, setupLayer, setupTiledLoaders, setURL, write
addCriterionFilter, createFeatureRenderer, createInsertionLayer, createStyle, getCriterionFilters, getFeatureRenderer, getFeatureRenderer, getKey, getMapLayer, getStyle, isAcceptNullValues, removeAllCriterionFilters, removeCriterionFilter, setAcceptNullValues
addDataSourceListener, callListeners, getBackupDataSources, getCoordinateSystem, getDescription, getInsertionLayer, getManager, getName, getNode, getValidExtentions, hasInsertionLayer, initBackupDataSource, initInsertionLayer, isAttachingAttributes, isGrapherMode, isSaveBackupDataSources, isUsingBackupDataSource, isUsingGeodeticComputation, mapIntersects, removeDataSourceListener, setAttachingAttributes, setCoordinateSystem, setDescription, setFeatureRenderer, setForceUsingBackupDataSource, setGrapherMode, setInsertionLayer, setManager, setName, setSaveBackupDataSources, setValidExtentions, toString
public static final String CODE_PROPERTY_NAME
public IlvDAFIFDataSource(IlvInputStream stream) throws IlvReadFileException
IlvDAFIFDataSource
.stream
- The stream to read from.IlvReadFileException
public IlvDAFIFDataSource(String filename) throws MalformedURLException
IlvDAFIFDataSource
from the specified file name.filename
- The name of the DAFIF file to read.MalformedURLException
- if the path cannot be parsed as a URL.public IlvDAFIFDataSource(URL url) throws IOException
IlvS57DataSource
from the specified URL.url
- The name of the S57 file to read.IOException
protected void initFeatureList()
DAFIFFeaturesEN.xml
resource file.initFeatureList
in class IlvDefaultTilableDataSource
IlvDefaultTilableDataSource.initFeatureList()
protected IlvMapReusableFeatureIterator createFeatureIterator(String fileName) throws IOException
IlvDefaultTilableDataSource.IlvDefaultTilableDataSource(String)
constructor to build the data source reader.
For example:protected void createFeatureIterator(String fileName) { return new IlvS57Reader(fileName); }Creates a
IlvDAFIFReader
createFeatureIterator
in class IlvDefaultTilableDataSource
fileName
- The file parameter.IOException
IlvDefaultTilableDataSource.createFeatureIterator(java.lang.String)
protected IlvMapReusableFeatureIterator createFeatureIterator(URL url) throws IOException
IlvDefaultTilableDataSource.IlvDefaultTilableDataSource(URL)
constructor to build the data source reader.
For example:protected void createFeatureIterator(URL urlName) { return new IlvS57Reader(urlName); }Creates a
IlvDAFIFReader
createFeatureIterator
in class IlvDefaultTilableDataSource
url
- The file parameter.IOException
IlvDefaultTilableDataSource.createFeatureIterator(java.net.URL)
protected IlvDefaultFeatureFilter createDefaultFilter()
CODE_PROPERTY_NAME
property.createDefaultFilter
in class IlvDefaultTilableDataSource
IlvDefaultTilableDataSource.createDefaultFilter()
public void start() throws Exception
start
in class IlvDefaultTilableDataSource
Exception
IlvDefaultTilableDataSource.start()
protected IlvMapRegionOfInterestIterator createTiledIterator(IlvFeatureClassInformation featureValue, IlvGeometryClassFilter geometryClass)
createTiledIterator
in class IlvDefaultTilableDataSource
featureValue
- The feature value for filtering features.geometryClass
- A subclass of IlvMapGeometry
to prevent the mixing of different types of features on the
same layer.public String makeLayerName(String name, IlvGeometryClassFilter d)
makeLayerName
in class IlvDefaultTilableDataSource
name
- The feature name.d
- The geometry class.IlvDefaultTilableDataSource.makeLayerName(java.lang.String, ilog.views.maps.format.IlvGeometryClassFilter)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.