org.opensaml.xml.encryption.validator
Class EncryptionPropertiesSchemaValidator

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

public class EncryptionPropertiesSchemaValidator
extends Object
implements Validator<EncryptionProperties>

Checks EncryptionProperties for Schema compliance.


Constructor Summary
EncryptionPropertiesSchemaValidator()
           
 
Method Summary
 void validate(EncryptionProperties xmlObject)
          Checks to see if a XMLObject is valid.
protected  void validateTransforms(EncryptionProperties xmlObject)
          Validate the encryption properties list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptionPropertiesSchemaValidator

public EncryptionPropertiesSchemaValidator()
Method Detail

validate

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

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

validateTransforms

protected void validateTransforms(EncryptionProperties xmlObject)
                           throws ValidationException
Validate the encryption properties list.

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


Copyright © 2006-2011 Internet2. All Rights Reserved.