|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.project.ProjectSerializer
This class stores a project object into a XML text file.
Project
,
ProjectDeserializer
Constructor Summary | |
ProjectSerializer()
|
Method Summary | |
static void |
boundSerializer(XmlBuilder xml,
java.awt.geom.Rectangle2D bounds)
This method serializes the given rectangle into an existing XMl builder object. |
static void |
layerSerialize(XmlBuilder xml,
FLayer lyr,
java.lang.String projPath)
Writes the state of a layer lyr in the xml document |
static void |
projectSerialize(XmlBuilder xml,
Project prj)
Serializes the given project into the existing xml builder. |
static void |
storeProject(Project prj)
Stores the project in the file indiceted by the project irself |
static void |
styleSerialize(XmlBuilder xml,
FLayer lyr)
This method serializes the layer properties into the existing XML builder. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProjectSerializer()
Method Detail |
public static void storeProject(Project prj)
prj
- the project to be stored.public static void projectSerialize(XmlBuilder xml, Project prj)
xml
- an existing XML builder where the project has to be serialized.prj
- the project to be serialized.public static void styleSerialize(XmlBuilder xml, FLayer lyr)
xml
- an existing XML builder where the layer properties have to be serialized.lyr
- the layer whose properties have to be serialized.public static void boundSerializer(XmlBuilder xml, java.awt.geom.Rectangle2D bounds)
xml
- an existing XML builder object where the rectangle has to be serializedbounds
- the rectangle to be serializedpublic static void layerSerialize(XmlBuilder xml, FLayer lyr, java.lang.String projPath)
xml
- an existing XML builder where the layer has to be serializedlyr
- the layer which has to be serializedprojPath
- the project path
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |