Uses of Class
net.ionite.docval.validation.ValidatorException
Package
Description
Validation implementation, manager, and result classes
Classes that perform the several kinds of validation
-
Uses of ValidatorException in net.ionite.docval.validation
Modifier and TypeMethodDescriptionstatic ValidationResult
ValidationResult.fromJSON
(org.json.simple.JSONObject jsonData) Deserialize the validation result object from the given JSON datastatic ValidationResult
ValidationResult.fromJSONString
(String jsonString) Deserialize the validation result object from the given JSON string -
Uses of ValidatorException in net.ionite.docval.validation.validator
Modifier and TypeMethodDescriptionvoid
DocumentValidator.reload()
Reload the underlying validation filevoid
XSDValidator.reload()
Reload the XSD file this validator was initialized with.DocumentValidator.validate
(byte[] source) Validate the given XML source against the validation file and return a new ValidationResult instanceDocumentValidator.validate
(byte[] source, ValidationResult result) Validate the given XML source against the validation file, and add the errors and warnings to the given ValidationResult item.XSDValidator.validate
(byte[] source) Validate the given XML document, and return a new ValidationResult structure containing the validation results.XSDValidator.validate
(byte[] source, ValidationResult result) Validate the given XML document, and add the validation results to the given ValidationResult structureXSLTValidator.validate
(byte[] source) Validate the given XML document, and return a new ValidationResult structure containing the validation results.XSLTValidator.validate
(byte[] source, ValidationResult result) Validate the given XML document, and add the validation results to the given ValidationResult structureModifierConstructorDescriptionXSDValidator
(InputStream stream) Construct an XSD Validator with the XML Schema definition provided in the given input stream.XSDValidator
(String filename) Construct an XSD Validator with the given XML Schema definition (XSD) file.