public class DMNValidatorImpl extends Object implements DMNValidator
DMNValidator.Validation| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
DMNValidatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Release all resources associated with this DMNValidator.
|
List<org.kie.dmn.api.core.DMNMessage> |
validate(org.kie.dmn.model.v1_1.Definitions dmnModel)
Validate the model and return the results.
|
List<org.kie.dmn.api.core.DMNMessage> |
validate(org.kie.dmn.model.v1_1.Definitions dmnModel,
DMNValidator.Validation... options)
Validate the model and return the results.
|
List<org.kie.dmn.api.core.DMNMessage> |
validate(File xmlFile)
Validate the model and return the results.
|
List<org.kie.dmn.api.core.DMNMessage> |
validate(File xmlFile,
DMNValidator.Validation... options)
Validate the model and return the results.
|
List<org.kie.dmn.api.core.DMNMessage> |
validate(Reader reader)
Validate the model and return the results.
|
List<org.kie.dmn.api.core.DMNMessage> |
validate(Reader reader,
DMNValidator.Validation... options)
Validate the model and return the results.
|
public void dispose()
DMNValidatordispose in interface DMNValidatorpublic List<org.kie.dmn.api.core.DMNMessage> validate(org.kie.dmn.model.v1_1.Definitions dmnModel)
DMNValidatorvalidate in interface DMNValidatordmnModel - the model to validatepublic List<org.kie.dmn.api.core.DMNMessage> validate(org.kie.dmn.model.v1_1.Definitions dmnModel, DMNValidator.Validation... options)
DMNValidatorvalidate( dmnModel, VALIDATE_MODEL, VALIDATE_COMPILATION )
IMPORTANT: this method does not support VALIDATE_SCHEMA. In
order to validate the schema, please use one of the other signatures
of this method, like @{link #validate(Reader reader, Validation... options)}.validate in interface DMNValidatordmnModel - the model to validateoptions - selects which validations to applypublic List<org.kie.dmn.api.core.DMNMessage> validate(File xmlFile)
DMNValidatorvalidate in interface DMNValidatorxmlFile - the file to validatepublic List<org.kie.dmn.api.core.DMNMessage> validate(File xmlFile, DMNValidator.Validation... options)
DMNValidatorvalidate( xmlFile, VALIDATE_MODEL, VALIDATE_COMPILATION )validate in interface DMNValidatorxmlFile - the model to validateoptions - selects which validations to applypublic List<org.kie.dmn.api.core.DMNMessage> validate(Reader reader)
DMNValidatorvalidate in interface DMNValidatorreader - a reader for the model to validatepublic List<org.kie.dmn.api.core.DMNMessage> validate(Reader reader, DMNValidator.Validation... options)
DMNValidatorvalidate( reader, VALIDATE_MODEL, VALIDATE_COMPILATION )validate in interface DMNValidatorreader - the model to validateoptions - selects which validations to applyCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.