org.opensaml.saml2.core.validator
Class AudienceSchemaValidator

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

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

Checks Audience for Schema compliance.


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

Constructor Detail

AudienceSchemaValidator

public AudienceSchemaValidator()
Constructor

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

validateAudienceURI

protected void validateAudienceURI(Audience audience)
                            throws ValidationException
Checks that the AudienceURI is present.

Parameters:
audience -
Throws:
ValidationException