|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
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. |
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() );
ModelHelper
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |