public class XMLSchemaValidator extends AbstractXMLSchemaValidator
failureHandler, invalid, location, resourceResolver, valid
Constructor and Description |
---|
XMLSchemaValidator(ResourceResolver resourceResolver,
String location,
ValidatorInterceptor.FailureHandler failureHandler) |
Modifier and Type | Method and Description |
---|---|
protected Response |
createErrorResponse(String message) |
protected List<Validator> |
createValidators() |
protected Source |
getMessageBody(InputStream input) |
protected List<com.predic8.schema.Schema> |
getSchemas() |
getInvalid, getValid, validateMessage
public XMLSchemaValidator(ResourceResolver resourceResolver, String location, ValidatorInterceptor.FailureHandler failureHandler) throws Exception
Exception
protected List<com.predic8.schema.Schema> getSchemas()
getSchemas
in class AbstractXMLSchemaValidator
protected List<Validator> createValidators() throws Exception
createValidators
in class AbstractXMLSchemaValidator
Exception
protected Source getMessageBody(InputStream input) throws Exception
getMessageBody
in class AbstractXMLSchemaValidator
Exception
protected Response createErrorResponse(String message)
createErrorResponse
in class AbstractXMLSchemaValidator
Copyright © 2012. All Rights Reserved.