org.opensaml.saml2.core.validator
Class SubjectSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.core.validator.SubjectSchemaValidator
All Implemented Interfaces:
Validator<Subject>

public class SubjectSchemaValidator
extends java.lang.Object
implements Validator<Subject>

Checks Subject for Schema compliance.


Constructor Summary
SubjectSchemaValidator()
          Constructor
 
Method Summary
 void validate(Subject subject)
          Checks to see if a XMLObject is valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubjectSchemaValidator

public SubjectSchemaValidator()
Constructor

Method Detail

validate

public void validate(Subject subject)
              throws ValidationException
Checks to see if a XMLObject is valid.

Specified by:
validate in interface Validator<Subject>
Parameters:
subject - the XMLObject to validate
Throws:
ValidationException - thrown if the element is not valid