uk.ac.ic.doc.automed.p2p.tree
Class TreeBuilder
java.lang.Object
uk.ac.ic.doc.automed.p2p.tree.TreeBuilder
public class TreeBuilder
- extends java.lang.Object
- Author:
- Charis
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Field Summary |
(package private) org.w3c.dom.Element |
rootElement
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rootElement
org.w3c.dom.Element rootElement
TreeBuilder
public TreeBuilder(org.w3c.dom.Element root)
TreeBuilder
public TreeBuilder(org.w3c.dom.Document document)
buildTree
public Root buildTree()
throws AutoMedTreeException
- Throws:
AutoMedTreeException
buildMainObjectClasses
public void buildMainObjectClasses(org.w3c.dom.Element classes,
Root root)
throws AutoMedTreeException
- Throws:
AutoMedTreeException
buildCollectionSet
public void buildCollectionSet(org.w3c.dom.Element set,
Root root)
throws AutoMedTreeException
- Throws:
AutoMedTreeException
buildCollection
private ObjectCollection buildCollection(org.w3c.dom.Element element)
throws AutoMedTreeException
- Parameters:
element
-
- Returns:
-
- Throws:
AutoMedTreeException
buildAutoMedObject
private AutoMedObject buildAutoMedObject(org.w3c.dom.Element element,
java.lang.Class objectClass)
throws AutoMedTreeException
- Parameters:
objectElement
-
- Returns:
-
- Throws:
AutoMedTreeException
AutoMedException
buildField
private Field buildField(org.w3c.dom.Element element)
throws AutoMedTreeException
- Parameters:
fieldElement
-
- Returns:
-
- Throws:
AutoMedTreeException
buildValue
private Value buildValue(org.w3c.dom.Element element)
throws AutoMedTreeException
- Parameters:
valueElement
-
- Returns:
-
- Throws:
AutoMedTreeException
buildValueList
private Value buildValueList(org.w3c.dom.Element element)
throws AutoMedTreeException
- Parameters:
element
-
- Returns:
-
- Throws:
AutoMedTreeException
buildReference
private Value buildReference(org.w3c.dom.Element element)
throws AutoMedTreeException
- Parameters:
element
-
- Returns:
-
- Throws:
AutoMedTreeException