public class IlvDAFIFFeature extends IlvFeatureAttribute
Constructor and Description |
---|
IlvDAFIFFeature(IlvDAFIFFeature feature)
Creates a new
IlvDAFIFFeature . |
IlvDAFIFFeature(IlvDAFIFTableDescription tableDesc,
String line)
Creates a new
IlvDAFIFFeature . |
IlvDAFIFFeature(IlvInputStream stream)
Reads the object from an
IlvInputStream object. |
Modifier and Type | Method and Description |
---|---|
void |
addChild(IlvDAFIFFeature child)
Stores a child feature.
|
IlvFeatureAttribute |
copy()
Copying a DAFIF feature returns the same feature.
|
IlvDAFIFFeature |
getChild(int i)
Returns a single child.
|
int |
getChildrenCount()
Returns the number of registered child features.
|
IlvFeatureAttributeProperty |
getFeatureProperties()
Returns the feature properties structure for this feature.
|
IlvMapGeometry |
getGeometry()
Constructs the geometry for a feature.
|
String |
getParentReference()
Constructs the key for the parent feature.
|
String |
getReference(char c)
Constructs the key for the feature pointed to by the key number.
|
String |
getUniqueKey()
Returns the unique identifying key for this feature.
|
void |
removeChild(IlvDAFIFFeature child)
Removes a child feature.
|
String |
toString()
Returns a string representation of the object.
|
void |
write(IlvOutputStream stream)
Writes the object to an
IlvOutputStream object. |
public IlvDAFIFFeature(IlvDAFIFTableDescription tableDesc, String line)
IlvDAFIFFeature
.tableDesc
- A table description of the feature.line
- ASCII definition contained in the file.public IlvDAFIFFeature(IlvDAFIFFeature feature)
IlvDAFIFFeature
.feature
- The feature to copy.public IlvDAFIFFeature(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
write
in class IlvFeatureAttribute
stream
- The output stream.IOException
- thrown when an exception occurs during
the write operation for this object.public IlvFeatureAttributeProperty getFeatureProperties()
public String getUniqueKey()
public IlvMapGeometry getGeometry()
public String getParentReference()
public String getReference(char c)
c
- Character identifying the key ('p' for parent, '1' for 1st referred table,...).public void addChild(IlvDAFIFFeature child)
child
- Child to add to the feature.public int getChildrenCount()
public IlvDAFIFFeature getChild(int i)
i
- The index of the child.public void removeChild(IlvDAFIFFeature child)
child
- The child to remove.public IlvFeatureAttribute copy()
copy
in class IlvFeatureAttribute
IlvFeatureAttribute
.IlvFeatureAttribute.copy()
public String toString()
toString
in class Object
Object.toString()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.