JSave

From Protege Wiki
Jump to: navigation, search

JSave

by Samson Tu

Type Application
Author(s) Samson Tu
Last Update April 24, 2008
License Mozilla Public License
Homepage JSave website
For Application
Topic(s)
Affiliation

JSave can be used to generate Java class definition stubs for Protege-Frames classes.

Versions & Compatibility

This section lists available versions of JSave.

VersionCompatible withDependencies
JSave 1.0Protege-Frames 3.4
Protege-Frames 3.3.1
Protege-Frames 3.2.1
Protege-Frames 3.1.1
Protege-Frames 3.0

If you click on the button below to add a new version of JSave, you will be asked to define a page title for the new version. Please adhere to the naming convention of JSave X.X.X when you define the new page!

Changelog

VersionChanges in this version
JSave 1.0minor updates to sample configuration file and invocation script


More Information

JSave can be used to generate Java class definition stubs for Protege classes. The top level classes extend DefaultSimpleInstance, so that instances of the generated Java classes are also Protege instances and can use Protege API calls. A developer can add his or her own methods to the Java class definition. Regenerating Java class stubs will update the stubs while preserving user-supplied code. An option of the package allows generation of Java bean access methods and listeners.

Installation

JSave is available for download from the Protege Web site in the form of a ZIP file:

http://protege.stanford.edu/plugins/jsave/jsave-bin-1.0.zip

Simply unzip the file to a location of your choice on your system, preserving the path names in the ZIP file.

Documentation

JSave documentation comes with the binary distribution of the application. After you have unzipped the file on your system, you will find an HTML document entitled "jsave.html" in the root directory. If you would rather read the documentation without downloading JSave first, you can view jsave.html from the Protege Subversion repository:

http://smi-protege.stanford.edu/svn/jsave/trunk/docs/jsave.html (click the "download" link in the top left corner of the page)

Level of Support

Author will answer questions via email, fix bugs, and consider new feature requests as time permits.

Any communications concerning JSave should be posted on the protege-discussion mailing list.

Source Code

The source code for JSave is available from the Protege subversion repository:

Alternatively, we have provided the source code and Javadoc together in a ZIP file, which can be downloaded from the Protege Web site:

http://protege.stanford.edu/plugins/jsave/jsave-src-1.0.zip