| java.lang.Object org.cougaar.tools.csmart.util.XMLUtils org.cougaar.tools.csmart.ui.viewer.OrganizerXML
OrganizerXML | public class OrganizerXML extends XMLUtils (Code) | | Write out to XML enough content to recreate a users workspace. Also used to read it in,
loading from the DB the named experiments and recipes. Note that societies are not captured.
|
EXPERIMENT_NODE | final public static String EXPERIMENT_NODE(Code) | | |
RESULTDIR_NODE | final public static String RESULTDIR_NODE(Code) | | |
WORKSPACE_NODE | final public static String WORKSPACE_NODE(Code) | | |
OrganizerXML | public OrganizerXML()(Code) | | |
createXMLDocument | public Document createXMLDocument(DefaultMutableTreeNode rootNode, String resultDirName)(Code) | | Given the root node of the workspace and the global result directory name,
generate an XML document for the workspace.
Parameters: rootNode - a DefaultMutableTreeNode root of the workspace organizer Parameters: resultDirName - a String global result directory name a Document capturing the necc info |
parseResultDirName | public String parseResultDirName(Node root)(Code) | | Given the root node in an XML document, find the result dir name, if any.
Parameters: root - a Node at the root of an XML document a String result directory name, possibly null |
populateWorkspace | public DefaultMutableTreeNode populateWorkspace(String workspacefilename, Organizer organizer)(Code) | | Load the given XML file, creating the workspace in the given Organizer.
The caller is expected to have set up the organizer with a workspace,
TreeModel, and root Node.
Parameters: workspacefilename - a String file name to load Parameters: organizer - an Organizer to fill in a DefaultMutableTreeNode root node in the workspace. |
|
|