org.opensaml.saml2.core.validator
Class EvidenceSchemaValidator

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

public class EvidenceSchemaValidator
extends java.lang.Object
implements Validator<Evidence>

Checks Evidence for Schema compliance.


Constructor Summary
EvidenceSchemaValidator()
          Constructor
 
Method Summary
 void validate(Evidence evidence)
          Checks to see if a XMLObject is valid.
protected  void validateAssertions(Evidence evidence)
          Checks that at least one Assertion, Assertion ID Reference, or Assertion URI Reference is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvidenceSchemaValidator

public EvidenceSchemaValidator()
Constructor

Method Detail

validate

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

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

validateAssertions

protected void validateAssertions(Evidence evidence)
                           throws ValidationException
Checks that at least one Assertion, Assertion ID Reference, or Assertion URI Reference is present.

Parameters:
evidence -
Throws:
ValidationException