org.opensaml.saml1.core.validator
Class AttributeSchemaValidator
java.lang.Object
org.opensaml.saml1.core.validator.AttributeDesignatorSchemaValidator<Attribute>
org.opensaml.saml1.core.validator.AttributeSchemaValidator
- All Implemented Interfaces:
- Validator<Attribute>
public class AttributeSchemaValidator
- extends AttributeDesignatorSchemaValidator<Attribute>
Checks Attribute
for Schema compliance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeSchemaValidator
public AttributeSchemaValidator()
validate
public void validate(Attribute attribute)
throws ValidationException
-
- Specified by:
validate
in interface Validator<Attribute>
- Overrides:
validate
in class AttributeDesignatorSchemaValidator<Attribute>
- Throws:
ValidationException
validateAttributeValue
protected void validateAttributeValue(Attribute attribute)
throws ValidationException
- Validates that the attribute has at least one attribute value.
- Parameters:
attribute
- attribute to validate
- Throws:
ValidationException
- thrown if the attribute does not have any values
Copyright © 1999-2013. All Rights Reserved.