Package com.esprow.oapi
Class OrchestraValidator
java.lang.Object
com.esprow.oapi.OrchestraValidator
Provides utility methods for validating Orchestra files or loaded documents
-
Method Summary
Modifier and TypeMethodDescriptionstatic ValidationResult
Validates the given OrchestraDocument performing mandatory model checksstatic ValidationResult
Validates the Orchestra file by given URI performing mandatory model checks and checking the file against the Orchestra Repository XML Schema Definitionstatic ValidationResult
Validates the Orchestra file by given URI performing mandatory model checks and optionally checking the file against the Orchestra Repository XML Schema Definition
-
Method Details
-
validate
Validates the Orchestra file by given URI performing mandatory model checks and checking the file against the Orchestra Repository XML Schema Definition- Parameters:
uri
- the Orchestra file URI- Returns:
- the validation result
- Throws:
IOException
- in case of any I/O errors when trying to read the given file
-
validate
Validates the Orchestra file by given URI performing mandatory model checks and optionally checking the file against the Orchestra Repository XML Schema Definition- Parameters:
uri
- the Orchestra file URIcheckSchema
- whether to perform validation with XML schema- Returns:
- the validation result
- Throws:
IOException
- in case of any I/O errors when trying to read the given file
-
validate
Validates the given OrchestraDocument performing mandatory model checks- Parameters:
doc
- the Orchestra document model- Returns:
- the validation result
-