|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.saml2.metadata.validator.EncryptionMethodSchemaValidator
public class EncryptionMethodSchemaValidator
Checks EncryptionMethod
for Schema compliance.
Constructor Summary | |
---|---|
EncryptionMethodSchemaValidator()
Constructor. |
Method Summary | |
---|---|
void |
validate(EncryptionMethod encMethod)
Checks to see if a XMLObject is valid. |
protected void |
validateAlgorithm(EncryptionMethod encMethod)
Checks that Algorithm URI attribute is present and not empty. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptionMethodSchemaValidator()
Method Detail |
---|
public void validate(EncryptionMethod encMethod) throws ValidationException
validate
in interface Validator<EncryptionMethod>
encMethod
- the XMLObject to validate
ValidationException
- thrown if the element is not validprotected void validateAlgorithm(EncryptionMethod encMethod) throws ValidationException
encMethod
- the encryption method to validate
ValidationException
- thrown if Algorithm attribute is missing or empty
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |