|
||||||||||
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)
|
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 org.opensaml.xml.validation.ValidationException
validate
in interface org.opensaml.xml.validation.Validator<EncryptionMethod>
org.opensaml.xml.validation.ValidationException
protected void validateAlgorithm(EncryptionMethod encMethod) throws org.opensaml.xml.validation.ValidationException
encMethod
- the encryption method to validate
org.opensaml.xml.validation.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 |