org.sourcejammer.project.model.filesys
Class MasterFileDeserializer

java.lang.Object
  |
  +--org.sourcejammer.project.model.filesys.MasterFileDeserializer

public class MasterFileDeserializer
extends java.lang.Object

Title: $FileName: MasterFileDeserializer.java$

Version:
$VerNum: 4$
Author:
$AuthorName: Rob MacGrogan$

$Description: $
$KeyWordsOff: $

Field Summary
private  org.w3c.dom.Document doc
           
private  MasterFileNodeFS file
           
(package private)  long key
           
 
Constructor Summary
MasterFileDeserializer(org.w3c.dom.Document doc)
           
 
Method Summary
private  BranchNode buildBranch(org.w3c.dom.Element elm)
           
 MasterFileNodeFS deserialize()
           
private  void initializeFile()
           
private  void setAllChildren(BranchNode parent, org.w3c.dom.Element elmParent, long key)
           
private  void setBasicInfo(MasterFileNodeFS node, long key, org.w3c.dom.Element elmInfo)
           
private  void setChildren(MasterFileNodeFS node, long key, org.w3c.dom.Element elmChildren)
           
 void setKey(long key)
           
 void setMasterFile(MasterFileNodeFS file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doc

private org.w3c.dom.Document doc

file

private MasterFileNodeFS file

key

long key
Constructor Detail

MasterFileDeserializer

public MasterFileDeserializer(org.w3c.dom.Document doc)
Method Detail

setMasterFile

public void setMasterFile(MasterFileNodeFS file)

setKey

public void setKey(long key)

initializeFile

private void initializeFile()
                     throws SecurityException
SecurityException

setBasicInfo

private void setBasicInfo(MasterFileNodeFS node,
                          long key,
                          org.w3c.dom.Element elmInfo)

buildBranch

private BranchNode buildBranch(org.w3c.dom.Element elm)

setAllChildren

private void setAllChildren(BranchNode parent,
                            org.w3c.dom.Element elmParent,
                            long key)
                     throws org.sourcejammer.project.NodeExistsException
org.sourcejammer.project.NodeExistsException

setChildren

private void setChildren(MasterFileNodeFS node,
                         long key,
                         org.w3c.dom.Element elmChildren)
                  throws org.sourcejammer.xml.XMLNodeDoesNotExistException,
                         org.sourcejammer.project.NodeExistsException
org.sourcejammer.xml.XMLNodeDoesNotExistException
org.sourcejammer.project.NodeExistsException

deserialize

public MasterFileNodeFS deserialize()
                             throws SecurityException,
                                    org.sourcejammer.xml.XMLNodeDoesNotExistException,
                                    org.sourcejammer.project.NodeExistsException
SecurityException
org.sourcejammer.xml.XMLNodeDoesNotExistException
org.sourcejammer.project.NodeExistsException


Copyright 2003 Soucejammer project.