org.opensaml.saml1.core.validator
Class AudienceSpecValidator

java.lang.Object
  extended by org.opensaml.saml1.core.validator.AudienceSpecValidator
All Implemented Interfaces:
Validator<Audience>

public class AudienceSpecValidator
extends java.lang.Object
implements Validator<Audience>

Checks AudienceRestrictionCondition for Spec compliance.


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

Constructor Detail

AudienceSpecValidator

public AudienceSpecValidator()
Method Detail

validate

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

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

validateURIPresent

protected void validateURIPresent(Audience audience)
                           throws ValidationException
Throws:
ValidationException