public class IlvCoordinateSystemProperty extends IlvNamedProperty
IlvManager
containing cartographic data.
Note: since IlvManager
only manage 2D coordinates, only
two dimension coordinate system can be stored this way.Modifier and Type | Field and Description |
---|---|
static String |
NAME
The name of the property.
|
Constructor and Description |
---|
IlvCoordinateSystemProperty(IlvCoordinateSystem cs)
Creates a new
IlvCoordinateSystemProperty object with the
specified coordinate system. |
IlvCoordinateSystemProperty(IlvCoordinateSystemProperty source)
Creates a new
IlvCoordinateSystemProperty by copying an
existing one. |
IlvCoordinateSystemProperty(IlvInputStream stream)
Creates a new
IlvCoordinateSystemProperty from an
IlvInputStream . |
Modifier and Type | Method and Description |
---|---|
IlvNamedProperty |
copy()
Copies the property.
|
IlvCoordinateSystem |
getCoordinateSystem()
Returns the coordinate system of this property.
|
static IlvCoordinateSystem |
GetCoordinateSystem(IlvManager manager)
Returns the coordinate system of a manager.
|
boolean |
isPersistent()
Returns
true if the property can be saved. |
void |
write(IlvOutputStream stream)
Writes the property to an
IlvOutputStream . |
getName
public static final String NAME
public IlvCoordinateSystemProperty(IlvCoordinateSystem cs)
IlvCoordinateSystemProperty
object with the
specified coordinate system.cs
- The coordinate system.public IlvCoordinateSystemProperty(IlvCoordinateSystemProperty source)
IlvCoordinateSystemProperty
by copying an
existing one.source
- The source property to be copied.public IlvCoordinateSystemProperty(IlvInputStream stream) throws IlvReadFileException
IlvCoordinateSystemProperty
from an
IlvInputStream
.stream
- The input stream.IlvReadFileException
- if an error occurs while reading.public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
.write
in interface IlvPersistentObject
write
in class IlvNamedProperty
stream
- The output stream.IOException
- if an I/O exception occurs.public IlvNamedProperty copy()
copy
in class IlvNamedProperty
public boolean isPersistent()
true
if the property can be saved.isPersistent
in class IlvNamedProperty
true
.public IlvCoordinateSystem getCoordinateSystem()
public static IlvCoordinateSystem GetCoordinateSystem(IlvManager manager)
IlvCoordinateSystemProperty
is attached to the
manager, the coordinate system of the property is returned. Otherwise,
a null
coordinate system is returned, meaning
that the coordinate system of the manager is unknown.manager
- The manager.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.