vc.xml.sax
Class ProjectDBSaxDataExtractor
java.lang.Object
|
+--vc.xml.sax.SaxDataExtractor
|
+--vc.xml.sax.ProjectDBSaxDataExtractor
- public class ProjectDBSaxDataExtractor
- extends SaxDataExtractor
ProjectDBSaxDataExtractor is the class of XML subsystem which extracts the XML data
specific to the project database from the sax events raised while parsing XML files.
Constructor Summary |
ProjectDBSaxDataExtractor()
Constructs and initializes the object , by constructing the projectDB object
that represents the project database |
Method Summary |
protected void |
processDataBaseElement(org.xml.sax.Attributes attrs)
This implementation of the super class method processes the event related
to the parsing of the DataBase element. |
protected void |
processDirectoryElement(org.xml.sax.Attributes attrs)
This implementation of the super class method processes the event related
to the parsing of the Directory element. |
protected void |
processDiskMapElement(org.xml.sax.Attributes attrs)
This implementation of the super class method processes the event related
to the parsing of the DiskMap element. |
protected void |
processFileElement(org.xml.sax.Attributes attrs)
This implementation of the super class method processes the event related
to the parsing of the File element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectDBSaxDataExtractor
public ProjectDBSaxDataExtractor()
- Constructs and initializes the object , by constructing the projectDB object
that represents the project database
processDirectoryElement
protected void processDirectoryElement(org.xml.sax.Attributes attrs)
- This implementation of the super class method processes the event related
to the parsing of the Directory element. This method extracts the attribute
values sequentially, creates the Directory object out of those values and
adds it to the project database.
- Overrides:
processDirectoryElement
in class SaxDataExtractor
- Parameters:
attrs
- Attributes object passed by the XML SAX parser with the
attribute data/values packed into it.
processDiskMapElement
protected void processDiskMapElement(org.xml.sax.Attributes attrs)
- This implementation of the super class method processes the event related
to the parsing of the DiskMap element. This method extracts the attribute
values sequentially, creates the DirDiskMap object out of those values and
adds it to the project database.
- Overrides:
processDiskMapElement
in class SaxDataExtractor
- Parameters:
attrs
- Attributes object passed by the XML SAX parser with the
attribute data/values packed into it.
processFileElement
protected void processFileElement(org.xml.sax.Attributes attrs)
- This implementation of the super class method processes the event related
to the parsing of the File element. This method extracts the attribute
values sequentially, creates the File object out of those values and
adds it to the project database.
- Overrides:
processFileElement
in class SaxDataExtractor
- Parameters:
attrs
- Attributes object passed by the XML SAX parser with the
attribute data/values packed into it.
processDataBaseElement
protected void processDataBaseElement(org.xml.sax.Attributes attrs)
- This implementation of the super class method processes the event related
to the parsing of the DataBase element. This method extracts the attribute
values sequentially, updates the ProjectDB object out of those values.
- Overrides:
processDataBaseElement
in class SaxDataExtractor
- Parameters:
attrs
- Attributes object passed by the XML SAx parser with the
attribute data/values packed into it.