org.opensaml.xml.encryption.validator
Class AgreementMethodSchemaValidator
java.lang.Object
org.opensaml.xml.encryption.validator.AgreementMethodSchemaValidator
- All Implemented Interfaces:
- Validator<AgreementMethod>
public class AgreementMethodSchemaValidator
- extends Object
- implements Validator<AgreementMethod>
Checks AgreementMethod
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgreementMethodSchemaValidator
public AgreementMethodSchemaValidator()
validate
public void validate(AgreementMethod xmlObject)
throws ValidationException
- Checks to see if a XMLObject is valid.
- Specified by:
validate
in interface Validator<AgreementMethod>
- Parameters:
xmlObject
- the XMLObject to validate
- Throws:
ValidationException
- thrown if the element is not valid
validateAlgorithm
protected void validateAlgorithm(AgreementMethod xmlObject)
throws ValidationException
- Validate the algorithm URI.
- Parameters:
xmlObject
- the object to validate
- Throws:
ValidationException
- thrown if the object is invalid
Copyright © 1999-2012. All Rights Reserved.