org.opensaml.xml.encryption.validator
Class CipherDataSchemaValidator
java.lang.Object
org.opensaml.xml.encryption.validator.CipherDataSchemaValidator
- All Implemented Interfaces:
- Validator<CipherData>
public class CipherDataSchemaValidator
- extends Object
- implements Validator<CipherData>
Checks CipherData
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CipherDataSchemaValidator
public CipherDataSchemaValidator()
validate
public void validate(CipherData xmlObject)
throws ValidationException
- Checks to see if a XMLObject is valid.
- Specified by:
validate
in interface Validator<CipherData>
- Parameters:
xmlObject
- the XMLObject to validate
- Throws:
ValidationException
- thrown if the element is not valid
validateChildrenPresence
protected void validateChildrenPresence(CipherData 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.