public class IlvS57FeatureFilter extends IlvDefaultFeatureFilter
IlvS57FeatureFilter
is a specialized criterion filter that
returns the value of a feature attribute according to a property name.
By default, this filter splits according to the S57 code attribute.
When the S57 data source is rendered with the IHO ECDIS presentation library,
this filter will split the depth area and depth contour layers according to
their depth value. The style of each layer can be set separately.Constructor and Description |
---|
IlvS57FeatureFilter(IlvDefaultTilableDataSource source)
The public constructor
|
IlvS57FeatureFilter(IlvInputStream stream)
Constructs an
IlvDefaultFeatureFilter instance from an
input stream. |
Modifier and Type | Method and Description |
---|---|
Object |
getValue(IlvMapFeature feature)
Returns a value for the specified map feature.
|
void |
setSource(IlvDefaultTilableDataSource source)
Sets the
IlvS57DataSource object to which this filter is
added. |
void |
write(IlvOutputStream stream)
Writes this
IlvDefaultFeatureFilter object to an
IlvOutputStream . |
getSource
getAttributeDescription, getAttributeName, getCriterionDescription, setAttributeDescription, setAttributeName
public IlvS57FeatureFilter(IlvInputStream stream) throws IlvReadFileException
IlvDefaultFeatureFilter
instance from an
input stream.stream
- The stream to read from.IlvReadFileException
- if an error was encountered
when deserializing this object.public IlvS57FeatureFilter(IlvDefaultTilableDataSource source)
source
- The IlvS57DataSource
object to which this
filter is added.public void write(IlvOutputStream stream) throws IOException
IlvDefaultFeatureFilter
object to an
IlvOutputStream
.write
in interface IlvPersistentObject
write
in class IlvDefaultFeatureFilter
stream
- The stream to write to.IOException
- if there is a problem writing to stream
.public Object getValue(IlvMapFeature feature)
null
is returned.getValue
in class IlvDefaultFeatureFilter
feature
- The specified map feature.public void setSource(IlvDefaultTilableDataSource source)
IlvS57DataSource
object to which this filter is
added.setSource
in class IlvDefaultFeatureFilter
source
- The IlvS57DataSource
object.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.