org.opensaml.saml1.core.validator
Class AttributeSchemaValidator

java.lang.Object
  extended by org.opensaml.saml1.core.validator.AttributeDesignatorSchemaValidator<Attribute>
      extended by org.opensaml.saml1.core.validator.AttributeSchemaValidator
All Implemented Interfaces:
Validator<Attribute>

public class AttributeSchemaValidator
extends AttributeDesignatorSchemaValidator<Attribute>

Checks Attribute for Schema compliance.


Constructor Summary
AttributeSchemaValidator()
           
 
Method Summary
 void validate(Attribute attribute)
          
protected  void validateAttributeValue(Attribute attribute)
          Validates that the attribute has at least one attribute value.
 
Methods inherited from class org.opensaml.saml1.core.validator.AttributeDesignatorSchemaValidator
validateName, validateNameSpace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeSchemaValidator

public AttributeSchemaValidator()
Method Detail

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.