vc.xml.sax
Class ProjectDBWriter

java.lang.Object
  |
  +--vc.xml.sax.ProjectDBWriter
All Implemented Interfaces:
java.lang.Runnable

public class ProjectDBWriter
extends java.lang.Object
implements java.lang.Runnable

ProjectDBWriter is the class of XML subsystem which writes the XML document corresponding to the project database.


Constructor Summary
ProjectDBWriter(ProjectDB projectDB)
          Constructs and Initializes the object with the data passed with the parameters
 
Method Summary
 void run()
          This method contributes for writing the XML file out of the data in project and version databases in a separate thread.
 void writeProjectRecursively(DirectoryContainer directoryContainer)
          This method writes the project information recursively one directory after the other where each directory writes the code for it's subdirectories and other children
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectDBWriter

public ProjectDBWriter(ProjectDB projectDB)
Constructs and Initializes the object with the data passed with the parameters
Parameters:
projectDB - to initializethe field projectDB
Method Detail

run

public void run()
This method contributes for writing the XML file out of the data in project and version databases in a separate thread.
Specified by:
run in interface java.lang.Runnable

writeProjectRecursively

public void writeProjectRecursively(DirectoryContainer directoryContainer)
This method writes the project information recursively one directory after the other where each directory writes the code for it's subdirectories and other children
Parameters:
directoryContainer - container of the directory whose data and the childrens corresponding XML data is to be written