|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gvsig.crs.persistence.RecentCRSsPersistence
public class RecentCRSsPersistence
This class is used to save a list of CRSs (using the Andami persistence model) to the plugins-persistence.xml file. It has methods to create a set of CrsData objects from an xml file. It can also save a set of CRSs objects in an xml file.
| Constructor Summary | |
|---|---|
RecentCRSsPersistence()
Constructor |
|
| Method Summary | |
|---|---|
void |
addCrsData(CrsData crs)
This method adds a CrsData using the Anadami persistence model. |
org.gvsig.utils.XMLEntity |
crsDataToXml(CrsData crs)
This method creates and returns a new XMLEntity. |
CrsData[] |
getArrayOfCrsData()
This method returns an array of CrsData objects that have been saved using the Andami persistence model. |
org.gvsig.utils.XMLEntity |
getXml()
|
void |
setArrayOfCrsData(CrsData[] crss)
This method saves an array of CrsData using the Anadami persistence model |
void |
setPersistent()
This methos is used to save the information in an XML file |
void |
setXml(org.gvsig.utils.XMLEntity xml)
|
CrsData |
xmlToCrsData(org.gvsig.utils.XMLEntity xmlEnt)
This method creates a new CrsData from a XMLEntity |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecentCRSsPersistence()
| Method Detail |
|---|
public void addCrsData(CrsData crs)
crs - CrsDatapublic org.gvsig.utils.XMLEntity crsDataToXml(CrsData crs)
crs - CrsData with all the Crs information
public CrsData[] getArrayOfCrsData()
public org.gvsig.utils.XMLEntity getXml()
public void setArrayOfCrsData(CrsData[] crss)
crsss - Array of crsspublic void setPersistent()
public void setXml(org.gvsig.utils.XMLEntity xml)
public CrsData xmlToCrsData(org.gvsig.utils.XMLEntity xmlEnt)
xmlEnt - XMLRntity that contains the Crs information
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||