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:
- org.opensaml.xml.validation.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 org.opensaml.xml.validation.ValidationException
-
- Specified by:
validate
in interface org.opensaml.xml.validation.Validator<Attribute>
- Overrides:
validate
in class AttributeDesignatorSchemaValidator<Attribute>
- Throws:
org.opensaml.xml.validation.ValidationException
validateAttributeValue
protected void validateAttributeValue(Attribute attribute)
throws org.opensaml.xml.validation.ValidationException
- Validates that the attribute has at least one attribute value.
- Parameters:
attribute
- attribute to validate
- Throws:
org.opensaml.xml.validation.ValidationException
- thrown if the attribute does not have any values
Copyright © 2006-2011 Internet2. All Rights Reserved.