org.opensaml.xml.encryption.validator
Class ReferenceListSchemaValidator
java.lang.Object
org.opensaml.xml.encryption.validator.ReferenceListSchemaValidator
- All Implemented Interfaces:
- Validator<ReferenceList>
public class ReferenceListSchemaValidator
- extends Object
- implements Validator<ReferenceList>
Checks ReferenceList
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReferenceListSchemaValidator
public ReferenceListSchemaValidator()
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 © 2006-2011 Internet2. All Rights Reserved.