org.opensaml.saml1.core.validator
Class SubjectStatementSchemaValidator<SubjectStatementType extends SubjectStatement>

java.lang.Object
  extended by org.opensaml.saml1.core.validator.SubjectStatementSchemaValidator<SubjectStatementType>
All Implemented Interfaces:
Validator<SubjectStatementType>
Direct Known Subclasses:
AttributeStatementSchemaValidator, AuthenticationStatementSchemaValidator, AuthorizationDecisionStatementSchemaValidator

public class SubjectStatementSchemaValidator<SubjectStatementType extends SubjectStatement>
extends Object
implements Validator<SubjectStatementType>

Checks SubjectStatement for Schema compliance.


Constructor Summary
SubjectStatementSchemaValidator()
           
 
Method Summary
 void validate(SubjectStatementType subjectStatement)
          
protected  void validateSubject(SubjectStatementType subjectStatement)
          Validates that the statement has a subject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubjectStatementSchemaValidator

public SubjectStatementSchemaValidator()
Method Detail

validate

public void validate(SubjectStatementType subjectStatement)
              throws ValidationException

Specified by:
validate in interface Validator<SubjectStatementType extends SubjectStatement>
Throws:
ValidationException

validateSubject

protected void validateSubject(SubjectStatementType subjectStatement)
                        throws ValidationException
Validates that the statement has a subject.

Parameters:
subjectStatement - statement to validate
Throws:
ValidationException - thrown if the statement does not have a subject


Copyright © 1999-2012. All Rights Reserved.