public class ProjectionPersistenceFactory extends AbstractSinglePersistenceFactory
IProjection objects. The information about the
IProjection which will be persisted is its full code, containing all
required information to be able to reconstruct the IProjection object
through the CRSFactory.getCRS(String) method.
NOTE:To activate this factory, it must be instanced and
registered in the PersistenceManager. This will be usually performed
from the project Library.
| Constructor and Description |
|---|
ProjectionPersistenceFactory()
Creates a new
ProjectionPersistenceFactory. |
| Modifier and Type | Method and Description |
|---|---|
Object |
createFromState(PersistentState state)
Create an instance of the object represented by the state.
|
void |
saveToState(PersistentState state,
Object obj)
Fill
state with data to persist of obj. |
getDefinition, getDefinition, getDefinitions, getDomainName, getDomainURL, getManagedClass, getManagedClass, getManagedClass, getManagedClasses, getManagedClassName, loadFromState, manages, manages, manages, toStringpublic ProjectionPersistenceFactory()
ProjectionPersistenceFactory.public Object createFromState(PersistentState state) throws PersistenceException
PersistenceFactoryPersistenceFactory.loadFromState(PersistentState, Object) only create
the object.PersistenceExceptionpublic void saveToState(PersistentState state, Object obj) throws PersistenceException
PersistenceFactorystate with data to persist of obj.PersistenceException