org.opensaml.saml2.core.validator
Class AuthnContextDeclSchemaValidator

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

public class AuthnContextDeclSchemaValidator
extends java.lang.Object
implements Validator<AuthnContextDecl>

Checks AuthnContextDecl for Schema compliance.


Constructor Summary
AuthnContextDeclSchemaValidator()
          Constructor
 
Method Summary
 void validate(AuthnContextDecl authnCD)
          Checks to see if a XMLObject is valid.
protected  void validateDecl(AuthnContextDecl authnCD)
          Checks that the Declaration is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthnContextDeclSchemaValidator

public AuthnContextDeclSchemaValidator()
Constructor

Method Detail

validate

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

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

validateDecl

protected void validateDecl(AuthnContextDecl authnCD)
                     throws ValidationException
Checks that the Declaration is present.

Parameters:
authnCD -
Throws:
ValidationException