Constructor and Description |
---|
StatusSchemaValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(Status status)
Checks to see if a XMLObject is valid.
|
protected void |
validateStatusCode(Status status)
Validates that given status has a status code.
|
public void validate(Status status) throws ValidationException
validate
in interface Validator<Status>
status
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateStatusCode(Status status) throws ValidationException
status
- status to validateValidationException
- thrown if the status does not have a status codeCopyright © 2018 JBoss by Red Hat. All rights reserved.