public class SubjectStatementSchemaValidator<SubjectStatementType extends SubjectStatement> extends Object implements org.opensaml.xml.validation.Validator<SubjectStatementType>
SubjectStatement for Schema compliance.| Constructor and Description |
|---|
SubjectStatementSchemaValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(SubjectStatementType subjectStatement) |
protected void |
validateSubject(SubjectStatementType subjectStatement)
Validates that the statement has a subject.
|
public void validate(SubjectStatementType subjectStatement) throws org.opensaml.xml.validation.ValidationException
validate in interface org.opensaml.xml.validation.Validator<SubjectStatementType extends SubjectStatement>org.opensaml.xml.validation.ValidationExceptionprotected void validateSubject(SubjectStatementType subjectStatement) throws org.opensaml.xml.validation.ValidationException
subjectStatement - statement to validateorg.opensaml.xml.validation.ValidationException - thrown if the statement does not have a subjectCopyright © 1999–2015. All rights reserved.