org.opensaml.saml1.core.validator
Class AttributeDesignatorSchemaValidator<AttributeDesignatorType extends AttributeDesignator>

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

public class AttributeDesignatorSchemaValidator<AttributeDesignatorType extends AttributeDesignator>
extends java.lang.Object
implements Validator<AttributeDesignatorType>

Checks AttributeDesignator for Schema compliance.


Constructor Summary
AttributeDesignatorSchemaValidator()
           
 
Method Summary
 void validate(AttributeDesignatorType attributeDesignator)
          Checks to see if a XMLObject is valid.
protected  void validateName(AttributeDesignator designator)
          Checks that the AttributeName attribute is present and valid
protected  void validateNameSpace(AttributeDesignator designator)
          Checks that the AttributeNameSpace attribute is present and valid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDesignatorSchemaValidator

public AttributeDesignatorSchemaValidator()
Method Detail

validate

public void validate(AttributeDesignatorType attributeDesignator)
              throws ValidationException
Checks to see if a XMLObject is valid.

Specified by:
validate in interface Validator<AttributeDesignatorType extends AttributeDesignator>
Parameters:
attributeDesignator - the XMLObject to validate
Throws:
ValidationException - thrown if the element is not valid

validateNameSpace

protected void validateNameSpace(AttributeDesignator designator)
                          throws ValidationException
Checks that the AttributeNameSpace attribute is present and valid

Parameters:
designator -
Throws:
ValidationException

validateName

protected void validateName(AttributeDesignator designator)
                     throws ValidationException
Checks that the AttributeName attribute is present and valid

Parameters:
designator -
Throws:
ValidationException