org.opensaml.saml1.core.validator
Class EvidenceSchemaValidator

java.lang.Object
  extended by org.opensaml.saml1.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()
           
 
Method Summary
 void validate(Evidence evidence)
          Checks to see if a XMLObject is valid.
protected  void validateEvidence(Evidence evidence)
          Check that there is an assertion of AddsertionIDRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvidenceSchemaValidator

public EvidenceSchemaValidator()
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

validateEvidence

protected void validateEvidence(Evidence evidence)
                         throws ValidationException
Check that there is an assertion of AddsertionIDRef

Parameters:
evidence -
Throws:
ValidationException