public class SubjectStatementSchemaValidator<SubjectStatementType extends SubjectStatement> extends Object implements Validator<SubjectStatementType>
SubjectStatement
for Schema compliance.Constructor and Description |
---|
SubjectStatementSchemaValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validate(SubjectStatementType subjectStatement)
Checks to see if a XMLObject is valid.
|
protected void |
validateSubject(SubjectStatementType subjectStatement)
Validates that the statement has a subject.
|
public void validate(SubjectStatementType subjectStatement) throws ValidationException
validate
in interface Validator<SubjectStatementType extends SubjectStatement>
subjectStatement
- the XMLObject to validateValidationException
- thrown if the element is not validprotected void validateSubject(SubjectStatementType subjectStatement) throws ValidationException
subjectStatement
- statement to validateValidationException
- thrown if the statement does not have a subjectCopyright © 2018 JBoss by Red Hat. All rights reserved.