public class ResponseSchemaValidator extends ResponseAbstractTypeSchemaValidator<Response>
Response
for Schema compliance.Constructor and Description |
---|
ResponseSchemaValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(Response response)
Checks to see if a XMLObject is valid.
|
protected void |
validateStatus(Response response)
Validates that the response has a status.
|
validateID, validateIssueInstant, validateVersion
public void validate(Response response) throws ValidationException
validate
in interface Validator<Response>
validate
in class ResponseAbstractTypeSchemaValidator<Response>
response
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateStatus(Response response) throws ValidationException
response
- response to validateValidationException
- thrown if the response does not have a statusCopyright © 2018 JBoss by Red Hat. All rights reserved.