IVOA Objects

The classes within this library represent models of metadata within the IVOA. These metadata are mostly to be found in IVOA registries (e.g. the VOResource schema) and thus exclude most of the IVOA "data models" (e.g. The "Spectrum Data Model")

The classes that represent this metadata are generally auto-geneated from the schema (to be found at http://www.ivoa.net/xml/) with the JAXB framework within {@link org.javastro.ivoa.entities} packages and sub-packages i.e. the registry related classes are in {@link org.javastro.ivoa.entities.resource} and below.

Using the XML binding

There are some helper classes for using the XML binding in the {@link org.javastro.ivoa.entities.jaxb} package - in particular the {@link org.javastro.ivoa.entities.jaxb.IvoaJAXBContextFactory} sets up a JAXB context with all of the packages/schema included that are supported by the library. In addition there are some static utility methods within {@link org.javastro.ivoa.entities.jaxb.IvoaJAXBUtils} that can help with the boilerplate code needed with JAXB marshalling an unmarshalling so that unmarshalling can be as easy as

    VOResources resources = IvoaJAXBUtils.unmarshall(this.getClass().getResourceAsStream("/VOResource.xml"), VOResources.class);
@author Paul Harrison (pah@jb.man.ac.uk)