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)
          Checks to see if a XMLObject is valid.
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
Checks to see if a XMLObject is valid.

Specified by:
validate in interface Validator<Attribute>
Overrides:
validate in class AttributeDesignatorSchemaValidator<Attribute>
Parameters:
attribute - the XMLObject to validate
Throws:
ValidationException - thrown if the element is not valid

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