org.opensaml.saml2.core.validator
Class AuthnContextClassRefSchemaValidator

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

public class AuthnContextClassRefSchemaValidator
extends java.lang.Object
implements Validator<AuthnContextClassRef>

Checks AuthnContextClassRef for Schema compliance.


Constructor Summary
AuthnContextClassRefSchemaValidator()
          Constructor
 
Method Summary
 void validate(AuthnContextClassRef authnContextClassRef)
          Checks to see if a XMLObject is valid.
protected  void validateClassRef(AuthnContextClassRef authnCCR)
          Checks that the AuthnContextClassRef is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthnContextClassRefSchemaValidator

public AuthnContextClassRefSchemaValidator()
Constructor

Method Detail

validate

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

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

validateClassRef

protected void validateClassRef(AuthnContextClassRef authnCCR)
                         throws ValidationException
Checks that the AuthnContextClassRef is present.

Parameters:
authnCCR -
Throws:
ValidationException