public class EncryptionMethodSchemaValidator extends Object implements org.opensaml.xml.validation.Validator<EncryptionMethod>
EncryptionMethod for Schema compliance.| Constructor and Description |
|---|
EncryptionMethodSchemaValidator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validate(EncryptionMethod encMethod) |
protected void |
validateAlgorithm(EncryptionMethod encMethod)
Checks that Algorithm URI attribute is present and not empty.
|
public EncryptionMethodSchemaValidator()
public void validate(EncryptionMethod encMethod) throws org.opensaml.xml.validation.ValidationException
validate in interface org.opensaml.xml.validation.Validator<EncryptionMethod>org.opensaml.xml.validation.ValidationExceptionprotected void validateAlgorithm(EncryptionMethod encMethod) throws org.opensaml.xml.validation.ValidationException
encMethod - the encryption method to validateorg.opensaml.xml.validation.ValidationException - thrown if Algorithm attribute is missing or emptyCopyright © 1999–2015. All rights reserved.