|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--vc.xml.sax.VersionDBWriter
VersionDBWriter is the class of XML subsystem which writes the XML document corresponding to the version database.
| Constructor Summary | |
VersionDBWriter()
|
|
| Method Summary | |
void |
saveXMLFile()
The method that finally saves all the prepared XML code into the file |
void |
writeBeginDataBase(java.lang.String dbName)
writes the XML data about the starting of the database element |
void |
writeBeginFile(java.lang.String id,
java.lang.String letestVersionName)
writes the XML data about the starting of the file element |
void |
writeBeginProject(java.lang.String id,
java.lang.String letestVersionName)
writes the XML data about the starting of the project element |
void |
writeEndDataBase()
writes the XML data about the ending of the database element |
void |
writeEndFile()
writes the XML data about the ending of the file element |
void |
writeEndProject()
writes the XML data about the ending of the project element |
void |
writeHeader()
writes the XML header required for any XML document |
void |
writeLabelVersionMap(java.lang.String label,
java.lang.String version,
java.lang.String user,
java.lang.String birthTime)
Writes the XML data about the LabelVersionMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VersionDBWriter()
| Method Detail |
public void saveXMLFile()
throws java.lang.Throwable
public void writeHeader()
public void writeBeginDataBase(java.lang.String dbName)
dbName - name of the databasepublic void writeEndDataBase()
public void writeBeginProject(java.lang.String id,
java.lang.String letestVersionName)
id - id of the projectletestVersionName - name of the latest version of the projectpublic void writeEndProject()
public void writeBeginFile(java.lang.String id,
java.lang.String letestVersionName)
id - id of the fileletestVersionName - name of the latest version of the filepublic void writeEndFile()
public void writeLabelVersionMap(java.lang.String label,
java.lang.String version,
java.lang.String user,
java.lang.String birthTime)
label - label of the LabelVersionMapversion - version of the LabelVersionMapuser - user of the LabelVersionMapbirthTime - birthTime of the LabelVersionMap
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||