Package org.jomc.model.modlet

Package class diagram package org.jomc.model.modlet
Object management and configuration modlet classes.

See:
          Description

Class Summary
DefaultModelProcessor Default object management and configuration ModelProcessor implementation.
DefaultModelProvider Default object management and configuration ModelProvider implementation.
DefaultModelValidator Default object management and configuration ModelValidator implementation.
ModelHelper Object management and configuration Model helper.
 

Package org.jomc.model.modlet Description

Object management and configuration modlet classes.

The object management and configuration model is identified by the http://jomc.org/model public id in a ModelContext. The any property of a Model instance searched using that public id will hold a JAXBElement<Modules> instance to access using the getAnyElement method of class Model.

final ModelContext modelContext = ModelContext.createModelContext( a class loader );
final Model model = modelContext.findModel( ModelObject.MODEL_PUBLIC_ID );
final Model processed = modelContext.processModel( model );
final ModelValidationReport validationReport = modelContext.validateModel( processed );
final Modules modules = ModelHelper.getModules( model );

final Model model = new Model();
model.setIdentifier( ModelObject.MODEL_PUBLIC_ID );
ModelHelper.setModules( model, new Modules() );
      

See Also:
ModelHelper


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.