java.lang.Object
org.biomage.tools.generate_dtd.WriteDTDElement
org.biomage.tools.generate_dtd.WriteDTDPackageElement
- public class WriteDTDPackageElement
- extends WriteDTDElement
Description:
Class that is resposible for generating a DTD file
for the classes represented by the list of class nodes
passed into the constructor.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
packageElement
protected java.lang.StringBuffer packageElement
- Description:
For outputting the MAGE-OM element to the file.
WriteDTDPackageElement
protected WriteDTDPackageElement(org.biomage.tools.generate_classes.CreateFile createFile)
throws java.lang.Exception
- Description:
Constructor for the DTD file generator.
orderedClasses
protected java.util.Vector orderedClasses(org.w3c.dom.Element packageOrdering)
throws java.lang.Exception
- Description:
Method to read the XML configuration for the ordering of the lists for this package.
createXMLStrings
protected void createXMLStrings(org.w3c.dom.Element packageOrdering)
throws java.lang.Exception
- Description:
Creates the element declaration for the package.
- Specified by:
createXMLStrings in class WriteDTDElement
writeEntities
protected void writeEntities(java.io.FileWriter writer)
throws java.lang.Exception
- Description:
Method to write out entities. Packages write out
a brief comment.
- Overrides:
writeEntities in class WriteDTDElement
writeBody
protected void writeBody(java.io.FileWriter writer)
throws java.lang.Exception
- Description:
Method to write out the body.
- Overrides:
writeBody in class WriteDTDElement