Uses of Class
net.ionite.docval.validation.ValidatorException
-
Packages that use ValidatorException Package Description net.ionite.docval.validation Validation implementation, manager, and result classesnet.ionite.docval.validation.validator Classes that perform the several kinds of validation -
-
Uses of ValidatorException in net.ionite.docval.validation
Methods in net.ionite.docval.validation that throw ValidatorException Modifier and Type Method Description static ValidationResultValidationResult. fromJSON(org.json.simple.JSONObject jsonData)Deserialize the validation result object from the given JSON datastatic ValidationResultValidationResult. fromJSONString(String jsonString)Deserialize the validation result object from the given JSON string -
Uses of ValidatorException in net.ionite.docval.validation.validator
Methods in net.ionite.docval.validation.validator that throw ValidatorException Modifier and Type Method Description voidDocumentValidator. reload()Reload the underlying validation filevoidXSDValidator. reload()Reload the XSD file this validator was initialized with.ValidationResultDocumentValidator. validate(byte[] source)Validate the given XML source against the validation file and return a new ValidationResult instanceValidationResultDocumentValidator. 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.ValidationResultXSDValidator. validate(byte[] source)Validate the given XML document, and return a new ValidationResult structure containing the validation results.ValidationResultXSDValidator. validate(byte[] source, ValidationResult result)Validate the given XML document, and add the validation results to the given ValidationResult structureValidationResultXSLTValidator. validate(byte[] source)Validate the given XML document, and return a new ValidationResult structure containing the validation results.ValidationResultXSLTValidator. validate(byte[] source, ValidationResult result)Validate the given XML document, and add the validation results to the given ValidationResult structureConstructors in net.ionite.docval.validation.validator that throw ValidatorException Constructor Description XSDValidator(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.
-