org.opensaml.saml2.metadata.validator
Class AttributeProfileSchemaValidator

java.lang.Object
  extended by org.opensaml.saml2.metadata.validator.AttributeProfileSchemaValidator
All Implemented Interfaces:
Validator<AttributeProfile>

public class AttributeProfileSchemaValidator
extends java.lang.Object
implements Validator<AttributeProfile>

Checks AttributeProfile for Schema compliance.


Constructor Summary
AttributeProfileSchemaValidator()
          Constructor
 
Method Summary
 void validate(AttributeProfile attributeProfile)
          Checks to see if a XMLObject is valid.
protected  void validateProfileURI(AttributeProfile attributeProfile)
          Checks that ProfileURI is present.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeProfileSchemaValidator

public AttributeProfileSchemaValidator()
Constructor

Method Detail

validate

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

Specified by:
validate in interface Validator<AttributeProfile>
Parameters:
attributeProfile - the XMLObject to validate
Throws:
ValidationException - thrown if the element is not valid

validateProfileURI

protected void validateProfileURI(AttributeProfile attributeProfile)
                           throws ValidationException
Checks that ProfileURI is present.

Parameters:
attributeProfile -
Throws:
ValidationException