DDMSence (pronounced "dee-dee-em-Essence") is an open source Java API which supports the DoD Discovery Metadata Specification (DDMS). Using XOM and the Xerces Java parser, DDMSence can transform XML DDMS Resource records into a Java object model, allowing them to be manipulated or traversed within the context of a Java environment. DDMSence also performs logical validation of rules which are not coded into the DDMS schema (such as the the validation of longitude/latitude values).
* Provides a complete implementation of all five Layers in the DDMS specification (including the Extensible Layer) using either DDMS 2.0 or DDMS 3.0 Pre-Release.
* Java object model can be created from existing XML files, or built up from scratch with basic Java data types. Components can automatically transform into valid, well-formed XML, HTML, and Text records, according to the DDMS specification.
* Adds an additional layer of validation to all components, including the Controlled Vocabulary Enumerations for ICISM security attributes, as defined by the Intelligence Community. Custom validation rules can also be defined with ISO Schematron.
* Three sample applications and accompanying tutorials provide an introduction to the library, and Power Tips are available for more experienced users.
Components created with this library maintain an underlying XOM element structure, which provides latent avenues for future improvement, based on XOM's support of XPath, XInclude, and XSLT. However, you do not need to have any experience with XOM to get started with this library.
DDMSence comes with a complete set of JUnit tests, and code coverage was aided by EclEmma.
DDMSence is released under the GNU Lesser General Public License (LGPL).
· Java 2 Standard Edition Runtime Environment
What's New in This Release: [ read full changelog ]
· This version adds full support for DDMS 4.1.
· It is backwards-compatible with v2.0.0.