Clone wiki

main / Background_Papers

Use of JAVA Reflection and Annotations in JHOVE2

Attached to this page is a MS Word document "JHOVE2 and Java Reflection" (a PDF version of the file is also attached). This document gives an overview of the Java reflection API and of Java annotations, and how we might use them to good effect in JHOVE2.

Embedded in the MS Word document is an XML file (output created by running one of the demonstration methods). If you cannot activate the link in the Word document, or if you are viewing the PDF version, you can see the XML file here.

Sample code is attached here.