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