neuroml-api is a set of classes that represent neuronal models described in XML by NeuroML, and utility classes are provided to translate between Java and XML.
The file releases page can be accessed here.
The sourceforge homepage is: https://sourceforge.net/projects/neuroml-api.
You can access the apidocs here.
Information about accessing the source through a subversion repository can be found here.
The example shown in the file SACalculator.java implements a function that reads in the file MossyCell.xml and computes the total surface area of the dendrites. The files, along with a shell script to compile it can be found in the "docs/examples" subdirectory of the binary distribution. (Requires Java 1.5!)