org.opensaml.saml2.core.validator
Class AudienceRestrictionSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.core.validator.AudienceRestrictionSchemaValidator
All Implemented Interfaces:
org.opensaml.xml.validation.Validator<AudienceRestriction>

public class AudienceRestrictionSchemaValidator
extends java.lang.Object
implements org.opensaml.xml.validation.Validator<AudienceRestriction>

Checks AudienceRestriction for Schema compliance.


Constructor Summary
AudienceRestrictionSchemaValidator()
          Constructor
 
Method Summary
 void validate(AudienceRestriction audienceRestriction)
          
protected  void validateAudiences(AudienceRestriction audienceRestriction)
          Checks that at least one Audience is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AudienceRestrictionSchemaValidator

public AudienceRestrictionSchemaValidator()
Constructor

Method Detail

validate

public void validate(AudienceRestriction audienceRestriction)
              throws org.opensaml.xml.validation.ValidationException

Specified by:
validate in interface org.opensaml.xml.validation.Validator<AudienceRestriction>
Throws:
org.opensaml.xml.validation.ValidationException

validateAudiences

protected void validateAudiences(AudienceRestriction audienceRestriction)
                          throws org.opensaml.xml.validation.ValidationException
Checks that at least one Audience is present.

Parameters:
audienceRestriction -
Throws:
org.opensaml.xml.validation.ValidationException


Copyright © 2006-2009 Internet2. All Rights Reserved.