dods.doml
Class DOMLUpgradeFactory

java.lang.Object
dods.doml.DOMLUpgradeFactory
- public class DOMLUpgradeFactory
- extends java.lang.Object
This class is used to create DOML files out of DODS Project trees.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMLUpgradeFactory
public DOMLUpgradeFactory()
- Constructor. Each factory object should be able to create many documents
out of many given projects without having to call for new factory
objects (although there is no real saving in doing so).
appendTextElement
private void appendTextElement(org.w3c.dom.Element target,
java.lang.String elementName,
java.lang.String text)
generateAttributeElement
private org.w3c.dom.Element generateAttributeElement(org.w3c.dom.Document doc,
dods.data.Attribute attr)
placeDataObjectInDocument
private void placeDataObjectInDocument(dods.data.DataObject dataObject,
org.w3c.dom.Element parentElement)
createDocument
public org.w3c.dom.Document createDocument(dods.data.DODSProject project)
throws UpException
- Create a DOM Document out of an existing project data structure.