Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cl::utfsm::acs::ebe::EbeDocumentManager Class Reference

Collaboration diagram for cl::utfsm::acs::ebe::EbeDocumentManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EbeDocumentManager ()
void newDocument (String path, String name)
void loadDocument (String path)
void removeDocument (String name)
void removeAll ()
void deleteDocument (String name)
TreeMap< String, EbeDocumentgetDocuments ()

Package Functions

 SuppressWarnings ("unchecked") public void addDefaults()
 SuppressWarnings ("unchecked") public void addDirectory(String path)

Package Attributes

TreeMap< String, EbeDocumentdocuments
ErrorSchema schema

Private Member Functions

void addFileList (ArrayList< File > lst)

Detailed Description

Error Browser and Editor Document manager. This class manages the XML files, and offers a EbeDocument abstraction. This class manages those objects in a generic form. For this, the schema file must be loaded, specific classes initializated, and create a document pool
Author:
Mauricio Araya (maray[at]inf.utfsm.cl)


Constructor & Destructor Documentation

cl::utfsm::acs::ebe::EbeDocumentManager::EbeDocumentManager  )  [inline]
 

Reads the schema files, setup classes and init the pool


Member Function Documentation

void cl::utfsm::acs::ebe::EbeDocumentManager::addFileList ArrayList< File >  lst  )  [inline, private]
 

Load a filelist to the manager.

Parameters:
lst The Arraylist to load

void cl::utfsm::acs::ebe::EbeDocumentManager::deleteDocument String  name  )  [inline]
 

Permanently delete from the HD the file

Parameters:
name the filename to remove

TreeMap<String,EbeDocument> cl::utfsm::acs::ebe::EbeDocumentManager::getDocuments  )  [inline]
 

Get the document TreeMap

Returns:
the documents TreeMap.

void cl::utfsm::acs::ebe::EbeDocumentManager::loadDocument String  path  )  [inline]
 

Load the document information from the path, and creates a new doc.

Parameters:
path the filepath to load from

void cl::utfsm::acs::ebe::EbeDocumentManager::newDocument String  path,
String  name
[inline]
 

Create a new document (a new file). This class setup the classic document info.

Parameters:
path the path where the file should be
name the document internal name

void cl::utfsm::acs::ebe::EbeDocumentManager::removeAll  )  [inline]
 

Remove all the documents from the manager

void cl::utfsm::acs::ebe::EbeDocumentManager::removeDocument String  name  )  [inline]
 

Remove a document from the manager by name.

Parameters:
name the name to remove

cl::utfsm::acs::ebe::EbeDocumentManager::SuppressWarnings "unchecked"   )  [inline, package]
 

Add a specific directory to the manager

Parameters:
path the directory Path.

cl::utfsm::acs::ebe::EbeDocumentManager::SuppressWarnings "unchecked"   )  [inline, package]
 

Add defaults directories, and load the files.


Member Data Documentation

TreeMap<String,EbeDocument> cl::utfsm::acs::ebe::EbeDocumentManager::documents [package]
 

the list of current documents

ErrorSchema cl::utfsm::acs::ebe::EbeDocumentManager::schema [package]
 

The AcsError Schema class


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:09:51 2009 for ACS Java API by doxygen 1.3.8