vc.xml.sax
Class VersionDBSaxDataExtractor
java.lang.Object
|
+--vc.xml.sax.SaxDataExtractor
|
+--vc.xml.sax.VersionDBSaxDataExtractor
- public class VersionDBSaxDataExtractor
- extends SaxDataExtractor
VersionDBSaxDataExtractor is the class of XML subsystem which extracts the XML data
specific to the version database from the sax events raised while parsing XML files.
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 related to the version information. |
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 related to the version information. |
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 related to the version information. |
protected void |
processLabelVersionMapElement(org.xml.sax.Attributes attrs)
This implementation of the super class method processes the event related
to the parsing of the LabelVersionMap element related to the version information. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionDBSaxDataExtractor
public VersionDBSaxDataExtractor(ProjectDB projectDB)
- Constructs and initializes the object , by updating the ProjectDB object
with the version related data
- Parameters:
projectDB
- project database object that also holds the version
related information
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 related to the version information.
This method extracts the attribute values sequentially, and updates the
Directory object in the project database about the version information.
- Overrides:
processDirectoryElement
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 related to the version information.
This method extracts the attribute values sequentially, and updates the
File object in the project database about the version information.
- 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 related to the version information.
This method extracts the attribute values sequentially, and updates the
the project database about the version information.
- Overrides:
processDataBaseElement
in class SaxDataExtractor
- Parameters:
attrs
- Attributes object passed by the XML SAX parser with the
attribute data/values packed into it.
processLabelVersionMapElement
protected void processLabelVersionMapElement(org.xml.sax.Attributes attrs)
- This implementation of the super class method processes the event related
to the parsing of the LabelVersionMap element related to the version information.
This method extracts the attribute values sequentially, and creates the
LabelVersionMap object and adds to the project database.
- Overrides:
processLabelVersionMapElement
in class SaxDataExtractor
- Parameters:
attrs
- Attributes object passed by the XML SAX parser with the
attribute data/values packed into it.