RequestType
- request type that will be validatedpublic abstract class RequestAbstractTypeSchemaValidator<RequestType extends RequestAbstractType> extends Object implements Validator<RequestType>
RequestAbstractType
for Schema compliance.Constructor and Description |
---|
RequestAbstractTypeSchemaValidator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
validate(RequestType request)
Checks to see if a XMLObject is valid.
|
protected void |
validateID(RequestAbstractType request)
Validates the ID attribute.
|
protected void |
validateIssueInstant(RequestAbstractType request)
Validates the IsssueInstant attribute.
|
protected void |
validateVersion(RequestAbstractType request)
Validates the Version attribute.
|
public RequestAbstractTypeSchemaValidator()
public void validate(RequestType request) throws ValidationException
validate
in interface Validator<RequestType extends RequestAbstractType>
request
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateID(RequestAbstractType request) throws ValidationException
request
- request to validateValidationException
- if invalidprotected void validateVersion(RequestAbstractType request) throws ValidationException
request
- request to validateValidationException
- if invalidprotected void validateIssueInstant(RequestAbstractType request) throws ValidationException
request
- request to validateValidationException
- if invalidCopyright © 2018 JBoss by Red Hat. All rights reserved.