org.opensaml.saml2.core.validator
Class AuthnQuerySchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.core.validator.RequestAbstractTypeSchemaValidator<SubjectQueryType>
      extended by org.opensaml.saml2.core.validator.SubjectQuerySchemaValidator<AuthnQuery>
          extended by org.opensaml.saml2.core.validator.AuthnQuerySchemaValidator
All Implemented Interfaces:
Validator<AuthnQuery>

public class AuthnQuerySchemaValidator
extends SubjectQuerySchemaValidator<AuthnQuery>

Checks AuthnQuery for Schema compliance.


Constructor Summary
AuthnQuerySchemaValidator()
          Constructor
 
Method Summary
 void validate(AuthnQuery query)
          Checks to see if a XMLObject is valid.
 
Methods inherited from class org.opensaml.saml2.core.validator.SubjectQuerySchemaValidator
validateSubject
 
Methods inherited from class org.opensaml.saml2.core.validator.RequestAbstractTypeSchemaValidator
validateID, validateIssueInstant, validateVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthnQuerySchemaValidator

public AuthnQuerySchemaValidator()
Constructor

Method Detail

validate

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

Specified by:
validate in interface Validator<AuthnQuery>
Overrides:
validate in class SubjectQuerySchemaValidator<AuthnQuery>
Parameters:
query - the XMLObject to validate
Throws:
ValidationException - thrown if the element is not valid