public interface ModelValidator
Model
validator interface.ModelContext.validateModel(org.jomc.modlet.Model)
Modifier and Type | Method and Description |
---|---|
ModelValidationReport |
validateModel(ModelContext context,
Model model)
Validates a given
Model . |
ModelValidationReport validateModel(ModelContext context, Model model) throws NullPointerException, ModelException
Model
.context
- The context to use for validating model
.model
- The Model
to validate.NullPointerException
- if context
or model
is null
.ModelException
- if validation fails.ModelValidationReport.isModelValid()
Copyright © 2005–2014 The JOMC Project. All rights reserved.