public abstract class IlvFeatureAttribute extends Object implements IlvPersistentObject
An IlvMapFeature
object can have one or more attributes
that can be accessed by
the getAttributes
method. This method returns an
IlvFeatureAttributeProperty
instance. Map features can be used
by user-defined renderers to translate a feature into a graphic
object. Feature attributes can also be used in a map application
to display attribute values to the user.
The package ilog.views.maps.attribute
contains
a list of predefined attribute classes to store the most common
types of attributes used for map features.
They all have the following properties:
IlvFeatureAttribute
.
ivl
file.
copy
method.
IlvFeatureAttributeProperty
.ilog.views.maps.attribute
,
IlvMapFeature
,
IlvFeatureAttributeProperty
,
IlvMapFeatureIterator
Modifier | Constructor and Description |
---|---|
protected |
IlvFeatureAttribute()
Creates a new instance of
IlvFeatureAttribute . |
protected |
IlvFeatureAttribute(IlvFeatureAttribute source)
Creates a new
IlvFeatureAttribute by copying an existing one. |
protected |
IlvFeatureAttribute(IlvInputStream stream)
Reads the object from an
IlvInputStream object. |
Modifier and Type | Method and Description |
---|---|
abstract IlvFeatureAttribute |
copy()
Copies the object.
|
void |
write(IlvOutputStream stream)
Writes the object to an
IlvOutputStream object. |
protected IlvFeatureAttribute()
IlvFeatureAttribute
.protected IlvFeatureAttribute(IlvFeatureAttribute source)
IlvFeatureAttribute
by copying an existing one.source
- The attribute object that is copied.protected IlvFeatureAttribute(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
object.stream
- The input stream.IlvReadFileException
- if the format is not correct.public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
object.write
in interface IlvPersistentObject
stream
- The output streamIOException
- thrown when an exception occurs during
the write operation for this object.public abstract IlvFeatureAttribute copy()
IlvFeatureAttribute
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.