org.sourcejammer.project.model.filesys
Class ProjectNodeDeserializer

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

public class ProjectNodeDeserializer
extends NodeDeserializer

Title: $FileName: ProjectNodeDeserializer.java$

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

$Description: Deserializes XML to ProjectNodeFS.$
$KeyWordsOff: $


Field Summary
private  org.w3c.dom.Document doc
           
private  long key
           
private  NodeLibraryFS library
           
private  ProjectNodeFS project
           
 
Constructor Summary
ProjectNodeDeserializer(org.w3c.dom.Document doc)
           
 
Method Summary
 NodeFS deserialize()
           
private  void setBasicProjectInfo(ProjectNodeFS proj, long lKey, org.w3c.dom.Element elmInfo)
           
private  void setChildren(ProjectNodeFS proj, long lKey, org.w3c.dom.Element elmRoot)
           
 void setKey(long key)
          Sets the key.
 void setLibrary(NodeLibraryFS library)
          Sets the library.
 void setProject(ProjectNodeFS project)
          Sets the project.
private  void setRemovedChildren(ProjectNodeFS proj, long lKey, org.w3c.dom.Element elmRoot)
           
 
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

project

private ProjectNodeFS project

key

private long key

library

private NodeLibraryFS library
Constructor Detail

ProjectNodeDeserializer

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

setBasicProjectInfo

private void setBasicProjectInfo(ProjectNodeFS proj,
                                 long lKey,
                                 org.w3c.dom.Element elmInfo)

setChildren

private void setChildren(ProjectNodeFS proj,
                         long lKey,
                         org.w3c.dom.Element elmRoot)
                  throws org.sourcejammer.xml.XMLNodeDoesNotExistException,
                         FileAccessException,
                         org.sourcejammer.project.NodeDoesNotExistException
org.sourcejammer.xml.XMLNodeDoesNotExistException
FileAccessException
org.sourcejammer.project.NodeDoesNotExistException

setRemovedChildren

private void setRemovedChildren(ProjectNodeFS proj,
                                long lKey,
                                org.w3c.dom.Element elmRoot)
                         throws org.sourcejammer.xml.XMLNodeDoesNotExistException,
                                org.sourcejammer.project.NodeDoesNotExistException,
                                FileAccessException
org.sourcejammer.xml.XMLNodeDoesNotExistException
org.sourcejammer.project.NodeDoesNotExistException
FileAccessException

deserialize

public NodeFS deserialize()
                   throws SecurityException,
                          org.sourcejammer.xml.XMLNodeDoesNotExistException
Specified by:
deserialize in class NodeDeserializer
SecurityException
org.sourcejammer.xml.XMLNodeDoesNotExistException
See Also:
NodeDeserializer.deserialize()

setKey

public void setKey(long key)
Sets the key.

Parameters:
key - The key to set

setProject

public void setProject(ProjectNodeFS project)
Sets the project.

Parameters:
project - The project to set

setLibrary

public void setLibrary(NodeLibraryFS library)
Sets the library.

Parameters:
library - The library to set


Copyright 2003 Soucejammer project.