The OME-Java library is a collection of Java packages for performing two OME-related tasks:
We use the OME-XML metadata processing facilities within our Bio-Formats library, and the OME server communication in our OME plugins for ImageJ.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.
To use, add ome-java.jar to your classpath or build path.
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().