public class IlvProjectionDictionary extends Object implements Serializable
Constructor and Description |
---|
IlvProjectionDictionary()
Creates an instance of the projection dictionary and initializes it with the
projections in the package.
|
Modifier and Type | Method and Description |
---|---|
IlvProjection |
getProjection(String name)
Returns the projection corresponding to the string passed as argument.
|
Enumeration<String> |
getProjectionNames()
Returns a list of the projections supported by the dictionary.
|
void |
registerProjection(String name,
Class<?> projectionClass)
Registers a new projection.
|
boolean |
unregisterProjection(String name)
Removes a projection from the dictionary.
|
public IlvProjectionDictionary()
public IlvProjection getProjection(String name)
public Enumeration<String> getProjectionNames()
String
.public void registerProjection(String name, Class<?> projectionClass)
name
- the name of the projectionprojectionClass
- the class that defines the projection. This projection
class must inherit from the class IlvProjection
and have a constructor
without argument.public boolean unregisterProjection(String name)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.