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:
org.opensaml.xml.validation.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 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.