org.opensaml.xml.encryption.validator
Class AgreementMethodSchemaValidator

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

public class AgreementMethodSchemaValidator
extends Object
implements Validator<AgreementMethod>

Checks AgreementMethod for Schema compliance.


Constructor Summary
AgreementMethodSchemaValidator()
           
 
Method Summary
 void validate(AgreementMethod xmlObject)
          Checks to see if a XMLObject is valid.
protected  void validateAlgorithm(AgreementMethod xmlObject)
          Validate the algorithm URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgreementMethodSchemaValidator

public AgreementMethodSchemaValidator()
Method Detail

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.