Package com.peterphi.std.util.jaxb
Class XSDValidator
java.lang.Object
com.peterphi.std.util.jaxb.XSDValidator
Wrapper class that performs XSD Validation
-
Constructor Summary
ConstructorDescriptionXSDValidator
(MultiXSDSchemaFiles schemas) XSDValidator
(Source... sources) XSDValidator
(Schema schema) -
Method Summary
-
Constructor Details
-
XSDValidator
-
XSDValidator
-
XSDValidator
-
-
Method Details
-
validate
Validate some XML against this schema- Parameters:
document
-- Throws:
SchemaValidationException
- if the document does not validate against the schema
-