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