public class ProjectionPersistenceFactory
extends org.gvsig.tools.persistence.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(org.gvsig.tools.persistence.PersistentState state) |
void |
saveToState(org.gvsig.tools.persistence.PersistentState state,
Object obj) |
getDefinition, getDefinition, getDefinitions, getDomainName, getDomainURL, getManagedClass, getManagedClass, getManagedClass, getManagedClasses, getManagedClassName, loadFromState, manages, manages, manages, toString
public ProjectionPersistenceFactory()
ProjectionPersistenceFactory
.public Object createFromState(org.gvsig.tools.persistence.PersistentState state) throws org.gvsig.tools.persistence.exception.PersistenceException
org.gvsig.tools.persistence.exception.PersistenceException
public void saveToState(org.gvsig.tools.persistence.PersistentState state, Object obj) throws org.gvsig.tools.persistence.exception.PersistenceException
org.gvsig.tools.persistence.exception.PersistenceException
Copyright © 2013 gvSIG Association. All Rights Reserved.