Package org.activemath.omdocjdom.mbase

This package contains an implementation of scratchpad-MBase It stores all its documents in a set of OJDocuments and builds a table of IDs as well as dependency maps.

See:
          Description

Class Summary
Dependency This class represents a general usage dependency within MBase.
Dependency.IDElement  
ElementFromIDTable This class implements the centrals service for finding an element from a given ID.
Heuristics An extensiion of OJElement to contain the heuristics to resolve references.
MBaseBuilder This class is responsible for building the JDOM documents (more precisely the OJDocument with elements of class MBaseItem) and to build the table of id and the dependencies information.
MBaseErrorReporter MBaseErrorReporter is a configurable way to report errors when building and/or reloading a OmdocJdomMBase.
MBaseItem This class extends the MBaseItem class to include methods and inner-classes to provide support for dependencies.
OJXmlRpcMBaseRef This implementation of MBaseRef is an Xml-Rpc client supposed to talk to an OJXMLRPCmbaseServer.
OJXMLRPCmbaseServer This class acts as a generic wrapper of any given MBaseRef to serve it through XML-RPC on the given port number.
OmdocJdomMBase This class is the base class of a remake of the lost FileMBase approach (which was based on Xerces DOM structure), this one is based on the JDOM package and its extension in the org.activemath.omdocjdom.package package.
OmdocJdomMBaseRef This class is a wrapper for OmdocJdomMBase to be integrated within ActiveMath under the MBaseRef interface.
OmdocJdomMBaseReloaderTask This class provides a little wrapper to send, without any xml-rpc library, a request to reload the OmdocJdomMbase.
 

Package org.activemath.omdocjdom.mbase Description

This package contains an implementation of scratchpad-MBase It stores all its documents in a set of OJDocuments and builds a table of IDs as well as dependency maps.

This building process is checked (with configurable checking) so that, if the checking succeeds one is sure that no content is lost for use with ActiveMath. The checks are only the references as encoded in the for= attribute as well as the <ref> elements.

The package is not yet really properly documented... this should come soon.

Currently, one can invoke the main method of class OmdocJdomMbase with a list of arguments and it will stop at the first error, reporting the bug, a rhino will then be started. The check will be configured from the command-line.