org.opensaml.xml.encryption.validator
Class ReferenceListSchemaValidator

java.lang.Object
  extended by org.opensaml.xml.encryption.validator.ReferenceListSchemaValidator
All Implemented Interfaces:
Validator<ReferenceList>

public class ReferenceListSchemaValidator
extends Object
implements Validator<ReferenceList>

Checks ReferenceList for Schema compliance.


Constructor Summary
ReferenceListSchemaValidator()
           
 
Method Summary
 void validate(ReferenceList xmlObject)
          Checks to see if a XMLObject is valid.
protected  void validateReferences(ReferenceList xmlObject)
          Validate the list of references.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceListSchemaValidator

public ReferenceListSchemaValidator()
Method Detail

validate

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

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

validateReferences

protected void validateReferences(ReferenceList xmlObject)
                           throws ValidationException
Validate the list of references.

Parameters:
xmlObject - the object to validate
Throws:
ValidationException - thrown if the object is invalid


Copyright © 1999-2013. All Rights Reserved.