org.opensaml.saml2.core.validator
Class AuthnContextDeclRefSchemaValidator

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

public class AuthnContextDeclRefSchemaValidator
extends java.lang.Object
implements Validator<AuthnContextDeclRef>

Checks AuthnContextDeclRef for Schema compliance.


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

Constructor Detail

AuthnContextDeclRefSchemaValidator

public AuthnContextDeclRefSchemaValidator()
Constructor

Method Detail

validate

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

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

validateDeclRef

protected void validateDeclRef(AuthnContextDeclRef authnCDR)
                        throws ValidationException
Checks that the Declaration Reference is present.

Parameters:
authnCDR -
Throws:
ValidationException