Open Microscopy Environment
Laboratory for Optical and Computational Instrumentation
OME at LOCI – Software – OME-Java library

The OME-Java library is a collection of Java packages for performing two OME-related tasks:

  1. Communicating with an OME Perl server.
  2. Working with OME-XML documents.
We use the OME-XML metadata processing facilities within our Bio-Formats library, and the OME server communication in our OME plugins for ImageJ.




Download

You can download ome-java.jar from our source code repository. The license is LGPL.

You can find the latest source code in the OME-JAVA branch of the main OME CVS repository.


Installation

To use, add ome-java.jar to your classpath or build path.


Usage

You can peruse the online API documentation. For an example of usage, see the Bio-Formats metadata architecture.

The OMENode is the root ("OME") node of the OME-XML. Each XML element has its own node type (e.g., "Image" has ImageNode) with its own accessor and mutator methods, to make navigation of the OME-XML structure easier than it would be with a raw DOM object. However, there are some limitations to what can be done with the API. If your application needs access to a node's backing DOM element to work with it directly, you can call OMEXMLNode.getDOMElement().



Last update: Friday, August 1, 2008